Lines Matching defs:texture
488 /* Flush the texture before unreferencing, so that other clients can
530 struct pipe_resource *texture = images.front->texture;
532 dri_drawable->w = texture->width0;
533 dri_drawable->h = texture->height0;
535 pipe_resource_reference(buf, texture);
542 struct pipe_resource *texture = images.back->texture;
544 dri_drawable->w = texture->width0;
545 dri_drawable->h = texture->height0;
547 pipe_resource_reference(buf, texture);
554 struct pipe_resource *texture = images.back->texture;
556 dri_drawable->w = texture->width0;
557 dri_drawable->h = texture->height0;
559 pipe_resource_reference(buf, texture);
922 templ.next = img->texture;
927 pipe_resource_reference(&img->texture, NULL);
932 img->texture = tex;
938 templ.next = img->texture;
951 pipe_resource_reference(&img->texture, NULL);
962 pipe_resource_reference(&img->texture, NULL);
968 img->texture = tex;
1165 img->texture =
1172 img->texture =
1174 if (!img->texture) {
1233 *value = image->texture->width0;
1236 *value = image->texture->height0;
1264 struct pipe_screen *pscreen = image->texture->screen;
1285 for (i = 0, tex = image->texture; tex; tex = tex->next)
1303 if (!pscreen->resource_get_handle(pscreen, NULL, image->texture,
1338 struct pipe_screen *pscreen = image->texture->screen;
1345 return pscreen->resource_get_param(pscreen, NULL, image->texture,
1357 if (!image->texture->screen->resource_get_param)
1444 img->texture = NULL;
1445 pipe_resource_reference(&img->texture, image->texture);
1464 if (!image || !image->texture)
1467 struct pipe_screen *screen = image->texture->screen;
1486 return screen->check_resource_capability(screen, image->texture, bind);
1553 if (img->texture->screen->resource_changed)
1554 img->texture->screen->resource_changed(img->texture->screen,
1555 img->texture);
1759 blit.dst.resource = dst->texture;
1765 blit.dst.format = dst->texture->format;
1766 blit.src.resource = src->texture;
1772 blit.src.format = src->texture->format;
1779 pipe->flush_resource(pipe, dst->texture);
1783 pipe->flush_resource(pipe, dst->texture);
1810 struct pipe_resource *resource = image->texture;
2071 res = rb->texture;
2094 * "CL_INVALID_GL_OBJECT if texture is not a GL texture object whose
2095 * type matches texture_target, if the specified miplevel of texture
2097 * miplevel is zero or if the GL texture object is incomplete."
2129 * and OpenGL ES). levelbase and q are defined for the texture in
2145 /* Incomplete texture buffer object? This shouldn't really occur. */
2224 /* Only apply the damage region if the BACK_LEFT texture is up-to-date. */