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
implement SurfaceView.lockCanvas() using GskCanvas
This commit is contained in:
@@ -207,6 +207,22 @@ extern "C" {
|
||||
JNIEXPORT jlong JNICALL Java_android_view_SurfaceView_native_1constructor
|
||||
(JNIEnv *, jobject, jobject, jobject);
|
||||
|
||||
/*
|
||||
* Class: android_view_SurfaceView
|
||||
* Method: native_createSnapshot
|
||||
* Signature: ()J
|
||||
*/
|
||||
JNIEXPORT jlong JNICALL Java_android_view_SurfaceView_native_1createSnapshot
|
||||
(JNIEnv *, jobject);
|
||||
|
||||
/*
|
||||
* Class: android_view_SurfaceView
|
||||
* Method: native_postSnapshot
|
||||
* Signature: (JJ)V
|
||||
*/
|
||||
JNIEXPORT void JNICALL Java_android_view_SurfaceView_native_1postSnapshot
|
||||
(JNIEnv *, jobject, jlong, jlong);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user