mesa.git
15 years agomesa: remove EXT/NV suffixes from _mesa_PointParameter functions
Brian Paul [Thu, 5 Jun 2008 18:08:19 +0000 (12:08 -0600)]
mesa: remove EXT/NV suffixes from _mesa_PointParameter functions

15 years agoglut: Remove EOF characters.
José Fonseca [Thu, 7 Aug 2008 08:03:30 +0000 (09:03 +0100)]
glut: Remove EOF characters.

15 years agoi965: fix compilation
Benjamin Close [Mon, 22 Sep 2008 02:29:30 +0000 (11:59 +0930)]
i965: fix compilation

Found By: Tinderbox

15 years agoFix X86 compilation.
Chris Rankin [Sun, 21 Sep 2008 21:56:17 +0000 (23:56 +0200)]
Fix X86 compilation.

15 years agoRemove CVS keywords.
Keith Whitwell [Sun, 21 Sep 2008 18:00:44 +0000 (11:00 -0700)]
Remove CVS keywords.

Cherry-picked from gallium-0.1

Conflicts:

src/glu/sgi/libnurbs/interface/bezierEval.h
src/glu/sgi/libnurbs/interface/bezierPatch.h
src/glu/sgi/libnurbs/interface/bezierPatchMesh.h
src/glu/sgi/libnurbs/internals/dataTransform.h
src/glu/sgi/libnurbs/internals/displaymode.h
src/glu/sgi/libnurbs/internals/sorter.h
src/glu/sgi/libnurbs/nurbtess/definitions.h
src/glu/sgi/libnurbs/nurbtess/directedLine.h
src/glu/sgi/libnurbs/nurbtess/gridWrap.h
src/glu/sgi/libnurbs/nurbtess/monoChain.h
src/glu/sgi/libnurbs/nurbtess/monoPolyPart.h
src/glu/sgi/libnurbs/nurbtess/monoTriangulation.h
src/glu/sgi/libnurbs/nurbtess/partitionX.h
src/glu/sgi/libnurbs/nurbtess/partitionY.h
src/glu/sgi/libnurbs/nurbtess/polyDBG.h
src/glu/sgi/libnurbs/nurbtess/polyUtil.h
src/glu/sgi/libnurbs/nurbtess/primitiveStream.h
src/glu/sgi/libnurbs/nurbtess/quicksort.h
src/glu/sgi/libnurbs/nurbtess/rectBlock.h
src/glu/sgi/libnurbs/nurbtess/sampleComp.h
src/glu/sgi/libnurbs/nurbtess/sampleCompBot.h
src/glu/sgi/libnurbs/nurbtess/sampleCompRight.h
src/glu/sgi/libnurbs/nurbtess/sampleCompTop.h
src/glu/sgi/libnurbs/nurbtess/sampleMonoPoly.h
src/glu/sgi/libnurbs/nurbtess/sampledLine.h
src/glu/sgi/libnurbs/nurbtess/searchTree.h
src/glu/sgi/libnurbs/nurbtess/zlassert.h
src/glu/sgi/libutil/error.c
src/glu/sgi/libutil/glue.c
src/glu/sgi/libutil/gluint.h
src/glu/sgi/libutil/project.c
src/glu/sgi/libutil/registry.c
src/glx/x11/glxclient.h
src/glx/x11/glxext.c
src/mesa/drivers/dri/ffb/ffb_dd.h
src/mesa/drivers/dri/ffb/ffb_points.h
src/mesa/drivers/dri/gamma/gamma_context.h
src/mesa/drivers/dri/gamma/gamma_macros.h
src/mesa/drivers/dri/i810/i810context.h
src/mesa/drivers/dri/r128/r128_dd.h
src/mesa/drivers/dri/tdfx/tdfx_dd.h

15 years agomesa: Prefix main includes with dir to avoid conflicts.
José Fonseca [Wed, 23 Jul 2008 12:06:01 +0000 (21:06 +0900)]
mesa: Prefix main includes with dir to avoid conflicts.

