summaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* mesa: prefix a bunch of #include lines with "main/".Brian Paul2008-09-18105-388/+381
| | | | | This is another step toward removing a whole bunch of -I flags from the cc commands. Still need to address driver code...
* mesa: fix bug in previous changes to _slang_resolve_attributes()Brian Paul2008-09-171-1/+3
|
* intel: Destroy bufmgr in screen destroy, not context.Eric Anholt2008-09-162-2/+1
| | | | | | | Caused server crashes on second context creation since 7e0bbdcf033981282978554c2e68ce48b55aa291. Bug #17600.
* mesa: rework GLSL vertex attribute bindingBrian Paul2008-09-164-103/+110
| | | | | | | 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 display list regression (check if save->prim_count > 0 in ↵Brian Paul2008-09-161-5/+7
| | | | vbo_save_EndList())
* 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-152-2/+29
| | | | Primitive begin in one dlist, end in another.
* tdfx: fix crash and lack of visuals bugJakub Bogusz2008-09-131-52/+25
|
* i915: fix himask constant init for 64-bit buildGuillaume Melquiond2008-09-131-1/+1
|
* mesa: return after _mesa_problem() callsGuillaume Melquiond2008-09-132-0/+3
|
* mesa: #include <stdio.h>Guillaume Melquiond2008-09-131-0/+1
|
* intel: Add a width field to regions, and use it for making miptrees in TFP.Eric Anholt2008-09-126-15/+25
| | | | | Otherwise, we would use the pitch as width of the texture, and compiz would render the pitch padding on the right hand side.
* intel: Don't segfault on TFP from a bad drawable.Eric Anholt2008-09-122-0/+9
|
* intel: Remove dead allow_batchbuffer param.Eric Anholt2008-09-122-6/+0
|
* i965: Add support for G41 chipset which is another 4 series.Xiang, Haihao2008-09-122-1/+6
|
* added 24bpp supportShane Blackett2008-09-111-10/+217
|
* Fixes for MingwShane Blackett2008-09-112-2/+2
|
* intel: track move of bo_exec from drivers to bufmgr.Eric Anholt2008-09-1026-218/+10
|
* intel: track bufmgr move to libdrm_intel and bufmgr_fake irq emit/wait change.Eric Anholt2008-09-1026-196/+96
|
* 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-2911-378/+212
|
* 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.