summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* mesa: glsl: only try to link shaders defining main()Brian Paul2008-07-291-2/+2
|
* mesa: remove an error check for NV_v_p that doesn't apply to ARB_v_pBrian Paul2008-07-291-5/+0
|
* mesa: implement grammar/parsing for precision/invariant syntaxBrian Paul2008-07-291-0/+1
| | | | Plus, fix some issues with pre-defined preprocessor symbols and version checking.
* disable GL_ARB_shading_language_120 until 1.20 features are completeBrian Paul2008-07-291-2/+2
|
* mesa: move extensions->version code into separate functionBrian Paul2008-07-241-70/+72
|
* mesa: don't include Mesa version in GL_SHADING_LANGUAGE_VERSION stringBrian Paul2008-07-241-3/+5
|
* mesa: add GL_POLYGON_OFFSET_POINT/LINE/FILL queries, remove ↵Brian Paul2008-07-162-42/+30
| | | | | | GL_TEXTURE_ENV_COLOR, GL_TEXTURE_ENV_MODE Issues found by Bob Ellison.
* mesa: check for __INTERIX to typedef uintptr_tBlair Sadewitz2008-07-151-0/+6
|
* mesa: fix stencil state problem when GL_ATI_separate_stencil wasn't enabledBrian Paul2008-07-141-47/+49
| | | | | | | | | In glStencilFunc/Op/Mask() set both the front and back-face state, unless GL_EXT_stencil_two_side is enabled. Before, we only set the front+back state if GL_ATI_separate_stencil was enabled. Ultimately, we probably should remove GL_EXT_stencil_two_side since it's incompatible with GL 2.x.
* mesa: also check for __NetBSD__Blair Sadewitz2008-07-141-1/+1
|
* mesa: check for OpenBSD (bug 15604)Brian Paul2008-07-091-1/+7
|
* mesa: remove debug codemesa_7_1_rc3Brian Paul2008-07-081-1/+0
|
* bump version to rc3Brian Paul2008-07-081-1/+1
|
* mesa: implement glGetUniformiv() with new ctx->Driver functionBrian Paul2008-07-082-5/+4
| | | | The old implementation could overwrite the caller's param buffer.
* mesa: bump version to rc2mesa_7_1_rc2Brian Paul2008-07-081-1/+1
|
* Enable TexGen based on InputsRead when a fragment program is activeNicolai Haehnle2008-07-041-10/+18
| | | | | | | The old behaviour depended on which texture images the fragment program reads from, which seems to contradict the shader specifications. Note: Piglit's general/texgen test checks for this problem.
* mesa: remove incorrect assertionBrian Paul2008-07-041-1/+0
|
* mesa: fix some error codes in _mesa_ShaderSourceARB()Brian Paul2008-07-031-4/+4
|
* mesa: fix problem freeing framebuffer/renderbuffer objectsBrian Paul2008-07-033-4/+29
| | | | Basically, set up no-op Delete() methods for the DummyFrame/Renderbuffer objects.
* mesa: fix vertex array validation test for attribute 0 (vert pos)Brian Paul2008-07-021-11/+12
| | | | | We don't actually need vertex array[0] enabled when using a vertex program/shader.