Lines Matching defs:texture
153 /* Translate a pipe_format into a useful texture format for sampling.
159 * R300_EASY_TX_FORMAT swizzles the texture.
163 * The FORMAT specifies how the texture sampler will treat the texture, and
991 struct r300_resource *tex = r300_resource(surf->base.texture);
1024 struct pipe_resource *texture,
1029 struct r300_resource* tex = (struct r300_resource*)texture;
1041 /* The common texture constructor. */
1075 /* Figure out the ideal placement for the texture.. */
1085 /* Just fail if the texture is too large. */
1128 /* Create a new texture. */
1194 struct pipe_resource* texture,
1199 struct r300_resource* tex = r300_resource(texture);
1209 pipe_resource_reference(&surface->base.texture, texture);
1269 struct pipe_resource* texture,
1272 return r300_create_surface_custom(ctx, texture, surf_tmpl,
1273 texture->width0,
1274 texture->height0);
1279 pipe_resource_reference(&s->texture, NULL);