diff options
author | Chia-I Wu <[email protected]> | 2010-04-12 16:13:33 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2010-04-13 15:15:43 +0800 |
commit | da8412ec19ad00627ae9139dc02f46f344bbb6ac (patch) | |
tree | 2d94aaab96316afb0267251d978830812ed701af /src/mesa/state_tracker/st_manager.c | |
parent | a1dbd009d4a725b432a08093dc52486f896915d9 (diff) |
st/mesa: Drop st_public support.
There is no user of st_public now.
Diffstat (limited to 'src/mesa/state_tracker/st_manager.c')
-rw-r--r-- | src/mesa/state_tracker/st_manager.c | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/src/mesa/state_tracker/st_manager.c b/src/mesa/state_tracker/st_manager.c index 8a6c8256ff8..26f9554c9ec 100644 --- a/src/mesa/state_tracker/st_manager.c +++ b/src/mesa/state_tracker/st_manager.c @@ -710,14 +710,6 @@ st_manager_flush_frontbuffer(struct st_context *st) if (!strb) return; - /* st_public.h */ - if (!stfb->iface) { - struct pipe_surface *front_surf = strb->surface; - st->pipe->screen->flush_frontbuffer(st->pipe->screen, - front_surf, st->winsys_drawable_handle); - return; - } - stfb->iface->flush_front(stfb->iface, ST_ATTACHMENT_FRONT_LEFT); } @@ -758,14 +750,6 @@ st_manager_validate_framebuffers(struct st_context *st) struct st_framebuffer *stdraw = st_ws_framebuffer(st->ctx->DrawBuffer); struct st_framebuffer *stread = st_ws_framebuffer(st->ctx->ReadBuffer); - /* st_public.h */ - if ((stdraw && !stdraw->iface) || (stread && !stread->iface)) { - struct pipe_screen *screen = st->pipe->screen; - if (screen->update_buffer) - screen->update_buffer(screen, st->pipe->priv); - return; - } - if (stdraw) st_framebuffer_validate(stdraw, st); if (stread && stread != stdraw) @@ -781,8 +765,8 @@ st_manager_add_color_renderbuffer(struct st_context *st, GLframebuffer *fb, { struct st_framebuffer *stfb = st_ws_framebuffer(fb); - /* FBO or st_public.h */ - if (!stfb || !stfb->iface) + /* FBO */ + if (!stfb) return FALSE; if (stfb->Base.Attachment[idx].Renderbuffer) |