/frameworks/native/include/gui/ |
H A D | SurfaceControl.h | 45 static bool isValid(const sp<SurfaceControl>& surface) { argument 46 return (surface != 0) && surface->isValid(); 56 // 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", 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(int 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;
|
/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/tests/textures/ |
H A D | textures.cpp | 41 EGLSurface surface; local 57 surface = eglCreateWindowSurface(dpy, config, window, NULL); 59 eglMakeCurrent(dpy, surface, surface, context); 60 eglQuerySurface(dpy, surface, EGL_WIDTH, &w); 61 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h); 116 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/av/libvideoeditor/lvpp/ |
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/filter/ |
H A D | filter.cpp | 37 EGLSurface surface; local 52 surface = eglCreateWindowSurface(dpy, config, window, NULL); 57 surface = eglCreatePbufferSurface(dpy, config, attribs); 58 if (surface == EGL_NO_SURFACE) { 63 eglMakeCurrent(dpy, surface, surface, context); 64 eglQuerySurface(dpy, surface, EGL_WIDTH, &w); 65 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h); 156 eglSwapBuffers(dpy, surface); 182 eglSwapBuffers(dpy, surface); [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/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/core/jni/ |
H A D | android_view_HardwareRenderer.cpp | 33 EGLAPI void EGLAPIENTRY eglBeginFrame(EGLDisplay dpy, EGLSurface surface); 65 EGLSurface surface = eglGetCurrentSurface(EGL_DRAW); local 68 eglSurfaceAttrib(display, surface, EGL_SWAP_BEHAVIOR, EGL_BUFFER_PRESERVED); 80 EGLSurface surface = eglGetCurrentSurface(EGL_DRAW); local 84 eglQuerySurface(display, surface, EGL_SWAP_BEHAVIOR, &value); 109 EGLSurface surface = eglGetCurrentSurface(EGL_DRAW); local 115 eglQuerySurface(display, surface, EGL_WIDTH, &value); 118 eglQuerySurface(display, surface, EGL_HEIGHT, &value); 124 eglBeginFrame(display, 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/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/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
|
/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/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/media/java/android/media/ |
H A D | RemoteDisplay.java | 125 private void notifyDisplayConnected(final Surface surface, argument 130 mListener.onDisplayConnected(surface, width, height, flags, session); 159 void onDisplayConnected(Surface surface, argument
|
/frameworks/base/services/java/com/android/server/display/ |
H A D | DisplayDevice.java | 44 // The display device owns its surface, but it should only set it 165 * Sets the display surface while in a transaction. 167 public final void setSurfaceInTransactionLocked(Surface surface) { argument 168 if (mCurrentSurface != surface) { 169 mCurrentSurface = surface; 170 SurfaceControl.setDisplaySurface(mDisplayToken, surface);
|
H A D | VirtualDisplayAdapter.java | 52 String name, int width, int height, int densityDpi, Surface surface, int flags) { 56 ownerUid, ownerPackageName, name, width, height, densityDpi, surface, flags); 110 String name, int width, int height, int densityDpi, Surface surface, int flags) { 119 mSurface = surface; 50 createVirtualDisplayLocked(IBinder appToken, int ownerUid, String ownerPackageName, String name, int width, int height, int densityDpi, Surface surface, int flags) argument 108 VirtualDisplayDevice(IBinder displayToken, IBinder appToken, int ownerUid, String ownerPackageName, String name, int width, int height, int densityDpi, Surface surface, int flags) argument
|