aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* intel: Move the bufmgr back to the screen.Eric Anholt2008-09-106-114/+132
| | | | | | | Mesa requires that we be able to share objects between contexts, which means that the objects need to be created by the same bufmgr, and the bufmgr internally requires pthread protection for thread safety. Rely on the bufmgr having appropriate locking.
* 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
|
* intel: only enable occlusion query if the drm has defines.Dave Airlie2008-09-051-0/+8
| | | | | This interface has to be re-written to not be dumb and to work for multiple apps.
* mesa: improved gl_buffer_object reference countingBrian Paul2008-09-0410-186/+241
| | | | | Use new _mesa_reference_buffer_object() function wherever possible. Fixes buffer object/display list crash reported in ParaView.
* intel: Fix depth_stencil texture.Xiang, Haihao2008-09-043-3/+3
|
* 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
* intel: Fix prototype warning.Eric Anholt2008-09-031-0/+2
|
* intel: Fix refcounting on depth buffer initialization in DRI2.Eric Anholt2008-09-032-16/+4
| | | | (Reverts a change to work around the problem on 965).
* intel: Fix a crash if dri2 is disabled.Xiang, Haihao2008-09-031-8/+8
|
* 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
|
* Fix build by removing #include of removed dri_sarea.h.Michel Dänzer2008-09-011-1/+0
| | | | Thanks to JohnFlux on IRC for pointing out the problem.
* DRI2: Drop sarea, implement swap buffers in the X server.Kristian Høgsberg2008-08-2917-482/+386
|
* i965: force thread switch after IF/ELSE/ENDIF. partial fix for #16882.Xiang, Haihao2008-08-291-0/+5
| | | | | | A thread switch is implicitly invoked after the issuance of an IF/ELSE/ENDIF instruction if necessary. Unfortunately it seems sometimes a forced thread switch is needed.
* i965: mask control for BREAK/CONT/DO/WHILE. partial fix fox #16882Xiang, Haihao2008-08-291-4/+4
|
* i965: Push/pop instruction state. partial fix for #16882Xiang, Haihao2008-08-291-2/+2
|
* mesa: bump MAX_INSN to 350Brian Paul2008-08-281-1/+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: glsl: regenerated fileBrian Paul2008-08-251-552/+552
|
* mesa: glsl: grab latest fixes from gallium-0.1 branchBrian Paul2008-08-256-83/+189
| | | | | | | Includes: 1. Fixes failed asserting about bad swizzles in src reg emit. 2. Tracks uniform var usage. 3. Emit exp() in terms of EXP2 instruction.
* mesa: set version string to 7.3-develBrian Paul2008-08-251-4/+4
|
* Revert "Revert "Merge branch 'drm-gem'""Dave Airlie2008-08-2476-4275/+1736
| | | | This reverts commit 7c81124d7c4a4d1da9f48cbf7e82ab1a3a970a7a.
* Revert "Merge branch 'drm-gem'"Dave Airlie2008-08-2476-1736/+4275
| | | | | | | | This reverts commit 53675e5c05c0598b7ea206d5c27dbcae786a2c03. Conflicts: src/mesa/drivers/dri/i965/brw_wm_surface_state.c
* 965: Fix incorrect backface cullingKrzysztof Czurylo2008-08-214-15/+29
| | | | | Fix incorrect backface culling for OGL tunnel in wireframe and point mode.
* 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.
* 965: Fix color clamping issuesKrzysztof Czurylo2008-08-211-0/+21
| | | | Patch is correctly applied this time.
* Formatting changes to ease application of patchesIan Romanick2008-08-211-4/+5
|
* i965: use dri_bo_subdata in vertex upload to get pwrite used.Eric Anholt2008-08-211-26/+25
| | | | | | | | Otherwise, we would ping-pong objects to GTT and back as we did pwrite on indices (flushed and mapped to GTT) and mapped for vertices (moved back to CPU domain). Fixes bug #17180.
* Flush vertices when updating texObj->GenerateMipmap state.Eric Anholt2008-08-211-0/+1
| | | | Caught by texturing/gen-teximage test in piglit.
* Report damage before modifying the area, not after.Peter Hutterer2008-08-211-2/+2
| | | | | | | | | If we copy the area before reporting the damage in this area, the server may restore buffered data over the new data, leading to artefacts on the screen. Reproducable with two cursors (second of which is SW rendered) and moving windows around in compiz. Fixes http://bugs.freedesktop.org/show_bug.cgi?id=16384 .
* intel: Fix SGIS_generate_mipmap after a miptree had been validated.Eric Anholt2008-08-203-35/+62
| | | | | | | | | Previously, the updated images would be ignored because the miptree in the image matched the miptree in the object, even though Mesa core had just attached updated contents in ->Data. Additionally, Mesa core could have tried to free inside our miptree if it had already been validated. Fixes bug #17077.
* glx: free driScreen in FreeScreenConfigs()Kristof Ralovich2008-08-201-0/+3
|
* glx: free context in driDestroyContext()Kristof Ralovich2008-08-201-0/+1
|
* glx: free vertex array state when context is destroyedKristof Ralovich2008-08-203-2/+30
|
* fix mem leak (free psc->visuals)Kristof Ralovich2008-08-201-3/+6
|
* mesa: fix float blend bugMark Anderson2008-08-201-3/+4
|
* i965: fixup format for TFP zero copyDave Airlie2008-08-201-2/+12
| | | | | (cherry picked from commit 9bc9e0ecb0fb2069b2c123e665eb2118e358098f which was lost in a merge)
* i965: make tex offset override work..Dave Airlie2008-08-201-15/+30
| | | | | | | should fix fd.o 14441 (cherry-picked from commit d4244683a61f66cfb78408a37cf2587587847f96 which was lost in a merge)
* i965: Enable GL_ARB_fragment_program_shadow and fix key->shadowtex_mask. ↵Xiang, Haihao2008-08-202-6/+4
| | | | (bug #16852, #16853)
* r5xx: Final fog option fix.Corbin Simpson2008-08-191-2/+4
| | | | | Is there some kind of git hook we could use to keep me from committing after like 10PM or so?
* r5xx: Don't squish GL context when using FogOptionCorbin Simpson2008-08-191-5/+3
|
* r5xx: Enable fog options.Corbin Simpson2008-08-181-0/+8
| | | | | This uses fog HW instead of fragment programs. If it breaks you, let me know!
* fix byte vs. pixel offset bug for 3D textures (see bug 17170)Henri Verbeet2008-08-181-3/+3
|
* 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.
* r5xx: Add DDX and DDY instructions.Corbin Simpson2008-08-176-4/+59
| | | | Signed-off-by: Corbin Simpson <[email protected]>
* prep for 7.1 rc4Brian Paul2008-08-161-1/+1
|
* mesa: turn off 'x' bit misset on a few .h and .syn filesBrian Paul2008-08-164-0/+0
|
* mesa: import latest GLSL code from gallium-0.1 branchBrian Paul2008-08-1640-3147/+3632
|