summaryrefslogtreecommitdiff
path: root/src/mesa/main
AgeCommit message (Collapse)Author
2008-09-21code refactoring, new next_mipmap_level_size() functionBrian
(cherry picked from commit c22d9152e33792ea58426c53bc9b96bf552b0b44)
2008-09-21added _mesa_tex_target_to_face()Brian
(cherry picked from commit b52ce6341f877a0a1cfd3c50c07eeb1c156ae89e)
2008-09-21refactor code, export _mesa_generate_mipmap_level()Brian
2008-09-21move _mesa_format_to_type_and_comps() to texformat.cBrian
(cherry picked from commit 42eac65da45fb58bffdf94ab8f9860d8cee5b256)
2008-09-21mesa: pull in mipmap.c changes from gallium-0.2Keith Whitwell
2008-09-21mesa: refactor: move various ENUM_TO_x macros into macros.hBrian Paul
2008-09-21mesa: refactor: move glTexParameter-related functions into new texparam.c fileBrian Paul
2008-09-21mesa: refactor: move glTexEnv-related functions into new texenv.c fileBrian Paul
(cherry picked from commit 7ecac78ab53016ae3db3dd601b187cb050037463)
2008-09-21mesa: refactor: move glTexGen-related functions into new texgen.c fileBrian Paul
(cherry picked from commit 27049189d6221fefe43eb55846efaa51742dcdf4)
2008-09-21mesa: refactor: fix some FEATURE_ typos, mistakesBrian Paul
(cherry picked from commit e4cfe0854ad968193106048179b9b52ec1768f41)
2008-09-21mesa: refactor: move #define FEATURE flags into new mfeatures.h fileKeith Whitwell
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
2008-09-21mesa: refactor: move _mesa_update_minmax/histogram() into image.cBrian Paul
(cherry picked from commit eded7f010d344a909cf9c403eb3bdad91804d174)
2008-09-21mesa: refactor: move multisample-related functions into new multisample.c fileBrian Paul
2008-09-21mesa: refactor: move _mesa_resizebuffers(), _mesa_ResizeBuffersMESA() to ↵Brian Paul
framebuffer.c (cherry picked from commit 9091015a9782ad15e58540a8fd61df83ea2bfe31)
2008-09-21mesa: refactor: move glClear, glClearColor into new clear.c file.Brian Paul
2008-09-21mesa: refactor: move scissor functions into new scissor.c fileBrian Paul
(cherry picked from commit 4be7296bfcba22a849f949d105ea385e6964cc25)
2008-09-21mesa: refactor: move pixel map/scale/bias code into image.cBrian Paul
pixel.c is just the API-related code now.
2008-09-21mesa: refactor: new _mesa_init_pixelstore() functionBrian Paul
(cherry picked from commit 5f91007f996d0b7e3233f221a6b0056203e356d2)
2008-09-21mesa: refactor: move _mesa_init_exec_table() into new api_exec.c fileBrian Paul
(cherry picked from commit b36e6f0baf64491772b8e1a1cddf68a7dcf8ee22)
2008-09-21mesa: refactor: move glReadPixels code into new readpix.c fileBrian Paul
2008-09-21Add some FLUSH_CURRENT() calls.Brian
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)
2008-09-21mesa: refactor: move glPixelStore function into new pixelstore.c fileBrian Paul
2008-09-21mesa: remove EXT/NV suffixes from _mesa_PointParameter functionsBrian Paul
2008-09-21mesa: remove dead fileKeith Whitwell
2008-09-21mesa: add explict float castsKeith Whitwell
2008-09-21mesa: move fixed function vertex program builder from tnl to core mesaKeith Whitwell
Also unify caching of fragment and vertex programs in shader/prog_cache.c` Brought across from gallium-0.2
2008-09-21mesa: add parenthesisBrian Paul
(cherry picked from commit c366fd83b617db6c8c064802ff4bf120d654507d)
2008-09-21mesa: standardize on C99's uint*_t instead of u_int*_tKeith Whitwell
2008-09-21mesa: move rastpos helper to tnlKeith Whitwell
2008-09-21mesa: improved driver query interfaceKeith Whitwell
Brought over from gallium-0.2 branch.
2008-09-18mesa: prefix a bunch of #include lines with "main/".Brian Paul
This is another step toward removing a whole bunch of -I flags from the cc commands. Still need to address driver code...
2008-09-16mesa: rework GLSL vertex attribute bindingBrian Paul
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.
2008-09-15mesa: fix MSAA enable state in update_multisample()Brian Paul
2008-09-15mesa: remove some assertions that are invalid during context tear-downBrian Paul
2008-09-15mesa: get another class of degenerate dlists workingKeith Whitwell
Primitive begin in one dlist, end in another.
2008-09-13mesa: return after _mesa_problem() callsGuillaume Melquiond
2008-09-11Fixes for MingwShane Blackett
2008-09-05mesa: replace MALLOC w/ CALLOC to fix memory error in glPushClientAttrib()Brian Paul
2008-09-05mesa: replace MALLOC w/ CALLOC to fix valgrind warningBrian Paul
2008-09-04mesa: improved gl_buffer_object reference countingBrian Paul
Use new _mesa_reference_buffer_object() function wherever possible. Fixes buffer object/display list crash reported in ParaView.
2008-09-04mesa: merge stencil values into depth values for MESA_FORMAT_S8_Z24Xiang, Haihao
2008-09-04mesa: Support for MESA_FORMAT_S8_Z24 textureJakob Bornecrantz
cherry-picked from gallium-0.1
2008-09-02fix BUFFER_DEPTH/BUFFER_ACCUM mix-upBrian Paul
2008-09-02fix no error generated when calling glLight{if}[v] inside begin/end (bug 17408)Roland Scheidegger
2008-08-26mesa: don't check for GLSL 1.2 to advertise GL 2.1Brian Paul
The GLSL 1.2 features are minor...
2008-08-25mesa: set version string to 7.3-develBrian Paul
2008-08-21Call _ae_update_state when array enable state changesKrzysztof Czurylo
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.
2008-08-21Flush vertices when updating texObj->GenerateMipmap state.Eric Anholt
Caught by texturing/gen-teximage test in piglit.
2008-08-18mesa: rearrange some code in _mesa_BindTexture() to fix error detection bug ↵Brian Paul
17173 Also, move GL_TEXTURE_RECTANGLE init code into separate function.
2008-08-16prep for 7.1 rc4Brian Paul