/frameworks/base/core/jni/ |
H A D | android_opengl_EGLExt.cpp | 134 /* 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 D | android_view_Surface.cpp | 95 sp<Surface> sur; local 99 sur = reinterpret_cast<Surface *>( 104 return sur; 134 static inline bool isSurfaceValid(const sp<Surface>& sur) { argument 135 return Surface::isValid(sur); 160 sp<Surface> sur(reinterpret_cast<Surface *>(nativeObject)); 161 sur->decStrong(&sRefBaseOwner); 165 sp<Surface> sur(reinterpret_cast<Surface *>(nativeObject)); 166 return isSurfaceValid(sur) ? JNI_TRUE : JNI_FALSE; 170 sp<Surface> sur(reinterpret_cas 332 sp<Surface> sur; local [all...] |
H A D | com_google_android_gles_jni_EGLImpl.cpp | 172 EGLContext sur = getSurface(_env, surface); local 178 success = eglQuerySurface(dpy, sur, attribute, base); 255 EGLSurface sur = eglCreatePbufferSurface(dpy, cnf, base); local 257 return reinterpret_cast<jlong>(sur); 304 EGLSurface sur = eglCreatePixmapSurface(dpy, cnf, &pixmap, base); local 307 if (sur != EGL_NO_SURFACE) { 308 _env->SetLongField(out_sur, gSurface_EGLSurfaceFieldID, reinterpret_cast<jlong>(sur)); 338 EGLSurface sur = eglCreateWindowSurface(dpy, cnf, window.get(), base); local 340 return reinterpret_cast<jlong>(sur); 366 EGLSurface sur local 453 EGLSurface sur = getSurface(_env, surface); local 498 EGLSurface sur = getSurface(_env, surface); local [all...] |
/frameworks/base/opengl/java/android/opengl/ |
H A D | EGLExt.java | 37 // 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 D | EGLImpl.java | 70 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 D | Allocation.java | 1569 * @param sur Surface to associate with allocation 1571 public void setSurface(Surface sur) { argument 1577 mRS.nAllocationSetSurface(getID(mRS), sur);
|
H A D | RenderScript.java | 232 native void rsnContextSetSurface(long con, int w, int h, Surface sur); argument 233 synchronized void nContextSetSurface(int w, int h, Surface sur) { argument 235 rsnContextSetSurface(mContext, w, h, sur); 237 native void rsnContextSetSurfaceTexture(long con, int w, int h, SurfaceTexture sur); argument 238 synchronized void nContextSetSurfaceTexture(int w, int h, SurfaceTexture sur) { argument 240 rsnContextSetSurfaceTexture(mContext, w, h, sur); 410 native void rsnAllocationSetSurface(long con, long alloc, Surface sur); argument 411 synchronized void nAllocationSetSurface(long alloc, Surface sur) { argument 413 rsnAllocationSetSurface(mContext, alloc, sur);
|
H A D | RenderScriptGL.java | 203 * @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);
|
/frameworks/base/rs/jni/ |
H A D | android_renderscript_RenderScript.cpp | 559 nAllocationSetSurface(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jobject sur) argument 562 (RsContext)con, (RsAllocation)alloc, (Surface *)sur); 565 if (sur != 0) { 566 s = android_view_Surface_getSurface(_env, sur);
|
/frameworks/native/libs/gui/ |
H A D | SurfaceComposerClient.cpp | 493 sp<SurfaceControl> sur; local 501 sur = new SurfaceControl(this, handle, gbp); 504 return sur;
|
/frameworks/native/libs/gui/tests/ |
H A D | SurfaceTextureClient_test.cpp | 501 EGLSurface sur; member in class:android::MyThread 506 eglMakeCurrent(dpy, sur, sur, ctx); 518 sur = eglGetCurrentSurface(EGL_DRAW); 523 eglMakeCurrent(dpy, sur, sur, ctx);
|
/frameworks/native/opengl/libagl/ |
H A D | TextureObjectManager.cpp | 148 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/services/surfaceflinger/ |
H A D | DisplayDevice.cpp | 275 EGLSurface sur = eglGetCurrentSurface(EGL_DRAW); local 276 if (sur != mSurface) {
|
H A D | SurfaceFlinger.cpp | 3203 sp<Surface> sur = new Surface(producer, false); local 3204 ANativeWindow* window = sur.get();
|
/frameworks/rs/ |
H A D | rsAllocation.cpp | 516 void Allocation::setSurface(const Context *rsc, RsNativeWindow sur) { argument 517 ANativeWindow *nw = (ANativeWindow *)sur; 745 void rsi_AllocationSetSurface(Context *rsc, RsAllocation valloc, RsNativeWindow sur) { argument 747 alloc->setSurface(rsc, sur);
|
H A D | rsContext.cpp | 646 void Context::setSurface(uint32_t w, uint32_t h, RsNativeWindow sur) { argument 648 mHal.funcs.setSurface(this, w, h, sur); 650 mHasSurface = sur != NULL; 883 void rsi_ContextSetSurface(Context *rsc, uint32_t w, uint32_t h, RsNativeWindow sur) { argument 884 rsc->setSurface(w, h, sur);
|