Home | History | Annotate | Download | only in svga

Lines Matching defs:texture

59    struct svga_texture *texture = svga_texture(st->base.resource); 
82 texture->handle,
90 util_format_get_blocksize(texture->b.b.format) * 8 /
91 (util_format_get_blockwidth(texture->b.b.format)*util_format_get_blockheight(texture->b.b.format)));
108 struct svga_texture *texture = svga_texture(st->base.resource);
109 struct svga_screen *screen = svga_screen(texture->b.b.screen);
177 * Prevent the texture contents to be discarded on the next band
201 struct pipe_resource *texture,
204 struct svga_winsys_screen *sws = svga_winsys_screen(texture->screen);
207 assert(svga_texture(texture)->key.cachable == 0);
208 svga_texture(texture)->key.cachable = 0;
209 stride = util_format_get_nblocksx(texture->format, texture->width0) *
210 util_format_get_blocksize(texture->format);
211 return sws->surface_get_handle(sws, svga_texture(texture)->handle, stride, whandle);
229 SVGA_DBG(DEBUG_DMA, "unref sid %p (texture)\n", tex->handle);
241 struct pipe_resource *texture,
250 unsigned nblocksx = util_format_get_nblocksx(texture->format, box->width);
251 unsigned nblocksy = util_format_get_nblocksy(texture->format, box->height);
253 /* We can't map texture storage directly */
262 pipe_resource_reference(&st->base.resource, texture);
266 st->base.stride = nblocksx*util_format_get_blocksize(texture->format);
458 * know beforehand whether a texture will be used as a rendertarget or not
479 SVGA_DBG(DEBUG_DMA, "surface_create for texture\n", tex->handle);
482 SVGA_DBG(DEBUG_DMA, " --> got sid %p (texture)\n", tex->handle);