mesa.git
15 years agomesa: Add _mesa_snprintf.
José Fonseca [Wed, 7 Jan 2009 12:02:06 +0000 (12:02 +0000)]
mesa: Add _mesa_snprintf.

On Windows snprintf is renamed as _snprintf.

15 years agomesa: fix GL_DEPTH_CLEAR_VALUE casting
Brian Paul [Tue, 6 Jan 2009 21:21:27 +0000 (14:21 -0700)]
mesa: fix GL_DEPTH_CLEAR_VALUE casting

15 years agomesa: fix float->int mapping for glGetIntegerv(GL_DEPTH_CLEAR_VALUE)
Brian Paul [Tue, 6 Jan 2009 21:18:45 +0000 (14:18 -0700)]
mesa: fix float->int mapping for glGetIntegerv(GL_DEPTH_CLEAR_VALUE)

(cherry picked from commit 8124faf89d638285d8e9aa93adc3ca7f4ee729f3)

Conflicts:

src/mesa/main/get.c

15 years agomesa: Move var declaration to top of scope.
José Fonseca [Tue, 6 Jan 2009 19:18:13 +0000 (19:18 +0000)]
mesa: Move var declaration to top of scope.

15 years agowgl: Do not provide DllMain inside the state tracker.
José Fonseca [Tue, 6 Jan 2009 16:45:12 +0000 (16:45 +0000)]
wgl: Do not provide DllMain inside the state tracker.

MS CRT libraries already provide a default DllMain entrypoint, and
MS Linker will complain if it finds the same symbol in two different
libraries. Therefore the DllMain has to be in (each) winsys.

15 years agogdi: Fix warning.
José Fonseca [Tue, 6 Jan 2009 16:22:54 +0000 (16:22 +0000)]
gdi: Fix warning.

15 years agowgl: Ensure public symbols get the proper DLL linkage attributes.
José Fonseca [Tue, 6 Jan 2009 16:21:47 +0000 (16:21 +0000)]
wgl: Ensure public symbols get the proper DLL linkage attributes.

15 years agoglut: Fix build.
José Fonseca [Tue, 6 Jan 2009 16:20:23 +0000 (16:20 +0000)]
glut: Fix build.

15 years agomesa: Ensure gl* symbols are marked as dllexport on windows.
José Fonseca [Tue, 6 Jan 2009 16:20:12 +0000 (16:20 +0000)]
mesa: Ensure gl* symbols are marked as dllexport on windows.

15 years agoscons: Choose the appropriate MSVC CRT.
José Fonseca [Tue, 6 Jan 2009 16:16:38 +0000 (16:16 +0000)]
scons: Choose the appropriate MSVC CRT.

15 years agomesa: Use explicit casts when precision is lost.
José Fonseca [Tue, 6 Jan 2009 16:01:11 +0000 (16:01 +0000)]
mesa: Use explicit casts when precision is lost.

Silences MSVC.

15 years agomesa: Fix windows build when UNICODE is defined.
José Fonseca [Thu, 8 Jan 2009 12:04:03 +0000 (12:04 +0000)]
mesa: Fix windows build when UNICODE is defined.

15 years agoMerge commit 'origin/master' into gallium-0.2
Brian Paul [Tue, 6 Jan 2009 15:15:54 +0000 (08:15 -0700)]
Merge commit 'origin/master' into gallium-0.2

Conflicts:

src/mesa/drivers/dri/common/dri_util.c

15 years agocell: replace 0 with -1 in SPE_COUNT_USABLE_SPES query
Jonathan Adamczewski [Tue, 6 Jan 2009 15:02:55 +0000 (08:02 -0700)]
cell: replace 0 with -1 in SPE_COUNT_USABLE_SPES query

15 years agomesa: remove dri_sarea.h, add glcore.h in Makefile
Brian Paul [Tue, 6 Jan 2009 14:35:45 +0000 (07:35 -0700)]
mesa: remove dri_sarea.h, add glcore.h in Makefile

