Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-04-22 | gallium: fix some bitmap frag shader issues | Brian Paul | |
If texturing happens to be enabled when glBitmap() is called, need to be careful about choosing a sampler unit, etc. | |||
2008-04-22 | gallium: How about restoring shaders instead of saving them again... | Michel Dänzer | |
2008-04-21 | use cso fs/vs handle functions | Keith Whitwell | |
2008-04-21 | gallium: Use CSO cache for shaders. | Michel Dänzer | |
2008-04-07 | gallium: check ctx->DrawBuffer before flushing bitmap cache. | Brian Paul | |
During context unbind, we may not have a draw buffer. This fixes demos/tunnel2.c | |||
2008-04-04 | gallium: make sure to set the SamplersUsed field for bitmap/drawpixels shaders | Brian Paul | |
Also, make sure that field is copied/updated in the program clone and combine functions. Without this we weren't getting SAMP declarations in the TGSI shaders. | |||
2008-04-03 | gallium: set rasterizer.gl_rasterization_rules = 1 in a few more places | Brian | |
2008-03-31 | gallium: used inverted bitmap texture to simplify the fragment shader. | Brian | |
"Off" bits get stored as texel=0xff and "on" bits get stored as texel=0x0. Then use KIL -tmp to kill the off bits and keep the on bits. This shortens the fragment program by two instructions. | |||
2008-03-31 | gallium: use cso_save/restore_sampler_textures() functions | Brian | |
2008-03-31 | gallium: set the bypass_vs flag now | Brian | |
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 | gallium: turn on clipping for bitmaps | Brian | |
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-28 | gallium: begin some bounding box code for bitmap cache | Brian | |
2008-03-28 | gallium: added an (int) cast in setup_bitmap_vertex_data() to fix a ↵ | Brian | |
signed/unsigned arithmetic problem Negative values became very large uints. | |||
2008-03-28 | gallium: disable a debug hack | Brian | |
2008-03-28 | gallium: implement a glBitmap cache | Brian | |
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-27 | gallium: Update calls to the simple shader functions | Brian | |
2008-03-26 | gallium: need to call st_validate_state() in Bitmap() | Brian Paul | |
2008-03-24 | gallium: free bitmap fragment shaders, misc clean-up | Brian Paul | |
2008-03-24 | gallium: add missing cso_save_samplers() call | Brian Paul | |
2008-03-21 | Refactor PBO validate/map code. | Brian | |
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 | gallium: implement PBO operations for glDraw/ReadPixels and glBitmap | Brian Paul | |
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-20 | gallium: glBitmap code now separated from glDraw/CopyPixels code | Brian | |