summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/vega/vg_manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/state_trackers/vega/vg_manager.c')
-rw-r--r--src/gallium/state_trackers/vega/vg_manager.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/gallium/state_trackers/vega/vg_manager.c b/src/gallium/state_trackers/vega/vg_manager.c
index 5ed5ae117a..e4226754d1 100644
--- a/src/gallium/state_trackers/vega/vg_manager.c
+++ b/src/gallium/state_trackers/vega/vg_manager.c
@@ -282,16 +282,6 @@ vg_manager_flush_frontbuffer(struct vg_context *ctx)
if (!stfb)
return;
- /* st_public.h is used */
- if (!stfb->iface) {
- struct pipe_screen *screen = ctx->pipe->screen;
- if (screen->flush_frontbuffer) {
- screen->flush_frontbuffer(screen,
- stfb->strb->surface, ctx->pipe->priv);
- }
- return;
- }
-
switch (stfb->strb_att) {
case ST_ATTACHMENT_FRONT_LEFT:
case ST_ATTACHMENT_FRONT_RIGHT:
@@ -315,14 +305,6 @@ vg_manager_validate_framebuffer(struct vg_context *ctx)
if (!stfb)
return;
- /* st_public.h is used */
- if (!stfb->iface) {
- struct pipe_screen *screen = ctx->pipe->screen;
- if (screen->update_buffer)
- screen->update_buffer(screen, ctx->pipe->priv);
- return;
- }
-
if (!p_atomic_read(&ctx->draw_buffer_invalid))
return;