summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* intel: remove unneeded mem type and argsDave Airlie2008-08-141-10/+5
|
* r300: Fix 3D texture support.Michel Dänzer2008-08-142-3/+8
|
* mesa: fix a swrast state validation bugBrian Paul2008-08-131-1/+9
| | | | Fixes progs/glsl/points.c
* Fixed 'make install' for darwinJeremy Huddleston2008-08-125-6/+6
|
* mesa: glsl: add missing sampler types in sizeof_glsl_type(), bug 17079Brian Paul2008-08-111-2/+13
|
* mesa: added comment about gl_PointCoordBrian Paul2008-08-111-0/+1
|
* Apple: Cleaned up some linking and dylib ids issuesJeremy Huddleston2008-08-117-2/+67
|
* dri: fix crash in driGetConfigAttribIndexDave Miller2008-08-091-0/+4
| | | | Accessing a GLboolean via an int pointer on big-endian == bad.
* Merge branch 'drm-gem'Eric Anholt2008-08-0876-4312/+1748
|\ | | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/intel/intel_span.c src/mesa/main/fbobject.c This converts the i915 driver to use the GEM interfaces for object management.
| * intel-gem: Update to new check_aperture API for classic mode.Eric Anholt2008-08-0831-305/+245
| | | | | | | | | | | | To do this, I had to clean up some of 965 state upload stuff. We may end up over-emitting state in the aperture overflow case, but that should be rare, and I'd rather have the simplification of state management.
| * 965: cleanups to state emission from aperture checking and state ordering.Eric Anholt2008-08-084-46/+3
| |
| * intel-gem: Always build GEM execbuffer code.Eric Anholt2008-07-311-11/+0
| |
| * intel-gem: Use new getparam to detect kernel GEM support.Eric Anholt2008-07-301-1/+8
| |
| * intel: Don't return a renderbuffer with alpha when just GL_RGB is requested.Eric Anholt2008-07-262-0/+72
| | | | | | | | | | Fixes oglconform rbGetterFuncs testcase. The span code for this mode hasn't actually been tested.
| * Merge branch 'master' into drm-gemIan Romanick2008-07-25199-30703/+8739
| |\ | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/common/dri_bufmgr.c src/mesa/drivers/dri/i965/brw_wm_surface_state.c
| * | mesa: Return 0 for cube map face of non-cubemap framebuffer attachments.Eric Anholt2008-07-251-1/+4
| | | | | | | | | | | | Fixes some oglconform fbo testcases.
| * | intel: If a tex image doesn't fit in the object's tree, make a temporary tree.Eric Anholt2008-07-251-3/+18
| | | | | | | | | | | | | | | | | | | | | Previously, we would just store the data as malloced memory hanging off the object, which would get memcpyed in at validate time. This broke an oglconform render-to-texture test, since validate wasn't called but a miptree was expected.
| * | intel: Add a little span cache to spead up readpixels by cutting syscalls.Eric Anholt2008-07-233-12/+42
| | |
| * | intel-gem: Use pread/pwrite for span access.Eric Anholt2008-07-234-197/+141
| | | | | | | | | | | | | | | This will avoid clflushing entire buffers for small acesses, such as those commonly used by regression tests.
| * | intel: improve 2d batchbuffer debug output.Eric Anholt2008-07-231-8/+14
| | |