summaryrefslogtreecommitdiff
path: root/src/mesa/main
AgeCommit message (Collapse)Author
2009-09-24mesa: replace assertion with no-op function assignmentBrian Paul
2009-09-24mesa: added default case return to silence warningBrian Paul
2009-09-22mesa: fix more buffer object error messagesBrian Paul
2009-09-21mesa: make max_buffer_index() a non-static functionBrian Paul
2009-09-21mesa: add some debug info to teximage.cMaciej Cencora
2009-09-16Merge branch 'mesa_7_5_branch' into mesa_7_6_branchIan Romanick
Conflicts: src/mesa/main/dlist.c
2009-09-15mesa: compile glUniformMatrix() functions into display listsBrian Paul
I believe this is the last of the shader-related functions that needed display list treatment.
2009-09-15mesa: implement more glUniform display list functionsBrian Paul
2009-09-15mesa: compile glUniform4f() into display listsBrian Paul
Note: there are more glUniform functions to compile...
2009-09-15mesa: compile glUseProgram/glUseProgramObjectARB into display listsBrian Paul
Fixes bug 23746
2009-09-15Merge branch 'mesa_7_5_branch' into mesa_7_6_branchBrian Paul
2009-09-11mesa: raise GL_INVALID_ENUM not GL_INVALID_VALUE for glTexParamter errorsVinson Lee
Signed-off-by: Brian Paul <brianp@vmware.com>
2009-09-10mesa: in texenvprogram code, only do saturation when really needed.Brian Paul
For some env modes (like modulate or replace) we don't have to clamp because we know the results will be in [0,1].
2009-09-08mesa: bump version to 7.5.2Brian Paul
I'm not 100% sure there'll be a 7.5.2 release, but just in case.
2009-09-03mesa: rename gl_sync_object::Status to StatusFlagBrian Paul
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.
2009-09-03Don't dereference function pointers in calls.Ian Romanick
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.
2009-09-03Whitespace and include file clean-up.Ian Romanick
Based on review comments by Brian Paul.
2009-09-03Use MIN2 instead of open-coded versionIan Romanick
Based on review comments by Brian Paul.
2009-09-03ARB sync: Fix delete behavior and context destruction behaviorIan Romanick
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.
2009-09-03Add dummy list node type 'struct simple_node'Ian Romanick
2009-09-03ARB sync: Add support for GL_ARB_sync to swrastIan Romanick
This isn't quite right yet. The delete behavior and the context clean-up needs some work.
2009-09-03ARB sync: Regenerate files from previous commitIan Romanick
2009-09-03ARB sync: Add infrastructure for glGetInteger64vIan Romanick
2009-09-03mesa: fix typos in separable filter functionsBrian Paul
2009-09-03mesa: compute tex env program key size based on nr_enabled_unitsBrian Paul
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.
2009-09-03mesa: use new combined PBO validate/map helpers in convolution/filter funcsBrian Paul
2009-09-03mesa: use new combined PBO validate/map helpersBrian Paul
2009-09-03mesa: combined PBO validate/map helpersBrian Paul
2009-09-03mesa: use new _mesa_map_pbo_source/dest() functions in more placesBrian Paul
This trims down the code a bit. The next step would be to combine the validate and map operations into one helper...
2009-09-03mesa: consolidate PBO map/unmap helpersBrian Paul
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().
2009-09-03mesa: change ctx->Driver.BufferData() to return GLboolean for success/failureBrian Paul
Return GL_FALSE if we failed to allocate the buffer. Then raise GL_OUT_OF_MEMORY in core Mesa.
2009-09-02Revert "mesa: fix the non-GNU C bit-field case"Brian Paul
This reverts commit 4b08e7498230eac30eea1721f33994b30999acd4. Don't know what I was thinking there.
2009-09-02mesa: fix the non-GNU C bit-field caseBrian Paul
2009-09-02mesa: silence gcc bit-field warningGary Wong
2009-09-02mesa: replace 8 with NUM_UNITSBrian Paul
2009-09-02mesa: remove accidentally committed printfBrian Paul
2009-09-02mesa: added #ifdef __GNUC__ around GLubyte bitfield usageBrian Paul
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.
2009-09-02mesa: Compact state key for TexEnv program cacheChris Wilson
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.
2009-09-01mesa: Make MultiDrawElements submit multiple primitives at once.Eric Anholt
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 <ian.d.romanick@intel.com>
2009-09-01mesa: skip bitmap drawing code if width==0 or height==0Brian Paul
2009-09-01mesa: new _mesa_expand_bitmap() functionBrian Paul
2009-09-01mesa: remove redundant assignmentsBrian Paul
2009-09-01mesa: more clean-upsBrian Paul
2009-09-01mesa: change conditional to match the previous oneBrian Paul
2009-09-01mesa: updated #includesBrian Paul
2009-09-01mesa: remove unused texenv_fragment_program::ctx fieldBrian Paul
2009-09-01mesa: remove unused ureg::abs fieldBrian Paul
2009-09-01mesa: remove unused ureg:negateabs fieldBrian Paul
2009-09-01mesa: more comments, clean-upsBrian Paul
2009-09-01mesa: simplify translate_tex_src_bit()Brian Paul