Home
last modified time | relevance | path

Searched refs:sur (Results 1 – 25 of 34) 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.java70 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/base/core/jni/
Dandroid_view_Surface.cpp95 sp<Surface> sur; in android_view_Surface_getSurface() local
99 sur = reinterpret_cast<Surface *>( in android_view_Surface_getSurface()
104 return sur; in android_view_Surface_getSurface()
134 static inline bool isSurfaceValid(const sp<Surface>& sur) { in isSurfaceValid() argument
135 return Surface::isValid(sur); in isSurfaceValid()
160 sp<Surface> sur(reinterpret_cast<Surface *>(nativeObject)); in nativeRelease() local
161 sur->decStrong(&sRefBaseOwner); in nativeRelease()
165 sp<Surface> sur(reinterpret_cast<Surface *>(nativeObject)); in nativeIsValid() local
166 return isSurfaceValid(sur) ? JNI_TRUE : JNI_FALSE; in nativeIsValid()
170 sp<Surface> sur(reinterpret_cast<Surface *>(nativeObject)); in nativeIsConsumerRunningBehind() local
[all …]
Dcom_google_android_gles_jni_EGLImpl.cpp172 EGLContext sur = getSurface(_env, surface); in jni_eglQuerySurface() local
178 success = eglQuerySurface(dpy, sur, attribute, base); in jni_eglQuerySurface()
255 EGLSurface sur = eglCreatePbufferSurface(dpy, cnf, base); in jni_eglCreatePbufferSurface() local
257 return reinterpret_cast<jlong>(sur); in jni_eglCreatePbufferSurface()
304 EGLSurface sur = eglCreatePixmapSurface(dpy, cnf, &pixmap, base); in jni_eglCreatePixmapSurface() local
307 if (sur != EGL_NO_SURFACE) { in jni_eglCreatePixmapSurface()
308 _env->SetLongField(out_sur, gSurface_EGLSurfaceFieldID, reinterpret_cast<jlong>(sur)); in jni_eglCreatePixmapSurface()
338 EGLSurface sur = eglCreateWindowSurface(dpy, cnf, window.get(), base); in jni_eglCreateWindowSurface() local
340 return reinterpret_cast<jlong>(sur); in jni_eglCreateWindowSurface()
366 EGLSurface sur = eglCreateWindowSurface(dpy, cnf, window.get(), base); in jni_eglCreateWindowSurfaceTexture() local
[all …]
Dandroid_opengl_EGLExt.cpp137 (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()
Dandroid_view_SurfaceControl.cpp344 sp<Surface> sur(reinterpret_cast<Surface *>(nativeSurfaceObject)); in nativeSetDisplaySurface() local
345 if (sur != NULL) { in nativeSetDisplaySurface()
346 bufferProducer = sur->getIGraphicBufferProducer(); in nativeSetDisplaySurface()
/frameworks/base/rs/java/android/renderscript/
DRenderScriptGL.java205 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()
DRenderScript.java232 native void rsnContextSetSurface(long con, int w, int h, Surface sur); in rsnContextSetSurface() argument
233 synchronized void nContextSetSurface(int w, int h, Surface sur) { in nContextSetSurface() argument
235 rsnContextSetSurface(mContext, w, h, sur); in nContextSetSurface()
237 native void rsnContextSetSurfaceTexture(long con, int w, int h, SurfaceTexture sur); in rsnContextSetSurfaceTexture() argument
238 synchronized void nContextSetSurfaceTexture(int w, int h, SurfaceTexture sur) { in nContextSetSurfaceTexture() argument
240 rsnContextSetSurfaceTexture(mContext, w, h, sur); in nContextSetSurfaceTexture()
410 native void rsnAllocationSetSurface(long con, long alloc, Surface sur); in rsnAllocationSetSurface() argument
411 synchronized void nAllocationSetSurface(long alloc, Surface sur) { in nAllocationSetSurface() argument
413 rsnAllocationSetSurface(mContext, alloc, sur); in nAllocationSetSurface()
/frameworks/native/opengl/libagl/
DTextureObjectManager.cpp148 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/
DEGL14.java250 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()
DEGLExt.java41 EGLSurface sur, in eglPresentationTimeANDROID() argument
/frameworks/rs/driver/
DrsdGL.h78 RsNativeWindow sur);
82 uint32_t w, uint32_t h, RsNativeWindow sur);
DrsdGL.cpp419 bool rsdGLSetInternalSurface(const Context *rsc, RsNativeWindow sur) { in rsdGLSetInternalSurface() argument
440 dc->gl.currentWndSurface = (ANativeWindow *)sur; in rsdGLSetInternalSurface()
461 bool rsdGLSetSurface(const Context *rsc, uint32_t w, uint32_t h, RsNativeWindow sur) { in rsdGLSetSurface() argument
471 dc->gl.wndSurface = (ANativeWindow *)sur; in rsdGLSetSurface()
477 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.h140 void updateSurface(void *sur);
152 void setSurface(uint32_t w, uint32_t h, RsNativeWindow sur);
Drsg.spec111 param RsNativeWindow sur
DrsContext.cpp646 void Context::setSurface(uint32_t w, uint32_t h, RsNativeWindow sur) { in setSurface() argument
648 mHal.funcs.setSurface(this, w, h, sur); in setSurface()
650 mHasSurface = sur != NULL; in setSurface()
883 void rsi_ContextSetSurface(Context *rsc, uint32_t w, uint32_t h, RsNativeWindow sur) { in rsi_ContextSetSurface() argument
884 rsc->setSurface(w, h, sur); in rsi_ContextSetSurface()
DrsAllocation.cpp516 void Allocation::setSurface(const Context *rsc, RsNativeWindow sur) { in setSurface() argument
517 ANativeWindow *nw = (ANativeWindow *)sur; in setSurface()
745 void rsi_AllocationSetSurface(Context *rsc, RsAllocation valloc, RsNativeWindow sur) { in rsi_AllocationSetSurface() argument
747 alloc->setSurface(rsc, sur); in rsi_AllocationSetSurface()
DrsAllocation.h165 void setSurface(const Context *rsc, RsNativeWindow sur);
/frameworks/native/libs/gui/tests/
DSurfaceTextureClient_test.cpp501 EGLSurface sur; in TEST_F() member in android::TEST_F::MyThread
506 eglMakeCurrent(dpy, sur, sur, ctx); in TEST_F()
518 sur = eglGetCurrentSurface(EGL_DRAW); in TEST_F()
523 eglMakeCurrent(dpy, sur, sur, ctx); in TEST_F()
/frameworks/native/services/surfaceflinger/
DDisplayDevice.cpp275 EGLSurface sur = eglGetCurrentSurface(EGL_DRAW); in makeCurrent() local
276 if (sur != mSurface) { in makeCurrent()
/frameworks/base/services/core/java/com/android/server/wm/
DScreenRotationAnimation.java262 Surface sur = new Surface(); in ScreenRotationAnimation() local
263 sur.copyFrom(mSurfaceControl); in ScreenRotationAnimation()
266 SurfaceControl.BUILT_IN_DISPLAY_ID_MAIN), sur); in ScreenRotationAnimation() local
271 sur.destroy(); in ScreenRotationAnimation()
/frameworks/native/libs/gui/
DSurfaceComposerClient.cpp493 sp<SurfaceControl> sur; in createSurface() local
501 sur = new SurfaceControl(this, handle, gbp); in createSurface()
504 return sur; in createSurface()
/frameworks/native/opengl/include/EGL/
Deglext.h573 EGLAPI EGLBoolean eglPresentationTimeANDROID(EGLDisplay dpy, EGLSurface sur, EGLnsecsANDROID time);
575 typedef EGLBoolean (EGLAPIENTRYP PFNEGLPRESENTATIONTIMEANDROID) (EGLDisplay dpy, EGLSurface sur, EG…
/frameworks/native/opengl/tests/hwc/
DhwcColorEquiv.cpp396 list->sur = surface; in main()

12