/frameworks/native/opengl/libagl/ |
H A D | TextureObjectManager.cpp | 34 if (mSize && surface.data) 35 free(surface.data); 43 memset(&surface, 0, sizeof(surface)); 44 surface.version = sizeof(surface); 74 if (!surface.data) 77 int w = surface.width; 78 int h = surface.height; 109 return surface; [all...] |
H A D | dxt.h | 29 void *surface, int stride, int format);
|
/frameworks/native/include/android/ |
H A D | native_window_jni.h | 34 ANativeWindow* ANativeWindow_fromSurface(JNIEnv* env, jobject surface);
|
/frameworks/native/opengl/tools/glgen/stubs/egl/ |
H A D | eglCreateWindowSurface.java | 36 EGLSurface surface; 38 surface = _eglCreateWindowSurface(dpy, config, sur, attrib_list, offset); 40 surface = _eglCreateWindowSurfaceTexture(dpy, config, 49 return surface;
|
/frameworks/base/graphics/java/android/renderscript/ |
H A D | RSTextureView.java | 75 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument 77 mSurfaceTexture = surface; 88 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument 90 mSurfaceTexture = surface; 101 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { argument 103 mSurfaceTexture = surface; 116 public void onSurfaceTextureUpdated(SurfaceTexture surface) { argument 118 mSurfaceTexture = surface; 154 * @param sc The RS surface config to create.
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | GLEnvironment.java | 102 public int registerSurface(Surface surface) { argument 103 int result = nativeAddSurface(surface); 105 throw new RuntimeException("Error registering surface " + surface + "!"); 111 Surface surface = new Surface(surfaceTexture); 112 int result = nativeAddSurfaceWidthHeight(surface, width, height); 113 surface.release(); 123 throw new RuntimeException("Error registering surface from " 131 throw new RuntimeException("Could not activate surface " + surfaceId + "!"); 137 throw new RuntimeException("Could not unregister surface " 171 nativeAddSurface(Surface surface) argument 173 nativeAddSurfaceWidthHeight(Surface surface, int width, int height) argument [all...] |
/frameworks/base/opengl/java/com/google/android/gles_jni/ |
H A D | EGLSurfaceImpl.java | 28 public EGLSurfaceImpl(int surface) { argument 29 mEGLSurface = surface;
|
/frameworks/native/opengl/tests/swapinterval/ |
H A D | swapinterval.cpp | 43 EGLSurface surface; local 70 surface = eglCreateWindowSurface(dpy, config, window, NULL); 71 if (surface == EGL_NO_SURFACE) { 83 eglMakeCurrent(dpy, surface, surface, context); 84 eglQuerySurface(dpy, surface, EGL_WIDTH, &w); 85 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h); 99 eglSwapBuffers(dpy, surface); 111 eglSwapBuffers(dpy, surface); 114 eglSwapBuffers(dpy, surface); [all...] |
/frameworks/base/core/jni/ |
H A D | android_view_HardwareRenderer.cpp | 28 EGLAPI void EGLAPIENTRY eglBeginFrame(EGLDisplay dpy, EGLSurface surface); 60 EGLSurface surface = eglGetCurrentSurface(EGL_DRAW); local 63 eglSurfaceAttrib(display, surface, EGL_SWAP_BEHAVIOR, EGL_BUFFER_PRESERVED); 75 EGLSurface surface = eglGetCurrentSurface(EGL_DRAW); local 79 eglQuerySurface(display, surface, EGL_SWAP_BEHAVIOR, &value); 104 EGLSurface surface = eglGetCurrentSurface(EGL_DRAW); local 110 eglQuerySurface(display, surface, EGL_WIDTH, &value); 113 eglQuerySurface(display, surface, EGL_HEIGHT, &value); 119 eglBeginFrame(display, surface);
|
/frameworks/native/opengl/tests/gl_perf/ |
H A D | gl2_perf.cpp | 57 static EGLSurface surface; variable 98 surface = eglCreateWindowSurface(dpy, myConfig, window, NULL); 100 if (surface == EGL_NO_SURFACE) { 111 returnValue = eglMakeCurrent(dpy, surface, surface, context); 116 eglQuerySurface(dpy, surface, EGL_WIDTH, &w); 118 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h); 126 eglSwapBuffers(dpy, surface); 134 eglSwapBuffers(dpy, surface);
|
/frameworks/native/services/surfaceflinger/tests/resize/ |
H A D | resize.cpp | 44 sp<Surface> surface = surfaceControl->getSurface(); local 51 surface->lock(&outBuffer, NULL); 54 surface->unlockAndPost(); 56 surface->lock(&outBuffer); 58 surface->unlockAndPost();
|
/frameworks/native/cmds/flatland/ |
H A D | GLHelper.h | 52 bool makeCurrent(EGLSurface surface); 55 sp<GLConsumer>* surfaceTexture, EGLSurface* surface, 59 sp<SurfaceControl>* surfaceControl, EGLSurface* surface); 61 void destroySurface(EGLSurface* surface); 63 bool swapBuffers(EGLSurface surface); 72 sp<GLConsumer>* surfaceTexture, EGLSurface* surface);
|
/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/native/opengl/tests/linetex/ |
H A D | linetex.cpp | 45 EGLSurface surface; local 61 surface = eglCreateWindowSurface(dpy, config, window, NULL); 63 eglMakeCurrent(dpy, surface, surface, context); 64 eglQuerySurface(dpy, surface, EGL_WIDTH, &w); 65 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h); 109 eglSwapBuffers(dpy, surface);
|
/frameworks/rs/java/tests/LivePreview/src/com/android/rs/livepreview/ |
H A D | RsYuv.java | 126 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument 127 android.util.Log.v("cpa", "onSurfaceTextureAvailable " + surface); 128 mSurface = surface; 133 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument 134 android.util.Log.v("cpa", "onSurfaceTextureSizeChanged " + surface); 135 mSurface = surface; 140 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { argument 141 android.util.Log.v("cpa", "onSurfaceTextureDestroyed " + surface); 142 mSurface = surface; 148 public void onSurfaceTextureUpdated(SurfaceTexture surface) { argument [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | GetBitmapActivity.java | 81 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument 85 mCamera.setPreviewTexture(surface); 94 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument 99 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { argument 106 public void onSurfaceTextureUpdated(SurfaceTexture surface) { argument
|
H A D | CanvasTextureViewActivity.java | 50 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument 56 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument 61 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { argument 67 public void onSurfaceTextureUpdated(SurfaceTexture surface) { argument 75 public RenderingThread(TextureView surface) { argument 76 mSurface = surface;
|
/frameworks/base/services/java/com/android/server/wm/ |
H A D | BlackFrame.java | 37 final SurfaceControl surface; field in class:BlackFrame.BlackSurface 48 surface = new WindowStateAnimator.SurfaceTrace(session, "BlackSurface(" 52 surface = new SurfaceControl(session, "BlackSurface", 56 surface.setAlpha(1); 57 surface.setLayerStack(layerStack); 58 surface.setLayer(layer); 59 surface.show(); 62 " BLACK " + surface + ": CREATE layer=" + layer); 69 surface.setPosition(mTmpFloats[Matrix.MTRANS_X], 71 surface [all...] |
/frameworks/native/opengl/tests/fillrate/ |
H A D | fillrate.cpp | 44 EGLSurface surface; local 60 surface = eglCreateWindowSurface(dpy, config, window, NULL); 62 eglMakeCurrent(dpy, surface, surface, context); 63 eglQuerySurface(dpy, surface, EGL_WIDTH, &w); 64 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h); 124 eglSwapBuffers(dpy, surface); 134 eglSwapBuffers(dpy, surface); 146 eglSwapBuffers(dpy, surface);
|
/frameworks/native/opengl/tests/finish/ |
H A D | finish.cpp | 45 EGLSurface surface; local 61 surface = eglCreateWindowSurface(dpy, config, window, NULL); 63 eglMakeCurrent(dpy, surface, surface, context); 64 eglQuerySurface(dpy, surface, EGL_WIDTH, &w); 65 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h); 113 eglSwapBuffers(dpy, surface); 127 eglSwapBuffers(dpy, surface); 142 eglSwapBuffers(dpy, surface); 157 eglSwapBuffers(dpy, surface); [all...] |
/frameworks/native/opengl/tools/glgen/specs/egl/ |
H A D | EGL14.spec | 12 EGLBoolean eglDestroySurface ( EGLDisplay dpy, EGLSurface surface ) 13 EGLBoolean eglQuerySurface ( EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint *value ) 19 EGLBoolean eglSurfaceAttrib ( EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value ) 20 EGLBoolean eglBindTexImage ( EGLDisplay dpy, EGLSurface surface, EGLint buffer ) 21 EGLBoolean eglReleaseTexImage ( EGLDisplay dpy, EGLSurface surface, EGLint buffer ) 32 EGLBoolean eglSwapBuffers ( EGLDisplay dpy, EGLSurface surface ) 33 EGLBoolean eglCopyBuffers ( EGLDisplay dpy, EGLSurface surface, EGLNativePixmapType target )
|
/frameworks/av/libvideoeditor/lvpp/ |
H A D | PreviewRenderer.h | 35 const sp<Surface> &surface, 50 const sp<Surface> &surface,
|
H A D | PreviewRenderer.cpp | 30 const sp<Surface> &surface, size_t width, size_t height) { 32 PreviewRenderer* renderer = new PreviewRenderer(surface, width, height); 43 const sp<Surface> &surface, 45 : mSurface(surface), 29 CreatePreviewRenderer( const sp<Surface> &surface, size_t width, size_t height) argument 42 PreviewRenderer( const sp<Surface> &surface, size_t width, size_t height) argument
|
/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;
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | EGL14.java | 255 EGLSurface surface; 257 surface = _eglCreateWindowSurface(dpy, config, sur, attrib_list, offset); 259 surface = _eglCreateWindowSurfaceTexture(dpy, config, 268 return surface; 289 // C function EGLBoolean eglDestroySurface ( EGLDisplay dpy, EGLSurface surface ) 293 EGLSurface surface 296 // C function EGLBoolean eglQuerySurface ( EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint *value ) 300 EGLSurface surface, 338 // C function EGLBoolean eglSurfaceAttrib ( EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value ) 342 EGLSurface surface, 298 eglQuerySurface( EGLDisplay dpy, EGLSurface surface, int attribute, int[] value, int offset ) argument 340 eglSurfaceAttrib( EGLDisplay dpy, EGLSurface surface, int attribute, int value ) argument 349 eglBindTexImage( EGLDisplay dpy, EGLSurface surface, int buffer ) argument 357 eglReleaseTexImage( EGLDisplay dpy, EGLSurface surface, int buffer ) argument 442 eglCopyBuffers( EGLDisplay dpy, EGLSurface surface, int target ) argument [all...] |