Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: move generate mipmap calls | Brian Paul | 2009-09-15 | 2 | -43/+63 |
| | | | | | | Per the suggestion in the Intel driver, move the calls to ctx->Driver.GenerateMipmap() into core Mesa so that drivers don't have to worry about it. | ||||
* | mesa: minor clean-up | Brian Paul | 2009-09-15 | 1 | -3/+3 |
| | |||||
* | mesa: remove last of gotos | Brian Paul | 2009-09-15 | 1 | -62/+62 |
| | |||||
* | mesa: more goto removal | Brian Paul | 2009-09-15 | 1 | -142/+129 |
| | |||||
* | mesa: remove some gotos | Brian Paul | 2009-09-15 | 1 | -105/+96 |
| | | | | This will make some subsequent changes easier... | ||||
* | mesa: clean-up fbo debug code | Brian Paul | 2009-09-15 | 1 | -16/+23 |
| | |||||
* | mesa: added GL_ARB_provoking_vertex (same as EXT version) | Brian Paul | 2009-09-15 | 1 | -0/+1 |
| | |||||
* | Merge branch 'mesa_7_6_branch' | Brian Paul | 2009-09-15 | 1 | -3/+3 |
|\ | |||||
| * | Merge branch 'mesa_7_5_branch' into mesa_7_6_branch | Brian Paul | 2009-09-15 | 1 | -3/+3 |
| |\ | |||||
| | * | mesa: raise GL_INVALID_ENUM not GL_INVALID_VALUE for glTexParamter errors | Vinson Lee | 2009-09-11 | 1 | -3/+3 |
| | | | | | | | | | | | | Signed-off-by: Brian Paul <[email protected]> | ||||
| | * | mesa: bump version to 7.5.2 | Brian Paul | 2009-09-08 | 1 | -3/+3 |
| | | | | | | | | | | | | I'm not 100% sure there'll be a 7.5.2 release, but just in case. | ||||
| | * | mesa: added const qualifiers, move local var | Brian Paul | 2009-08-31 | 1 | -7/+8 |
| | | | |||||
| | * | mesa: fix saturation logic in emit_texenv() | Brian Paul | 2009-08-31 | 1 | -1/+7 |
| | | | | | | | | | | | | | | | | | | We need to clamp/saturate after each texenv stage, not just the last one. Fixes glean texEnv failure for softpipe (and probably other fragment program- based drivers). | ||||
* | | | Merge branch 'mesa_7_6_branch' | Brian Paul | 2009-09-10 | 1 | -8/+53 |
|\| | | |||||
| * | | mesa: in texenvprogram code, only do saturation when really needed. | Brian Paul | 2009-09-10 | 1 | -8/+53 |
| | | | | | | | | | | | | | | | For some env modes (like modulate or replace) we don't have to clamp because we know the results will be in [0,1]. | ||||
* | | | mesa: regenerate get.c form get_gen.py | Brian Paul | 2009-09-09 | 1 | -0/+16 |
| | | | |||||
* | | | mesa: move call to init_c_cliptest() from enable.c to tnl module. | Brian Paul | 2009-09-09 | 1 | -8/+0 |
| | | | | | | | | | | | | Fixed gallium build breakage. | ||||
* | | | mesa: bump version to 7.7 | Brian Paul | 2009-09-08 | 1 | -3/+3 |
| | | | |||||
* | | | mesa: Add support for ARB_draw_elements_base_vertex. | Eric Anholt | 2009-09-08 | 11 | -72/+207 |
| | | | |||||
* | | | mesa: Expose NV_depth_clamp if ARB_depth_clamp is supported. | Eric Anholt | 2009-09-08 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | The wording of these two is exactly the same, except for the issue "Can fragments with wc<=0 be generated when this extension is supported?", which idr thinks is a non-issue for us. | ||||
* | | | Regenerate files for GL_ARB_depth_clamp. | Eric Anholt | 2009-09-08 | 1 | -2605/+2607 |
| | | | |||||
* | | | mesa: Add support for ARB_depth_clamp. | Eric Anholt | 2009-09-08 | 5 | -0/+35 |
| | | | | | | | | | | | | | | | This currently doesn't include fixing up the cliptests in the assembly paths to support ARB_depth_clamp, so enabling depth_clamp forces the C path. | ||||
* | | | mesa: Fix calling conventions of sync object api callbacks. | Michal Krol | 2009-09-07 | 2 | -12/+12 |
|/ / | |||||
* | | mesa: rename gl_sync_object::Status to StatusFlag | Brian Paul | 2009-09-03 | 2 | -6/+6 |
| | | | | | | | | | | There's a symbol collision with X11/Xlib.h #define Status int in the Mesa xlib code. This seems the simpliest way to work around this. | ||||
* | | Don't dereference function pointers in calls. | Ian Romanick | 2009-09-03 | 1 | -7/+7 |
| | | | | | | | | | | | | I'm apparently alone in prefering this calling convention, so I'll be a team player. :p Based on review comments by Brian Paul and Eric Anholt. | ||||
* | | Whitespace and include file clean-up. | Ian Romanick | 2009-09-03 | 1 | -14/+0 |
| | | | | | | | | Based on review comments by Brian Paul. | ||||
* | | Use MIN2 instead of open-coded version | Ian Romanick | 2009-09-03 | 1 | -1/+2 |
| | | | | | | | | Based on review comments by Brian Paul. | ||||
* | | ARB sync: Fix delete behavior and context destruction behavior | Ian Romanick | 2009-09-03 | 4 | -24/+103 |
| | | | | | | | | | | | | | | I believe this resolves the outstanding issues WRT sync object deletetion. I have also added a large comment at the top of syncobj.c describing the expected memory management behavior. I'm still a little uncertain about the locking on ctx->Shared. | ||||
* | | Add dummy list node type 'struct simple_node' | Ian Romanick | 2009-09-03 | 1 | -0/+5 |
| | | |||||
* | | ARB sync: Add support for GL_ARB_sync to swrast | Ian Romanick | 2009-09-03 | 10 | -0/+530 |
| | | | | | | | | | | This isn't quite right yet. The delete behavior and the context clean-up needs some work. | ||||
* | | ARB sync: Regenerate files from previous commit | Ian Romanick | 2009-09-03 | 1 | -3093/+3137 |
| | | |||||
* | | ARB sync: Add infrastructure for glGetInteger64v | Ian Romanick | 2009-09-03 | 6 | -1/+1862 |
| | | |||||
* | | mesa: fix typos in separable filter functions | Brian Paul | 2009-09-03 | 1 | -4/+4 |
| | | |||||
* | | mesa: compute tex env program key size based on nr_enabled_units | Brian Paul | 2009-09-03 | 1 | -8/+18 |
| | | | | | | | | | | | | | | When no textures are enabled, the key size is 4 bytes. If unit[0] is enabled, the key size is 16 bytes. Inspired by a patch from Chris Wilson. | ||||
* | | mesa: use new combined PBO validate/map helpers in convolution/filter funcs | Brian Paul | 2009-09-03 | 1 | -66/+23 |
| | | |||||
* | | mesa: use new combined PBO validate/map helpers | Brian Paul | 2009-09-03 | 4 | -126/+43 |
| | | |||||
* | | mesa: combined PBO validate/map helpers | Brian Paul | 2009-09-03 | 2 | -0/+98 |
| | | |||||
* | | mesa: use new _mesa_map_pbo_source/dest() functions in more places | Brian Paul | 2009-09-03 | 5 | -354/+192 |
| | | | | | | | | | | This trims down the code a bit. The next step would be to combine the validate and map operations into one helper... | ||||
* | | mesa: consolidate PBO map/unmap helpers | Brian Paul | 2009-09-03 | 2 | -85/+41 |
| | | | | | | | | | | | | | | Instead of _mesa_map_readpix_pbo() use _mesa_map_pbo_source(). Instead of _mesa_map_drawpix_pbo() and _mesa_map_bitmap_pbo() use _mesa_map_pbo_dest(). | ||||
* | | mesa: change ctx->Driver.BufferData() to return GLboolean for success/failure | Brian Paul | 2009-09-03 | 2 | -11/+21 |
| | | | | | | | | | | Return GL_FALSE if we failed to allocate the buffer. Then raise GL_OUT_OF_MEMORY in core Mesa. | ||||
* | | Revert "mesa: fix the non-GNU C bit-field case" | Brian Paul | 2009-09-02 | 1 | -2/+2 |
| | | | | | | | | | | | | This reverts commit 4b08e7498230eac30eea1721f33994b30999acd4. Don't know what I was thinking there. | ||||
* | | mesa: fix the non-GNU C bit-field case | Brian Paul | 2009-09-02 | 1 | -2/+2 |
| | | |||||
* | | mesa: silence gcc bit-field warning | Gary Wong | 2009-09-02 | 1 | -2/+2 |
| | | |||||
* | | mesa: replace 8 with NUM_UNITS | Brian Paul | 2009-09-02 | 1 | -1/+4 |
| | | |||||
* | | mesa: remove accidentally committed printf | Brian Paul | 2009-09-02 | 1 | -1/+0 |
| | | |||||
* | | mesa: added #ifdef __GNUC__ around GLubyte bitfield usage | Brian Paul | 2009-09-02 | 1 | -0/+5 |
| | | | | | | | | | | | | | | | | | | It would be nice if there were a #pragma or something to disable the warnings: main/texenvprogram.c:87: warning: type of bit-field ‘Source’ is a GCC extension main/texenvprogram.c:88: warning: type of bit-field ‘Operand’ is a GCC extension but there doesn't appear to be a way to do that. | ||||
* | | mesa: Compact state key for TexEnv program cache | Chris Wilson | 2009-09-02 | 1 | -3/+5 |
| | | | | | | | | | | | | By rearranging the bitfields within the key we can reduce the size of the key from 644 to 196 bytes, reducing the cost of both the hashing and equality tests. | ||||
* | | mesa: Make MultiDrawElements submit multiple primitives at once. | Eric Anholt | 2009-09-01 | 8 | -33/+38 |
| | | | | | | | | | | | | | | | | | | Previously, MultiDrawElements just called DrawElements a bunch of times. By sending several primitives down the pipeline at once, we avoid a bunch of validation. On my GL demo, this improves fps by 2.5% (+/- .41%) and reduces CPU usage by 70.5% (+/- 2.9%) (n=3). Reviewed by: Ian Romanick <[email protected]> | ||||
* | | mesa: skip bitmap drawing code if width==0 or height==0 | Brian Paul | 2009-09-01 | 1 | -19/+22 |
| | | |||||
* | | mesa: new _mesa_expand_bitmap() function | Brian Paul | 2009-09-01 | 2 | -0/+92 |
| | |