/frameworks/native/opengl/tools/glgen/stubs/egl/ |
D | eglCreateWindowSurface.java | 25 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/ |
D | EGLImpl.java | 70 EGLSurfaceImpl sur = new EGLSurfaceImpl(); in eglCreatePixmapSurface() local 71 _eglCreatePixmapSurface(sur, display, config, native_pixmap, attrib_list); in eglCreatePixmapSurface() 72 if (sur.mEGLSurface == 0) { in eglCreatePixmapSurface() 75 return sur; in eglCreatePixmapSurface() 79 Surface sur = null; in eglCreateWindowSurface() local 82 sur = surfaceView.getHolder().getSurface(); in eglCreateWindowSurface() 85 sur = holder.getSurface(); in eglCreateWindowSurface() 87 sur = (Surface) native_window; in eglCreateWindowSurface() 91 if (sur != null) { in eglCreateWindowSurface() 92 eglSurfaceId = _eglCreateWindowSurface(display, config, sur, attrib_list); in eglCreateWindowSurface() [all …]
|
/frameworks/rs/support/jni/ |
D | android_rscompat_usage_io.cpp | 9 …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/rs/java/android/renderscript/ |
D | RenderScriptGL.java | 205 public void setSurface(SurfaceHolder sur, int w, int h) { in setSurface() argument 208 if (sur != null) { in setSurface() 209 s = sur.getSurface(); in setSurface() 224 public void setSurfaceTexture(SurfaceTexture sur, int w, int h) { in setSurfaceTexture() argument 229 if (sur != null) { in setSurfaceTexture() 230 s = new Surface(sur); in setSurfaceTexture()
|
D | RenderScript.java | 245 native void rsnContextSetSurface(long con, int w, int h, Surface sur); in rsnContextSetSurface() argument 246 synchronized void nContextSetSurface(int w, int h, Surface sur) { in nContextSetSurface() argument 248 rsnContextSetSurface(mContext, w, h, sur); in nContextSetSurface() 250 native void rsnContextSetSurfaceTexture(long con, int w, int h, SurfaceTexture sur); in rsnContextSetSurfaceTexture() argument 251 synchronized void nContextSetSurfaceTexture(int w, int h, SurfaceTexture sur) { in nContextSetSurfaceTexture() argument 253 rsnContextSetSurfaceTexture(mContext, w, h, sur); in nContextSetSurfaceTexture() 507 native void rsnAllocationSetSurface(long con, long alloc, Surface sur); in rsnAllocationSetSurface() argument 508 synchronized void nAllocationSetSurface(long alloc, Surface sur) { in nAllocationSetSurface() argument 510 rsnAllocationSetSurface(mContext, alloc, sur); in nAllocationSetSurface()
|
/frameworks/base/core/jni/ |
D | android_view_Surface.cpp | 92 sp<Surface> sur; in android_view_Surface_getSurface() local 96 sur = reinterpret_cast<Surface *>( in android_view_Surface_getSurface() 101 return sur; in android_view_Surface_getSurface() 240 static inline bool isSurfaceValid(const sp<Surface>& sur) { in isSurfaceValid() argument 241 return Surface::isValid(sur); in isSurfaceValid() 266 sp<Surface> sur(reinterpret_cast<Surface *>(nativeObject)); in nativeRelease() local 267 sur->decStrong(&sRefBaseOwner); in nativeRelease() 271 sp<Surface> sur(reinterpret_cast<Surface *>(nativeObject)); in nativeIsValid() local 272 return isSurfaceValid(sur) ? JNI_TRUE : JNI_FALSE; in nativeIsValid() 276 sp<Surface> sur(reinterpret_cast<Surface *>(nativeObject)); in nativeIsConsumerRunningBehind() local [all …]
|
D | com_google_android_gles_jni_EGLImpl.cpp | 167 EGLContext sur = getSurface(_env, surface); in jni_eglQuerySurface() local 173 success = eglQuerySurface(dpy, sur, attribute, base); in jni_eglQuerySurface() 249 EGLSurface sur = eglCreatePbufferSurface(dpy, cnf, base); in jni_eglCreatePbufferSurface() local 251 return reinterpret_cast<jlong>(sur); in jni_eglCreatePbufferSurface() 283 EGLSurface sur = eglCreateWindowSurface(dpy, cnf, window.get(), base); in jni_eglCreateWindowSurface() local 285 return reinterpret_cast<jlong>(sur); in jni_eglCreateWindowSurface() 311 EGLSurface sur = eglCreateWindowSurface(dpy, cnf, window.get(), base); in jni_eglCreateWindowSurfaceTexture() local 313 return reinterpret_cast<jlong>(sur); in jni_eglCreateWindowSurfaceTexture() 398 EGLSurface sur = getSurface(_env, surface); in jni_eglDestroySurface() local 399 return EglBoolToJBool(eglDestroySurface(dpy, sur)); in jni_eglDestroySurface() [all …]
|
D | android_opengl_EGLExt.cpp | 137 (JNIEnv *_env, jobject _this, jobject dpy, jobject sur, jlong time) { in android_eglPresentationTimeANDROID() argument 140 EGLSurface sur_native = (EGLSurface) fromEGLHandle(_env, eglsurfaceGetHandleID, sur); in android_eglPresentationTimeANDROID()
|
D | android_view_SurfaceControl.cpp | 437 sp<Surface> sur(reinterpret_cast<Surface *>(nativeSurfaceObject)); in nativeSetDisplaySurface() local 438 if (sur != NULL) { in nativeSetDisplaySurface() 439 bufferProducer = sur->getIGraphicBufferProducer(); in nativeSetDisplaySurface()
|
/frameworks/native/opengl/libagl/ |
D | TextureObjectManager.cpp | 148 GGLSurface sur; in setImage() local 149 sur.version = sizeof(GGLSurface); in setImage() 150 sur.width = native_buffer->width; in setImage() 151 sur.height= native_buffer->height; in setImage() 152 sur.stride= native_buffer->stride; in setImage() 153 sur.format= native_buffer->format; in setImage() 154 sur.data = 0; in setImage() 155 setSurface(&sur); in setImage()
|
/frameworks/base/opengl/java/android/opengl/ |
D | EGL14.java | 250 Surface sur = null; in eglCreateWindowSurface() local 253 sur = surfaceView.getHolder().getSurface(); in eglCreateWindowSurface() 256 sur = holder.getSurface(); in eglCreateWindowSurface() 258 sur = (Surface) win; in eglCreateWindowSurface() 262 if (sur != null) { in eglCreateWindowSurface() 263 surface = _eglCreateWindowSurface(dpy, config, sur, attrib_list, offset); in eglCreateWindowSurface()
|
D | EGLExt.java | 42 EGLSurface sur, in eglPresentationTimeANDROID() argument
|
/frameworks/rs/driver/ |
D | rsdGL.h | 75 RsNativeWindow sur); 79 uint32_t w, uint32_t h, RsNativeWindow sur);
|
D | rsdGL.cpp | 425 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/ |
D | EGLExt.spec | 1 EGLBoolean eglPresentationTimeANDROID ( EGLDisplay dpy, EGLSurface sur, EGLnsecsANDROID time )
|
/frameworks/rs/ |
D | rsContext.cpp | 575 void Context::setSurface(uint32_t w, uint32_t h, RsNativeWindow sur) { in setSurface() argument 577 mHal.funcs.setSurface(this, w, h, sur); in setSurface() 579 mHasSurface = sur != nullptr; in setSurface() 820 void rsi_ContextSetSurface(Context *rsc, uint32_t w, uint32_t h, RsNativeWindow sur) { in rsi_ContextSetSurface() argument 821 rsc->setSurface(w, h, sur); in rsi_ContextSetSurface()
|
D | rsContext.h | 136 void updateSurface(void *sur); 148 void setSurface(uint32_t w, uint32_t h, RsNativeWindow sur);
|
D | rsg.spec | 102 param RsNativeWindow sur
|
D | rsApiStubs.cpp | 375 …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()
|
D | rsAllocation.cpp | 620 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()
|
D | rsApiStubs.h | 67 extern "C" void rsAllocationSetSurface (RsContext rsc, RsAllocation alloc, RsNativeWindow sur); 127 … "C" void rsContextSetSurface (RsContext rsc, uint32_t width, uint32_t height, RsNativeWindow sur);
|
/frameworks/native/libs/gui/tests/ |
D | SurfaceTextureClient_test.cpp | 525 EGLSurface sur; in TEST_F() member in android::TEST_F::MyThread 530 eglMakeCurrent(dpy, sur, sur, ctx); in TEST_F() 542 sur = eglGetCurrentSurface(EGL_DRAW); in TEST_F() 547 eglMakeCurrent(dpy, sur, sur, ctx); in TEST_F()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ScreenRotationAnimation.java | 281 Surface sur = new Surface(); in ScreenRotationAnimation() local 282 sur.copyFrom(mSurfaceControl); in ScreenRotationAnimation() 285 SurfaceControl.BUILT_IN_DISPLAY_ID_MAIN), sur); in ScreenRotationAnimation() local 290 sur.destroy(); in ScreenRotationAnimation()
|
/frameworks/native/services/surfaceflinger/ |
D | DisplayDevice.cpp | 370 EGLSurface sur = eglGetCurrentSurface(EGL_DRAW); local 371 if (sur != mSurface) {
|
/frameworks/native/opengl/tests/hwc/ |
D | hwcColorEquiv.cpp | 394 list->sur = surface; in main()
|