/frameworks/wilhelm/tests/native-media/jni/ |
H A D | native-media-jni.c | 513 // set the surface 514 void Java_com_example_nativemedia_NativeMedia_setSurface(JNIEnv *env, jclass clazz, jobject surface) argument 516 // obtain a native window from a Java surface 517 theNativeWindow = ANativeWindow_fromSurface(env, surface);
|
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/ |
H A D | MyGLSurfaceView.java | 190 * surface is created. 226 synchronized public void onFrameAvailable(SurfaceTexture surface) { argument 232 //Log.v(TAG, "onFrameAvailable " + surface.getTimestamp());
|
H A D | NativeMedia.java | 333 public static native void setSurface(Surface surface); argument 392 Surface surface = new Surface(mMyGLSurfaceView.getSurfaceTexture()); 393 setSurface(surface); 394 surface.release();
|
/frameworks/wilhelm/tests/sandbox/ |
H A D | nativewindow.cpp | 68 sp<Surface> surface = control->getSurface(); local 69 CHECK(surface != NULL); 71 gSurface = surface; 75 return surface.get();
|
/frameworks/rs/driver/ |
H A D | rsdGL.h | 39 EGLSurface surface; member in struct:RsdGLRec::__anon1491
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
H A D | ImageProcessingActivityJB.java | 351 // During startup we may not have a surface yet to display, if 357 // Our display surface changed, set it. 738 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument 739 mProcessor.setSurface(new Surface(surface)); 743 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument 744 mProcessor.setSurface(new Surface(surface)); 748 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { argument 754 public void onSurfaceTextureUpdated(SurfaceTexture surface) { argument
|
/frameworks/rs/java/tests/LivePreview/src/com/android/rs/livepreview/ |
H A D | CameraPreviewActivity.java | 138 public void onSurfaceTextureAvailable(SurfaceTexture surface, argument 140 mPreviewTexture = surface; 148 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument 152 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { argument 156 public void onSurfaceTextureUpdated(SurfaceTexture surface) { argument
|
H A D | RsYuv.java | 127 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument 128 android.util.Log.v("cpa", "onSurfaceTextureAvailable " + surface); 129 mSurface = new Surface(surface); 134 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument 135 android.util.Log.v("cpa", "onSurfaceTextureSizeChanged " + surface); 136 mSurface = new Surface(surface); 141 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { argument 142 android.util.Log.v("cpa", "onSurfaceTextureDestroyed " + surface); 149 public void onSurfaceTextureUpdated(SurfaceTexture surface) { argument
|
/frameworks/rs/java/tests/SampleTest/src/com/android/rs/sample/ |
H A D | SampleRSActivity.java | 52 public void onSurfaceTextureUpdated(SurfaceTexture surface) { argument 55 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument 56 if (surface != null) { 57 mOutPixelsAllocation.setSurface(new Surface(surface)); 61 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument 62 if (surface != null) { 63 mOutPixelsAllocation.setSurface(new Surface(surface)); 68 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { argument
|
/frameworks/opt/net/ims/src/java/com/android/ims/internal/ |
H A D | ImsVideoCallProvider.java | 103 public void setPreviewSurface(Surface surface) { argument 104 mProviderHandler.obtainMessage(MSG_SET_PREVIEW_SURFACE, surface).sendToTarget(); 107 public void setDisplaySurface(Surface surface) { argument 108 mProviderHandler.obtainMessage(MSG_SET_DISPLAY_SURFACE, surface).sendToTarget(); 157 public abstract void onSetPreviewSurface(Surface surface); argument 160 public abstract void onSetDisplaySurface(Surface surface); argument
|
H A D | ImsVideoCallProviderWrapper.java | 175 public void onSetPreviewSurface(Surface surface) { argument 177 mVideoCallProvider.setPreviewSurface(surface); 183 public void onSetDisplaySurface(Surface surface) { argument 185 mVideoCallProvider.setDisplaySurface(surface);
|
/frameworks/native/cmds/flatland/ |
H A D | GLHelper.cpp | 135 bool GLHelper::makeCurrent(EGLSurface surface) { argument 138 result = eglMakeCurrent(mDisplay, surface, surface, mContext); 145 eglQuerySurface(mDisplay, surface, EGL_WIDTH, &w); 146 eglQuerySurface(mDisplay, surface, EGL_HEIGHT, &h); 153 sp<GLConsumer>* glConsumer, EGLSurface* surface, 166 return createNamedSurfaceTexture(*name, w, h, glConsumer, surface); 169 void GLHelper::destroySurface(EGLSurface* surface) { argument 170 if (eglGetCurrentSurface(EGL_READ) == *surface || 171 eglGetCurrentSurface(EGL_DRAW) == *surface) { 152 createSurfaceTexture(uint32_t w, uint32_t h, sp<GLConsumer>* glConsumer, EGLSurface* surface, GLuint* name) argument 179 swapBuffers(EGLSurface surface) argument 202 createNamedSurfaceTexture(GLuint name, uint32_t w, uint32_t h, sp<GLConsumer>* glConsumer, EGLSurface* surface) argument [all...] |
H A D | Main.cpp | 512 bool doFrame(EGLSurface surface) { argument 530 result = mGLHelper->makeCurrent(surface); 545 result = mGLHelper->swapBuffers(surface); 575 // The surface into which layers are composited 579 // Used for displaying the surface to a window.
|
H A D | Renderers.cpp | 166 virtual bool render(EGLSurface surface) { argument 171 result = mGLHelper->makeCurrent(surface); 181 result = mGLHelper->swapBuffers(surface);
|
/frameworks/native/include/gui/ |
H A D | Surface.h | 75 /* convenience function to check that the given surface is non NULL as 77 static bool isValid(const sp<Surface>& surface) { argument 78 return surface != NULL && surface->getIGraphicBufferProducer() != NULL; 190 // mSurfaceTexture is the interface to the surface texture server. All 191 // operations on the surface texture client ultimately translate into
|
H A D | SurfaceControl.h | 46 static bool isValid(const sp<SurfaceControl>& surface) { argument 47 return (surface != 0) && surface->isValid(); 57 // release surface data from java
|
/frameworks/native/include/private/gui/ |
H A D | LayerState.h | 77 sp<IBinder> surface; member in struct:android::layer_state_t 122 sp<IGraphicBufferProducer> surface; member in struct:android::DisplayState
|
/frameworks/native/opengl/libagl/ |
H A D | TextureObjectManager.h | 52 void setImageBits(void* vaddr) { surface.data = (GGLubyte*)vaddr; } 74 GGLSurface surface; member in class:android::EGLTextureObject
|
H A D | dxt.cpp | 195 void *surface, int stride, 211 uint16_t* rowPtr = (uint16_t*)surface; 308 void *surface, int stride) 323 uint32_t* rowPtr = (uint32_t*)surface; 417 void *surface, int stride) 447 uint32_t* rowPtr = (uint32_t*)surface; 580 * The output is written to 'surface' with each scanline separated by 600 void *surface, int stride, int format) 611 decodeDXT1(data, width, height, surface, stride, false); 615 decodeDXT1(data, width, height, surface, strid 194 decodeDXT1(const GLvoid *data, int width, int height, void *surface, int stride, bool hasAlpha) argument 307 decodeDXT3(const GLvoid *data, int width, int height, void *surface, int stride) argument 416 decodeDXT5(const GLvoid *data, int width, int height, void *surface, int stride) argument 599 decodeDXT(const GLvoid *data, int width, int height, void *surface, int stride, int format) argument [all...] |
H A D | egl.cpp | 1260 // (it's possible that the surface is not fully initialized) 1265 egl_surface_t* surface; local 1266 surface = new egl_window_surface_v2_t(dpy, config, depthFormat, 1269 if (!surface->initCheck()) { 1272 delete surface; 1273 surface = 0; 1275 return surface; 1311 egl_surface_t* surface = 1315 if (!surface->initCheck()) { 1318 delete surface; 1355 egl_surface_t* surface = local [all...] |
H A D | texture.cpp | 80 c->rasterizer.procs.bindTexture(c, &(u.texture->surface)); 145 c->rasterizer.procs.bindTexture(c, &(u.texture->surface)); 168 c->rasterizer.procs.bindTexture(c, &(u.texture->surface)); 390 GGLSurface& surface = tex->editMip(level); 391 *outSurface = &surface; 403 *outSurface = &tex->surface; 452 void *surface, int stride, int format) 498 uint8_t* p = (uint8_t*)surface + y*stride*2; 522 uint8_t* p = (uint8_t*)surface + y*stride*3; 549 uint8_t* p = (uint8_t*)surface 451 decodePalette4(const GLvoid *data, int level, int width, int height, void *surface, int stride, int format) argument 1118 GGLSurface* surface; local [all...] |
/frameworks/native/opengl/libs/EGL/ |
H A D | eglApi.cpp | 509 EGLSurface surface = cnx->egl.eglCreateWindowSurface( local 511 if (surface != EGL_NO_SURFACE) { 513 surface, cnx); 533 EGLSurface surface = cnx->egl.eglCreatePixmapSurface( local 535 if (surface != EGL_NO_SURFACE) { 537 surface, cnx); 552 EGLSurface surface = cnx->egl.eglCreatePbufferSurface( local 554 if (surface != EGL_NO_SURFACE) { 556 surface, cnx); 563 EGLBoolean eglDestroySurface(EGLDisplay dpy, EGLSurface surface) argument 582 eglQuerySurface( EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint *value) argument 599 eglBeginFrame(EGLDisplay dpy, EGLSurface surface) argument 1108 eglCopyBuffers( EGLDisplay dpy, EGLSurface surface, NativePixmapType target) argument 1168 eglSurfaceAttrib( EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value) argument 1188 eglBindTexImage( EGLDisplay dpy, EGLSurface surface, EGLint buffer) argument 1208 eglReleaseTexImage( EGLDisplay dpy, EGLSurface surface, EGLint buffer) argument 1340 eglLockSurfaceKHR(EGLDisplay dpy, EGLSurface surface, const EGLint *attrib_list) argument 1360 eglUnlockSurfaceKHR(EGLDisplay dpy, EGLSurface surface) argument 1534 eglPresentationTimeANDROID(EGLDisplay dpy, EGLSurface surface, EGLnsecsANDROID time) argument [all...] |
H A D | egl_object.cpp | 65 EGLNativeWindowType win, EGLSurface surface, 67 egl_object_t(dpy), surface(surface), config(config), win(win), cnx(cnx) 64 egl_surface_t(egl_display_t* dpy, EGLConfig config, EGLNativeWindowType win, EGLSurface surface, egl_connection_t const* cnx) argument
|
H A D | egl_object.h | 133 EGLNativeWindowType win, EGLSurface surface, 136 EGLSurface surface; member in class:android::egl_surface_t 177 egl_surface_t* get_surface(EGLSurface surface) { argument 178 return egl_to_native_cast<egl_surface_t>(surface);
|
/frameworks/native/opengl/tests/angeles/ |
H A D | app-linux.cpp | 134 EGLSurface surface; local 150 surface = eglCreateWindowSurface(dpy, config, window, NULL); 153 fprintf(stderr,"surface = %p\n", surface); 159 eglMakeCurrent(dpy, surface, surface, context); 162 eglQuerySurface(dpy, surface, EGL_WIDTH, &sWindowWidth); 163 eglQuerySurface(dpy, surface, EGL_HEIGHT, &sWindowHeight); 166 sEglSurface = surface;
|