mesa: Changes to 'gallium-0.1'
Brian Paul
brianp at kemper.freedesktop.org
Wed Dec 19 20:45:08 UTC 2007
src/mesa/drivers/dri/intel_winsys/intel_screen.c | 4
src/mesa/pipe/xlib/xm_api.c | 8 +
src/mesa/state_tracker/st_context.c | 14 ++
src/mesa/state_tracker/st_context.h | 1
src/mesa/state_tracker/st_framebuffer.c | 109 +++++++++++------------
src/mesa/state_tracker/st_public.h | 2
6 files changed, 79 insertions(+), 59 deletions(-)
commit diffs at http://gitweb.freedesktop.org/?p=mesa/mesa.git;a=summary
New commits:
commit c664302c3e34a29b4bbb02fd3789dd3f7d92849c
Author: Brian <brian.paul at tungstengraphics.com>
Date: Wed Dec 19 13:45:00 2007 -0700
Fix problem with initial viewport/scissor size.
If an app never called glViewport, the viewport size was always 0 by 0 pixels.
Now pass initial size to st_create_framebuffer() and initialize the viewport
and scissor bounds in st_make_current().
This could also be fixed by ensuring the gl_framebuffers passed to
_mesa_make_current() were initialized to the right size. But that involves
allocating the renderbuffers/pipe_surfaces earlier and that runs into some
other issues ATM.
Also remove obsolete createRenderbuffers param to st_create_framebuffer().
More information about the mesa-commit
mailing list