Searched refs:sur (Results 1 - 25 of 33) sorted by path

12

/frameworks/base/core/jni/
H A Dandroid_opengl_EGLExt.cpp134 /* EGLBoolean eglPresentationTimeANDROID ( EGLDisplay dpy, EGLSurface sur, EGLnsecsANDROID time ) */
137 (JNIEnv *_env, jobject _this, jobject dpy, jobject sur, jlong time) {
140 EGLSurface sur_native = (EGLSurface) fromEGLHandle(_env, eglsurfaceGetHandleID, sur);
136 android_eglPresentationTimeANDROID(JNIEnv *_env, jobject _this, jobject dpy, jobject sur, jlong time) argument
H A Dandroid_view_Surface.cpp95 sp<Surface> sur; local
99 sur = reinterpret_cast<Surface *>(
103 return sur;
132 static inline bool isSurfaceValid(const sp<Surface>& sur) { argument
133 return Surface::isValid(sur);
158 sp<Surface> sur(reinterpret_cast<Surface *>(nativeObject));
159 sur->decStrong(&sRefBaseOwner);
163 sp<Surface> sur(reinterpret_cast<Surface *>(nativeObject));
164 return isSurfaceValid(sur) ? JNI_TRUE : JNI_FALSE;
168 sp<Surface> sur(reinterpret_cas
325 sp<Surface> sur; local
[all...]
H A Dandroid_view_SurfaceControl.cpp328 sp<Surface> sur(reinterpret_cast<Surface *>(nativeSurfaceObject));
329 if (sur != NULL) {
330 bufferProducer = sur->getIGraphicBufferProducer();
H A Dcom_google_android_gles_jni_EGLImpl.cpp167 EGLContext sur = getSurface(_env, surface); local
173 success = eglQuerySurface(dpy, sur, attribute, base);
250 EGLSurface sur = eglCreatePbufferSurface(dpy, cnf, base); local
252 return (jint)sur;
299 EGLSurface sur = eglCreatePixmapSurface(dpy, cnf, &pixmap, base); local
302 if (sur != EGL_NO_SURFACE) {
303 _env->SetIntField(out_sur, gSurface_EGLSurfaceFieldID, (int)sur);
333 EGLSurface sur = eglCreateWindowSurface(dpy, cnf, window.get(), base); local
335 return (jint)sur;
361 EGLSurface sur local
448 EGLSurface sur = getSurface(_env, surface); local
493 EGLSurface sur = getSurface(_env, surface); local
[all...]
/frameworks/base/graphics/java/android/renderscript/
H A DAllocation.java1560 * @param sur Surface to associate with allocation
1562 public void setSurface(Surface sur) { argument
1568 mRS.nAllocationSetSurface(getID(mRS), sur);
H A DRenderScript.java210 native void rsnContextSetSurface(int con, int w, int h, Surface sur); argument
211 synchronized void nContextSetSurface(int w, int h, Surface sur) { argument
213 rsnContextSetSurface(mContext, w, h, sur);
215 native void rsnContextSetSurfaceTexture(int con, int w, int h, SurfaceTexture sur); argument
216 synchronized void nContextSetSurfaceTexture(int w, int h, SurfaceTexture sur) { argument
218 rsnContextSetSurfaceTexture(mContext, w, h, sur);
388 native void rsnAllocationSetSurface(int con, int alloc, Surface sur); argument
389 synchronized void nAllocationSetSurface(int alloc, Surface sur) { argument
391 rsnAllocationSetSurface(mContext, alloc, sur);
H A DRenderScriptGL.java210 * @param sur
212 public void setSurface(SurfaceHolder sur, int w, int h) { argument
215 if (sur != null) {
216 s = sur.getSurface();
229 * @param sur
231 public void setSurfaceTexture(SurfaceTexture sur, int w, int h) { argument
233 //android.util.Log.v("rs", "set surface " + sur + " w=" + w + ", h=" + h);
237 nContextSetSurfaceTexture(w, h, sur);
/frameworks/base/graphics/jni/
H A Dandroid_renderscript_RenderScript.cpp486 nAllocationSetSurface(JNIEnv *_env, jobject _this, RsContext con, RsAllocation alloc, jobject sur) argument
489 con, alloc, (Surface *)sur);
492 if (sur != 0) {
493 s = android_view_Surface_getSurface(_env, sur);
/frameworks/base/opengl/java/android/opengl/
H A DEGL14.java243 Surface sur = null;
246 sur = surfaceView.getHolder().getSurface();
249 sur = holder.getSurface();
251 sur = (Surface) win;
255 if (sur != null) {
256 surface = _eglCreateWindowSurface(dpy, config, sur, attrib_list, offset);
H A DEGLExt.java37 // C function EGLBoolean eglPresentationTimeANDROID ( EGLDisplay dpy, EGLSurface sur, EGLnsecsANDROID time )
41 EGLSurface sur,
39 eglPresentationTimeANDROID( EGLDisplay dpy, EGLSurface sur, long time ) argument
/frameworks/base/opengl/java/com/google/android/gles_jni/
H A DEGLImpl.java70 EGLSurfaceImpl sur = new EGLSurfaceImpl();
71 _eglCreatePixmapSurface(sur, display, config, native_pixmap, attrib_list);
72 if (sur.mEGLSurface == 0) {
75 return sur;
79 Surface sur = null;
82 sur = surfaceView.getHolder().getSurface();
85 sur = holder.getSurface();
87 sur = (Surface) native_window;
91 if (sur != null) {
92 eglSurfaceId = _eglCreateWindowSurface(display, config, sur, attrib_lis
150 _eglCreatePixmapSurface(EGLSurface sur, EGLDisplay display, EGLConfig config, Object native_pixmap, int[] attrib_list) argument
[all...]
/frameworks/base/services/java/com/android/server/wm/
H A DScreenRotationAnimation.java256 Surface sur = new Surface();
257 sur.copyFrom(mSurfaceControl);
260 SurfaceControl.BUILT_IN_DISPLAY_ID_MAIN), sur);
265 sur.destroy();
/frameworks/native/libs/gui/
H A DSurfaceComposerClient.cpp479 sp<SurfaceControl> sur; local
487 sur = new SurfaceControl(this, handle, gbp);
490 return sur;
/frameworks/native/libs/gui/tests/
H A DSurfaceTextureClient_test.cpp498 EGLSurface sur; member in class:android::MyThread
503 eglMakeCurrent(dpy, sur, sur, ctx);
515 sur = eglGetCurrentSurface(EGL_DRAW);
520 eglMakeCurrent(dpy, sur, sur, ctx);
/frameworks/native/opengl/include/EGL/
H A Deglext.h573 EGLAPI EGLBoolean eglPresentationTimeANDROID(EGLDisplay dpy, EGLSurface sur, EGLnsecsANDROID time);
575 typedef EGLBoolean (EGLAPIENTRYP PFNEGLPRESENTATIONTIMEANDROID) (EGLDisplay dpy, EGLSurface sur, EGLnsecsANDROID time);
/frameworks/native/opengl/libagl/
H A DTextureObjectManager.cpp148 GGLSurface sur; local
149 sur.version = sizeof(GGLSurface);
150 sur.width = native_buffer->width;
151 sur.height= native_buffer->height;
152 sur.stride= native_buffer->stride;
153 sur.format= native_buffer->format;
154 sur.data = 0;
155 setSurface(&sur);
/frameworks/native/opengl/tests/hwc/
H A DhwcColorEquiv.cpp397 list->sur = surface;
H A DhwcRects.cpp345 list->sur = surface;
H A DhwcStress.cpp495 list->sur = surface;
/frameworks/native/opengl/tools/glgen/specs/egl/
H A DEGLExt.spec1 EGLBoolean eglPresentationTimeANDROID ( EGLDisplay dpy, EGLSurface sur, EGLnsecsANDROID time )
/frameworks/native/opengl/tools/glgen/stubs/egl/
H A DeglCreateWindowSurface.java25 Surface sur = null;
28 sur = surfaceView.getHolder().getSurface();
31 sur = holder.getSurface();
33 sur = (Surface) win;
37 if (sur != null) {
38 surface = _eglCreateWindowSurface(dpy, config, sur, attrib_list, offset);
/frameworks/native/services/surfaceflinger/
H A DDisplayDevice.cpp268 EGLSurface sur = eglGetCurrentSurface(EGL_DRAW); local
269 if (sur != mSurface) {
H A DSurfaceFlinger.cpp2989 sp<Surface> sur = new Surface(producer, false); local
2990 ANativeWindow* window = sur.get();
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWComposer.cpp613 mLists[i]->sur = (hwc_surface_t)0xDEADBEEF;
616 mLists[i]->sur = EGL_NO_SURFACE;
697 // by the (dpy, sur) fields and we are guaranteed to have only
700 mLists[0]->sur = eglGetCurrentSurface(EGL_DRAW);
/frameworks/rs/driver/
H A DrsdGL.cpp420 bool rsdGLSetInternalSurface(const Context *rsc, RsNativeWindow sur) {
441 dc->gl.currentWndSurface = (ANativeWindow *)sur;
462 bool rsdGLSetSurface(const Context *rsc, uint32_t w, uint32_t h, RsNativeWindow sur) {
472 dc->gl.wndSurface = (ANativeWindow *)sur;
478 return rsdGLSetInternalSurface(rsc, sur);

Completed in 370 milliseconds

12