Loading native/android/native_window.cpp +1 −2 Original line number Diff line number Diff line Loading @@ -68,8 +68,7 @@ int32_t ANativeWindow_getFormat(ANativeWindow* window) { int32_t ANativeWindow_setBuffersGeometry(ANativeWindow* window, int32_t width, int32_t height, int32_t format) { native_window_set_buffers_geometry(window, width, height, format); return 0; return native_window_set_buffers_geometry(window, width, height, format); } int32_t ANativeWindow_lock(ANativeWindow* window, ANativeWindow_Buffer* outBuffer, Loading native/include/android/native_window.h +3 −0 Original line number Diff line number Diff line Loading @@ -95,6 +95,9 @@ int32_t ANativeWindow_getFormat(ANativeWindow* window); * * For all of these parameters, if 0 is supplied then the window's base * value will come back in force. * * width and height must be either both zero or both non-zero. * */ int32_t ANativeWindow_setBuffersGeometry(ANativeWindow* window, int32_t width, int32_t height, int32_t format); Loading Loading
native/android/native_window.cpp +1 −2 Original line number Diff line number Diff line Loading @@ -68,8 +68,7 @@ int32_t ANativeWindow_getFormat(ANativeWindow* window) { int32_t ANativeWindow_setBuffersGeometry(ANativeWindow* window, int32_t width, int32_t height, int32_t format) { native_window_set_buffers_geometry(window, width, height, format); return 0; return native_window_set_buffers_geometry(window, width, height, format); } int32_t ANativeWindow_lock(ANativeWindow* window, ANativeWindow_Buffer* outBuffer, Loading
native/include/android/native_window.h +3 −0 Original line number Diff line number Diff line Loading @@ -95,6 +95,9 @@ int32_t ANativeWindow_getFormat(ANativeWindow* window); * * For all of these parameters, if 0 is supplied then the window's base * value will come back in force. * * width and height must be either both zero or both non-zero. * */ int32_t ANativeWindow_setBuffersGeometry(ANativeWindow* window, int32_t width, int32_t height, int32_t format); Loading