Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10758>
struct st_api *stapi = screen->st_api;
int i;
- pipe_surface_reference(&drawable->drisw_surface, NULL);
-
for (i = 0; i < ST_ATTACHMENT_COUNT; i++)
pipe_resource_reference(&drawable->textures[i], NULL);
for (i = 0; i < ST_ATTACHMENT_COUNT; i++)
struct pipe_fence_handle *throttle_fence;
bool flushing; /* prevents recursion in dri_flush */
- /* used only by DRISW */
- struct pipe_surface *drisw_surface;
-
/* hooks filled in by dri2 & drisw */
void (*allocate_textures)(struct dri_context *ctx,
struct dri_drawable *drawable,