/frameworks/base/core/java/android/hardware/camera2/utils/ |
SurfaceUtils.java | 25 import android.view.Surface; 33 * Various Surface utilities. 38 * Check if a surface is for preview consumer based on consumer end point Gralloc usage flags. 40 * @param surface The surface to be checked. 41 * @return true if the surface is for preview consumer, false otherwise. 43 public static boolean isSurfaceForPreview(Surface surface) { 44 return LegacyCameraDevice.isPreviewConsumer(surface); 48 * Check if the surface is for hardware video encoder consumer based on consumer end poin [all...] |
/frameworks/native/opengl/tools/glgen/stubs/egl/ |
eglCreateWindowSurface.java | 25 Surface sur = null; 32 } else if (win instanceof Surface) { 33 sur = (Surface) win; 36 EGLSurface surface; local 38 surface = _eglCreateWindowSurface(dpy, config, sur, attrib_list, offset); 40 surface = _eglCreateWindowSurfaceTexture(dpy, config, 45 "Surface, SurfaceView, SurfaceTexture or SurfaceHolder at the moment, " + 49 return surface;
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
ShadowSurfaceTest.java | 7 import android.view.Surface; 15 private final Surface surface = new Surface(texture); field in class:ShadowSurfaceTest 19 assertThat(shadowOf(surface).getSurfaceTexture()).isEqualTo(texture);
|
/prebuilts/misc/darwin-x86_64/sdl2/include/SDL2/ |
SDL_surface.h | 44 * \name Surface flags 53 #define SDL_PREALLOC 0x00000001 /**< Surface uses preallocated memory */ 54 #define SDL_RLEACCEL 0x00000002 /**< Surface is RLE encoded */ 55 #define SDL_DONTFREE 0x00000004 /**< Surface is referenced internally */ 56 /* @} *//* Surface flags */ 59 * Evaluates to true if the surface needs to be locked before access. 67 * which, if not NULL, contains the raw pixel data for the surface. 77 /** Application data associated with the surface */ 90 /** Reference count -- used when freeing surface */ 95 * \brief The type of function used for surface blitting functions [all...] |
/prebuilts/misc/windows/sdl2/i686-w64-mingw32/include/SDL2/ |
SDL_surface.h | 44 * \name Surface flags 53 #define SDL_PREALLOC 0x00000001 /**< Surface uses preallocated memory */ 54 #define SDL_RLEACCEL 0x00000002 /**< Surface is RLE encoded */ 55 #define SDL_DONTFREE 0x00000004 /**< Surface is referenced internally */ 56 /* @} *//* Surface flags */ 59 * Evaluates to true if the surface needs to be locked before access. 67 * which, if not NULL, contains the raw pixel data for the surface. 77 /** Application data associated with the surface */ 90 /** Reference count -- used when freeing surface */ 95 * \brief The type of function used for surface blitting functions [all...] |
/prebuilts/misc/windows/sdl2/include/ |
SDL_surface.h | 44 * \name Surface flags 53 #define SDL_PREALLOC 0x00000001 /**< Surface uses preallocated memory */ 54 #define SDL_RLEACCEL 0x00000002 /**< Surface is RLE encoded */ 55 #define SDL_DONTFREE 0x00000004 /**< Surface is referenced internally */ 56 /* @} *//* Surface flags */ 59 * Evaluates to true if the surface needs to be locked before access. 67 * which, if not NULL, contains the raw pixel data for the surface. 77 /** Application data associated with the surface */ 90 /** Reference count -- used when freeing surface */ 95 * \brief The type of function used for surface blitting functions [all...] |
/prebuilts/misc/windows/sdl2/x86_64-w64-mingw32/include/SDL2/ |
SDL_surface.h | 44 * \name Surface flags 53 #define SDL_PREALLOC 0x00000001 /**< Surface uses preallocated memory */ 54 #define SDL_RLEACCEL 0x00000002 /**< Surface is RLE encoded */ 55 #define SDL_DONTFREE 0x00000004 /**< Surface is referenced internally */ 56 /* @} *//* Surface flags */ 59 * Evaluates to true if the surface needs to be locked before access. 67 * which, if not NULL, contains the raw pixel data for the surface. 77 /** Application data associated with the surface */ 90 /** Reference count -- used when freeing surface */ 95 * \brief The type of function used for surface blitting functions [all...] |
/external/swiftshader/src/OpenGL/libGL/ |
main.h | 36 Surface *drawSurface; 37 Surface *readSurface; 40 void makeCurrent(Context *context, Display *display, Surface *surface); 45 Surface *getCurrentDrawSurface(); 46 Surface *getCurrentReadSurface(); 50 void setCurrentDrawSurface(Surface *surface); 51 void setCurrentReadSurface(Surface *surface); [all...] |
Surface.cpp | 15 // Surface.cpp: Implements the Surface class, representing a drawing surface 18 #include "Surface.h" 36 Surface::Surface(Display *display, NativeWindowType window) 50 Surface::Surface(Display *display, GLint width, GLint height, GLenum textureFormat, GLenum textureType) 65 Surface::~Surface() [all...] |
Surface.h | 15 // Surface.h: Defines the Surface class, representing a drawing surface 41 class Surface 44 Surface(Display *display, NativeWindowType window); 45 Surface(Display *display, GLint width, GLint height, GLenum textureFormat, GLenum textureTarget); 47 virtual ~Surface(); 62 bool checkForResize(); // Returns true if surface changed due to resize 75 const NativeWindowType mWindow; // Window that the surface is created for. 77 GLint mWidth; // Width of surface [all...] |
/external/mesa3d/src/intel/isl/ |
README | 1 Intel Surface Layout 6 those layouts, and queries the properties of surface formats. 27 counterpart, isl records the intent to use a surface as a depth or stencil 31 - `struct isl_surf` distinguishes between the surface's logical dimension 36 Surface Units 41 ISL takes care in its equations to correctly handle conversion among surface 43 between a surface's logical layout in the client API and its physical layout 49 - sa: physical surface samples 50 - el: physical surface elements 51 - sa_rows: rows of physical surface sample [all...] |
/frameworks/native/services/surfaceflinger/RenderEngine/ |
Surface.cpp | 17 #include "Surface.h" 26 Surface::~Surface() = default; 30 Surface::Surface(const RenderEngine& engine) 38 Surface::~Surface() { 42 void Surface::setNativeWindow(ANativeWindow* window) { 54 void Surface::swapBuffers() const { 67 EGLint Surface::queryConfig(EGLint attrib) const [all...] |
Surface.h | 28 class Surface { 30 virtual ~Surface() = 0; 51 class Surface final : public RE::Surface { 53 Surface(const RenderEngine& engine); 54 ~Surface(); 56 Surface(const Surface&) = delete; 57 Surface& operator=(const Surface&) = delete [all...] |
/frameworks/base/core/java/android/hardware/display/ |
VirtualDisplay.java | 19 import android.view.Surface; 23 * {@link android.view.Surface} that you must provide to {@link DisplayManager#createVirtualDisplay 26 * Because a virtual display renders to a surface provided by the application, it will be 38 private Surface mSurface; 41 IVirtualDisplayCallback token, Surface surface) { 45 mSurface = surface; 56 * Gets the surface that backs the virtual display. 58 public Surface getSurface() { 63 * Sets the surface that backs the virtual display [all...] |
/external/mesa3d/src/gallium/state_trackers/xvmc/ |
Makefile.sources | 5 surface.c \
|
/external/swiftshader/src/OpenGL/libEGL/ |
main.h | 30 class Surface; 39 Surface *drawSurface; 40 Surface *readSurface; 54 void setCurrentDrawSurface(Surface *surface); 55 Surface *getCurrentDrawSurface(); 57 void setCurrentReadSurface(Surface *surface); 58 Surface *getCurrentReadSurface();
|
/external/wayland-protocols/freedesktop.org/stable/viewporter/ |
README | 1 Viewporter: cropping and scaling extension for surface contents
|
/external/wayland-protocols/freedesktop.org/unstable/xdg-foreign/ |
xdg-foreign-unstable-v1.xml | 27 <description summary="Protocol for exporting xdg surface handles"> 28 This protocol specifies a way for making it possible to reference a surface 31 its own surfaces and the surface of some other client. For example, stack 32 some of its own surface above the other clients surface. 34 In order for a client A to get a reference of a surface of client B, client 35 B must first export its surface using xdg_exporter.export. Upon doing this, 39 to the surface client B just exported. See the corresponding requests for 45 surface, passing the exported surface handle to an unsandboxed process tha [all...] |
xdg-foreign-unstable-v2.xml | 27 <description summary="Protocol for exporting xdg surface handles"> 28 This protocol specifies a way for making it possible to reference a surface 31 its own surfaces and the surface of some other client. For example, stack 32 some of its own surface above the other clients surface. 34 In order for a client A to get a reference of a surface of client B, client 35 B must first export its surface using xdg_exporter.export_toplevel. Upon 39 to create a reference to the surface client B just exported. See the 45 surface, passing the exported surface handle to an unsandboxed process tha [all...] |
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
SyncRtSurfaceTransactionApplier.java | 21 import android.view.Surface; 28 * Helper class to apply surface transactions in sync with RenderThread. 32 private final Surface mTargetSurface; 37 * @param targetView The view in the surface that acts as synchronization anchor. 45 * Schedules applying surface parameters on the next frame. 47 * @param params The surface parameters to apply. DO NOT MODIFY the list after passing into 61 SurfaceControl surface = surfaceParams.surface; 62 t.deferTransactionUntilSurface(surface, mTargetSurface, frame); 78 t.setMatrix(params.surface, params.matrix, tmpFloat9) 105 final SurfaceControl surface; field in class:SyncRtSurfaceTransactionApplier.SurfaceParams [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
NativeImageReaderTest.java | 22 import android.view.Surface; 50 Surface surface = testCreateSurfaceNative(); local 51 assertNotNull("Surface created is null.", surface); 52 assertTrue("Surface created is invalid.", surface.isValid()); 57 private static native Surface testCreateSurfaceNative();
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
ShadowSurface.java | 4 import android.view.Surface; 8 @Implements(Surface.class)
|
/frameworks/base/native/android/ |
native_window_jni.cpp | 17 #define LOG_TAG "Surface" 23 #include <gui/Surface.h> 30 ANativeWindow* ANativeWindow_fromSurface(JNIEnv* env, jobject surface) { 31 sp<ANativeWindow> win = android_view_Surface_getNativeWindow(env, surface); 42 sp<Surface> surface = static_cast<Surface*>(window); local 43 return android_view_Surface_createFromSurface(env, surface);
|
/hardware/intel/common/libva/va/egl/ |
va_egl.h | 14 * is BC device id.) from surface id. Application 19 VASurfaceID surface,
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
LegacyCameraDevice.java | 41 import android.view.Surface; 69 private SparseArray<Surface> mConfiguredSurfaces; 102 Surface errorTarget = (Surface) errorArg; 105 Log.e(TAG, "Buffer drop error reported for unknown Surface"); 292 * Check if a given surface uses {@link ImageFormat#YUV_420_888} or format that can be readily 295 * @param s the surface to check. 299 static boolean needsConversion(Surface s) throws BufferQueueAbandonedException { 341 * <p>Every surface in {@code outputs} must be non-{@code null}.</p> 348 public int configureOutputs(SparseArray<Surface> outputs) [all...] |