HomeSort by relevance Sort by last modified time
    Searched refs:surface (Results 1 - 25 of 1381) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/mesa3d/src/gallium/state_trackers/egl/wayland/
native_wayland.c 148 struct wayland_surface *surface = data; local
153 if (!surface->pending_resource)
156 pipe_resource_reference(&surface->pending_resource, NULL);
164 wayland_window_surface_handle_resize(struct wayland_surface *surface)
166 struct wayland_display *display = surface->display;
171 front_resource = resource_surface_get_single_resource(surface->rsurf,
173 if (resource_surface_set_size(surface->rsurf,
174 surface->win->width, surface->win->height)) {
176 if (surface->pending_resource
207 struct wayland_surface *surface = wayland_surface(nsurf); local
230 struct wayland_surface *surface = data; local
254 struct wayland_surface *surface = wayland_surface(nsurf); local
302 struct wayland_surface *surface = wayland_surface(nsurf); local
353 struct wayland_surface *surface = wayland_surface(nsurf); local
376 struct wayland_surface *surface; local
    [all...]
  /frameworks/base/libs/hwui/
VkLayer.cpp 28 sk_sp<SkSurface> surface; local
30 surface = SkSurface::MakeRenderTarget(mRenderState.getGrContext(), SkBudgeted::kNo, info);
31 surface->getCanvas()->clear(SK_ColorBLUE);
32 mImage = surface->makeImageSnapshot();
  /prebuilts/misc/darwin-x86_64/sdl2/include/SDL2/
SDL_test_compare.h 50 * \brief Compares a surface and with reference image data for equality
52 * \param surface Surface used in comparison
53 * \param referenceSurface Test Surface used in comparison
56 * \returns 0 if comparison succeeded, >0 (=number of pixels where comparison failed) if comparison failed, -1 if any of the surfaces were NULL, -2 if the surface sizes differ.
58 int SDLTest_CompareSurfaces(SDL_Surface *surface, SDL_Surface *referenceSurface, int allowable_error);
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_test_compare.h 50 * \brief Compares a surface and with reference image data for equality
52 * \param surface Surface used in comparison
53 * \param referenceSurface Test Surface used in comparison
56 * \returns 0 if comparison succeeded, >0 (=number of pixels where comparison failed) if comparison failed, -1 if any of the surfaces were NULL, -2 if the surface sizes differ.
58 int SDLTest_CompareSurfaces(SDL_Surface *surface, SDL_Surface *referenceSurface, int allowable_error);
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_test_compare.h 50 * \brief Compares a surface and with reference image data for equality
52 * \param surface Surface used in comparison
53 * \param referenceSurface Test Surface used in comparison
56 * \returns 0 if comparison succeeded, >0 (=number of pixels where comparison failed) if comparison failed, -1 if any of the surfaces were NULL, -2 if the surface sizes differ.
58 int SDLTest_CompareSurfaces(SDL_Surface *surface, SDL_Surface *referenceSurface, int allowable_error);
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_test_compare.h 50 * \brief Compares a surface and with reference image data for equality
52 * \param surface Surface used in comparison
53 * \param referenceSurface Test Surface used in comparison
56 * \returns 0 if comparison succeeded, >0 (=number of pixels where comparison failed) if comparison failed, -1 if any of the surfaces were NULL, -2 if the surface sizes differ.
58 int SDLTest_CompareSurfaces(SDL_Surface *surface, SDL_Surface *referenceSurface, int allowable_error);
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/harfbuzz_ng/util/
helper-cairo-ansi.cc 34 helper_cairo_surface_write_to_ansi_stream (cairo_surface_t *surface,
38 unsigned int width = cairo_image_surface_get_width (surface);
39 unsigned int height = cairo_image_surface_get_height (surface);
40 if (cairo_image_surface_get_format (surface) != CAIRO_FORMAT_RGB24) {
43 if (cairo_image_surface_get_format (surface) == CAIRO_FORMAT_A8) {
47 cairo_mask_surface (cr, surface, 0, 0);
51 cairo_set_source_surface (cr, surface, 0, 0);
55 surface = new_surface;
57 cairo_surface_reference (surface);
59 unsigned int stride = cairo_image_surface_get_stride (surface);
    [all...]
helper-cairo-ansi.hh 34 helper_cairo_surface_write_to_ansi_stream (cairo_surface_t *surface,
  /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...]
  /external/deqp/framework/common/
tcuSurfaceAccess.cpp 21 * \brief Surface access class.
28 SurfaceAccess::SurfaceAccess (tcu::Surface& surface, const tcu::PixelFormat& colorFmt, int x, int y, int width, int height)
29 : m_surface (&surface)
38 SurfaceAccess::SurfaceAccess (tcu::Surface& surface, const tcu::PixelFormat& colorFmt)
39 : m_surface (&surface)
43 , m_width (surface.getWidth())
44 , m_height (surface.getHeight())
  /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/skia/tests/
skbug5221.cpp 22 sk_sp<SkSurface> surface(SkSurface::MakeRaster(SkImageInfo::MakeN32Premul(256, 256)));
23 test(surface->getCanvas());
28 sk_sp<SkSurface> surface(SkSurface::MakeRenderTarget(contextInfo.grContext(), SkBudgeted::kYes,
30 test(surface->getCanvas());
  /external/mesa3d/src/gallium/state_trackers/xvmc/tests/
test_surface.c 43 XvMCSurface surface = {0}; local
74 assert(XvMCCreateSurface(display, NULL, &surface) == XvMCBadContext);
75 /* Test NULL surface */
78 assert(XvMCCreateSurface(display, &context, &surface) == Success);
79 /* Test surface id assigned */
80 assert(surface.surface_id != 0);
82 assert(surface.context_id == context.context_id);
83 /* Test surface type id assigned and correct */
84 assert(surface.surface_type_id == surface_type_id);
86 assert(surface.width == width && surface.height == height)
    [all...]
  /external/skia/gm/
discard.cpp 48 auto surface = SkSurface::MakeRenderTarget(context, SkBudgeted::kNo, info); variable
49 if (nullptr == surface) {
58 surface->getCanvas()->discard();
63 surface->getCanvas()->drawColor(color);
66 surface->getCanvas()->clear(color);
71 surface->getCanvas()->drawPaint(paint);
74 surface->draw(canvas, 10.f*x, 10.f*y, nullptr);
78 surface->getCanvas()->discard();
  /frameworks/av/media/libstagefright/include/
SurfaceUtils.h 36 status_t nativeWindowConnect(ANativeWindow *surface, const char *reason);
37 status_t nativeWindowDisconnect(ANativeWindow *surface, const char *reason);
  /bootable/recovery/minui/
resources.cpp 43 GRSurface* surface = reinterpret_cast<GRSurface*>(temp);
44 surface->data = temp + sizeof(GRSurface) +
46 return surface;
144 GRSurface* surface = malloc_surface(width * height * 4); local
145 if (surface == NULL) return NULL;
147 surface->width = width;
148 surface->height = height;
149 surface->row_bytes = width * 4;
150 surface->pixel_bytes = 4;
152 return surface;
201 GRSurface* surface = NULL; local
242 GRSurface** surface = NULL; local
329 GRSurface* surface = NULL; local
402 GRSurface* surface = NULL; local
    [all...]
  /frameworks/base/libs/hwui/renderthread/
EglManager.h 43 void destroySurface(EGLSurface surface);
47 bool isCurrent(EGLSurface surface) { return mCurrentSurface == surface; }
48 // Returns true if the current surface changed, false if it was already current
49 bool makeCurrent(EGLSurface surface, EGLint* errOut = nullptr);
50 Frame beginFrame(EGLSurface surface);
58 // Returns true iff the surface is now preserving buffers.
59 bool setPreserveBuffer(EGLSurface surface, bool preserve);
73 EGLint queryBufferAge(EGLSurface surface);
VulkanManager.cpp 120 VulkanSurface::BackbufferInfo* VulkanManager::getAvailableBackbuffer(VulkanSurface* surface) {
121 SkASSERT(surface->mBackbuffers);
123 ++surface->mCurrentBackbufferIndex;
124 if (surface->mCurrentBackbufferIndex > surface->mImageCount) {
125 surface->mCurrentBackbufferIndex = 0;
128 VulkanSurface::BackbufferInfo* backbuffer = surface->mBackbuffers +
129 surface->mCurrentBackbufferIndex;
143 SkSurface* VulkanManager::getBackbufferSurface(VulkanSurface* surface) {
144 VulkanSurface::BackbufferInfo* backbuffer = getAvailableBackbuffer(surface);
526 VulkanSurface* surface = new VulkanSurface(); local
    [all...]
  /packages/screensavers/Basic/src/com/android/dreams/basic/
Colors.java 76 public void onSurfaceTextureAvailable(final SurfaceTexture surface,
78 LOG("onSurfaceTextureAvailable(%s, %d, %d)", surface, width, height);
86 mRenderer = new ColorsGLRenderer(surface, width, height);
93 public void onSurfaceTextureSizeChanged(SurfaceTexture surface,
95 LOG("onSurfaceTextureSizeChanged(%s, %d, %d)", surface, width, height);
108 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) {
109 LOG("onSurfaceTextureDestroyed(%s)", surface);
132 public void onSurfaceTextureUpdated(SurfaceTexture surface) {
133 LOG("onSurfaceTextureUpdated(%s)", surface);
  /cts/tests/tests/media/src/android/media/cts/
NativeImageReaderTest.java 21 import android.view.Surface;
48 Surface surface = testCreateSurfaceNative(); local
49 assertNotNull("Surface created is null.", surface);
50 assertTrue("Surface created is invalid.", surface.isValid());
55 private static native Surface testCreateSurfaceNative();
  /external/icu/icu4c/source/samples/layout/
gdiglue.h 30 void rs_gdiRenderingSurfaceSetHDC(rs_surface *surface, HDC hdc);
31 void rs_gdiRenderingSurfaceClose(rs_surface *surface);
33 fm_fontMap *fm_gdiFontMapOpen(rs_surface *surface, const char *fileName, le_int16 pointSize, gs_guiSupport *guiSupport, LEErrorCode *status);

Completed in 735 milliseconds

1 2 3 4 5 6 7 8 91011>>