/frameworks/base/opengl/java/com/google/android/gles_jni/ |
D | EGLImpl.java | 66 EGLSurfaceImpl sur = new EGLSurfaceImpl(); in eglCreatePixmapSurface() local 67 _eglCreatePixmapSurface(sur, display, config, native_pixmap, attrib_list); in eglCreatePixmapSurface() 68 if (sur.mEGLSurface == 0) { in eglCreatePixmapSurface() 71 return sur; in eglCreatePixmapSurface() 75 Surface sur; in eglCreateWindowSurface() local 78 sur = surfaceView.getHolder().getSurface(); in eglCreateWindowSurface() 81 sur = holder.getSurface(); in eglCreateWindowSurface() 87 int eglSurfaceId = _eglCreateWindowSurface(display, config, sur, attrib_list); in eglCreateWindowSurface() 136 …private native void _eglCreatePixmapSurface(EGLSurface sur, EGLDisplay display, EGLConfig config, … in _eglCreatePixmapSurface() argument
|
/frameworks/base/libs/ui/ |
D | GraphicBuffer.cpp | 173 status_t GraphicBuffer::lock(GGLSurface* sur, uint32_t usage) in lock() argument 177 if (res == NO_ERROR && sur) { in lock() 178 sur->version = sizeof(GGLSurface); in lock() 179 sur->width = width; in lock() 180 sur->height = height; in lock() 181 sur->stride = stride; in lock() 182 sur->format = format; in lock() 183 sur->data = static_cast<GGLubyte*>(vaddr); in lock()
|
/frameworks/base/opengl/libagl/ |
D | TextureObjectManager.cpp | 150 GGLSurface sur; in setImage() local 151 sur.version = sizeof(GGLSurface); in setImage() 152 sur.width = native_buffer->width; in setImage() 153 sur.height= native_buffer->height; in setImage() 154 sur.stride= native_buffer->stride; in setImage() 155 sur.format= native_buffer->format; in setImage() 156 sur.data = 0; in setImage() 157 setSurface(&sur); in setImage()
|
/frameworks/base/core/jni/ |
D | com_google_android_gles_jni_EGLImpl.cpp | 182 EGLContext sur = getSurface(_env, surface); in jni_eglQuerySurface() local 188 success = eglQuerySurface(dpy, sur, attribute, base); in jni_eglQuerySurface() 255 EGLSurface sur = eglCreatePbufferSurface(dpy, cnf, base); in jni_eglCreatePbufferSurface() local 257 return (jint)sur; in jni_eglCreatePbufferSurface() 305 EGLSurface sur = eglCreatePixmapSurface(dpy, cnf, &pixmap, base); in jni_eglCreatePixmapSurface() local 308 if (sur != EGL_NO_SURFACE) { in jni_eglCreatePixmapSurface() 309 _env->SetIntField(out_sur, gSurface_EGLSurfaceFieldID, (int)sur); in jni_eglCreatePixmapSurface() 339 EGLSurface sur = eglCreateWindowSurface(dpy, cnf, window.get(), base); in jni_eglCreateWindowSurface() local 341 return (jint)sur; in jni_eglCreateWindowSurface() 426 EGLSurface sur = getSurface(_env, surface); in jni_eglDestroySurface() local [all …]
|
D | android_view_Surface.cpp | 240 sp<Surface> sur(Surface::readFromParcel(*parcel)); in Surface_initParcel() local 241 setSurface(env, clazz, sur); in Surface_initParcel() 619 sp<Surface> sur(Surface::readFromParcel(*parcel)); in Surface_readFromParcel() local 620 setSurface(env, clazz, sur); in Surface_readFromParcel()
|
/frameworks/base/libs/surfaceflinger_client/ |
D | ISurfaceComposerClient.cpp | 76 virtual ssize_t getTokenForSurface(const sp<ISurface>& sur) const in getTokenForSurface() 80 data.writeStrongBinder(sur->asBinder()); in getTokenForSurface() 147 sp<ISurface> sur = interface_cast<ISurface>(data.readStrongBinder()); in onTransact() local 148 ssize_t token = getTokenForSurface(sur); in onTransact()
|
D | Surface.cpp | 240 sp<ISurface> sur; in writeSurfaceToParcel() local 247 sur = control->mSurface; in writeSurfaceToParcel() 254 parcel->writeStrongBinder(sur!=0 ? sur->asBinder() : NULL); in writeSurfaceToParcel() 310 ssize_t getTokenForSurface(const sp<ISurface>& sur) const { in getTokenForSurface() 312 return mClient->getTokenForSurface(sur); in getTokenForSurface() 354 sp<ISurface> sur; in writeToParcel() local 361 sur = surface->mSurface; in writeToParcel() 368 parcel->writeStrongBinder(sur!=0 ? sur->asBinder() : NULL); in writeToParcel()
|
/frameworks/base/graphics/java/android/renderscript/ |
D | RenderScriptGL.java | 52 public void contextSetSurface(int w, int h, Surface sur) { in contextSetSurface() argument 53 mSurface = sur; in contextSetSurface()
|
D | RenderScript.java | 68 native void nContextSetSurface(int w, int h, Surface sur); in nContextSetSurface() argument
|
/frameworks/base/libs/rs/ |
D | rsContext.h | 89 void updateSurface(void *sur); 101 void setSurface(uint32_t w, uint32_t h, ANativeWindow *sur);
|
D | rsContext.cpp | 488 void Context::setSurface(uint32_t w, uint32_t h, ANativeWindow *sur) in setSurface() argument 507 mWndSurface = sur; in setSurface() 904 void rsi_ContextSetSurface(Context *rsc, uint32_t w, uint32_t h, ANativeWindow *sur) in rsi_ContextSetSurface() argument 906 rsc->setSurface(w, h, sur); in rsi_ContextSetSurface()
|
D | rs.spec | 32 param ANativeWindow *sur
|
/frameworks/base/include/surfaceflinger/ |
D | ISurfaceComposerClient.h | 61 virtual ssize_t getTokenForSurface(const sp<ISurface>& sur) const = 0;
|
/frameworks/base/services/surfaceflinger/ |
D | SurfaceFlinger.h | 77 virtual ssize_t getTokenForSurface(const sp<ISurface>& sur) const; 115 virtual ssize_t getTokenForSurface(const sp<ISurface>& sur) const; 223 sp<Layer> getLayer(const sp<ISurface>& sur) const;
|
D | SurfaceFlinger.cpp | 2227 sp<Layer> SurfaceFlinger::getLayer(const sp<ISurface>& sur) const in getLayer() 2231 result = mLayerMap.valueFor( sur->asBinder() ).promote(); in getLayer() 2292 ssize_t Client::getTokenForSurface(const sp<ISurface>& sur) const { in getTokenForSurface() 2367 ssize_t UserClient::getTokenForSurface(const sp<ISurface>& sur) const in getTokenForSurface() 2370 sp<Layer> layer(mFlinger->getLayer(sur)); in getTokenForSurface()
|