Eliminate a couple of differences with gallium-0.2

15 years agomesa: remove dead file
Keith Whitwell [Fri, 12 Sep 2008 14:03:19 +0000 (15:03 +0100)]
mesa: remove dead file

15 years agomesa: add explict float casts
Keith Whitwell [Fri, 12 Sep 2008 14:02:50 +0000 (15:02 +0100)]
mesa: add explict float casts

15 years agomesa: move fixed function vertex program builder from tnl to core mesa
Keith Whitwell [Sat, 20 Sep 2008 15:26:11 +0000 (08:26 -0700)]
mesa: move fixed function vertex program builder from tnl to core mesa

Also unify caching of fragment and vertex programs in shader/prog_cache.c`

Brought across from gallium-0.2

15 years agomesa: add parenthesis
Brian Paul [Tue, 17 Jun 2008 17:29:59 +0000 (11:29 -0600)]
mesa: add parenthesis

(cherry picked from commit c366fd83b617db6c8c064802ff4bf120d654507d)

15 years agomesa: standardize on C99's uint*_t instead of u_int*_t
Keith Whitwell [Sat, 20 Sep 2008 14:32:30 +0000 (07:32 -0700)]
mesa: standardize on C99's uint*_t instead of u_int*_t

15 years agomesa: Remove assyntax.h include from generated matypes.h.
José Fonseca [Wed, 4 Jun 2008 14:55:55 +0000 (23:55 +0900)]
mesa: Remove assyntax.h include from generated matypes.h.

matypes.h doesn't really depend on assyntax.h; assyntax.h is only present
on x86; and this way we remove the need of grep being available (which is
relevant for scons and non-unix platforms).
(cherry picked from commit fc286ff3ba089af5f1aca2d35b93b53a9383b1cf)

15 years agomesa: move rastpos helper to tnl
Keith Whitwell [Sat, 20 Sep 2008 13:43:24 +0000 (06:43 -0700)]
mesa: move rastpos helper to tnl

15 years agomesa: improved driver query interface
Keith Whitwell [Sat, 20 Sep 2008 13:34:23 +0000 (06:34 -0700)]
mesa: improved driver query interface

Brought over from gallium-0.2 branch.

15 years agoUpdate to SGI FreeB 2.0.
Adam Jackson [Fri, 19 Sep 2008 21:16:53 +0000 (17:16 -0400)]
Update to SGI FreeB 2.0.

Under the terms of version 1.1, "once Covered Code has been published
under a particular version of the License, Recipient may, for the
duration of the License, continue to use it under the terms of that
version, or choose to use such Covered Code under the terms of any
subsequent version published by SGI."

FreeB 2.0 license refers to "dates of first publication".  They are here
taken to be 1991-2000, as noted in the original license text:

 ** Original Code. The Original Code is: OpenGL Sample Implementation,
 ** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics,
 ** Inc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc.
 ** Copyright in any portions created by third parties is as indicated
 ** elsewhere herein. All Rights Reserved.

Official FreeB 2.0 text:

http://oss.sgi.com/projects/FreeB/SGIFreeSWLicB.2.0.pdf

As always, this code has not been tested for conformance with the OpenGL
specification.  OpenGL conformance testing is available from
http://khronos.org/ and is required for use of the OpenGL logo in
product advertising and promotion.

15 years agoglx: re-add glapi/ path
Brian [Fri, 19 Sep 2008 03:22:08 +0000 (21:22 -0600)]
glx: re-add glapi/ path

15 years agomesa: remove unneeded s_drawpix.h header
Brian [Fri, 19 Sep 2008 02:31:05 +0000 (20:31 -0600)]
mesa: remove unneeded s_drawpix.h header

15 years agoglx: added "glapi/" prefix to include
Brian [Fri, 19 Sep 2008 02:27:16 +0000 (20:27 -0600)]
glx: added "glapi/" prefix to include

15 years agomesa: fix asst path/include mistakes in prev commits
Chris Rankin [Thu, 18 Sep 2008 22:48:11 +0000 (16:48 -0600)]
mesa: fix asst path/include mistakes in prev commits

15 years agomesa: fix null ptr deref bug in _tnl_InvalidateState(), bug 15834
Brian Paul [Thu, 18 Sep 2008 21:29:57 +0000 (15:29 -0600)]
mesa: fix null ptr deref bug in _tnl_InvalidateState(), bug 15834

15 years agomesa: added "main/" prefix to includes, remove some -I paths from Makefile.template
Brian Paul [Thu, 18 Sep 2008 21:17:05 +0000 (15:17 -0600)]
mesa: added "main/" prefix to includes, remove some -I paths from Makefile.template

15 years agomesa: prefix more #includes with "main/"
Brian Paul [Thu, 18 Sep 2008 19:46:47 +0000 (13:46 -0600)]
mesa: prefix more #includes with "main/"

15 years agomesa: remove a bunch of -I paths from INCLUDE_DIRS
Brian Paul [Thu, 18 Sep 2008 19:34:57 +0000 (13:34 -0600)]
mesa: remove a bunch of -I paths from INCLUDE_DIRS

15 years agoglx: remove #include "glheader.h" lines
Brian Paul [Thu, 18 Sep 2008 19:26:30 +0000 (13:26 -0600)]
glx: remove #include "glheader.h" lines

Was only used to get the PUBLIC/USED macros.
Also, replace "GL_FALSE" with "False" in a couple places.

15 years agoglx: remove depency on glheader.h and GLboolean type in XF86DRI code
Brian Paul [Thu, 18 Sep 2008 19:23:06 +0000 (13:23 -0600)]
glx: remove depency on glheader.h and GLboolean type in XF86DRI code

Return Bool instead of GLboolean to match other functions.
Define PUBLIC/USED macros locally.

15 years agomesa: prefix a bunch of #include lines with "main/".
Brian Paul [Thu, 18 Sep 2008 18:26:54 +0000 (12:26 -0600)]
mesa: prefix a bunch of #include lines with "main/".

This is another step toward removing a whole bunch of -I flags from
the cc commands.  Still need to address driver code...

15 years agomesa: fix bug in previous changes to _slang_resolve_attributes()
Brian Paul [Wed, 17 Sep 2008 15:05:04 +0000 (09:05 -0600)]
mesa: fix bug in previous changes to _slang_resolve_attributes()

15 years agointel: Destroy bufmgr in screen destroy, not context.
Eric Anholt [Wed, 17 Sep 2008 00:01:06 +0000 (17:01 -0700)]
intel: Destroy bufmgr in screen destroy, not context.

Caused server crashes on second context creation since
7e0bbdcf033981282978554c2e68ce48b55aa291.

Bug #17600.

15 years agomesa: rework GLSL vertex attribute binding
Brian Paul [Tue, 16 Sep 2008 22:28:36 +0000 (16:28 -0600)]
mesa: rework GLSL vertex attribute binding

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.

15 years agomesa: fix display list regression (check if save->prim_count > 0 in vbo_save_EndList())
Brian Paul [Tue, 16 Sep 2008 19:23:01 +0000 (13:23 -0600)]
mesa: fix display list regression (check if save->prim_count > 0 in vbo_save_EndList())

15 years agomesa: fix MSAA enable state in update_multisample()
Brian Paul [Mon, 15 Sep 2008 23:10:04 +0000 (17:10 -0600)]
mesa: fix MSAA enable state in update_multisample()

15 years agomesa: remove some assertions that are invalid during context tear-down
Brian Paul [Mon, 15 Sep 2008 15:07:32 +0000 (09:07 -0600)]
mesa: remove some assertions that are invalid during context tear-down

15 years agomesa: get another class of degenerate dlists working
Keith Whitwell [Mon, 15 Sep 2008 12:47:25 +0000 (13:47 +0100)]
mesa: get another class of degenerate dlists working

Primitive begin in one dlist, end in another.

15 years agoadd dlist-degenerate test case
Keith Whitwell [Mon, 15 Sep 2008 12:47:12 +0000 (13:47 +0100)]
add dlist-degenerate test case

15 years agoglut: s/glut_fbc.c/glut_fcb.c/
Shane Blackett [Sun, 14 Sep 2008 23:51:01 +0000 (17:51 -0600)]
glut: s/glut_fbc.c/glut_fcb.c/

15 years agotdfx: fix crash and lack of visuals bug
Jakub Bogusz [Sat, 13 Sep 2008 20:35:02 +0000 (14:35 -0600)]
tdfx: fix crash and lack of visuals bug

15 years agoi915: fix himask constant init for 64-bit build
Guillaume Melquiond [Sat, 13 Sep 2008 20:25:02 +0000 (14:25 -0600)]
i915: fix himask constant init for 64-bit build

15 years agoglx: fix 64-bit datatype issue
Guillaume Melquiond [Sat, 13 Sep 2008 20:24:31 +0000 (14:24 -0600)]
glx: fix 64-bit datatype issue

15 years agomesa: return after _mesa_problem() calls
Guillaume Melquiond [Sat, 13 Sep 2008 20:23:39 +0000 (14:23 -0600)]
mesa: return after _mesa_problem() calls

15 years agomesa: #include <stdio.h>
Guillaume Melquiond [Sat, 13 Sep 2008 20:23:14 +0000 (14:23 -0600)]
mesa: #include <stdio.h>

15 years agoremove invalid XDestroyWindow() call
Guillaume Melquiond [Sat, 13 Sep 2008 20:22:15 +0000 (14:22 -0600)]
remove invalid XDestroyWindow() call

15 years agosilence warning
Guillaume Melquiond [Sat, 13 Sep 2008 20:21:50 +0000 (14:21 -0600)]
silence warning

15 years agoGLU: fix asst warnings
Guillaume Melquiond [Sat, 13 Sep 2008 20:20:14 +0000 (14:20 -0600)]
GLU: fix asst warnings

15 years agointel: Add a width field to regions, and use it for making miptrees in TFP.
Eric Anholt [Fri, 12 Sep 2008 22:48:13 +0000 (15:48 -0700)]
intel: Add a width field to regions, and use it for making miptrees in TFP.

Otherwise, we would use the pitch as width of the texture, and compiz would
render the pitch padding on the right hand side.

15 years agoFinish off the previous fix for TFP.
Eric Anholt [Fri, 12 Sep 2008 21:18:14 +0000 (14:18 -0700)]
Finish off the previous fix for TFP.

A couple of those lines of debug printfs I deleted weren't actually debug
printfs.

15 years agointel: Don't segfault on TFP from a bad drawable.
Eric Anholt [Fri, 12 Sep 2008 20:47:37 +0000 (13:47 -0700)]
intel: Don't segfault on TFP from a bad drawable.

15 years agointel: Remove dead allow_batchbuffer param.
Eric Anholt [Thu, 11 Sep 2008 16:50:47 +0000 (09:50 -0700)]
intel: Remove dead allow_batchbuffer param.

15 years agodri/swrast: fix swapBuffers after dri2
George Sapountzis [Fri, 12 Sep 2008 09:43:10 +0000 (12:43 +0300)]
dri/swrast: fix swapBuffers after dri2

15 years agoi965: Add support for G41 chipset which is another 4 series.
Xiang, Haihao [Fri, 12 Sep 2008 01:25:34 +0000 (09:25 +0800)]
i965: Add support for G41 chipset which is another 4 series.

15 years agoadded 24bpp support
Shane Blackett [Thu, 11 Sep 2008 14:35:27 +0000 (08:35 -0600)]
added 24bpp support

15 years agoFixes for Mingw
Shane Blackett [Wed, 10 Sep 2008 14:22:45 +0000 (08:22 -0600)]
Fixes for Mingw

15 years agointel: track move of bo_exec from drivers to bufmgr.
Eric Anholt [Mon, 8 Sep 2008 15:52:48 +0000 (08:52 -0700)]
intel: track move of bo_exec from drivers to bufmgr.

15 years agointel: track bufmgr move to libdrm_intel and bufmgr_fake irq emit/wait change.
Eric Anholt [Sat, 6 Sep 2008 02:09:43 +0000 (03:09 +0100)]
intel: track bufmgr move to libdrm_intel and bufmgr_fake irq emit/wait change.

15 years agointel: Move the bufmgr back to the screen.
Eric Anholt [Thu, 4 Sep 2008 21:16:31 +0000 (22:16 +0100)]
intel: Move the bufmgr back to the screen.

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.

15 years agomesa: replace MALLOC w/ CALLOC to fix memory error in glPushClientAttrib()
Brian Paul [Fri, 5 Sep 2008 14:06:59 +0000 (08:06 -0600)]
mesa: replace MALLOC w/ CALLOC to fix memory error in glPushClientAttrib()

15 years agomesa: replace MALLOC w/ CALLOC to fix valgrind warning
Brian Paul [Thu, 4 Sep 2008 21:25:32 +0000 (15:25 -0600)]
mesa: replace MALLOC w/ CALLOC to fix valgrind warning

15 years agointel: only enable occlusion query if the drm has defines.
Dave Airlie [Fri, 5 Sep 2008 03:48:51 +0000 (13:48 +1000)]
intel: only enable occlusion query if the drm has defines.

This interface has to be re-written to not be dumb and to work
for multiple apps.

15 years agomesa: improved gl_buffer_object reference counting
Brian Paul [Thu, 4 Sep 2008 20:58:02 +0000 (14:58 -0600)]
mesa: improved gl_buffer_object reference counting

Use new _mesa_reference_buffer_object() function wherever possible.
Fixes buffer object/display list crash reported in ParaView.

15 years agoconfigure.ac: bump dri2proto requirement, drop TTM_API define.
Kristian Høgsberg [Thu, 4 Sep 2008 10:23:14 +0000 (06:23 -0400)]
configure.ac: bump dri2proto requirement, drop TTM_API define.

15 years agointel: Fix depth_stencil texture.
Xiang, Haihao [Thu, 4 Sep 2008 03:35:15 +0000 (11:35 +0800)]
intel: Fix depth_stencil texture.

15 years agomesa: merge stencil values into depth values for MESA_FORMAT_S8_Z24
Xiang, Haihao [Thu, 4 Sep 2008 03:32:52 +0000 (11:32 +0800)]
mesa: merge stencil values into depth values for MESA_FORMAT_S8_Z24

15 years agomesa: Support for MESA_FORMAT_S8_Z24 texture
Jakob Bornecrantz [Thu, 4 Sep 2008 02:35:01 +0000 (10:35 +0800)]
mesa: Support for MESA_FORMAT_S8_Z24 texture

cherry-picked from gallium-0.1

15 years agointel: Fix prototype warning.
Eric Anholt [Wed, 3 Sep 2008 15:13:18 +0000 (16:13 +0100)]
intel: Fix prototype warning.

15 years agointel: Fix refcounting on depth buffer initialization in DRI2.
Eric Anholt [Wed, 3 Sep 2008 11:36:43 +0000 (12:36 +0100)]
intel: Fix refcounting on depth buffer initialization in DRI2.

(Reverts a change to work around the problem on 965).

15 years agointel: Fix a crash if dri2 is disabled.
Xiang, Haihao [Wed, 3 Sep 2008 06:47:36 +0000 (14:47 +0800)]
intel: Fix a crash if dri2 is disabled.

15 years agofix BUFFER_DEPTH/BUFFER_ACCUM mix-up
Brian Paul [Wed, 3 Sep 2008 00:10:34 +0000 (18:10 -0600)]
fix BUFFER_DEPTH/BUFFER_ACCUM mix-up

15 years agofix no error generated when calling glLight{if}[v] inside begin/end (bug 17408)
Roland Scheidegger [Tue, 2 Sep 2008 13:48:50 +0000 (15:48 +0200)]
fix no error generated when calling glLight{if}[v] inside begin/end (bug 17408)

15 years agoFix build by removing #include of removed dri_sarea.h.
Michel Dänzer [Mon, 1 Sep 2008 09:43:29 +0000 (11:43 +0200)]
Fix build by removing #include of removed dri_sarea.h.

Thanks to JohnFlux on IRC for pointing out the problem.

15 years agoDRI2: Drop sarea, implement swap buffers in the X server.
Kristian Høgsberg [Wed, 13 Aug 2008 15:46:25 +0000 (11:46 -0400)]
DRI2: Drop sarea, implement swap buffers in the X server.

15 years agoi965: force thread switch after IF/ELSE/ENDIF. partial fix for #16882.
Xiang, Haihao [Fri, 29 Aug 2008 01:49:16 +0000 (09:49 +0800)]
i965: force thread switch after IF/ELSE/ENDIF. partial fix for #16882.

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.

15 years agoi965: mask control for BREAK/CONT/DO/WHILE. partial fix fox #16882
Xiang, Haihao [Fri, 29 Aug 2008 01:27:28 +0000 (09:27 +0800)]
i965: mask control for BREAK/CONT/DO/WHILE. partial fix fox #16882

15 years agoi965: Push/pop instruction state. partial fix for #16882
Xiang, Haihao [Fri, 29 Aug 2008 01:22:41 +0000 (09:22 +0800)]
i965: Push/pop instruction state. partial fix for #16882

15 years agomesa: bump MAX_INSN to 350
Brian Paul [Thu, 28 Aug 2008 21:15:00 +0000 (15:15 -0600)]
mesa: bump MAX_INSN to 350

15 years agomesa: don't check for GLSL 1.2 to advertise GL 2.1
Brian Paul [Tue, 26 Aug 2008 22:13:39 +0000 (16:13 -0600)]
mesa: don't check for GLSL 1.2 to advertise GL 2.1

The GLSL 1.2 features are minor...

15 years agoadded 7.1 MD5 sums
Brian Paul [Tue, 26 Aug 2008 22:12:29 +0000 (16:12 -0600)]
added 7.1 MD5 sums

15 years agochange MESA_MINOR to 3
Brian Paul [Tue, 26 Aug 2008 21:59:06 +0000 (15:59 -0600)]
change MESA_MINOR to 3

15 years ago7.1 updates from 7.2 branch
Brian Paul [Tue, 26 Aug 2008 21:58:42 +0000 (15:58 -0600)]
7.1 updates from 7.2 branch

15 years agoasst. html doc updates
Timo Jyrinki [Tue, 26 Aug 2008 18:36:39 +0000 (12:36 -0600)]
asst. html doc updates

15 years agomesa: glsl: regenerated file
Brian Paul [Mon, 25 Aug 2008 15:20:26 +0000 (09:20 -0600)]
mesa: glsl: regenerated file

15 years agomesa: glsl: grab latest fixes from gallium-0.1 branch
Brian Paul [Mon, 25 Aug 2008 15:20:00 +0000 (09:20 -0600)]
mesa: glsl: grab latest fixes from gallium-0.1 branch

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.

15 years agomesa: set version string to 7.3-devel
Brian Paul [Mon, 25 Aug 2008 15:18:33 +0000 (09:18 -0600)]
mesa: set version string to 7.3-devel

15 years agoRevert "Revert "Merge branch 'drm-gem'""
Dave Airlie [Sun, 24 Aug 2008 07:59:10 +0000 (17:59 +1000)]
Revert "Revert "Merge branch 'drm-gem'""

This reverts commit 7c81124d7c4a4d1da9f48cbf7e82ab1a3a970a7a.

15 years agoRevert "Merge branch 'drm-gem'"
Dave Airlie [Sun, 24 Aug 2008 07:52:40 +0000 (17:52 +1000)]
Revert "Merge branch 'drm-gem'"

This reverts commit 53675e5c05c0598b7ea206d5c27dbcae786a2c03.

Conflicts:

src/mesa/drivers/dri/i965/brw_wm_surface_state.c

15 years ago965: Fix incorrect backface culling
Krzysztof Czurylo [Thu, 21 Aug 2008 22:01:36 +0000 (15:01 -0700)]
965: Fix incorrect backface culling

Fix incorrect backface culling for OGL tunnel in wireframe and
point mode.

15 years agoCall _ae_update_state when array enable state changes
Krzysztof Czurylo [Thu, 21 Aug 2008 22:01:20 +0000 (15:01 -0700)]
Call _ae_update_state when array enable state changes

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.

15 years ago965: Fix color clamping issues
Krzysztof Czurylo [Wed, 30 Jul 2008 17:19:08 +0000 (10:19 -0700)]
965: Fix color clamping issues

Patch is correctly applied this time.

15 years agoFormatting changes to ease application of patches
Ian Romanick [Wed, 30 Jul 2008 17:00:48 +0000 (10:00 -0700)]
Formatting changes to ease application of patches

15 years agoi965: use dri_bo_subdata in vertex upload to get pwrite used.
Eric Anholt [Thu, 21 Aug 2008 19:12:18 +0000 (12:12 -0700)]
i965: use dri_bo_subdata in vertex upload to get pwrite used.

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.

15 years agoFlush vertices when updating texObj->GenerateMipmap state.
Eric Anholt [Thu, 21 Aug 2008 18:20:20 +0000 (11:20 -0700)]
Flush vertices when updating texObj->GenerateMipmap state.

Caught by texturing/gen-teximage test in piglit.

15 years agoReport damage before modifying the area, not after.
Peter Hutterer [Thu, 21 Aug 2008 09:22:40 +0000 (11:22 +0200)]
Report damage before modifying the area, not after.

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 .

15 years agointel: Fix SGIS_generate_mipmap after a miptree had been validated.
Eric Anholt [Thu, 21 Aug 2008 05:55:47 +0000 (22:55 -0700)]
intel: Fix SGIS_generate_mipmap after a miptree had been validated.

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.

15 years agouse ftransform()
Brian Paul [Wed, 20 Aug 2008 21:32:33 +0000 (15:32 -0600)]
use ftransform()

15 years agoglx: free driScreen in FreeScreenConfigs()
Kristof Ralovich [Wed, 20 Aug 2008 21:30:12 +0000 (15:30 -0600)]
glx: free driScreen in FreeScreenConfigs()

15 years agoglx: free context in driDestroyContext()
Kristof Ralovich [Wed, 20 Aug 2008 21:24:04 +0000 (15:24 -0600)]
glx: free context in driDestroyContext()

15 years agoglx: free vertex array state when context is destroyed
Kristof Ralovich [Wed, 20 Aug 2008 21:18:38 +0000 (15:18 -0600)]
glx: free vertex array state when context is destroyed

15 years agofix mem leak (free psc->visuals)
Kristof Ralovich [Wed, 20 Aug 2008 21:06:09 +0000 (15:06 -0600)]
fix mem leak (free psc->visuals)

15 years agomesa: fix float blend bug
Mark Anderson [Tue, 19 Aug 2008 14:31:08 +0000 (08:31 -0600)]
mesa: fix float blend bug

15 years agomesa: move old/obsolete MESA extensions specs to OLD/ directory
Brian Paul [Mon, 18 Aug 2008 22:49:33 +0000 (16:49 -0600)]
mesa: move old/obsolete MESA extensions specs to OLD/ directory

15 years agoi965: fixup format for TFP zero copy
Dave Airlie [Fri, 25 Jul 2008 10:32:22 +0000 (20:32 +1000)]
i965: fixup format for TFP zero copy
(cherry picked from commit 9bc9e0ecb0fb2069b2c123e665eb2118e358098f which
was lost in a merge)

15 years agoi965: make tex offset override work..
Dave Airlie [Fri, 25 Jul 2008 09:56:56 +0000 (19:56 +1000)]
i965: make tex offset override work..

should fix fd.o 14441

(cherry-picked from commit d4244683a61f66cfb78408a37cf2587587847f96 which was
lost in a merge)