15 years agomesa: Fix the size per pixel for packed pixel format data type.
Xiang, Haihao [Tue, 6 Jan 2009 07:37:45 +0000 (15:37 +0800)]
mesa: Fix the size per pixel for packed pixel format data type.

15 years agomesa: Fix the number of components for GL_UNSIGNED_SHORT_1_5_5_5_REV. (bug #19390)
Xiang, Haihao [Tue, 6 Jan 2009 07:30:34 +0000 (15:30 +0800)]
mesa: Fix the number of components for GL_UNSIGNED_SHORT_1_5_5_5_REV. (bug #19390)

15 years agodri: correct the damage.
Xiang, Haihao [Tue, 6 Jan 2009 03:22:19 +0000 (11:22 +0800)]
dri: correct the damage.

Fixes bug #17234

15 years agocell: fix code emit for RSQ/RCP when src arg == dst arg
Brian Paul [Tue, 6 Jan 2009 02:50:54 +0000 (19:50 -0700)]
cell: fix code emit for RSQ/RCP when src arg == dst arg

Fixes moire-like artifacts seen in fslight demo.

15 years agomesa: add GLushort cases for render to texture (Z-buffers)
Brian Paul [Tue, 6 Jan 2009 00:52:14 +0000 (17:52 -0700)]
mesa: add GLushort cases for render to texture (Z-buffers)

15 years agonv50: fill image unit index in TEX varients
Ben Skeggs [Mon, 5 Jan 2009 05:04:41 +0000 (16:04 +1100)]
nv50: fill image unit index in TEX varients

15 years agonv50: fix crash in nv50_program_destroy
Ben Skeggs [Mon, 5 Jan 2009 04:56:19 +0000 (15:56 +1100)]
nv50: fix crash in nv50_program_destroy

15 years agonv50: working towards 3D textures
Ben Skeggs [Mon, 5 Jan 2009 03:56:41 +0000 (14:56 +1100)]
nv50: working towards 3D textures

15 years agonv50: slightly better miptree allocation
Ben Skeggs [Mon, 5 Jan 2009 03:07:48 +0000 (14:07 +1100)]
nv50: slightly better miptree allocation

I swear this didn't work last time I tried it..  Anyhow, still only
suitable for 2D miptrees - more coming once I know the layout.

15 years agonv50: add TXP to TEX case.. not correct, but anyway..
Ben Skeggs [Mon, 5 Jan 2009 03:06:43 +0000 (14:06 +1100)]
nv50: add TXP to TEX case.. not correct, but anyway..

15 years agonv50: indentation for TEX is a little overenthusiastic
Ben Skeggs [Mon, 5 Jan 2009 02:41:12 +0000 (13:41 +1100)]
nv50: indentation for TEX is a little overenthusiastic

15 years agonv50: ensure we actually get contiguous regs for TEX insn.
Ben Skeggs [Mon, 5 Jan 2009 02:38:47 +0000 (13:38 +1100)]
nv50: ensure we actually get contiguous regs for TEX insn.

Still many more horrible things to fix here...

15 years agomesa: fix a GLSL swizzled writemask bug
Brian Paul [Mon, 5 Jan 2009 20:12:12 +0000 (13:12 -0700)]
mesa: fix a GLSL swizzled writemask bug

This fixes cases such as:
  vec4 v4;
  vec2 v2;
  v4.xz.yx = v2;
The last line now correctly compiles into MOV TEMP[1].xz, TEMP[0].yyxw;
Helps to fix the Humus Domino demo.  See bug 19189.

15 years agoi965: implement OPCODE_TRUNC (round toward zero) on vertex path.
Brian Paul [Mon, 5 Jan 2009 17:09:28 +0000 (10:09 -0700)]
i965: implement OPCODE_TRUNC (round toward zero) on vertex path.

Also, fix some RNDD vs. RNDZ confusion elsewhere.

15 years agoglu: Add mangled symbols to export list
Tom Fogal [Mon, 5 Jan 2009 14:59:41 +0000 (07:59 -0700)]
glu: Add mangled symbols to export list

This adds all of the `mglu' symbols to the list of symbol exports
for GLU.  Without this patch, mangled GLU symbols are considered
`internal' symbols, and calling any results in undefined references.

15 years agocell: SIMDize sorting in setup_sort_vertices()
Jonathan Adamczewski [Mon, 5 Jan 2009 14:52:17 +0000 (07:52 -0700)]
cell: SIMDize sorting in setup_sort_vertices()

Put setup.v{min,mid,max,provoke} into a union with qword vertex_headers.
Rewrite vertex sorting to more efficiently handle the packed data items.
Reduces spu_tri.o by ~128 bytes.

15 years agocell: SIMDize some subtractions
Jonathan Adamczewski [Mon, 5 Jan 2009 14:49:48 +0000 (07:49 -0700)]
cell: SIMDize some subtractions

Put edge.{dx,dy} into a union with a vector and perform subtractions in
setup_sort_vertices() on vectors.

Reduces spu_tri.o by ~300 bytes.

15 years agoprogs/glsl: Add ignores
Jakob Bornecrantz [Mon, 5 Jan 2009 10:50:57 +0000 (11:50 +0100)]
progs/glsl: Add ignores

15 years agoprogs/glsl: Remove double target def for vert-or-frag-only
Jakob Bornecrantz [Mon, 5 Jan 2009 10:49:45 +0000 (11:49 +0100)]
progs/glsl: Remove double target def for vert-or-frag-only

15 years agocell: improvements to spu_tri.c
Jonathan Adamczewski [Mon, 5 Jan 2009 01:48:46 +0000 (18:48 -0700)]
cell: improvements to spu_tri.c

Replace int setup.span{left,right}[2] with vec_uint4 setup.span.quad
SIMDize calculate_mask() and inline into into flush_spans()
Set setup.span.quad members using spu_shuffle() or spu_sel().
Reduces spu_tri.o by ~116 bytes.

15 years agocell: new spu_shuffle.h header
Jonathan Adamczewski [Mon, 5 Jan 2009 01:46:44 +0000 (18:46 -0700)]
cell: new spu_shuffle.h header

Facilitates creation of shuffle patterns for use with spu_shuffle()
and si_shufb() intrinsics.

To be used by subsequent patches.

15 years agocell: initial codegen support for fragment shader loops
Brian Paul [Mon, 5 Jan 2009 01:40:48 +0000 (18:40 -0700)]
cell: initial codegen support for fragment shader loops

Basic for/while loops work now.
Only one level of loop nesting is supported at this time (same for if/else).
The progs/glsl/mandelbrot demo works, but the colors are too dim.

15 years agocell: add support for PIPE_CAP_TEXTURE_MIRROR_REPEAT query
Brian Paul [Mon, 5 Jan 2009 01:38:42 +0000 (18:38 -0700)]
cell: add support for PIPE_CAP_TEXTURE_MIRROR_REPEAT query

We don't really support this texwrap mode yet, but this enables GL 2.1

15 years agocell: clean-up, improve SPU code generation
Brian Paul [Sun, 4 Jan 2009 17:14:19 +0000 (10:14 -0700)]
cell: clean-up, improve SPU code generation

Start on ARL and address-relative indexing too.

15 years agogallium: fix MaxTextureCoordUnits init
Brian Paul [Sun, 4 Jan 2009 17:04:44 +0000 (10:04 -0700)]
gallium: fix MaxTextureCoordUnits init

Fixes Cell regression.

15 years agocell: fix typo (s/10/0)
Brian [Sat, 3 Jan 2009 21:44:34 +0000 (14:44 -0700)]
cell: fix typo (s/10/0)

15 years agodemos: remove redundant Makefile lines from prev merge
Brian [Tue, 23 Dec 2008 21:46:25 +0000 (15:46 -0600)]
demos: remove redundant Makefile lines from prev merge

15 years agomesa: fix warning about possibly undefined var in GLSL compiler
Brian Paul [Sat, 3 Jan 2009 00:30:08 +0000 (17:30 -0700)]
mesa: fix warning about possibly undefined var in GLSL compiler

15 years agosoftpipe: increase number of texture samplers/units to PIPE_MAX_SAMPLERS (16)
Brian Paul [Fri, 2 Jan 2009 23:55:33 +0000 (16:55 -0700)]
softpipe: increase number of texture samplers/units to PIPE_MAX_SAMPLERS (16)

15 years agogallium: assorted state tracker fixes for > 8 texture samplers
Brian Paul [Fri, 2 Jan 2009 23:54:11 +0000 (16:54 -0700)]
gallium: assorted state tracker fixes for > 8 texture samplers

15 years agomesa: replace CC with APP_CC in progs/glsl/Makefile
Brian Paul [Fri, 2 Jan 2009 23:52:00 +0000 (16:52 -0700)]
mesa: replace CC with APP_CC in progs/glsl/Makefile

15 years agoMerge commit 'origin/master' into gallium-0.2
Brian Paul [Fri, 2 Jan 2009 23:32:26 +0000 (16:32 -0700)]
Merge commit 'origin/master' into gallium-0.2

Conflicts:

src/mesa/main/ffvertex_prog.c
src/mesa/main/texenvprogram.c

15 years agogallium: fix texcoord loop for rasterpos attributes
Brian Paul [Fri, 2 Jan 2009 23:16:16 +0000 (16:16 -0700)]
gallium: fix texcoord loop for rasterpos attributes

15 years agogallium: clamp MaxVertexTextureImageUnits against Mesa limit
Brian Paul [Fri, 2 Jan 2009 23:15:43 +0000 (16:15 -0700)]
gallium: clamp MaxVertexTextureImageUnits against Mesa limit

15 years agomesa: remove redudant lines for libglapi.a
Brian Paul [Fri, 2 Jan 2009 23:15:16 +0000 (16:15 -0700)]
mesa: remove redudant lines for libglapi.a

15 years agomesa: fix another "out of samplers" problem
Brian Paul [Fri, 2 Jan 2009 19:26:15 +0000 (12:26 -0700)]
mesa: fix another "out of samplers" problem

Now only the samplers that are actually used by texture() functions are
saved in the uniform variable list.  Before, we could run out of samplers
if too many were declared while only some of them were actually used.

15 years agoi965: increase number of texture samplers to 16
Brian Paul [Thu, 1 Jan 2009 21:04:57 +0000 (14:04 -0700)]
i965: increase number of texture samplers to 16

This lets GLSL shaders use up to 16 samplers.
Fixed function is still limited to 8 textures.
Tested with progs/glsl/samplers.c

15 years agoi965: comments, clean-ups, re-order some functions
Brian Paul [Thu, 1 Jan 2009 19:03:07 +0000 (12:03 -0700)]
i965: comments, clean-ups, re-order some functions

15 years agoi965: added OPCODE_NRM3/4
Brian Paul [Thu, 1 Jan 2009 00:16:44 +0000 (17:16 -0700)]
i965: added OPCODE_NRM3/4

15 years agoi965: fix comment
Brian Paul [Thu, 1 Jan 2009 00:16:27 +0000 (17:16 -0700)]
i965: fix comment

15 years agoi965: indentation and formatting fixes
Brian Paul [Thu, 1 Jan 2009 00:01:44 +0000 (17:01 -0700)]
i965: indentation and formatting fixes

15 years agoi965: implement OPCODE_NRM3/NRM4
Brian Paul [Wed, 31 Dec 2008 23:49:58 +0000 (16:49 -0700)]
i965: implement OPCODE_NRM3/NRM4

15 years agoi965: whitespace, comment changes
Brian Paul [Wed, 31 Dec 2008 23:43:57 +0000 (16:43 -0700)]
i965: whitespace, comment changes

15 years agomesa: comments, whitespace changes
Brian Paul [Wed, 31 Dec 2008 23:38:10 +0000 (16:38 -0700)]
mesa: comments, whitespace changes

15 years agodemos: added progs/glsl/samplers.c to test all available texture samplers
Brian Paul [Thu, 1 Jan 2009 21:02:17 +0000 (14:02 -0700)]
demos: added progs/glsl/samplers.c to test all available texture samplers

15 years agomesa: updated comments about GLSL constants
Brian Paul [Thu, 1 Jan 2009 15:07:54 +0000 (08:07 -0700)]
mesa: updated comments about GLSL constants

15 years agomesa: increase max texture image units and GLSL samplers to 16
Brian Paul [Wed, 31 Dec 2008 18:54:02 +0000 (11:54 -0700)]
mesa: increase max texture image units and GLSL samplers to 16

The max texture coord units is still 8.  All the fixed-function paths are
still limited to 8 too.  But GLSL shaders can use more samplers now.

Note that some texcoord-related data structures are declared to be 16
elements in size rather than 8.  This just simplifies the code in a few
places; the extra elements aren't accessible to the user.

These changes haven't been extensively tested yet, but sanity checking has
been done.

It should be possible to increase the max image units/samplers to 32 without
doing anything special.  Beyond that we'll need longer bitfields in a few
places.

15 years agopython: Pass a zero offset to util_draw_vertex_buffer.
José Fonseca [Wed, 31 Dec 2008 15:03:35 +0000 (15:03 +0000)]
python: Pass a zero offset to util_draw_vertex_buffer.

15 years agoutil: List new file in SConscript.
José Fonseca [Wed, 31 Dec 2008 13:29:09 +0000 (13:29 +0000)]
util: List new file in SConscript.

15 years agoMerge commit 'origin/gallium-0.1' into gallium-0.2
José Fonseca [Wed, 31 Dec 2008 13:05:39 +0000 (13:05 +0000)]
Merge commit 'origin/gallium-0.1' into gallium-0.2

15 years agoi915: Avoid ptr->int conversion.
José Fonseca [Tue, 30 Dec 2008 20:12:28 +0000 (20:12 +0000)]
i915: Avoid ptr->int conversion.

15 years agodraw: Avoid integer overflow converting pointers on 64bit archs.
José Fonseca [Tue, 30 Dec 2008 20:10:24 +0000 (20:10 +0000)]
draw: Avoid integer overflow converting pointers on 64bit archs.

Not really an error, as we only care for the lower 4 bits.

15 years agointel: Share passthrough transform setup between glBitmap and glDrawPixels.
Eric Anholt [Wed, 31 Dec 2008 08:29:49 +0000 (00:29 -0800)]
intel: Share passthrough transform setup between glBitmap and glDrawPixels.

The DrawPixels path was missing glViewport care, so blender's toolbar icons
would go to the wrong places.

Bug #19118.

15 years agointel: Add support for glBitmap as metaops using GL calls.
Eric Anholt [Wed, 31 Dec 2008 08:02:43 +0000 (00:02 -0800)]
intel: Add support for glBitmap as metaops using GL calls.

This lets us avoid software fallbacks when clients forget to turn some state
off (engine demo) or just do crazy things to test conformance (OGLC).

This should probably be brought into mesa generic code so other drivers can
make use of it.

Bug #19016.

15 years agoMerge commit 'origin/master' into gallium-0.2
Brian Paul [Wed, 31 Dec 2008 01:01:15 +0000 (18:01 -0700)]
Merge commit 'origin/master' into gallium-0.2

Conflicts:

src/mesa/main/config.h

15 years agomesa: fix bug in evaluation of structure fields
Brian Paul [Wed, 31 Dec 2008 00:50:39 +0000 (17:50 -0700)]
mesa: fix bug in evaluation of structure fields

Fixes incorrect size information.  See bug 19273.

15 years agomesa: allow variable indexing into the predefined uniform variable arrays
Brian Paul [Wed, 31 Dec 2008 00:11:32 +0000 (17:11 -0700)]
mesa: allow variable indexing into the predefined uniform variable arrays

This allows code such as "vec4 a = gl_LightSource[i].ambient;" to work.

When a built-in uniform array is indexed with a variable index we need to
"unroll" the whole array into the parameter list (aka constant buffer) because
we don't know which elements may be accessed at compile-time.  In the case of
the gl_LightSource array of size [8], we emit 64 state references into the
parameter array (8 elements times 8 vec4s per gl_LightSourceParameters
struct).

Previously, we only allowed constant-indexed references to uniform arrays
(such as gl_LightSource[2].position) which resulted in a single state reference
being added to the parameter array, not 64.  We still optimize this case.

Users should be aware that using "gl_LightSource[i].ambient" in their shaders
is a bit expensive since state validation will involve updating all 64
light source entries in the parameter list.

15 years agomesa: better error message when running out of GLSL samplers
Brian Paul [Wed, 31 Dec 2008 00:03:09 +0000 (17:03 -0700)]
mesa: better error message when running out of GLSL samplers

15 years agomesa: comments for some state vars
Brian Paul [Wed, 31 Dec 2008 00:00:36 +0000 (17:00 -0700)]
mesa: comments for some state vars

15 years agomesa: increase max constants/uniforms to 256 (vec4 vectors)
Brian Paul [Wed, 31 Dec 2008 00:00:06 +0000 (17:00 -0700)]
mesa: increase max constants/uniforms to 256 (vec4 vectors)

15 years agogallium: Initialize var before use.
José Fonseca [Tue, 30 Dec 2008 19:21:30 +0000 (19:21 +0000)]
gallium: Initialize var before use.

15 years agoglut: List new source file in sconscript.
José Fonseca [Tue, 30 Dec 2008 17:22:24 +0000 (17:22 +0000)]
glut: List new source file in sconscript.

15 years agomesa: Do not specify types in bitfields.
José Fonseca [Tue, 30 Dec 2008 17:21:25 +0000 (17:21 +0000)]
mesa: Do not specify types in bitfields.

As advised by gcc -pedantic.

15 years agodraw: Do not specify types in bitfields.
José Fonseca [Tue, 30 Dec 2008 17:21:15 +0000 (17:21 +0000)]
draw: Do not specify types in bitfields.

As advised by gcc -pedantic.

15 years agogallium: Remove unused variables.
José Fonseca [Tue, 30 Dec 2008 17:15:34 +0000 (17:15 +0000)]
gallium: Remove unused variables.

15 years agogallium: Don't redefine INLINE.
José Fonseca [Tue, 30 Dec 2008 17:14:48 +0000 (17:14 +0000)]
gallium: Don't redefine INLINE.

INLINE is commonly used in third-party headers.

15 years agoscons: Specify C99 throughout all the tree.
José Fonseca [Tue, 30 Dec 2008 17:13:38 +0000 (17:13 +0000)]
scons: Specify C99 throughout all the tree.

MSVC may not support full C99, but supports more than plain C90. And
-pedantic without -std=c99 generates too many spurious warnings
(specially C++ style comments) to be of any use.

Note that using certain C99 features in the cross-platform parts of Gallium
is still not possible; namely mid-of-scope variable declarations and named
structure initializers will break MSVC builds.

15 years agortasm: Remove spurious semi-colons after function bodies.
José Fonseca [Tue, 30 Dec 2008 17:06:51 +0000 (17:06 +0000)]
rtasm: Remove spurious semi-colons after function bodies.

15 years agogdi: Remove accidental keypresses.
José Fonseca [Tue, 30 Dec 2008 16:35:46 +0000 (16:35 +0000)]
gdi: Remove accidental keypresses.

15 years agomesa: updated compilation documentation
Brian Paul [Tue, 30 Dec 2008 14:57:16 +0000 (07:57 -0700)]
mesa: updated compilation documentation

15 years agodemos: minor fixes to twoside.c glsl demo
Brian Paul [Thu, 18 Dec 2008 23:08:42 +0000 (16:08 -0700)]
demos: minor fixes to twoside.c glsl demo

15 years agointel: disable ATI_texture_env_combine3 for i830( and related device).
Xiang, Haihao [Tue, 30 Dec 2008 03:25:45 +0000 (11:25 +0800)]
intel: disable ATI_texture_env_combine3 for i830( and related device).

Thanks to Eric for pointing it out.

15 years agodri: Fix driWaitForMSC32 when divisor >= 2 and msc < 0.
Eric Anholt [Wed, 24 Dec 2008 00:08:40 +0000 (16:08 -0800)]
dri: Fix driWaitForMSC32 when divisor >= 2 and msc < 0.

We'd come up with a negative remainder, while we were looking for the positive
version of it in the loop conditional.  And, since the "did we hit our target"
break was disabled for the target_msc == 0 ("Just make the divisor/remainder
work") path, we'd never exit.

Simplify the code by just using int64_t all over instead of trying to do it
in a u32 space.

15 years agoR300: missing semicolon
Alex Deucher [Mon, 29 Dec 2008 17:28:12 +0000 (12:28 -0500)]
R300: missing semicolon

15 years agointel: enable ATI_texture_env_combine3. Fixes #17707
Xiang, Haihao [Mon, 29 Dec 2008 01:30:41 +0000 (09:30 +0800)]
intel: enable ATI_texture_env_combine3. Fixes #17707

15 years agor300: remove the unknowns from the indx_buffer code
Dave Airlie [Sun, 28 Dec 2008 06:48:36 +0000 (16:48 +1000)]
r300: remove the unknowns from the indx_buffer code

15 years agoi915: separate the fog term from the specular color term.
Xiang, Haihao [Wed, 24 Dec 2008 01:26:46 +0000 (09:26 +0800)]
i915: separate the fog term from the specular color term.

Previously fog parameter and specular color are packed into the
same dword. Note specular color should be packed in BGRA for device,
so if fog parameter and specular color all are present, fog parameter
will dirty the alpha term of specular color. This fixes rendering
issue when playing 'Yo Frankie' on 915/945.

15 years agointel: Fix glBitmap clipping for DRI1.
Eric Anholt [Tue, 23 Dec 2008 22:45:37 +0000 (14:45 -0800)]
intel: Fix glBitmap clipping for DRI1.

15 years agoRemove third buffer support from Mesa.
Dave Airlie [Sat, 20 Dec 2008 01:38:23 +0000 (17:38 -0800)]
Remove third buffer support from Mesa.

This is part of the deprecated pageflipping infrastructure.

15 years agoegl: fix egl closure
Alan Hourihane [Tue, 23 Dec 2008 15:33:46 +0000 (15:33 +0000)]
egl: fix egl closure

15 years agoegl: fix startup query version
Alan Hourihane [Tue, 23 Dec 2008 14:18:36 +0000 (14:18 +0000)]
egl: fix startup query version

15 years agoegl: support GLXFBConfigs, pbuffers and pixmaps.
Alan Hourihane [Tue, 23 Dec 2008 13:20:18 +0000 (13:20 +0000)]
egl: support GLXFBConfigs, pbuffers and pixmaps.

15 years agosoftpipe: Don't fill surfaces's winsys fields.
José Fonseca [Mon, 22 Dec 2008 20:23:59 +0000 (20:23 +0000)]
softpipe: Don't fill surfaces's winsys fields.

This is sometimes checked to distinguish between texture views and
(deprecated) standalone surfaces.

15 years agosoftpipe: Call surface_alloc_storage to get the pipebuffer for display targets.
José Fonseca [Mon, 22 Dec 2008 20:20:58 +0000 (20:20 +0000)]
softpipe: Call surface_alloc_storage to get the pipebuffer for display targets.

Otherwise blitting from display target surfaces to front screen fails in
several platforms.

15 years agoMerge commit 'origin/gallium-0.1' into gallium-0.2
José Fonseca [Mon, 22 Dec 2008 19:31:52 +0000 (19:31 +0000)]
Merge commit 'origin/gallium-0.1' into gallium-0.2

Conflicts:

src/gallium/auxiliary/util/Makefile