/frameworks/native/services/surfaceflinger/tests/surface/ |
H A D | Android.mk | 5 surface.cpp 14 LOCAL_MODULE:= test-surface
|
/frameworks/native/services/surfaceflinger/tests/resize/ |
H A D | resize.cpp | 41 sp<Surface> surface = client->createSurface(String8("resize"), local 46 surface->setLayer(100000); 50 surface->lock(&info); 53 surface->unlockAndPost(); 55 surface->lock(&info); 57 surface->unlockAndPost(); 60 surface->setSize(320, 240);
|
/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 | 34 EGLSurface surface; 36 surface = _eglCreateWindowSurface(dpy, config, sur, attrib_list, offset); 38 surface = _eglCreateWindowSurfaceTexture(dpy, config, 47 return surface;
|
/frameworks/base/graphics/java/android/renderscript/ |
H A D | RSTextureView.java | 74 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument 76 mSurfaceTexture = surface; 87 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument 89 mSurfaceTexture = surface; 100 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { argument 102 mSurfaceTexture = surface; 115 public void onSurfaceTextureUpdated(SurfaceTexture surface) { argument 117 mSurfaceTexture = surface; 153 * @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 | 26 EGLAPI void EGLAPIENTRY eglBeginFrame(EGLDisplay dpy, EGLSurface surface); 58 EGLSurface surface = eglGetCurrentSurface(EGL_DRAW); local 61 eglSurfaceAttrib(display, surface, EGL_SWAP_BEHAVIOR, EGL_BUFFER_PRESERVED); 73 EGLSurface surface = eglGetCurrentSurface(EGL_DRAW); local 77 eglQuerySurface(display, surface, EGL_SWAP_BEHAVIOR, &value); 107 EGLSurface surface = eglGetCurrentSurface(EGL_DRAW); local 113 eglQuerySurface(display, surface, EGL_WIDTH, &value); 116 eglQuerySurface(display, surface, EGL_HEIGHT, &value); 122 eglBeginFrame(display, surface);
|
H A D | android_view_Surface.cpp | 164 const sp<SurfaceControl>& surface) { 167 if (surface.get()) { 168 surface->incStrong(surfaceObj); 174 reinterpret_cast<jint>(surface.get())); 215 static void setSurface(JNIEnv* env, jobject surfaceObj, const sp<Surface>& surface) { argument 218 if (surface.get()) { 219 surface->incStrong(surfaceObj); 225 reinterpret_cast<jint>(surface.get())); 228 if (p && p != surface.get()) { 239 sp<Surface> surface(getSurfac 163 setSurfaceControl(JNIEnv* env, jobject surfaceObj, const sp<SurfaceControl>& surface) argument 280 sp<SurfaceControl> surface = client->createSurface( local [all...] |
/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/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/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 | 36 final Surface surface; field in class:BlackFrame.BlackSurface 46 surface = new WindowStateAnimator.SurfaceTrace(session, "BlackSurface(" 50 surface = new Surface(session, "BlackSurface", 53 surface.setAlpha(1); 54 surface.setLayerStack(layerStack); 55 surface.setLayer(layer); 56 surface.show(); 59 " BLACK " + surface + ": CREATE layer=" + layer); 66 surface.setPosition(mTmpFloats[Matrix.MTRANS_X], 68 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/native/libs/gui/ |
H A D | Surface.cpp | 51 const sp<ISurface>& surface, 53 : mClient(client), mSurface(surface), 79 // the surface's resource. Soon after this call, it will also release 203 Surface::Surface(const sp<SurfaceControl>& surface) argument 205 mSurface(surface->mSurface), 206 mIdentity(surface->mIdentity) 240 const sp<Surface>& surface, Parcel* parcel) 245 if (Surface::isValid(surface)) { 246 sur = surface->mSurface; 247 st = surface 49 SurfaceControl( const sp<SurfaceComposerClient>& client, const sp<ISurface>& surface, const ISurfaceComposerClient::surface_data_t& data) argument 239 writeToParcel( const sp<Surface>& surface, Parcel* parcel) argument 271 sp<Surface> surface = sCachedSurfaces.valueFor(binder).promote(); local [all...] |
/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;
|