Commit Graph

13 Commits

Author SHA1 Message Date
Brian
6a382250a1 gallium: set the bypass_vs flag now
The glBitmap vertex shader is a no-op, but we still have to specify it in
order to convey the number of inputs/outputs.
2008-03-31 14:18:36 -06:00
Brian
e66cb602b7 gallium: turn on clipping for bitmaps
Bitmaps can extend beyond window edges so we need to clip.
Also, move some state atom vars to st_context to be a bit more efficient.
2008-03-31 12:18:20 -06:00
Brian
737e34aee5 gallium: begin some bounding box code for bitmap cache 2008-03-28 18:41:10 -06:00
Brian
f6908a766d gallium: added an (int) cast in setup_bitmap_vertex_data() to fix a signed/unsigned arithmetic problem
Negative values became very large uints.
2008-03-28 18:18:55 -06:00
Brian
7292db2138 gallium: disable a debug hack 2008-03-28 14:56:05 -06:00
Brian
c62b197b52 gallium: implement a glBitmap cache
The bitmap cache attempts to accumulate a series of glBitmap calls in a
buffer to effectively render a whole bunch of bitmaps at once.

The cache can be disabled, if needed, by setting UseBitmapCache=GL_FALSE.
2008-03-28 14:53:47 -06:00
Brian
6f8286163c gallium: Update calls to the simple shader functions 2008-03-27 15:43:32 -06:00
Brian Paul
1ecb2e4a7a gallium: need to call st_validate_state() in Bitmap() 2008-03-26 09:02:54 -06:00
Brian Paul
22a3d02254 gallium: free bitmap fragment shaders, misc clean-up 2008-03-24 11:56:05 -06:00
Brian Paul
d246274b9c gallium: add missing cso_save_samplers() call 2008-03-24 11:56:05 -06:00
Brian
a39091bc5b Refactor PBO validate/map code.
We always need to do PBO validation, so do that in core Mesa before calling driv
er routine.
cherry-picked from Mesa/master.
2008-03-21 14:20:07 -06:00
Brian Paul
f1626f0bfd gallium: implement PBO operations for glDraw/ReadPixels and glBitmap
At this time there are no optimizations for directly blitting between
buffer objects and surfaces (always go through mappings).
glean pbo test passes now
2008-03-21 13:44:27 -06:00
Brian
3ece9ace54 gallium: glBitmap code now separated from glDraw/CopyPixels code 2008-03-20 15:04:08 -06:00