Bitmap: regenerate GdkTexture when Canvas was used on the Bitmap

This commit is contained in:
Julian Winkler
2024-06-15 00:04:23 +02:00
parent 2a10196bc5
commit b81f53e4b2
4 changed files with 27 additions and 1 deletions

View File

@@ -67,6 +67,14 @@ JNIEXPORT jlong JNICALL Java_android_graphics_Bitmap_native_1create
JNIEXPORT jlong JNICALL Java_android_graphics_Bitmap_native_1paintable_1from_1pixbuf
(JNIEnv *, jclass, jlong);
/*
* Class: android_graphics_Bitmap
* Method: native_unref_texture
* Signature: (J)V
*/
JNIEXPORT void JNICALL Java_android_graphics_Bitmap_native_1unref_1texture
(JNIEnv *, jclass, jlong);
/*
* Class: android_graphics_Bitmap
* Method: nativeCopy