Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-31 | gallium: Eliminate p_winsys::printf | José Fonseca | |
Not convenient and almost not used at all. Better replacements in p_debug.h | |||
2008-03-29 | gallium: Set vertex state/buffers en-mass. | Brian Paul | |
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: don't call st_flush_bitmap_cache() if the only change is ↵ | Brian | |
_NEW_PACKUNPACK state | |||
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-28 | mesa: fix texture/renderbuffer mix-up in test_attachment_completeness() | Brian Paul | |
2008-03-28 | gallium: re-work texture format selection code | Brian Paul | |
Use same code for choosing texture format and renderbuffer format. | |||
2008-03-28 | gallium: remove redundant compare bit in sampler state | Roland Scheidegger | |
2008-03-27 | gallium: replace PIPE_ATTRIB_MAX with PIPE_MAX_ATTRIBS | Brian | |
The later follows the naming scheme of other limits. Keep the old definition until all possible usage is updated. | |||
2008-03-27 | consolidate some parsing functions that were pretty much identical for ↵ | Brian | |
vertex/fragment programs cherry-picked from master | |||
2008-03-27 | mesa: misc sync-up with master | Brian | |
2008-03-27 | raise GL_INVALID_OPERATION if glProgramString compilation fails | Brian | |
cherry-picked from master | |||
2008-03-27 | Fix the compile of disabled DEBUG_PARSING code. | Brian | |
cherry-picked from master | |||
2008-03-27 | make sure state token values are fully initialized | Brian | |
cherry-picked from master | |||
2008-03-27 | added program_error2() function for better error reporting | Brian | |
cherry-picked from master | |||
2008-03-27 | Fix state.texgen parsing error (bug 12313). | Brian | |
Replace *(*inst++) with *(*inst)++ in a few places. Cherry-picked from master. | |||
2008-03-27 | gallium: Update calls to the simple shader functions | Brian | |
2008-03-27 | gallium: fix Element() macro redefinition warning | Brian | |
2008-03-26 | gallium: need to call st_validate_state() in Bitmap() | Brian Paul | |
2008-03-26 | gallium: Change pipe->flush() interface to optionally return a fence. | Michel Dänzer | |
The cell driver still uses an internal CELL_FLUSH_WAIT flag, in the long run proper fencing should be implemented for it. | |||
2008-03-25 | gallium: disable the selection/feedback draw module's options for wide ↵ | Brian Paul | |
lines, points, etc. Disable paths that would convert points/lines to tris as that upsets selection, feedback, rastpos. | |||
2008-03-25 | gallium: added some debug code (disable) | Brian Paul | |
2008-03-25 | mesa: fix some issues in _mesa_combine_programs() | Brian Paul | |
Use a temporay register to connect outputs of first program to inputs of second program. Also, fix bug in replace_registers(): didn't search/replace DstReg. | |||
2008-03-25 | mesa: append fog instructions after parsing if a fog option is set | Brian Paul | |
Drivers don't have to worry about it then. | |||
2008-03-25 | mesa: when negating scalar src args, use NEGATE_XYZW, not NEGATE_X | Brian Paul | |
This makes things easier on the back-end when generating GPU code. | |||
2008-03-24 | gallium: don't enable stencil test if no stencil buffer. | Brian Paul | |
Also, if not doing two-sided stencil, set back-face state = front-face state. | |||
2008-03-24 | gallium: save/restore samplers in draw_textured_quad() | Brian | |
2008-03-24 | gallium: fix a few texture border/mipmap glitches found w/ conform | Brian Paul | |
2008-03-24 | gallium: check SamplersUsed to determine if texture needed, as in ↵ | Brian Paul | |
st_atom_sampler.c Otherwise, we were sometimes setting texture state but not the corresponding sampler state. | |||
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-24 | gallium: pass the filter mode to util_gen_mipmap(). | Brian | |
Remove util_gen_mipmap_filter() when no longer used. | |||
2008-03-22 | gallium: fix a few more shader-related mem leaks | Brian | |
2008-03-22 | use ctx->Driver.DeleteProgram() in a few more places | Brian | |
2008-03-22 | gallium: fix a few mem leaks when deleting programs | Brian | |
2008-03-22 | delete default programs with ctx->Driver.DeleteProgram() | Brian | |
2008-03-21 | gallium: fix const buffer update bug | Brian | |
If only glUniform is called between two renderings, the const buffers weren't getting updated. Need to set the _NEW_PROGRAM flag in st_upload_constants() as that's the dirty flag set by glUniform. Fixes glean tapi2 test. | |||
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-21 | add a number of PBO validate/map/unmap functions | Brian Paul | |
Helper functions for (some) drivers, including swrast. cherry-picked from Mesa/master | |||
2008-03-21 | Fix some PBO breakage. | Brian | |
In _mesa_Bitmap, can't early return if bitmap ptr is NULL, it may be an offset into a PBO. Similarly for _mesa_GetTexImage. | |||
2008-03-21 | gallium: use is_format_supported(PIPE_FORMAT_DXT5_RGBA) to check if s3tc is ↵ | Brian Paul | |
supported The PIPE_CAP_S3TC token will be deprecated. | |||
2008-03-21 | gallium: use is_format_supported() to determine if GL_EXT_texture_sRGB is ↵ | Brian Paul | |
supported | |||
2008-03-21 | gallium: Update scons build for state tracker files added/removed. | Michel Dänzer | |
2008-03-20 | gallium: catch some out of memory conditions in the texture image code. | Brian Paul | |
st_finalize_texture()'s return code now indicates success/fail instead of presence of texture border (which we discard earlier). | |||
2008-03-20 | gallium: assign framebuffer width, height | Brian | |
2008-03-20 | gallium: unused var silence warning | Brian | |