Home
last modified time | relevance | path

Searched refs:sur (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/native/opengl/tools/glgen/stubs/egl/
DeglCreateWindowSurface.java25 Surface sur = null; in eglCreateWindowSurface() local
28 sur = surfaceView.getHolder().getSurface(); in eglCreateWindowSurface()
31 sur = holder.getSurface(); in eglCreateWindowSurface()
33 sur = (Surface) win; in eglCreateWindowSurface()
37 if (sur != null) { in eglCreateWindowSurface()
38 surface = _eglCreateWindowSurface(dpy, config, sur, attrib_list, offset); in eglCreateWindowSurface()
/frameworks/base/opengl/java/com/google/android/gles_jni/
DEGLImpl.java79 EGLSurfaceImpl sur = new EGLSurfaceImpl(); in eglCreatePixmapSurface() local
80 _eglCreatePixmapSurface(sur, display, config, native_pixmap, attrib_list); in eglCreatePixmapSurface()
81 if (sur.mEGLSurface == 0) { in eglCreatePixmapSurface()
84 return sur; in eglCreatePixmapSurface()
88 Surface sur = null; in eglCreateWindowSurface() local
91 sur = surfaceView.getHolder().getSurface(); in eglCreateWindowSurface()
94 sur = holder.getSurface(); in eglCreateWindowSurface()
96 sur = (Surface) native_window; in eglCreateWindowSurface()
100 if (sur != null) { in eglCreateWindowSurface()
101 eglSurfaceId = _eglCreateWindowSurface(display, config, sur, attrib_list); in eglCreateWindowSurface()
[all …]
/frameworks/rs/support/jni/
Dandroid_rscompat_usage_io.cpp9 …ce(JNIEnv *_env, jobject _this, RsContext con, RsAllocation alloc, jobject sur, dispatchTable disp… in AllocationSetSurface() argument
12 con, alloc, sur); in AllocationSetSurface()
15 if (sur != 0) { in AllocationSetSurface()
16 s = ANativeWindow_fromSurface(_env, sur); in AllocationSetSurface()
/frameworks/base/core/jni/
Dandroid_view_Surface.cpp102 sp<Surface> sur; in android_view_Surface_getSurface() local
106 sur = reinterpret_cast<Surface *>( in android_view_Surface_getSurface()
111 return sur; in android_view_Surface_getSurface()
141 static inline bool isSurfaceValid(const sp<Surface>& sur) { in isSurfaceValid() argument
142 return Surface::isValid(sur); in isSurfaceValid()
167 sp<Surface> sur(reinterpret_cast<Surface *>(nativeObject)); in nativeRelease() local
168 sur->decStrong(&sRefBaseOwner); in nativeRelease()
172 sp<Surface> sur(reinterpret_cast<Surface *>(nativeObject)); in nativeIsValid() local
173 return isSurfaceValid(sur) ? JNI_TRUE : JNI_FALSE; in nativeIsValid()
177 sp<Surface> sur(reinterpret_cast<Surface *>(nativeObject)); in nativeIsConsumerRunningBehind() local
[all …]
Dcom_google_android_gles_jni_EGLImpl.cpp163 EGLContext sur = getSurface(_env, surface); in jni_eglQuerySurface() local
169 success = eglQuerySurface(dpy, sur, attribute, base); in jni_eglQuerySurface()
245 EGLSurface sur = eglCreatePbufferSurface(dpy, cnf, base); in jni_eglCreatePbufferSurface() local
247 return reinterpret_cast<jlong>(sur); in jni_eglCreatePbufferSurface()
279 EGLSurface sur = eglCreateWindowSurface(dpy, cnf, window.get(), base); in jni_eglCreateWindowSurface() local
281 return reinterpret_cast<jlong>(sur); in jni_eglCreateWindowSurface()
307 EGLSurface sur = eglCreateWindowSurface(dpy, cnf, window.get(), base); in jni_eglCreateWindowSurfaceTexture() local
309 return reinterpret_cast<jlong>(sur); in jni_eglCreateWindowSurfaceTexture()
394 EGLSurface sur = getSurface(_env, surface); in jni_eglDestroySurface() local
395 return EglBoolToJBool(eglDestroySurface(dpy, sur)); in jni_eglDestroySurface()
[all …]
Dandroid_opengl_EGLExt.cpp135 (JNIEnv *_env, jobject _this, jobject dpy, jobject sur, jlong time) { in android_eglPresentationTimeANDROID() argument
138 EGLSurface sur_native = (EGLSurface) fromEGLHandle(_env, eglsurfaceGetHandleID, sur); in android_eglPresentationTimeANDROID()
/frameworks/base/rs/java/android/renderscript/
DRenderScriptGL.java211 public void setSurface(SurfaceHolder sur, int w, int h) { in setSurface() argument
214 if (sur != null) { in setSurface()
215 s = sur.getSurface(); in setSurface()
230 public void setSurfaceTexture(SurfaceTexture sur, int w, int h) { in setSurfaceTexture() argument
235 if (sur != null) { in setSurfaceTexture()
236 s = new Surface(sur); in setSurfaceTexture()
DRenderScript.java254 native void rsnContextSetSurface(long con, int w, int h, Surface sur); in rsnContextSetSurface() argument
255 synchronized void nContextSetSurface(int w, int h, Surface sur) { in nContextSetSurface() argument
257 rsnContextSetSurface(mContext, w, h, sur); in nContextSetSurface()
259 native void rsnContextSetSurfaceTexture(long con, int w, int h, SurfaceTexture sur); in rsnContextSetSurfaceTexture() argument
260 synchronized void nContextSetSurfaceTexture(int w, int h, SurfaceTexture sur) { in nContextSetSurfaceTexture() argument
262 rsnContextSetSurfaceTexture(mContext, w, h, sur); in nContextSetSurfaceTexture()
513 native void rsnAllocationSetSurface(long con, long alloc, Surface sur); in rsnAllocationSetSurface() argument
514 synchronized void nAllocationSetSurface(long alloc, Surface sur) { in nAllocationSetSurface() argument
516 rsnAllocationSetSurface(mContext, alloc, sur); in nAllocationSetSurface()
/frameworks/base/opengl/java/android/opengl/
DEGL14.java253 Surface sur = null; in eglCreateWindowSurface() local
256 sur = surfaceView.getHolder().getSurface(); in eglCreateWindowSurface()
259 sur = holder.getSurface(); in eglCreateWindowSurface()
261 sur = (Surface) win; in eglCreateWindowSurface()
265 if (sur != null) { in eglCreateWindowSurface()
266 surface = _eglCreateWindowSurface(dpy, config, sur, attrib_list, offset); in eglCreateWindowSurface()
DEGLExt.java42 EGLSurface sur, in eglPresentationTimeANDROID() argument
/frameworks/rs/driver/
DrsdGL.h75 RsNativeWindow sur);
79 uint32_t w, uint32_t h, RsNativeWindow sur);
DrsdGL.cpp425 bool rsdGLSetInternalSurface(const Context *rsc, RsNativeWindow sur) { in rsdGLSetInternalSurface() argument
446 dc->gl.currentWndSurface = (ANativeWindow *)sur; in rsdGLSetInternalSurface()
467 bool rsdGLSetSurface(const Context *rsc, uint32_t w, uint32_t h, RsNativeWindow sur) { in rsdGLSetSurface() argument
477 dc->gl.wndSurface = (ANativeWindow *)sur; in rsdGLSetSurface()
483 return rsdGLSetInternalSurface(rsc, sur); in rsdGLSetSurface()
/frameworks/native/opengl/tools/glgen/specs/egl/
DEGLExt.spec1 EGLBoolean eglPresentationTimeANDROID ( EGLDisplay dpy, EGLSurface sur, EGLnsecsANDROID time )
/frameworks/rs/
DrsContext.cpp574 void Context::setSurface(uint32_t w, uint32_t h, RsNativeWindow sur) { in setSurface() argument
576 mHal.funcs.setSurface(this, w, h, sur); in setSurface()
578 mHasSurface = sur != nullptr; in setSurface()
819 void rsi_ContextSetSurface(Context *rsc, uint32_t w, uint32_t h, RsNativeWindow sur) { in rsi_ContextSetSurface() argument
820 rsc->setSurface(w, h, sur); in rsi_ContextSetSurface()
DrsContext.h136 void updateSurface(void *sur);
148 void setSurface(uint32_t w, uint32_t h, RsNativeWindow sur);
Drsg.spec102 param RsNativeWindow sur
DrsApiStubs.cpp375 …tern "C" void rsAllocationSetSurface (RsContext ctxWrapper, RsAllocation alloc, RsNativeWindow sur) in rsAllocationSetSurface() argument
377 RS_DISPATCH(ctxWrapper, AllocationSetSurface, alloc, sur); in rsAllocationSetSurface()
766 RsNativeWindow sur) in rsContextSetSurface() argument
768 RS_DISPATCH(ctxWrapper, ContextSetSurface, width, height, sur); in rsContextSetSurface()
DrsAllocation.cpp620 void Allocation::setSurface(const Context *rsc, RsNativeWindow sur) { in setSurface() argument
621 ANativeWindow *nw = (ANativeWindow *)sur; in setSurface()
872 void rsi_AllocationSetSurface(Context *rsc, RsAllocation valloc, RsNativeWindow sur) { in rsi_AllocationSetSurface() argument
874 alloc->setSurface(rsc, sur); in rsi_AllocationSetSurface()
DrsApiStubs.h101 extern "C" void rsAllocationSetSurface(RsContext rsc, RsAllocation alloc, RsNativeWindow sur)
253 RsNativeWindow sur) __DEPRECATED_IN(31);
DrsAllocation.h184 void setSurface(const Context *rsc, RsNativeWindow sur);
/frameworks/native/libs/gui/tests/
DSurfaceTextureClient_test.cpp522 EGLSurface sur; in TEST_F() member in android::TEST_F::MyThread
527 eglMakeCurrent(dpy, sur, sur, ctx); in TEST_F()
539 sur = eglGetCurrentSurface(EGL_DRAW); in TEST_F()
544 eglMakeCurrent(dpy, sur, sur, ctx); in TEST_F()
/frameworks/native/opengl/tests/hwc/
DhwcColorEquiv.cpp394 list->sur = surface; in main()
DhwcRects.cpp343 list->sur = surface; in main()
DhwcStress.cpp495 list->sur = surface; in main()
/frameworks/native/opengl/specs/
DEGL_ANDROID_presentation_time.txt58 EGLSurface sur,

12