gallium: remove st_context_iface, use st_context directly
st_context_iface was the base class that st_context inherited. Just use st_context. Reviewed-by: Emma Anholt <emma@anholt.net> Reviewed-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Yonggang Luo <luoyonggang@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20027>
This commit is contained in:
@@ -705,8 +705,9 @@ kopper_flush_frontbuffer(struct dri_context *ctx,
|
||||
if (ptex) {
|
||||
ctx->st->pipe->flush_resource(ctx->st->pipe, drawable->textures[ST_ATTACHMENT_FRONT_LEFT]);
|
||||
struct pipe_screen *screen = drawable->screen->base.screen;
|
||||
struct st_context_iface *st;
|
||||
struct st_context *st;
|
||||
struct pipe_fence_handle *new_fence = NULL;
|
||||
|
||||
st = ctx->st;
|
||||
if (st->thread_finish)
|
||||
st->thread_finish(st);
|
||||
|
Reference in New Issue
Block a user