/frameworks/rs/support/jni/ |
H A D | android_rscompat_usage_io.cpp | 9 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);
|
H A D | android_renderscript_RenderScript.cpp | 1044 nAllocationSetSurface(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jobject sur) argument 1046 ioDispatch.sAllocationSetSurface(_env, _this, (RsContext)con, (RsAllocation)alloc, sur, dispatchTab);
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | EGLExt.java | 38 // C function EGLBoolean eglPresentationTimeANDROID ( EGLDisplay dpy, EGLSurface sur, EGLnsecsANDROID time ) 42 EGLSurface sur, 40 eglPresentationTimeANDROID( EGLDisplay dpy, EGLSurface sur, long time ) argument
|
/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 | 92 sp<Surface> sur; local 96 sur = reinterpret_cast<Surface *>( 101 return sur; 240 static inline bool isSurfaceValid(const sp<Surface>& sur) { argument 241 return Surface::isValid(sur); 266 sp<Surface> sur(reinterpret_cast<Surface *>(nativeObject)); 267 sur->decStrong(&sRefBaseOwner); 271 sp<Surface> sur(reinterpret_cast<Surface *>(nativeObject)); 272 return isSurfaceValid(sur) ? JNI_TRUE : JNI_FALSE; 276 sp<Surface> sur(reinterpret_cas 452 sp<Surface> sur; local [all...] |
H A D | com_google_android_gles_jni_EGLImpl.cpp | 167 EGLContext sur = getSurface(_env, surface); local 173 success = eglQuerySurface(dpy, sur, attribute, base); 249 EGLSurface sur = eglCreatePbufferSurface(dpy, cnf, base); local 251 return reinterpret_cast<jlong>(sur); 283 EGLSurface sur = eglCreateWindowSurface(dpy, cnf, window.get(), base); local 285 return reinterpret_cast<jlong>(sur); 311 EGLSurface sur = eglCreateWindowSurface(dpy, cnf, window.get(), base); local 313 return reinterpret_cast<jlong>(sur); 398 EGLSurface sur = getSurface(_env, surface); local 399 return EglBoolToJBool(eglDestroySurface(dpy, sur)); 434 EGLSurface sur = getSurface(_env, surface); local [all...] |
/frameworks/base/rs/java/android/renderscript/ |
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);
|
H A D | Allocation.java | 3036 * @param sur Surface to associate with allocation 3038 public void setSurface(Surface sur) { argument 3044 mRS.nAllocationSetSurface(getID(mRS), sur);
|
H A D | RenderScript.java | 245 native void rsnContextSetSurface(long con, int w, int h, Surface sur); argument 246 synchronized void nContextSetSurface(int w, int h, Surface sur) { argument 248 rsnContextSetSurface(mContext, w, h, sur); 250 native void rsnContextSetSurfaceTexture(long con, int w, int h, SurfaceTexture sur); argument 251 synchronized void nContextSetSurfaceTexture(int w, int h, SurfaceTexture sur) { argument 253 rsnContextSetSurfaceTexture(mContext, w, h, sur); 507 native void rsnAllocationSetSurface(long con, long alloc, Surface sur); argument 508 synchronized void nAllocationSetSurface(long alloc, Surface sur) { argument 510 rsnAllocationSetSurface(mContext, alloc, sur);
|
/frameworks/native/libs/gui/tests/ |
H A D | SurfaceTextureClient_test.cpp | 525 EGLSurface sur; member in class:android::MyThread 530 eglMakeCurrent(dpy, sur, sur, ctx); 542 sur = eglGetCurrentSurface(EGL_DRAW); 547 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/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/native/services/surfaceflinger/ |
H A D | DisplayDevice.cpp | 370 EGLSurface sur = eglGetCurrentSurface(EGL_DRAW); local 371 if (sur != mSurface) {
|
H A D | SurfaceFlinger_hwc1.cpp | 3921 sp<Surface> sur = new Surface(producer, false); local 3922 ANativeWindow* window = sur.get();
|
/frameworks/rs/ |
H A D | rsContext.cpp | 575 void Context::setSurface(uint32_t w, uint32_t h, RsNativeWindow sur) { argument 577 mHal.funcs.setSurface(this, w, h, sur); 579 mHasSurface = sur != nullptr; 820 void rsi_ContextSetSurface(Context *rsc, uint32_t w, uint32_t h, RsNativeWindow sur) { argument 821 rsc->setSurface(w, h, sur);
|
H A D | rsAllocation.cpp | 620 void Allocation::setSurface(const Context *rsc, RsNativeWindow sur) { argument 621 ANativeWindow *nw = (ANativeWindow *)sur; 872 void rsi_AllocationSetSurface(Context *rsc, RsAllocation valloc, RsNativeWindow sur) { argument 874 alloc->setSurface(rsc, sur);
|
H A D | rsApiStubs.cpp | 375 extern "C" void rsAllocationSetSurface (RsContext ctxWrapper, RsAllocation alloc, RsNativeWindow sur) argument 377 RS_DISPATCH(ctxWrapper, AllocationSetSurface, alloc, sur); 766 RsNativeWindow sur) 768 RS_DISPATCH(ctxWrapper, ContextSetSurface, width, height, sur); 765 rsContextSetSurface(RsContext ctxWrapper, uint32_t width, uint32_t height, RsNativeWindow sur) argument
|
/frameworks/rs/support/java/src/android/support/v8/renderscript/ |
H A D | Allocation.java | 2725 * @param sur Surface to associate with allocation 2727 public void setSurface(Surface sur) { argument 2733 mRS.nAllocationSetSurface(getID(mRS), sur);
|
H A D | RenderScript.java | 434 native void rsnAllocationSetSurface(long con, long alloc, Surface sur); argument 435 synchronized void nAllocationSetSurface(long alloc, Surface sur) { argument 437 rsnAllocationSetSurface(mContext, alloc, sur);
|
/frameworks/native/libs/gui/ |
H A D | SurfaceComposerClient.cpp | 676 sp<SurfaceControl> sur; local 689 sur = new SurfaceControl(this, handle, gbp); 692 return sur;
|
/frameworks/base/rs/jni/ |
H A D | android_renderscript_RenderScript.cpp | 1277 nAllocationSetSurface(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jobject sur) argument 1281 (RsAllocation)alloc, (Surface *)sur); 1285 if (sur != 0) { 1287 anw = ANativeWindow_fromSurface(_env, sur);
|