/external/chromium_org/third_party/mesa/src/src/gallium/winsys/svga/drm/ |
vmw_surface.h | 61 svga_winsys_surface(struct vmw_svga_winsys_surface *surf) 63 assert(!surf || surf->sid != SVGA3D_INVALID_ID); 64 return (struct svga_winsys_surface *)surf; 69 vmw_svga_winsys_surface(struct svga_winsys_surface *surf) 71 return (struct vmw_svga_winsys_surface *)surf;
|
/external/mesa3d/src/gallium/winsys/svga/drm/ |
vmw_surface.h | 61 svga_winsys_surface(struct vmw_svga_winsys_surface *surf) 63 assert(!surf || surf->sid != SVGA3D_INVALID_ID); 64 return (struct svga_winsys_surface *)surf; 69 vmw_svga_winsys_surface(struct svga_winsys_surface *surf) 71 return (struct vmw_svga_winsys_surface *)surf;
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
gen7_wm_surface_state.c | 65 gen7_set_surface_tiling(struct gen7_surface_state *surf, uint32_t tiling) 69 surf->ss0.tiled_surface = 0; 70 surf->ss0.tile_walk = 0; 73 surf->ss0.tiled_surface = 1; 74 surf->ss0.tile_walk = BRW_TILEWALK_XMAJOR; 77 surf->ss0.tiled_surface = 1; 78 surf->ss0.tile_walk = BRW_TILEWALK_YMAJOR; 85 gen7_set_surface_msaa(struct gen7_surface_state *surf, unsigned num_samples, 89 surf->ss4.num_multisamples = GEN7_SURFACE_MULTISAMPLECOUNT_8; 91 surf->ss4.num_multisamples = GEN7_SURFACE_MULTISAMPLECOUNT_4 239 struct gen7_surface_state *surf; local 303 struct gen7_surface_state *surf; local 411 struct gen7_surface_state *surf; local 471 struct gen7_surface_state *surf; local 509 struct gen7_surface_state *surf; local [all...] |
gen7_blorp.cpp | 155 struct gen7_surface_state *surf = (struct gen7_surface_state *) local 156 brw_state_batch(brw, AUB_TRACE_SURFACE_STATE, sizeof(*surf), 32, 158 memset(surf, 0, sizeof(*surf)); 161 surf->ss0.vertical_alignment = 1; 163 surf->ss0.horizontal_alignment = 1; 165 surf->ss0.surface_format = surface->brw_surfaceformat; 166 surf->ss0.surface_type = BRW_SURFACE_2D; 167 surf->ss0.surface_array_spacing = surface->array_spacing_lod0 ? 171 surf->ss1.base_addr = surface->compute_tile_offsets(&tile_x, &tile_y) [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
gen7_wm_surface_state.c | 65 gen7_set_surface_tiling(struct gen7_surface_state *surf, uint32_t tiling) 69 surf->ss0.tiled_surface = 0; 70 surf->ss0.tile_walk = 0; 73 surf->ss0.tiled_surface = 1; 74 surf->ss0.tile_walk = BRW_TILEWALK_XMAJOR; 77 surf->ss0.tiled_surface = 1; 78 surf->ss0.tile_walk = BRW_TILEWALK_YMAJOR; 85 gen7_set_surface_msaa(struct gen7_surface_state *surf, unsigned num_samples, 89 surf->ss4.num_multisamples = GEN7_SURFACE_MULTISAMPLECOUNT_8; 91 surf->ss4.num_multisamples = GEN7_SURFACE_MULTISAMPLECOUNT_4 239 struct gen7_surface_state *surf; local 303 struct gen7_surface_state *surf; local 411 struct gen7_surface_state *surf; local 471 struct gen7_surface_state *surf; local 509 struct gen7_surface_state *surf; local [all...] |
gen7_blorp.cpp | 155 struct gen7_surface_state *surf = (struct gen7_surface_state *) local 156 brw_state_batch(brw, AUB_TRACE_SURFACE_STATE, sizeof(*surf), 32, 158 memset(surf, 0, sizeof(*surf)); 161 surf->ss0.vertical_alignment = 1; 163 surf->ss0.horizontal_alignment = 1; 165 surf->ss0.surface_format = surface->brw_surfaceformat; 166 surf->ss0.surface_type = BRW_SURFACE_2D; 167 surf->ss0.surface_array_spacing = surface->array_spacing_lod0 ? 171 surf->ss1.base_addr = surface->compute_tile_offsets(&tile_x, &tile_y) [all...] |
/external/chromium_org/third_party/mesa/src/src/egl/main/ |
eglsurface.h | 82 _eglInitSurface(_EGLSurface *surf, _EGLDisplay *dpy, EGLint type, 87 _eglQuerySurface(_EGLDriver *drv, _EGLDisplay *dpy, _EGLSurface *surf, EGLint attribute, EGLint *value); 91 _eglSurfaceAttrib(_EGLDriver *drv, _EGLDisplay *dpy, _EGLSurface *surf, EGLint attribute, EGLint value); 95 _eglBindTexImage(_EGLDriver *drv, _EGLDisplay *dpy, _EGLSurface *surf, EGLint buffer); 99 _eglSwapInterval(_EGLDriver *drv, _EGLDisplay *dpy, _EGLSurface *surf, EGLint interval); 106 _eglGetSurface(_EGLSurface *surf) 108 if (surf) 109 _eglGetResource(&surf->Resource); 110 return surf; 118 _eglPutSurface(_EGLSurface *surf) 154 _EGLSurface *surf = (_EGLSurface *) surface; local [all...] |
eglsurface.c | 48 _eglClampSwapInterval(_EGLSurface *surf, EGLint interval) 50 EGLint bound = surf->Config->MaxSwapInterval; 55 bound = surf->Config->MinSwapInterval; 59 surf->SwapInterval = interval; 65 _eglParseScreenSurfaceAttribList(_EGLSurface *surf, const EGLint *attrib_list) 82 surf->Width = val; 89 surf->Height = val; 111 _eglParseSurfaceAttribList(_EGLSurface *surf, const EGLint *attrib_list) 113 _EGLDisplay *dpy = surf->Resource.Display; 114 EGLint type = surf->Type [all...] |
/external/mesa3d/src/egl/main/ |
eglsurface.h | 82 _eglInitSurface(_EGLSurface *surf, _EGLDisplay *dpy, EGLint type, 87 _eglQuerySurface(_EGLDriver *drv, _EGLDisplay *dpy, _EGLSurface *surf, EGLint attribute, EGLint *value); 91 _eglSurfaceAttrib(_EGLDriver *drv, _EGLDisplay *dpy, _EGLSurface *surf, EGLint attribute, EGLint value); 95 _eglBindTexImage(_EGLDriver *drv, _EGLDisplay *dpy, _EGLSurface *surf, EGLint buffer); 99 _eglSwapInterval(_EGLDriver *drv, _EGLDisplay *dpy, _EGLSurface *surf, EGLint interval); 106 _eglGetSurface(_EGLSurface *surf) 108 if (surf) 109 _eglGetResource(&surf->Resource); 110 return surf; 118 _eglPutSurface(_EGLSurface *surf) 154 _EGLSurface *surf = (_EGLSurface *) surface; local [all...] |
eglsurface.c | 48 _eglClampSwapInterval(_EGLSurface *surf, EGLint interval) 50 EGLint bound = surf->Config->MaxSwapInterval; 55 bound = surf->Config->MinSwapInterval; 59 surf->SwapInterval = interval; 65 _eglParseScreenSurfaceAttribList(_EGLSurface *surf, const EGLint *attrib_list) 82 surf->Width = val; 89 surf->Height = val; 111 _eglParseSurfaceAttribList(_EGLSurface *surf, const EGLint *attrib_list) 113 _EGLDisplay *dpy = surf->Resource.Display; 114 EGLint type = surf->Type [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/common/ |
egl_g3d_st.h | 43 egl_g3d_create_st_framebuffer(_EGLSurface *surf);
|
/external/mesa3d/src/gallium/state_trackers/egl/common/ |
egl_g3d_st.h | 43 egl_g3d_create_st_framebuffer(_EGLSurface *surf);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/ |
svga_surface.c | 287 struct pipe_surface *surf) 289 struct svga_surface *s = svga_surface(surf); 290 struct svga_texture *t = svga_texture(surf->texture); 291 struct svga_screen *ss = svga_screen(surf->texture->screen); 298 pipe_resource_reference(&surf->texture, NULL); 299 FREE(surf); 304 svga_mark_surface_dirty(struct pipe_surface *surf) 306 struct svga_surface *s = svga_surface(surf); 309 struct svga_texture *tex = svga_texture(surf->texture); 315 if (surf->texture->target == PIPE_TEXTURE_CUBE [all...] |
/external/mesa3d/src/gallium/drivers/svga/ |
svga_surface.c | 287 struct pipe_surface *surf) 289 struct svga_surface *s = svga_surface(surf); 290 struct svga_texture *t = svga_texture(surf->texture); 291 struct svga_screen *ss = svga_screen(surf->texture->screen); 298 pipe_resource_reference(&surf->texture, NULL); 299 FREE(surf); 304 svga_mark_surface_dirty(struct pipe_surface *surf) 306 struct svga_surface *s = svga_surface(surf); 309 struct svga_texture *tex = svga_texture(surf->texture); 315 if (surf->texture->target == PIPE_TEXTURE_CUBE [all...] |
/external/skia/gm/ |
image.cpp | 68 static void test_surface(SkCanvas* canvas, SkSurface* surf, bool usePaint) { 69 drawContents(surf, SK_ColorRED); 70 SkImage* imgR = surf->newImageSnapshot(); 73 SkImage* imgR2 = surf->newImageSnapshot(); 78 drawContents(surf, SK_ColorGREEN); 79 SkImage* imgG = surf->newImageSnapshot(); 84 drawContents(surf, SK_ColorBLUE); 92 surf->draw(canvas, 0, 160, usePaint ? &paint : NULL); 95 src1.iset(0, 0, surf->width(), surf->height()) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vdpau/ |
presentation.c | 206 vlVdpOutputSurface *surf; local 220 surf = vlGetDataHTAB(surface); 221 if (!surf) 242 surf->timestamp = (vlVdpTime)earliest_presentation_time; 266 vl_compositor_set_rgba_layer(cstate, compositor, 0, surf->sampler_view, &src_rect, NULL, NULL); 278 pipe->screen->fence_reference(pipe->screen, &surf->fence, NULL); 279 pipe->flush(pipe, &surf->fence); 313 vlVdpOutputSurface *surf; local 323 surf = vlGetDataHTAB(surface); 324 if (!surf) 347 vlVdpOutputSurface *surf; local [all...] |
/external/mesa3d/src/gallium/state_trackers/vdpau/ |
presentation.c | 206 vlVdpOutputSurface *surf; local 220 surf = vlGetDataHTAB(surface); 221 if (!surf) 242 surf->timestamp = (vlVdpTime)earliest_presentation_time; 266 vl_compositor_set_rgba_layer(cstate, compositor, 0, surf->sampler_view, &src_rect, NULL, NULL); 278 pipe->screen->fence_reference(pipe->screen, &surf->fence, NULL); 279 pipe->flush(pipe, &surf->fence); 313 vlVdpOutputSurface *surf; local 323 surf = vlGetDataHTAB(surface); 324 if (!surf) 347 vlVdpOutputSurface *surf; local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/postprocess/ |
pp_program.h | 57 struct pipe_surface surf; member in struct:program
|
/external/mesa3d/src/gallium/auxiliary/postprocess/ |
pp_program.h | 57 struct pipe_surface surf; member in struct:program
|
/external/chromium_org/third_party/mesa/src/src/gbm/main/ |
gbm.c | 399 * \param surf The surface 402 gbm_surface_destroy(struct gbm_surface *surf) 404 surf->gbm->surface_destroy(surf); 420 * \param surf The surface 429 gbm_surface_lock_front_buffer(struct gbm_surface *surf) 431 return surf->gbm->surface_lock_front_buffer(surf); 443 * \param surf The surface 447 gbm_surface_release_buffer(struct gbm_surface *surf, struct gbm_bo *bo [all...] |
/external/mesa3d/src/gbm/main/ |
gbm.c | 399 * \param surf The surface 402 gbm_surface_destroy(struct gbm_surface *surf) 404 surf->gbm->surface_destroy(surf); 420 * \param surf The surface 429 gbm_surface_lock_front_buffer(struct gbm_surface *surf) 431 return surf->gbm->surface_lock_front_buffer(surf); 443 * \param surf The surface 447 gbm_surface_release_buffer(struct gbm_surface *surf, struct gbm_bo *bo [all...] |
/external/chromium_org/third_party/mesa/src/src/egl/drivers/dri2/ |
platform_drm.c | 43 struct gbm_dri_surface *surf = (struct gbm_dri_surface *) _surf; local 44 struct dri2_egl_surface *dri2_surf = surf->dri_private; 62 struct gbm_dri_surface *surf = (struct gbm_dri_surface *) _surf; local 63 struct dri2_egl_surface *dri2_surf = surf->dri_private; 76 struct gbm_dri_surface *surf = (struct gbm_dri_surface *) _surf; local 77 struct dri2_egl_surface *dri2_surf = surf->dri_private; 95 struct gbm_dri_surface *surf; local 113 surf = gbm_dri_surface((struct gbm_surface *) window); 114 dri2_surf->gbm_surf = surf; 115 dri2_surf->base.Width = surf->base.width 184 struct gbm_dri_surface *surf = dri2_surf->gbm_surf; local [all...] |
/external/mesa3d/src/egl/drivers/dri2/ |
platform_drm.c | 43 struct gbm_dri_surface *surf = (struct gbm_dri_surface *) _surf; local 44 struct dri2_egl_surface *dri2_surf = surf->dri_private; 62 struct gbm_dri_surface *surf = (struct gbm_dri_surface *) _surf; local 63 struct dri2_egl_surface *dri2_surf = surf->dri_private; 76 struct gbm_dri_surface *surf = (struct gbm_dri_surface *) _surf; local 77 struct dri2_egl_surface *dri2_surf = surf->dri_private; 95 struct gbm_dri_surface *surf; local 113 surf = gbm_dri_surface((struct gbm_surface *) window); 114 dri2_surf->gbm_surf = surf; 115 dri2_surf->base.Width = surf->base.width 184 struct gbm_dri_surface *surf = dri2_surf->gbm_surf; local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/tests/graw/ |
clear.c | 23 struct pipe_surface *surf; variable in typeref:struct:pipe_surface 34 graw_save_surface_to_file(ctx, surf, NULL); 89 surf = ctx->create_surface(ctx, tex, &surf_tmpl); 90 if (surf == NULL) 97 fb.cbufs[0] = surf;
|
/external/mesa3d/src/gallium/tests/graw/ |
clear.c | 23 struct pipe_surface *surf; variable in typeref:struct:pipe_surface 34 graw_save_surface_to_file(ctx, surf, NULL); 89 surf = ctx->create_surface(ctx, tex, &surf_tmpl); 90 if (surf == NULL) 97 fb.cbufs[0] = surf;
|