Home
last modified time | relevance | path

Searched refs:native_window (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/opengl/java/com/google/android/gles_jni/
DEGLImpl.java78 …e eglCreateWindowSurface(EGLDisplay display, EGLConfig config, Object native_window, int[] attrib_… in eglCreateWindowSurface() argument
80 if (native_window instanceof SurfaceView) { in eglCreateWindowSurface()
81 SurfaceView surfaceView = (SurfaceView)native_window; in eglCreateWindowSurface()
83 } else if (native_window instanceof SurfaceHolder) { in eglCreateWindowSurface()
84 SurfaceHolder holder = (SurfaceHolder)native_window; in eglCreateWindowSurface()
86 } else if (native_window instanceof Surface) { in eglCreateWindowSurface()
87 sur = (Surface) native_window; in eglCreateWindowSurface()
93 } else if (native_window instanceof SurfaceTexture) { in eglCreateWindowSurface()
95 native_window, attrib_list); in eglCreateWindowSurface()
151 … _eglCreateWindowSurface(EGLDisplay display, EGLConfig config, Object native_window, int[] attrib_… in _eglCreateWindowSurface() argument
[all …]
/frameworks/native/libs/vr/libdvr/
Ddvr_buffer_queue.cpp41 if (write_queue != nullptr && write_queue->native_window != nullptr) in dvrWriteBufferQueueDestroy()
42 ANativeWindow_release(write_queue->native_window); in dvrWriteBufferQueueDestroy()
77 if (write_queue->native_window == nullptr) { in dvrWriteBufferQueueGetExternalSurface()
81 write_queue->native_window = static_cast<ANativeWindow*>(surface.get()); in dvrWriteBufferQueueGetExternalSurface()
82 ANativeWindow_acquire(write_queue->native_window); in dvrWriteBufferQueueGetExternalSurface()
85 *out_window = write_queue->native_window; in dvrWriteBufferQueueGetExternalSurface()
Ddvr_internal.h61 ANativeWindow* native_window{nullptr};
/frameworks/base/core/jni/
Dcom_google_android_gles_jni_EGLImpl.cpp264 jobject config, jobject native_window, jintArray attrib_list) { in jni_eglCreateWindowSurface() argument
273 if (native_window == NULL) { in jni_eglCreateWindowSurface()
280 window = android_view_Surface_getNativeWindow(_env, native_window); in jni_eglCreateWindowSurface()
291 jobject config, jobject native_window, jintArray attrib_list) { in jni_eglCreateWindowSurfaceTexture() argument
300 if (native_window == 0) { in jni_eglCreateWindowSurfaceTexture()
307 sp<IGraphicBufferProducer> producer(SurfaceTexture_getProducer(_env, native_window)); in jni_eglCreateWindowSurfaceTexture()
/frameworks/base/opengl/java/android/opengl/
DEGLLogWrapper.java126 EGLConfig config, Object native_window, int[] attrib_list) { in eglCreateWindowSurface() argument
130 arg("native_window", native_window); in eglCreateWindowSurface()
135 native_window, attrib_list); in eglCreateWindowSurface()
/frameworks/base/opengl/java/javax/microedition/khronos/egl/
DEGL10.java103 …EGLSurface eglCreateWindowSurface(EGLDisplay display, EGLConfig config, Object native_window, int… in eglCreateWindowSurface() argument