/external/skia/gm/ |
H A D | verylargebitmap.cpp | 26 auto surface(SkSurface::MakeRasterN32Premul(width, height)); 27 draw(surface->getCanvas(), width, height, colors); 28 return surface->makeImageSnapshot();
|
H A D | surface.cpp | 85 auto surface(make_surface(ctx, info, rec.fGeo)); 86 if (!surface) { 87 SkDebugf("failed to create surface! label: %s", rec.fLabel); 90 test_draw(surface->getCanvas(), rec.fLabel); 91 surface->draw(canvas, x, y, nullptr); 161 // its important that image survives longer than the next draw, so the surface will see 182 // its important that image survives longer than the next draw, so the surface will see
|
/external/vulkan-validation-layers/demos/smoke/ |
H A D | ShellAndroid.cpp | 137 VkSurfaceKHR surface; local 138 vk::assert_success(vk::CreateAndroidSurfaceKHR(instance, &surface_info, nullptr, &surface)); 140 return surface;
|
H A D | ShellWin32.cpp | 148 VkSurfaceKHR surface; local 149 vk::assert_success(vk::CreateWin32SurfaceKHR(instance, &surface_info, nullptr, &surface)); 151 return surface;
|
/external/deqp/modules/egl/ |
H A D | teglMemoryStressTests.cpp | 209 EGLSurface surface = egl.createPbufferSurface(m_display, m_config, attribList); local 212 DE_ASSERT(surface != EGL_NO_SURFACE); 214 m_pbuffers.push_back(surface); 224 EGLU_CHECK_CALL(egl, makeCurrent(m_display, surface, surface, context)); 282 EGLSurface surface = m_rnd.choose<EGLSurface>(m_pbuffers.begin(), m_pbuffers.end()); local 288 EGLU_CHECK_CALL(egl, makeCurrent(m_display, surface, surface, context));
|
H A D | teglMultiThreadTests.cpp | 1083 EGLSurface surface; local 1093 surface = egl.createPbufferSurface(m_display, m_config, attributes); 1094 thread.getLog() << ThreadLog::BeginMessage << surface << " = eglCreatePbufferSurface(" << m_display << ", " << m_config << ", { EGL_WIDTH, 64, EGL_HEIGHT, 64, EGL_NONE })" << ThreadLog::EndMessage; 1097 pbuffers.push_back(surface); 1111 EGLSurface surface = EGL_NO_SURFACE; local 1116 surface = eglu::createWindowSurface(m_eglTestCtx.getNativeDisplay(), *window, m_display, m_config, DE_NULL); 1118 thread.getLog() << ThreadLog::BeginMessage << surface << " = eglCreateWindowSurface()" << ThreadLog::EndMessage; 1119 windows.push_back(std::make_pair(window, surface)); 1123 if (surface != EGL_NO_SURFACE) 1124 EGLU_CHECK_CALL(egl, destroySurface(m_display, surface)); 1138 EGLSurface surface = EGL_NO_SURFACE; local 1163 EGLSurface surface = EGL_NO_SURFACE; local 1366 EGLSurface surface = EGL_NO_SURFACE; local [all...] |
/external/icu/icu4c/source/samples/layout/ |
H A D | GDIFontInstance.h | 79 GDIFontInstance(GDISurface *surface, TCHAR *faceName, le_int16 pointSize, LEErrorCode &status); 80 GDIFontInstance(GDISurface *surface, const char *faceName, le_int16 pointSize, LEErrorCode &status); 81 //GDIFontInstance(GDISurface *surface, le_int16 pointSize);
|
H A D | paragraph.h | 50 void draw(RenderingSurface *surface, le_int32 firstLine, le_int32 lastLine);
|
/external/mesa3d/src/egl/main/ |
H A D | eglsurface.h | 44 /* A surface is a display resource */ 47 /* The context that is currently bound to the surface */ 74 /* True if the surface is bound to an OpenGL ES texture */ 103 * Increment reference count for the surface. 115 * Decrement reference count for the surface. 125 * Link a surface to its display and return the handle of the link. 137 * Unlink a linked surface from its display. 138 * Accessing an unlinked surface should generate EGL_BAD_SURFACE error. 148 * Lookup a handle to find the linked surface. 149 * Return NULL if the handle has no corresponding linked surface 152 _eglLookupSurface(EGLSurface surface, _EGLDisplay *dpy) argument [all...] |
H A D | eglscreen.h | 48 * then displays a drawing surface. The drawing surface must be at least 50 * OriginX and OriginY fields control what part of the surface is visible 62 EGLint OriginX, OriginY; /**< Origin of scan-out region w.r.t. surface */ 102 _EGLScreen *scrn, _EGLSurface **surface);
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
H A D | gen6_blorp.cpp | 406 /* SURFACE_STATE for renderbuffer or texture surface (see 412 const brw_blorp_surface_info *surface, 416 uint32_t width = surface->width; 417 uint32_t height = surface->height; 418 if (surface->num_samples > 1) { 426 struct intel_region *region = surface->mt->region; 436 surface->brw_surfaceformat << BRW_SURFACE_FORMAT_SHIFT); 439 surf[1] = (surface->compute_tile_offsets(&tile_x, &tile_y) + 446 uint32_t tiling = surface->map_stencil_as_y_tiled 450 if (surface 410 gen6_blorp_emit_surface_state(struct brw_context *brw, const brw_blorp_params *params, const brw_blorp_surface_info *surface, uint32_t read_domains, uint32_t write_domain) argument [all...] |
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
H A D | nouveau_texture.c | 79 nouveau_surface_ref(NULL, &nti->surface); 87 struct nouveau_surface *s = &nti->surface; 88 struct nouveau_surface *st = &nti->transfer.surface; 137 struct nouveau_surface *s = &nti->surface; 138 struct nouveau_surface *st = &nti->transfer.surface; 161 struct nouveau_surface *s = &nti->surface; 162 struct nouveau_surface *st = &nti->transfer.surface; 220 struct nouveau_surface *s = &nti->surface; 221 struct nouveau_surface *st = &nti->transfer.surface; 328 if (!ti || !to_nouveau_teximage(ti)->surface [all...] |
H A D | nouveau_span.c | 40 struct nouveau_surface *s = &to_nouveau_renderbuffer(rb)->surface;
|
/external/vulkan-validation-layers/loader/ |
H A D | wsi.c | 118 // Linux WSI surface extensions are not always compiled into the loader. (Assume 122 // the built loader actually supports the particular Linux surface extension. 125 // advertises support for a given Linux surface extension but the loader was not 152 vkDestroySurfaceKHR(VkInstance instance, VkSurfaceKHR surface, argument 156 disp->DestroySurfaceKHR(instance, surface, pAllocator); 163 terminator_DestroySurfaceKHR(VkInstance instance, VkSurfaceKHR surface, argument 167 VkIcdSurface *icd_surface = (VkIcdSurface *)(surface); 192 loader_instance_heap_free(ptr_instance, (void *)surface); 200 VkSurfaceKHR surface, 207 unwrapped_phys_dev, queueFamilyIndex, surface, pSupporte 198 vkGetPhysicalDeviceSurfaceSupportKHR(VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, VkSurfaceKHR surface, VkBool32 *pSupported) argument 213 terminator_GetPhysicalDeviceSurfaceSupportKHR( VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, VkSurfaceKHR surface, VkBool32 *pSupported) argument 252 vkGetPhysicalDeviceSurfaceCapabilitiesKHR( VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, VkSurfaceCapabilitiesKHR *pSurfaceCapabilities) argument 268 terminator_GetPhysicalDeviceSurfaceCapabilitiesKHR( VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, VkSurfaceCapabilitiesKHR *pSurfaceCapabilities) argument 308 vkGetPhysicalDeviceSurfaceFormatsKHR(VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, uint32_t *pSurfaceFormatCount, VkSurfaceFormatKHR *pSurfaceFormats) argument 323 terminator_GetPhysicalDeviceSurfaceFormatsKHR( VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, uint32_t *pSurfaceFormatCount, VkSurfaceFormatKHR *pSurfaceFormats) argument 363 vkGetPhysicalDeviceSurfacePresentModesKHR(VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, uint32_t *pPresentModeCount, VkPresentModeKHR *pPresentModes) argument 379 terminator_GetPhysicalDeviceSurfacePresentModesKHR( VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, uint32_t *pPresentModeCount, VkPresentModeKHR *pPresentModes) argument [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_debug.h | 427 struct pipe_surface *surface); 433 struct pipe_surface *surface); 442 #define debug_dump_surface(pipe, prefix, surface) ((void)0) 443 #define debug_dump_surface_bmp(pipe, filename, surface) ((void)0)
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
H A D | vl_mc.h | 91 void vl_mc_set_surface(struct vl_mc_buffer *buffer, struct pipe_surface *surface);
|
/external/mesa3d/src/gallium/state_trackers/egl/wayland/ |
H A D | native_drm.c | 93 struct wayland_surface *surface, 103 resource = resource_surface_get_single_resource(surface->rsurf, attachment); 104 resource_surface_get_size(surface->rsurf, &width, &height); 111 switch (surface->color_format) { 92 wayland_create_drm_buffer(struct wayland_display *display, struct wayland_surface *surface, enum native_attachment attachment) argument
|
H A D | native_wayland.h | 58 struct wayland_surface *surface,
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
H A D | vg_manager.c | 58 pipe_surface_reference(&strb->surface, NULL); 67 strb->surface = pipe->create_surface(pipe, strb->texture, &surf_tmpl); 69 if (!strb->surface) { 111 /* no binding surface */ 226 pipe_surface_reference(&strb->surface, NULL);
|
/external/mesa3d/src/gallium/state_trackers/xorg/ |
H A D | xorg_renderer.h | 42 struct pipe_surface *surface,
|
/external/mesa3d/src/gallium/state_trackers/xvmc/ |
H A D | xvmc_private.h | 78 /* The subpicture associated with this surface, if any. */ 81 /* Some XvMC functions take a surface but not a context, 82 so we keep track of which context each surface belongs to. */ 96 /* The surface this subpicture is currently associated with, if any. */ 97 XvMCSurface *surface; member in struct:__anon14979
|
/external/mesa3d/src/gallium/winsys/svga/drm/ |
H A D | vmw_screen_dri.c | 55 struct svga_winsys_surface *surface, 178 fprintf(stderr, "Failed referencing shared surface. SID %d.\n" 185 fprintf(stderr, "Incorrect number of mipmap levels on shared surface." 193 fprintf(stderr, "Incorrect number of faces levels on shared surface." 220 struct svga_winsys_surface *surface, 226 if (!surface) 229 vsrf = vmw_svga_winsys_surface(surface); 219 vmw_drm_surface_get_handle(struct svga_winsys_screen *sws, struct svga_winsys_surface *surface, unsigned stride, struct winsys_handle *whandle) argument
|
/external/skia/include/gpu/ |
H A D | GrContext.h | 252 /** The GrContext will not be flushed before the surface read or write. This means that 255 /** Any surface writes should be flushed to the backend 3D API after the surface operation 264 * Reads a rectangle of pixels from a surface. 265 * @param surface the surface to read from. 266 * @param srcColorSpace color space of the surface 281 bool readSurfacePixels(GrSurface* surface, SkColorSpace* srcColorSpace, 288 * Writes a rectangle of pixels to a surface. 289 * @param surface th [all...] |
/external/swiftshader/src/D3D9/ |
H A D | Direct3DTexture9.cpp | 270 long Direct3DTexture9::GetSurfaceLevel(unsigned int level, IDirect3DSurface9 **surface) argument 274 TRACE("unsigned int level = %d, IDirect3DSurface9 **surface = 0x%0.8p", level, surface); 276 *surface = 0; 284 *surface = surfaceLevel[level];
|
H A D | Direct3DTexture9.hpp | 60 long __stdcall GetSurfaceLevel(unsigned int level, IDirect3DSurface9 **surface);
|