Home | History | Annotate | Download | only in vl

Lines Matching defs:templat

64    struct pipe_resource templat;
81 memset(&templat, 0, sizeof(struct pipe_resource));
82 templat.target = PIPE_TEXTURE_2D;
84 templat.format = PIPE_FORMAT_B8G8R8X8_UNORM;
85 templat.last_level = 0;
86 templat.width0 = width;
87 templat.height0 = height;
88 templat.depth0 = 1;
89 templat.usage = PIPE_USAGE_DEFAULT;
90 templat.bind = PIPE_BIND_RENDER_TARGET | PIPE_BIND_DISPLAY_TARGET;
91 templat.flags = 0;
93 xsp_screen->xdraw.depth = 24/*util_format_get_blocksizebits(templat.format) /
94 util_format_get_blockwidth(templat.format)*/;
96 pipe_resource_reference(&xsp_screen->tex, vscreen->pscreen->resource_create(vscreen->pscreen, &templat));