HomeSort by relevance Sort by last modified time
    Searched refs:surface (Results 1 - 25 of 1076) 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...]
  /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...]
  /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/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 SkSurface* surface = SkSurface::NewRenderTarget(context, SkBudgeted::kNo, info); variable
50 if (nullptr == surface) {
59 surface->getCanvas()->discard();
64 surface->getCanvas()->drawColor(color);
67 surface->getCanvas()->clear(color);
73 surface->getCanvas()->drawPaint(paint);
76 surface->draw(canvas, 10.f*x, 10.f*y, nullptr);
80 surface->getCanvas()->discard();
81 surface->unref();
  /bootable/recovery/minui/
resources.cpp 41 GRSurface* surface = reinterpret_cast<GRSurface*>(temp);
42 surface->data = temp + sizeof(GRSurface) +
44 return surface;
142 GRSurface* surface = malloc_surface(width * height * 4); local
143 if (surface == NULL) return NULL;
145 surface->width = width;
146 surface->height = height;
147 surface->row_bytes = width * 4;
148 surface->pixel_bytes = 4;
150 return surface;
199 GRSurface* surface = NULL; local
240 GRSurface** surface = NULL; local
327 GRSurface* surface = NULL; local
388 GRSurface* surface = NULL; 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);
  /external/icu/icu4c/source/samples/layout/
gdiglue.h 27 void rs_gdiRenderingSurfaceSetHDC(rs_surface *surface, HDC hdc);
28 void rs_gdiRenderingSurfaceClose(rs_surface *surface);
30 fm_fontMap *fm_gdiFontMapOpen(rs_surface *surface, const char *fileName, le_int16 pointSize, gs_guiSupport *guiSupport, LEErrorCode *status);
  /external/skia/tests/
SurfaceTest.cpp 110 SkAutoTUnref<SkSurface> surface(
112 REPORTER_ASSERT(reporter, surface);
113 if (surface) {
115 // in pixels that aren't rendered to via the surface.
119 surface->getCanvas()->drawRect(SkRect::MakeWH(SkIntToScalar(kW), SkIntToScalar(kH)/2),
122 surface->readPixels(readInfo, pixels.get(), kW * sizeof(uint32_t), 0, 0);
155 SkSurface* surface,
162 surface->getCanvas()->clear(color);
164 const void* addr = surface->getCanvas()->peekPixels(&info, &rowBytes);
170 const void* addr2 = surface->peekPixels(&info2, &rb2)
886 SkSurface* surface = surface_func(context, kPremul_SkAlphaType, nullptr); local
906 SkSurface* surface = SkSurface::NewFromBackendTexture(context, desc, nullptr); local
    [all...]
  /external/mesa3d/src/egl/main/
eglsurface.c 32 * Surface-related functions.
97 _eglLog(_EGL_WARNING, "bad surface attribute 0x%04x", attr);
108 * Parse the list of surface attributes and return the proper error code.
161 /* window surface attributes */
185 /* pbuffer surface attributes */
258 /* no pixmap surface specific attributes */
265 _eglLog(_EGL_WARNING, "bad surface attribute 0x%04x", attr);
311 /* The config can't be used to create a surface of this type */
352 _eglQuerySurface(_EGLDriver *drv, _EGLDisplay *dpy, _EGLSurface *surface,
357 *value = surface->Width
    [all...]
  /frameworks/native/opengl/libagl/
TextureObjectManager.cpp 34 if (mSize && surface.data)
35 free(surface.data);
43 memset(&surface, 0, sizeof(surface));
44 surface.version = sizeof(surface);
74 if (!surface.data)
77 int w = surface.width;
78 int h = surface.height;
109 return surface;
    [all...]
  /frameworks/base/libs/hwui/renderthread/
EglManager.cpp 33 EGLAPI void EGLAPIENTRY eglBeginFrame(EGLDisplay dpy, EGLSurface surface);
71 /* The rectangles are specified relative to the bottom-left of the surface
227 EGLSurface surface = eglCreateWindowSurface(mEglDisplay, mEglConfig, window, nullptr); local
228 LOG_ALWAYS_FATAL_IF(surface == EGL_NO_SURFACE,
233 LOG_ALWAYS_FATAL_IF(eglSurfaceAttrib(mEglDisplay, surface, EGL_SWAP_BEHAVIOR, EGL_BUFFER_DESTROYED) == EGL_FALSE,
238 return surface;
241 void EglManager::destroySurface(EGLSurface surface) {
242 if (isCurrent(surface)) {
245 if (!eglDestroySurface(mEglDisplay, surface)) {
246 ALOGW("Failed to destroy surface %p, error=%s", (void*)surface, egl_error_str())
    [all...]
  /development/ndk/platforms/android-16/include/android/
native_window_jni.h 29 * Return the ANativeWindow associated with a Java Surface object,
34 ANativeWindow* ANativeWindow_fromSurface(JNIEnv* env, jobject surface);
  /development/ndk/platforms/android-9/include/android/
native_window_jni.h 29 * Return the ANativeWindow associated with a Java Surface object,
34 ANativeWindow* ANativeWindow_fromSurface(JNIEnv* env, jobject surface);
  /frameworks/base/core/java/android/hardware/camera2/params/
OutputConfiguration.java 30 import android.view.Surface;
35 * A class for describing camera output, which contains a {@link Surface} and its specific
76 * Invalid surface group ID.
78 *<p>An {@link OutputConfiguration} with this value indicates that the included surface
79 *doesn't belong to any surface group.</p>
84 * Create a new {@link OutputConfiguration} instance with a {@link Surface}.
86 * @param surface
87 * A Surface for camera to output to.
89 * <p>This constructor creates a default configuration, with a surface group ID of
93 public OutputConfiguration(@NonNull Surface surface)
218 Surface surface = Surface.CREATOR.createFromParcel(source); local
    [all...]

Completed in 496 milliseconds

1 2 3 4 5 6 7 8 91011>>