/frameworks/native/include/gui/ |
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/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/av/camera/camera2/ |
H A D | CaptureRequest.cpp | 48 ALOGE("%s: Failed to read surface list size from parcel", __FUNCTION__); 51 ALOGV("%s: Read surface list size = %d", __FUNCTION__, size); 58 ALOGV("%s: Read surface class = %s", __FUNCTION__, 67 ALOGV("%s: Read surface name = %s", __FUNCTION__, 70 ALOGV("%s: Read surface binder = %p", 73 sp<Surface> surface; local 78 surface = new Surface(gbp); 81 mSurfaceList.push_back(surface); 105 sp<Surface> surface = mSurfaceList[i]; local 108 if (surface ! [all...] |
/frameworks/base/opengl/java/com/google/android/gles_jni/ |
H A D | EGLSurfaceImpl.java | 28 public EGLSurfaceImpl(long surface) { argument 29 mEGLSurface = 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 | TextureViewActivity.java | 101 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument 110 mCamera.setPreviewTexture(surface); 147 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument 152 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { argument 159 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;
|
H A D | HardwareCanvasSurfaceViewActivity.java | 73 public RenderingThread(Surface surface) { argument 74 mSurface = surface;
|
H A D | HardwareCanvasTextureViewActivity.java | 51 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument 57 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument 62 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { argument 68 public void onSurfaceTextureUpdated(SurfaceTexture surface) { argument
|
/frameworks/native/opengl/tests/finish/ |
H A D | finish.cpp | 45 EGLSurface surface; local 62 surface = eglCreateWindowSurface(dpy, config, window, NULL); 64 eglMakeCurrent(dpy, surface, surface, context); 65 eglQuerySurface(dpy, surface, EGL_WIDTH, &w); 66 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h); 114 eglSwapBuffers(dpy, surface); 128 eglSwapBuffers(dpy, surface); 143 eglSwapBuffers(dpy, surface); 158 eglSwapBuffers(dpy, surface); [all...] |
/frameworks/native/opengl/tests/textures/ |
H A D | textures.cpp | 41 EGLSurface surface; local 58 surface = eglCreateWindowSurface(dpy, config, window, NULL); 60 eglMakeCurrent(dpy, surface, surface, context); 61 eglQuerySurface(dpy, surface, EGL_WIDTH, &w); 62 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h); 117 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/base/libs/hwui/renderthread/ |
H A D | EglManager.h | 42 void destroySurface(EGLSurface surface); 46 bool isCurrent(EGLSurface surface) { return mCurrentSurface == surface; } argument 47 // Returns true if the current surface changed, false if it was already current 48 bool makeCurrent(EGLSurface surface); 49 void beginFrame(EGLSurface surface, EGLint* width, EGLint* height); 50 bool swapBuffers(EGLSurface surface); 53 // Returns true iff the surface is now preserving buffers. 54 bool setPreserveBuffer(EGLSurface surface, bool preserve); 87 // TODO: Need to be better about surface/contex [all...] |
/frameworks/native/opengl/tests/filter/ |
H A D | filter.cpp | 37 EGLSurface surface; local 54 surface = eglCreateWindowSurface(dpy, config, window, NULL); 59 surface = eglCreatePbufferSurface(dpy, config, attribs); 60 if (surface == EGL_NO_SURFACE) { 65 eglMakeCurrent(dpy, surface, surface, context); 66 eglQuerySurface(dpy, surface, EGL_WIDTH, &w); 67 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h); 158 eglSwapBuffers(dpy, surface); 184 eglSwapBuffers(dpy, surface); [all...] |
/frameworks/native/opengl/tests/gl_perf/ |
H A D | gl2_perf.cpp | 57 static EGLSurface surface; variable 99 surface = eglCreateWindowSurface(dpy, myConfig, window, NULL); 101 if (surface == EGL_NO_SURFACE) { 112 returnValue = eglMakeCurrent(dpy, surface, surface, context); 117 eglQuerySurface(dpy, surface, EGL_WIDTH, &w); 119 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h); 127 eglSwapBuffers(dpy, surface); 135 eglSwapBuffers(dpy, surface);
|
/frameworks/native/opengl/tests/linetex/ |
H A D | linetex.cpp | 43 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); 108 eglSwapBuffers(dpy, surface);
|
/frameworks/av/cmds/screenrecord/ |
H A D | EglWindow.cpp | 37 status_t EglWindow::createWindow(const sp<IGraphicBufferProducer>& surface) { argument 39 ALOGE("surface already created"); 48 surface->query(NATIVE_WINDOW_WIDTH, &mWidth); 49 surface->query(NATIVE_WINDOW_HEIGHT, &mHeight); 51 // Output side (EGL surface to draw on). 52 sp<ANativeWindow> anw = new Surface(surface); 66 ALOGE("surface already created");
|
/frameworks/base/core/java/android/hardware/display/ |
H A D | VirtualDisplay.java | 27 * Because a virtual display renders to a surface provided by the application, it will be 42 IVirtualDisplayCallback token, Surface surface) { 46 mSurface = surface; 57 * Gets the surface that backs the virtual display. 64 * Sets the surface that backs the virtual display. 66 * Detaching the surface that backs a virtual display has a similar effect to 69 * It is still the caller's responsibility to destroy the surface after it has 73 * @param surface The surface to set, or null to detach the surface fro 41 VirtualDisplay(DisplayManagerGlobal global, Display display, IVirtualDisplayCallback token, Surface surface) argument 75 setSurface(Surface surface) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_view_HardwareLayer.cpp | 72 jlong layerUpdaterPtr, jobject surface, jboolean isAlreadyAttached) { 74 sp<GLConsumer> surfaceTexture(SurfaceTexture_getSurfaceTexture(env, surface)); 71 android_view_HardwareLayer_setSurfaceTexture(JNIEnv* env, jobject clazz, jlong layerUpdaterPtr, jobject surface, jboolean isAlreadyAttached) argument
|
/frameworks/base/libs/hwui/tests/ |
H A D | main.cpp | 72 // create the native surface 76 sp<Surface> surface = control->getSurface(); local 88 proxy->initialize(surface);
|
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | gl_env.h | 59 // includes the display, context, and surface. It is possible to either create 63 // surface. 74 // Inits a new GL environment, including a new surface and context. You 79 // there is already a display, surface and context available (possibly 95 // When rendering to a visible surface, call this to swap between the 102 // Add a surface to the environment. This surface will now be managed (and 103 // owned) by the GLEnv instance. Returns the id of the surface. 104 int AddSurface(const EGLSurface& surface); 106 // Add a window surface t 132 const EGLSurface& surface() const { function in class:android::filterfw::GLEnv [all...] |
/frameworks/base/native/android/ |
H A D | native_window.cpp | 27 ANativeWindow* ANativeWindow_fromSurface(JNIEnv* env, jobject surface) { argument 28 sp<ANativeWindow> win = android_view_Surface_getNativeWindow(env, surface);
|
/frameworks/base/rs/java/android/renderscript/ |
H A D | RSTextureView.java | 68 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument 70 mSurfaceTexture = surface; 81 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument 83 mSurfaceTexture = surface; 94 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { argument 96 mSurfaceTexture = surface; 109 public void onSurfaceTextureUpdated(SurfaceTexture surface) { argument 111 mSurfaceTexture = surface; 147 * @param sc The RS surface config to create.
|
/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
|
/frameworks/native/opengl/libs/EGL/ |
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
|