/frameworks/base/opengl/java/com/google/android/gles_jni/ |
EGLImpl.java | 70 EGLSurfaceImpl sur = new EGLSurfaceImpl(); local 71 _eglCreatePixmapSurface(sur, display, config, native_pixmap, attrib_list); 72 if (sur.mEGLSurface == 0) { 75 return sur; 79 Surface sur = null; local 82 sur = surfaceView.getHolder().getSurface(); 85 sur = holder.getSurface(); 89 if (sur != null) { 90 eglSurfaceId = _eglCreateWindowSurface(display, config, sur, attrib_list); 149 private native void _eglCreatePixmapSurface(EGLSurface sur, EGLDisplay display, EGLConfig config, Object native_pixmap, int[] attrib_list) [all...] |
/frameworks/native/opengl/libagl/ |
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/graphics/java/android/renderscript/ |
RenderScriptGL.java | 209 * @param sur 211 public void setSurface(SurfaceHolder sur, int w, int h) { 214 if (sur != null) { 215 s = sur.getSurface(); 228 * @param sur 230 public void setSurfaceTexture(SurfaceTexture sur, int w, int h) { 232 //android.util.Log.v("rs", "set surface " + sur + " w=" + w + ", h=" + h); 236 nContextSetSurfaceTexture(w, h, sur);
|
RenderScript.java | 134 native void rsnContextSetSurface(int con, int w, int h, Surface sur); 135 synchronized void nContextSetSurface(int w, int h, Surface sur) { 137 rsnContextSetSurface(mContext, w, h, sur); 139 native void rsnContextSetSurfaceTexture(int con, int w, int h, SurfaceTexture sur); 140 synchronized void nContextSetSurfaceTexture(int w, int h, SurfaceTexture sur) { 142 rsnContextSetSurfaceTexture(mContext, w, h, sur); 302 native void rsnAllocationSetSurface(int con, int alloc, Surface sur); 303 synchronized void nAllocationSetSurface(int alloc, Surface sur) { 305 rsnAllocationSetSurface(mContext, alloc, sur); [all...] |
/frameworks/native/libs/gui/ |
Surface.cpp | 187 sp<ISurface> sur; local 190 sur = control->mSurface; 193 parcel->writeStrongBinder(sur!=0 ? sur->asBinder() : NULL); 254 sp<ISurface> sur; local 258 sur = surface->mSurface; 270 parcel->writeStrongBinder(sur != NULL ? sur->asBinder() : NULL);
|
/frameworks/rs/driver/ |
rsdGL.h | 78 RsNativeWindow sur); 82 uint32_t w, uint32_t h, RsNativeWindow sur);
|
rsdGL.cpp | 428 bool rsdGLSetInternalSurface(const Context *rsc, RsNativeWindow sur) { 449 dc->gl.currentWndSurface = (ANativeWindow *)sur; 470 bool rsdGLSetSurface(const Context *rsc, uint32_t w, uint32_t h, RsNativeWindow sur) { 480 dc->gl.wndSurface = (ANativeWindow *)sur; 486 return rsdGLSetInternalSurface(rsc, sur);
|
/hardware/libhardware/modules/hwcomposer/ |
hwcomposer.cpp | 82 hwc_surface_t sur, 89 EGLBoolean sucess = eglSwapBuffers((EGLDisplay)dpy, (EGLSurface)sur);
|
/frameworks/base/core/jni/ |
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 = eglCreateWindowSurface(dpy, cnf, window.get(), base) local 450 EGLSurface sur = getSurface(_env, surface); local 495 EGLSurface sur = getSurface(_env, surface); local [all...] |
android_view_Surface.cpp | 280 sp<Surface> sur(Surface::readFromParcel(*parcel)); 281 setSurface(env, clazz, sur); 828 sp<Surface> sur(Surface::readFromParcel(*parcel)); 829 setSurface(env, clazz, sur);
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
HWComposer.h | 58 void setFrameBuffer(EGLDisplay dpy, EGLSurface sur);
|
HWComposer.cpp | 145 void HWComposer::setFrameBuffer(EGLDisplay dpy, EGLSurface sur) { 147 mSur = (hwc_surface_t)sur;
|
/hardware/libhardware/include/hardware/ |
hwcomposer.h | 297 * dpy, sur, and list are set to NULL to indicate that the screen is 314 hwc_surface_t sur,
|
/frameworks/rs/ |
rsContext.h | 112 void updateSurface(void *sur); 125 void setSurface(uint32_t w, uint32_t h, RsNativeWindow sur);
|
rs.spec | 80 param RsNativeWindow sur 130 param RsNativeWindow sur
|
rsAllocation.h | 138 void setSurface(const Context *rsc, RsNativeWindow sur);
|
rsContext.cpp | 470 void Context::setSurface(uint32_t w, uint32_t h, RsNativeWindow sur) { 472 mHal.funcs.setSurface(this, w, h, sur); 474 mHasSurface = sur != NULL; 691 void rsi_ContextSetSurface(Context *rsc, uint32_t w, uint32_t h, RsNativeWindow sur) { 692 rsc->setSurface(w, h, sur);
|
rsAllocation.cpp | 422 void Allocation::setSurface(const Context *rsc, RsNativeWindow sur) { 423 ANativeWindow *nw = (ANativeWindow *)sur; 699 void rsi_AllocationSetSurface(Context *rsc, RsAllocation valloc, RsNativeWindow sur) { 701 alloc->setSurface(rsc, sur);
|
rs_hal.h | 129 void (*setSurfaceTexture)(const Context *rsc, Allocation *alloc, ANativeWindow *sur);
|
/frameworks/native/libs/gui/tests/ |
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);
|
/device/samsung/crespo/libhwcomposer/ |
SecHWC.cpp | 283 hwc_surface_t sur, 297 if (dpy == NULL && sur == NULL && list == NULL) { 331 EGLBoolean sucess = eglSwapBuffers((EGLDisplay)dpy, (EGLSurface)sur);
|
/frameworks/base/graphics/jni/ |
android_renderscript_RenderScript.cpp | 240 nContextSetSurfaceTexture(JNIEnv *_env, jobject _this, RsContext con, jint width, jint height, jobject sur) 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) 493 con, alloc, (Surface *)sur); 496 if (sur != 0) { 497 s = Surface_getSurface(_env, sur); [all...] |
/frameworks/native/services/surfaceflinger/ |
Layer.cpp | 166 sp<ISurface> sur(new BSurface(mFlinger, this)); 167 return sur;
|
LayerBase.cpp | 504 sp<ISurface> sur(new BSurface(mFlinger, this)); 505 return sur;
|
SurfaceFlinger.h | 215 sp<Layer> getLayer(const sp<ISurface>& sur) const;
|