Searched refs:sur (Results 1 - 25 of 37) sorted by relevance

12

/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/support/v8/renderscript/jni/
H A Dandroid_rscompat_usage_io.cpp9 extern "C" void AllocationSetSurface(JNIEnv *_env, jobject _this, RsContext con, RsAllocation alloc, jobject sur, dispatchTable dispatchTab) argument
12 con, alloc, sur);
15 if (sur != 0) {
16 s = ANativeWindow_fromSurface(_env, sur);
/frameworks/base/opengl/java/android/opengl/
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
H A DEGL14.java250 Surface sur = null;
253 sur = surfaceView.getHolder().getSurface();
256 sur = holder.getSurface();
258 sur = (Surface) win;
262 if (sur != null) {
263 surface = _eglCreateWindowSurface(dpy, config, sur, attrib_list, offset);
/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/rs/java/android/renderscript/
H A DRenderScriptGL.java203 * @param sur
205 public void setSurface(SurfaceHolder sur, int w, int h) { argument
208 if (sur != null) {
209 s = sur.getSurface();
222 * @param sur
224 public void setSurfaceTexture(SurfaceTexture sur, int w, int h) { argument
226 //android.util.Log.v("rs", "set surface " + sur + " w=" + w + ", h=" + h);
229 if (sur != null) {
230 s = new Surface(sur);
H A DRenderScript.java234 native void rsnContextSetSurface(long con, int w, int h, Surface sur); argument
235 synchronized void nContextSetSurface(int w, int h, Surface sur) { argument
237 rsnContextSetSurface(mContext, w, h, sur);
239 native void rsnContextSetSurfaceTexture(long con, int w, int h, SurfaceTexture sur); argument
240 synchronized void nContextSetSurfaceTexture(int w, int h, SurfaceTexture sur) { argument
242 rsnContextSetSurfaceTexture(mContext, w, h, sur);
480 native void rsnAllocationSetSurface(long con, long alloc, Surface sur); argument
481 synchronized void nAllocationSetSurface(long alloc, Surface sur) { argument
483 rsnAllocationSetSurface(mContext, alloc, sur);
/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/base/core/jni/
H A Dandroid_view_Surface.cpp90 sp<Surface> sur; local
94 sur = reinterpret_cast<Surface *>(
99 return sur;
225 static inline bool isSurfaceValid(const sp<Surface>& sur) { argument
226 return Surface::isValid(sur);
251 sp<Surface> sur(reinterpret_cast<Surface *>(nativeObject));
252 sur->decStrong(&sRefBaseOwner);
256 sp<Surface> sur(reinterpret_cast<Surface *>(nativeObject));
257 return isSurfaceValid(sur) ? JNI_TRUE : JNI_FALSE;
261 sp<Surface> sur(reinterpret_cas
421 sp<Surface> sur; local
[all...]
H A Dcom_google_android_gles_jni_EGLImpl.cpp169 EGLContext sur = getSurface(_env, surface); local
175 success = eglQuerySurface(dpy, sur, attribute, base);
252 EGLSurface sur = eglCreatePbufferSurface(dpy, cnf, base); local
254 return reinterpret_cast<jlong>(sur);
300 EGLSurface sur = eglCreatePixmapSurface(dpy, cnf, &pixmap, base); local
303 if (sur != EGL_NO_SURFACE) {
304 _env->SetLongField(out_sur, gSurface_EGLSurfaceFieldID, reinterpret_cast<jlong>(sur));
334 EGLSurface sur = eglCreateWindowSurface(dpy, cnf, window.get(), base); local
336 return reinterpret_cast<jlong>(sur);
362 EGLSurface sur local
449 EGLSurface sur = getSurface(_env, surface); local
494 EGLSurface sur = getSurface(_env, surface); local
[all...]
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_SurfaceControl.cpp343 sp<Surface> sur(reinterpret_cast<Surface *>(nativeSurfaceObject));
344 if (sur != NULL) {
345 bufferProducer = sur->getIGraphicBufferProducer();
/frameworks/rs/driver/
H A DrsdGL.h75 RsNativeWindow sur);
79 uint32_t w, uint32_t h, RsNativeWindow sur);
H A DrsdGL.cpp419 bool rsdGLSetInternalSurface(const Context *rsc, RsNativeWindow sur) {
440 dc->gl.currentWndSurface = (ANativeWindow *)sur;
461 bool rsdGLSetSurface(const Context *rsc, uint32_t w, uint32_t h, RsNativeWindow sur) {
471 dc->gl.wndSurface = (ANativeWindow *)sur;
477 return rsdGLSetInternalSurface(rsc, sur);
/frameworks/rs/
H A Drsg.spec102 param RsNativeWindow sur
H A DrsContext.h146 void updateSurface(void *sur);
158 void setSurface(uint32_t w, uint32_t h, RsNativeWindow sur);
H A DrsContext.cpp610 void Context::setSurface(uint32_t w, uint32_t h, RsNativeWindow sur) { argument
612 mHal.funcs.setSurface(this, w, h, sur);
614 mHasSurface = sur != nullptr;
858 void rsi_ContextSetSurface(Context *rsc, uint32_t w, uint32_t h, RsNativeWindow sur) { argument
859 rsc->setSurface(w, h, sur);
H A DrsAllocation.cpp597 void Allocation::setSurface(const Context *rsc, RsNativeWindow sur) { argument
598 ANativeWindow *nw = (ANativeWindow *)sur;
829 void rsi_AllocationSetSurface(Context *rsc, RsAllocation valloc, RsNativeWindow sur) { argument
831 alloc->setSurface(rsc, sur);
H A DrsAllocation.h179 void setSurface(const Context *rsc, RsNativeWindow sur);
/frameworks/native/libs/gui/tests/
H A DSurfaceTextureClient_test.cpp508 EGLSurface sur; member in class:android::MyThread
513 eglMakeCurrent(dpy, sur, sur, ctx);
525 sur = eglGetCurrentSurface(EGL_DRAW);
530 eglMakeCurrent(dpy, sur, sur, ctx);
/frameworks/native/services/surfaceflinger/
H A DDisplayDevice.cpp281 EGLSurface sur = eglGetCurrentSurface(EGL_DRAW); local
282 if (sur != mSurface) {
/frameworks/base/services/core/java/com/android/server/wm/
H A DScreenRotationAnimation.java262 Surface sur = new Surface();
263 sur.copyFrom(mSurfaceControl);
266 SurfaceControl.BUILT_IN_DISPLAY_ID_MAIN), sur);
271 sur.destroy();
/frameworks/native/opengl/include/EGL/
H A Deglext.h595 EGLAPI EGLBoolean eglPresentationTimeANDROID(EGLDisplay dpy, EGLSurface sur, EGLnsecsANDROID time);
597 typedef EGLBoolean (EGLAPIENTRYP PFNEGLPRESENTATIONTIMEANDROID) (EGLDisplay dpy, EGLSurface sur, EGLnsecsANDROID time);
/frameworks/native/opengl/tests/hwc/
H A DhwcColorEquiv.cpp393 list->sur = surface;

Completed in 497 milliseconds

12