summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
Commit message (Collapse)AuthorAgeFilesLines
* mesa: refactor: move glTexParameter-related functions into new texparam.c fileBrian Paul2008-09-217-1029/+1106
|
* mesa: refactor: move glTexEnv-related functions into new texenv.c fileBrian Paul2008-09-217-841/+919
| | | | (cherry picked from commit 7ecac78ab53016ae3db3dd601b187cb050037463)
* mesa: refactor: move glTexGen-related functions into new texgen.c fileBrian Paul2008-09-217-596/+673
| | | | (cherry picked from commit 27049189d6221fefe43eb55846efaa51742dcdf4)
* mesa: refactor: fix some FEATURE_ typos, mistakesBrian Paul2008-09-212-2/+2
| | | | (cherry picked from commit e4cfe0854ad968193106048179b9b52ec1768f41)
* mesa: refactor: move #define FEATURE flags into new mfeatures.h fileKeith Whitwell2008-09-2112-96/+312
| | | | | | | | | | | | | Also, check the FEATURE flags in many places. (cherry picked from commit 40d1a40f294f1ed2dacfad6f5498322fc08cc2d1) Conflicts: src/mesa/main/config.h src/mesa/main/context.c src/mesa/main/texobj.c src/mesa/main/texstate.c src/mesa/main/texstore.c
* mesa: refactor: move _mesa_update_minmax/histogram() into image.cBrian Paul2008-09-213-74/+64
| | | | (cherry picked from commit eded7f010d344a909cf9c403eb3bdad91804d174)
* mesa: refactor: move multisample-related functions into new multisample.c fileBrian Paul2008-09-218-44/+109
|
* mesa: refactor: move _mesa_resizebuffers(), _mesa_ResizeBuffersMESA() to ↵Brian Paul2008-09-216-83/+88
| | | | | | framebuffer.c (cherry picked from commit 9091015a9782ad15e58540a8fd61df83ea2bfe31)
* mesa: refactor: move glClear, glClearColor into new clear.c file.Brian Paul2008-09-216-158/+232
|
* mesa: refactor: move scissor functions into new scissor.c fileBrian Paul2008-09-218-85/+150
| | | | (cherry picked from commit 4be7296bfcba22a849f949d105ea385e6964cc25)
* mesa: refactor: move pixel map/scale/bias code into image.cBrian Paul2008-09-214-416/+486
| | | | pixel.c is just the API-related code now.
* mesa: refactor: new _mesa_init_pixelstore() functionBrian Paul2008-09-214-28/+43
| | | | (cherry picked from commit 5f91007f996d0b7e3233f221a6b0056203e356d2)
* mesa: refactor: move _mesa_init_exec_table() into new api_exec.c fileBrian Paul2008-09-216-806/+872
| | | | (cherry picked from commit b36e6f0baf64491772b8e1a1cddf68a7dcf8ee22)
* mesa: refactor: move glReadPixels code into new readpix.c fileBrian Paul2008-09-216-171/+382
|
* Add some FLUSH_CURRENT() calls.Brian2008-09-212-0/+4
| | | | | | | | Without these we can find ourselves in _mesa_load_state_parameters() computing derived lighting/material values whhen the current material properties haven't been updated from the VBO. This may be a somewhat wide-spread problem that needs more attention... (cherry picked from commit 49adf51eeec31c9f3c995a70acc5008522689708)
* mesa: refactor: move glPixelStore function into new pixelstore.c fileBrian Paul2008-09-215-203/+273
|
* mesa: remove EXT/NV suffixes from _mesa_PointParameter functionsBrian Paul2008-09-214-41/+28
|
* mesa: remove dead fileKeith Whitwell2008-09-211-42/+0
|
* mesa: add explict float castsKeith Whitwell2008-09-211-48/+48
|
* mesa: move fixed function vertex program builder from tnl to core mesaKeith Whitwell2008-09-217-193/+1899
| | | | | | Also unify caching of fragment and vertex programs in shader/prog_cache.c` Brought across from gallium-0.2
* mesa: add parenthesisBrian Paul2008-09-211-3/+3
| | | | (cherry picked from commit c366fd83b617db6c8c064802ff4bf120d654507d)
* mesa: standardize on C99's uint*_t instead of u_int*_tKeith Whitwell2008-09-211-9/+0
|
* mesa: move rastpos helper to tnlKeith Whitwell2008-09-212-529/+41
|
* mesa: improved driver query interfaceKeith Whitwell2008-09-214-61/+90
| | | | Brought over from gallium-0.2 branch.
* mesa: prefix a bunch of #include lines with "main/".Brian Paul2008-09-181-6/+6
| | | | | This is another step toward removing a whole bunch of -I flags from the cc commands. Still need to address driver code...
* mesa: rework GLSL vertex attribute bindingBrian Paul2008-09-161-1/+3
| | | | | | | Calls to glBindAttribLocation() should not take effect until the next time that glLinkProgram() is called. gl_shader_program::Attributes now just contains user-defined bindings. gl_shader_program::VertexProgram->Attributes contains the actual/final bindings.
* mesa: fix MSAA enable state in update_multisample()Brian Paul2008-09-151-4/+4
|
* mesa: remove some assertions that are invalid during context tear-downBrian Paul2008-09-151-1/+4
|
* mesa: get another class of degenerate dlists workingKeith Whitwell2008-09-151-2/+5
| | | | Primitive begin in one dlist, end in another.
* mesa: return after _mesa_problem() callsGuillaume Melquiond2008-09-131-0/+1
|
* Fixes for MingwShane Blackett2008-09-111-1/+1
|
* mesa: replace MALLOC w/ CALLOC to fix memory error in glPushClientAttrib()Brian Paul2008-09-051-1/+1
|
* mesa: replace MALLOC w/ CALLOC to fix valgrind warningBrian Paul2008-09-051-1/+1
|
* mesa: improved gl_buffer_object reference countingBrian Paul2008-09-045-160/+172
| | | | | Use new _mesa_reference_buffer_object() function wherever possible. Fixes buffer object/display list crash reported in ParaView.
* mesa: merge stencil values into depth values for MESA_FORMAT_S8_Z24Xiang, Haihao2008-09-041-2/+2
|
* mesa: Support for MESA_FORMAT_S8_Z24 textureJakob Bornecrantz2008-09-045-0/+134
| | | | cherry-picked from gallium-0.1
* fix BUFFER_DEPTH/BUFFER_ACCUM mix-upBrian Paul2008-09-021-6/+6
|
* fix no error generated when calling glLight{if}[v] inside begin/end (bug 17408)Roland Scheidegger2008-09-021-0/+1
|
* mesa: don't check for GLSL 1.2 to advertise GL 2.1Brian Paul2008-08-262-11/+7
| | | | The GLSL 1.2 features are minor...
* mesa: set version string to 7.3-develBrian Paul2008-08-251-4/+4
|
* Call _ae_update_state when array enable state changesKrzysztof Czurylo2008-08-211-0/+4
| | | | | | | | | | | | | | Basically, the application enables client vertex and color arrays, renders something, then disables color array, and renders something else (using vertex array only). Even though the color array is disabled (and the pointer is no longer valid), the driver still tries to read color data from this array (which results in an exception). This is because enabling/disabling array does not trigger _ae_update_state() and the list of enabled arrays is not updated. _ae_update_state() it's called on the first state validation only (as all the "dirty" flags are set at the beginning). Any further change to client arrays' state has no effect.
* Flush vertices when updating texObj->GenerateMipmap state.Eric Anholt2008-08-211-0/+1
| | | | Caught by texturing/gen-teximage test in piglit.
* mesa: rearrange some code in _mesa_BindTexture() to fix error detection bug ↵Brian Paul2008-08-181-42/+59
| | | | | | 17173 Also, move GL_TEXTURE_RECTANGLE init code into separate function.
* prep for 7.1 rc4Brian Paul2008-08-161-1/+1
|
* mesa: fix out-of-bounds memory reads in swizzle_copy()Brian Paul2008-08-081-30/+90
|
* mesa: fix glBindTexture error string (bug 17005)Brian Paul2008-08-071-1/+1
|
* mesa: fix comment about texture targets (bug 17005)Brian Paul2008-08-061-1/+1
|
* fix some FBO/texture queries (bug 15296)Brian Paul2008-08-061-2/+12
|
* added null ptr check (fix bug 16959)Brian Paul2008-08-031-1/+2
|
* mesa: fix issues causing warnings on WindowsBrian Paul2008-07-291-2/+4
|