/frameworks/base/graphics/java/android/renderscript/ |
H A D | RenderScriptGL.java | 209 * @param sur 211 public void setSurface(SurfaceHolder sur, int w, int h) { argument 214 if (sur != null) { 215 s = sur.getSurface(); 228 * @param sur 230 public void setSurfaceTexture(SurfaceTexture sur, int w, int h) { argument 232 //android.util.Log.v("rs", "set surface " + sur + " w=" + w + ", h=" + h); 236 nContextSetSurfaceTexture(w, h, sur);
|
H A D | Allocation.java | 1180 * @param sur Surface to associate with allocation 1182 public void setSurface(Surface sur) { argument 1188 mRS.nAllocationSetSurface(getID(mRS), sur);
|
H A D | RenderScript.java | 134 native void rsnContextSetSurface(int con, int w, int h, Surface sur); argument 135 synchronized void nContextSetSurface(int w, int h, Surface sur) { argument 137 rsnContextSetSurface(mContext, w, h, sur); 139 native void rsnContextSetSurfaceTexture(int con, int w, int h, SurfaceTexture sur); argument 140 synchronized void nContextSetSurfaceTexture(int w, int h, SurfaceTexture sur) { argument 142 rsnContextSetSurfaceTexture(mContext, w, h, sur); 302 native void rsnAllocationSetSurface(int con, int alloc, Surface sur); argument 303 synchronized void nAllocationSetSurface(int alloc, Surface sur) { argument 305 rsnAllocationSetSurface(mContext, alloc, sur);
|
/frameworks/native/libs/gui/tests/ |
H A D | SurfaceTextureClient_test.cpp | 469 EGLSurface sur; member in class:android::MyThread 474 eglMakeCurrent(dpy, sur, sur, ctx); 486 sur = eglGetCurrentSurface(EGL_DRAW); 491 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/libs/gui/ |
H A D | Surface.cpp | 175 sp<ISurface> sur; local 178 sur = control->mSurface; 181 parcel->writeStrongBinder(sur!=0 ? sur->asBinder() : NULL); 242 sp<ISurface> sur; local 246 sur = surface->mSurface; 258 parcel->writeStrongBinder(sur != NULL ? sur->asBinder() : NULL);
|
/frameworks/native/services/surfaceflinger/ |
H A D | DisplayDevice.cpp | 261 EGLSurface sur = eglGetCurrentSurface(EGL_DRAW); local 262 if (sur != hw->mSurface) {
|
/frameworks/base/core/jni/ |
H A D | com_google_android_gles_jni_EGLImpl.cpp | 167 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; 300 EGLSurface sur = eglCreatePixmapSurface(dpy, cnf, &pixmap, base); local 303 if (sur != EGL_NO_SURFACE) { 304 _env->SetIntField(out_sur, gSurface_EGLSurfaceFieldID, (int)sur); 334 EGLSurface sur = eglCreateWindowSurface(dpy, cnf, window.get(), base); local 336 return (jint)sur; 363 EGLSurface sur local 450 EGLSurface sur = getSurface(_env, surface); local 495 EGLSurface sur = getSurface(_env, surface); local [all...] |
/frameworks/rs/ |
H A D | rsAllocation.cpp | 458 void Allocation::setSurface(const Context *rsc, RsNativeWindow sur) { argument 459 ANativeWindow *nw = (ANativeWindow *)sur; 648 void rsi_AllocationSetSurface(Context *rsc, RsAllocation valloc, RsNativeWindow sur) { argument 650 alloc->setSurface(rsc, sur);
|
H A D | rsContext.cpp | 523 void Context::setSurface(uint32_t w, uint32_t h, RsNativeWindow sur) { argument 525 mHal.funcs.setSurface(this, w, h, sur); 527 mHasSurface = sur != NULL; 744 void rsi_ContextSetSurface(Context *rsc, uint32_t w, uint32_t h, RsNativeWindow sur) { argument 745 rsc->setSurface(w, h, sur);
|
/frameworks/base/graphics/jni/ |
H A D | android_renderscript_RenderScript.cpp | 240 nContextSetSurfaceTexture(JNIEnv *_env, jobject _this, RsContext con, jint width, jint height, jobject sur) argument 242 LOG_API("nContextSetSurfaceTexture, con(%p), width(%i), height(%i), surface(%p)", con, width, height, (Surface *)sur); 246 if (sur == 0) { 249 st = SurfaceTexture_getSurfaceTexture(_env, sur); 490 nAllocationSetSurface(JNIEnv *_env, jobject _this, RsContext con, RsAllocation alloc, jobject sur) argument 493 con, alloc, (Surface *)sur); 496 if (sur != 0) { 497 s = android_view_Surface_getSurface(_env, sur);
|