You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
reimplement Bitmap and Path using GdkTexture and GskPath
This allows us to use GskCanvas for Bitmap rendering This increases the required GTK version to >= 4.14.
This commit is contained in:
@@ -10,9 +10,9 @@ public class WallpaperManager {
|
||||
}
|
||||
|
||||
public void setBitmap(Bitmap bitmap) {
|
||||
set_bitmap(bitmap.pixbuf);
|
||||
set_bitmap(bitmap.getTexture());
|
||||
}
|
||||
|
||||
private static native void set_bitmap(long pixbuf);
|
||||
private static native void set_bitmap(long texture);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user