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

1 2 3 4 5 6 7 8 91011>>

  /external/mesa3d/src/gallium/include/state_tracker/
vdpau_interop.h 51 typedef struct pipe_video_buffer *VdpVideoSurfaceGallium(uint32_t surface);
52 typedef struct pipe_resource *VdpOutputSurfaceGallium(uint32_t surface);
  /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 35 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(
31 test(surface->getCanvas());
  /external/skqp/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(
31 test(surface->getCanvas());
  /external/mesa3d/src/gallium/state_trackers/xvmc/tests/
test_surface.c 46 XvMCSurface surface = {0}; local
78 assert(XvMCCreateSurface(display, NULL, &surface) == XvMCBadContext);
79 /* Test NULL surface */
82 assert(XvMCCreateSurface(display, &context, &surface) == Success);
83 /* Test surface id assigned */
84 assert(surface.surface_id != 0);
86 assert(surface.context_id == context.context_id);
87 /* Test surface type id assigned and correct */
88 assert(surface.surface_type_id == surface_type_id);
90 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();
  /external/skia/src/core/
SkDeferredDisplayList.cpp 24 bool SkDeferredDisplayList::draw(SkSurface* surface) const {
25 surface->getCanvas()->drawImage(fImage.get(), 0, 0);
  /external/skqp/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();
  /external/skqp/src/core/
SkDeferredDisplayList.cpp 24 bool SkDeferredDisplayList::draw(SkSurface* surface) const {
25 surface->getCanvas()->drawImage(fImage.get(), 0, 0);
  /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 128 VulkanSurface::BackbufferInfo* VulkanManager::getAvailableBackbuffer(VulkanSurface* surface) {
129 SkASSERT(surface->mBackbuffers);
131 ++surface->mCurrentBackbufferIndex;
132 if (surface->mCurrentBackbufferIndex > surface->mImageCount) {
133 surface->mCurrentBackbufferIndex = 0;
137 surface->mBackbuffers + surface->mCurrentBackbufferIndex;
150 SkSurface* VulkanManager::getBackbufferSurface(VulkanSurface* surface) {
151 VulkanSurface::BackbufferInfo* backbuffer = getAvailableBackbuffer(surface);
525 VulkanSurface* surface = new VulkanSurface(); local
    [all...]
  /external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
FastPathSurfaceView.java 27 import android.view.Surface;
48 Surface surface = holder.getSurface(); local
49 if (surface == null)
53 Method setSharedBufferMode = Surface.class.getMethod("setSharedBufferMode", boolean.class);
54 setSharedBufferMode.invoke(surface, true);
59 Canvas canvas = surface.lockCanvas(null);
61 surface.unlockCanvasAndPost(canvas);
80 Surface surface = getHolder().getSurface() local
    [all...]

Completed in 344 milliseconds

1 2 3 4 5 6 7 8 91011>>