mesa.git
14 years agor600: move structs for legacy cmdbuf into cmdbuf C file.
Dave Airlie [Thu, 17 Dec 2009 04:23:08 +0000 (14:23 +1000)]
r600: move structs for legacy cmdbuf into cmdbuf C file.

these really shouldn't be exposed here

14 years agoprogs/perf: added check for GL_ARB_framebuffer_object
Brian Paul [Mon, 21 Dec 2009 20:48:58 +0000 (13:48 -0700)]
progs/perf: added check for GL_ARB_framebuffer_object

14 years agoprogs/demos: report pixel rate in million pixels / sec
Brian Paul [Fri, 11 Dec 2009 22:22:17 +0000 (15:22 -0700)]
progs/demos: report pixel rate in million pixels / sec

14 years agost/xorg Fail early if we don't intend to accelerate.
Thomas Hellstrom [Tue, 8 Dec 2009 11:48:56 +0000 (12:48 +0100)]
st/xorg Fail early if we don't intend to accelerate.

Saves a number of unneeded computations and log noise.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
14 years agodarwin: mklib: Use lipo rather than file to figure out architectures of object files
Jeremy Huddleston [Mon, 21 Dec 2009 05:34:27 +0000 (21:34 -0800)]
darwin: mklib: Use lipo rather than file to figure out architectures of object files
(cherry picked from commit ad7f9d71e22fb7667c90dbbc0558939b89a45154)

14 years agodarwin: Cleanup CPPFLAGS a bit
Jeremy Huddleston [Mon, 21 Dec 2009 05:32:35 +0000 (21:32 -0800)]
darwin: Cleanup CPPFLAGS a bit
(cherry picked from commit 4a1e103858a1db0fb037891b8d4a9426eff32b98)

14 years agoi915: Fix GL_TEXTURE_MAX_LEVEL support (piglit levelclamp test).
Eric Anholt [Sat, 19 Dec 2009 00:57:23 +0000 (16:57 -0800)]
i915: Fix GL_TEXTURE_MAX_LEVEL support (piglit levelclamp test).

14 years agoi915: Clean up some unnecessary x/y miptree code.
Eric Anholt [Sat, 19 Dec 2009 00:49:32 +0000 (16:49 -0800)]
i915: Clean up some unnecessary x/y miptree code.

The base of the texture is always the base of the miptree.  If it wasn't,
we'd have issues with this code due to miptrees not walking the same
direction for all LODs.

14 years agoi965: Add support for OPCODE_CMP in the VS to fix GLSL sqrt()
Eric Anholt [Tue, 15 Dec 2009 22:32:47 +0000 (14:32 -0800)]
i965: Add support for OPCODE_CMP in the VS to fix GLSL sqrt()

Bug #25628.  Fixes piglit case glsl-vs-sqrt-zero.

14 years agost/mesa: move assert on nr vs insns until after pos_invarient expansion
Keith Whitwell [Fri, 18 Dec 2009 18:39:44 +0000 (18:39 +0000)]
st/mesa: move assert on nr vs insns until after pos_invarient expansion

It is possible to have a 1-instruction vertex shader before expanding
pos_invarient.  Not sure what this assert achieved, but at least move
it where it is correct.

15 years agosvga: Do the gallium intel configure trick for svga as well
Jakob Bornecrantz [Sun, 19 Jul 2009 07:22:31 +0000 (09:22 +0200)]
svga: Do the gallium intel configure trick for svga as well

Since the drivers we produce on systems where we use
configure depend on none stable kernel API the driver
deliverables should not be built by default in the
mesa 7.7 release.

People wishing to shoot them self in the foot have to
pull the trigger themself, we just hand them the gun.

14 years agomesa: set version string to 7.7-rc3
Ian Romanick [Wed, 16 Dec 2009 17:15:09 +0000 (09:15 -0800)]
mesa: set version string to 7.7-rc3

14 years agoMerge branch 'mesa_7_6_branch' into mesa_7_7_branch
Ian Romanick [Wed, 16 Dec 2009 17:09:51 +0000 (09:09 -0800)]
Merge branch 'mesa_7_6_branch' into mesa_7_7_branch

Conflicts:
src/mesa/drivers/dri/unichrome/via_ioctl.c
src/mesa/drivers/dri/unichrome/via_screen.c
src/mesa/main/version.h
src/mesa/state_tracker/st_atom.c

14 years agomesa: set version string to 7.6.1-rc4
Ian Romanick [Wed, 16 Dec 2009 17:01:58 +0000 (09:01 -0800)]
mesa: set version string to 7.6.1-rc4

14 years agodocs: document 7.6.1 BlueGene fixes
Brian Paul [Wed, 16 Dec 2009 15:17:43 +0000 (08:17 -0700)]
docs: document 7.6.1 BlueGene fixes

14 years agomesa: test for __blrts for CPU_TO_LE32()
Brian Paul [Wed, 16 Dec 2009 15:04:23 +0000 (08:04 -0700)]
mesa: test for __blrts for CPU_TO_LE32()

See bug 25663.

14 years agomesa: no dlopen on BlueGene
Brian Paul [Wed, 16 Dec 2009 15:02:52 +0000 (08:02 -0700)]
mesa: no dlopen on BlueGene

See bug 25663.

14 years agomesa: remove //-style comments
Brian Paul [Wed, 16 Dec 2009 14:58:42 +0000 (07:58 -0700)]
mesa: remove //-style comments

14 years agost/mesa: remove //-style comments
Brian Paul [Wed, 16 Dec 2009 14:58:31 +0000 (07:58 -0700)]
st/mesa: remove //-style comments

14 years agounichrome: Silence compiler warnings.
Vinson Lee [Wed, 16 Dec 2009 01:39:30 +0000 (17:39 -0800)]
unichrome: Silence compiler warnings.

14 years agosis: Silence compiler warnings.
Vinson Lee [Wed, 16 Dec 2009 01:06:01 +0000 (17:06 -0800)]
sis: Silence compiler warnings.

14 years agosavage: Silence compiler warnings.
Vinson Lee [Wed, 16 Dec 2009 00:32:51 +0000 (16:32 -0800)]
savage: Silence compiler warnings.

14 years agor128: Silence uninitialized variable warnings in r128_tris.c.
Vinson Lee [Tue, 15 Dec 2009 21:12:12 +0000 (13:12 -0800)]
r128: Silence uninitialized variable warnings in r128_tris.c.

14 years agodri: Initialize variable in driBindContext.
Vinson Lee [Tue, 15 Dec 2009 21:04:25 +0000 (13:04 -0800)]
dri: Initialize variable in driBindContext.

14 years agoMerge branch 'mesa_7_6_branch' into mesa_7_7_branch
Ian Romanick [Tue, 15 Dec 2009 20:38:01 +0000 (12:38 -0800)]
Merge branch 'mesa_7_6_branch' into mesa_7_7_branch

Conflicts:
src/gallium/drivers/softpipe/sp_quad_blend.c

14 years agointel: Fallback to software if drawable size is > MaxRenderbufferSize
Ian Romanick [Tue, 15 Dec 2009 20:14:04 +0000 (12:14 -0800)]
intel: Fallback to software if drawable size is > MaxRenderbufferSize

This prevents the mystery blank window if, for example, glxgears is
resized larger than 2048 wide on 915.  Since the Intel drivers in Mesa
7.6 lack GTT mapped fallbacks, the performance is a slideshow at
best.  On Mesa 7.7 and later the performance is much better.

14 years agox86: ifdef out unused function cptr.
Vinson Lee [Tue, 15 Dec 2009 20:32:48 +0000 (12:32 -0800)]
x86: ifdef out unused function cptr.

14 years agomesa: Add missing $(DESTDIR) support to src/gallium/winsys/xlib/Makefile
Matthew Bell [Tue, 15 Dec 2009 04:58:19 +0000 (21:58 -0700)]
mesa: Add missing $(DESTDIR) support to src/gallium/winsys/xlib/Makefile

14 years agoprogs/trivial: Silence compiler warnings.
Vinson Lee [Tue, 15 Dec 2009 02:11:57 +0000 (18:11 -0800)]
progs/trivial: Silence compiler warnings.

14 years agomga: Silence uninitialized variable warnings.
Vinson Lee [Tue, 15 Dec 2009 01:30:15 +0000 (17:30 -0800)]
mga: Silence uninitialized variable warnings.

14 years agomach64: Silence uninitialized variable warnings.
Vinson Lee [Tue, 15 Dec 2009 01:20:34 +0000 (17:20 -0800)]
mach64: Silence uninitialized variable warnings.

14 years agoi965: Use current draw buffer instead of drawable visual to get alpha bits
Ian Romanick [Tue, 15 Dec 2009 00:16:26 +0000 (16:16 -0800)]
i965: Use current draw buffer instead of drawable visual to get alpha bits

Use the currently bound draw buffer instead of the visual from the
drawable used to create the context.  This cause problems generating
mipmaps for an RGBA texture in an RGB context.

This fixes the failure in piglit's glsl-lod-bias test reported in bug #25614.

14 years agovmwgfx: Update vmwgfx_drm.h to the on upstream
Jakob Bornecrantz [Mon, 14 Dec 2009 21:27:08 +0000 (22:27 +0100)]
vmwgfx: Update vmwgfx_drm.h to the on upstream

14 years agovmware/xorg: Use new stream ioctl
Jakob Bornecrantz [Mon, 14 Dec 2009 21:11:17 +0000 (22:11 +0100)]
vmware/xorg: Use new stream ioctl

14 years agomesa/meta: move BindTexture() call in _mesa_meta_GenerateMipmap()
Brian Paul [Mon, 14 Dec 2009 20:35:56 +0000 (13:35 -0700)]
mesa/meta: move BindTexture() call in _mesa_meta_GenerateMipmap()

This is a follow-up to commit e3fa700c178e11e6735430119232919176ab7b42.

The call to _mesa_BindTexture() must be before we set any other texture
object state, namely the _mesa_TexParameteri() calls.

This fixes bug 25601 (piglit gen-nonzero-unit failure).

14 years agoi810: Silence uninitialized variable warnings in i180tris.c
Vinson Lee [Sun, 13 Dec 2009 08:14:31 +0000 (00:14 -0800)]
i810: Silence uninitialized variable warnings in i180tris.c

14 years agoswrast: Silence uninitialized variable warnings in s_triangle.c
Vinson Lee [Sun, 13 Dec 2009 07:47:32 +0000 (23:47 -0800)]
swrast: Silence uninitialized variable warnings in s_triangle.c

14 years agost/mesa: Silence uninitialized variables warnings in st_draw.c.
Vinson Lee [Sun, 13 Dec 2009 06:17:16 +0000 (22:17 -0800)]
st/mesa: Silence uninitialized variables warnings in st_draw.c.

14 years agoswrast: Silence uninitialized variable warnings in ss_tritmp.h.
Vinson Lee [Sun, 13 Dec 2009 06:00:19 +0000 (22:00 -0800)]
swrast: Silence uninitialized variable warnings in ss_tritmp.h.

14 years agoglut: Prevent potential double free in menuVisualSetup.
Vinson Lee [Sun, 13 Dec 2009 05:46:13 +0000 (21:46 -0800)]
glut: Prevent potential double free in menuVisualSetup.

14 years agot_dd_dmatmp.h: Silence unused value warning in render_poly_elts.
Vinson Lee [Sun, 13 Dec 2009 04:20:02 +0000 (20:20 -0800)]
t_dd_dmatmp.h: Silence unused value warning in render_poly_elts.

14 years agoglsl: Initialize member label of struct slang_operation to NULL.
Vinson Lee [Sun, 13 Dec 2009 02:42:18 +0000 (18:42 -0800)]
glsl: Initialize member label of struct slang_operation to NULL.

14 years agosoftpipe: Initialize source in blend_quad.
Vinson Lee [Sun, 13 Dec 2009 02:34:15 +0000 (18:34 -0800)]
softpipe: Initialize source in blend_quad.

14 years agot_dd_dmatmp2.h: Silence unused value warnings.
Vinson Lee [Sun, 13 Dec 2009 00:56:07 +0000 (16:56 -0800)]
t_dd_dmatmp2.h: Silence unused value warnings.

14 years agoi915g: Silence unused value warning in intel_drm_get_device_id.
Vinson Lee [Sun, 13 Dec 2009 00:24:25 +0000 (16:24 -0800)]
i915g: Silence unused value warning in intel_drm_get_device_id.

14 years agot_dd_dmatmp.h: Silence unused value warnings in render_line_loop_elts.
Vinson Lee [Sun, 13 Dec 2009 00:18:08 +0000 (16:18 -0800)]
t_dd_dmatmp.h: Silence unused value warnings in render_line_loop_elts.

14 years agot_dd_dmatmp.h: Silence unused value warning in render_tri_fan_elts.
Vinson Lee [Sun, 13 Dec 2009 00:02:09 +0000 (16:02 -0800)]
t_dd_dmatmp.h: Silence unused value warning in render_tri_fan_elts.

14 years agoprogs/trivial: Silence compiler warnings in tri-blend-min.c.
Vinson Lee [Sat, 12 Dec 2009 23:47:17 +0000 (15:47 -0800)]
progs/trivial: Silence compiler warnings in tri-blend-min.c.

14 years agot_dd_dmatmp.h: Silence unused value warning in render_poly_verts.
Vinson Lee [Sat, 12 Dec 2009 23:27:30 +0000 (15:27 -0800)]
t_dd_dmatmp.h: Silence unused value warning in render_poly_verts.

14 years agoswrast: Initialize tex_coords in handle_sample_op.
Vinson Lee [Sat, 12 Dec 2009 23:08:01 +0000 (15:08 -0800)]
swrast: Initialize tex_coords in handle_sample_op.

14 years agot_dd_dmatmp.h: Silence unused value warning in render_quads_verts.
Vinson Lee [Sat, 12 Dec 2009 22:41:35 +0000 (14:41 -0800)]
t_dd_dmatmp.h: Silence unused value warning in render_quads_verts.

14 years agoprogs/trivial: Silence compiler warnings in tri-blend-max.c
Vinson Lee [Sat, 12 Dec 2009 22:20:17 +0000 (14:20 -0800)]
progs/trivial: Silence compiler warnings in tri-blend-max.c

14 years agot_dd_dmatmp.h: Silence unused value warning in render_tri_fan_verts.
Vinson Lee [Sat, 12 Dec 2009 21:39:39 +0000 (13:39 -0800)]
t_dd_dmatmp.h: Silence unused value warning in render_tri_fan_verts.

14 years agot_dd_dmatmp.h: Silence unused value warning in render_line_loop_verts.
Vinson Lee [Sat, 12 Dec 2009 20:52:02 +0000 (12:52 -0800)]
t_dd_dmatmp.h: Silence unused value warning in render_line_loop_verts.

14 years agovmware/xorg: Fix failure paths and add some debug printing
Jakob Bornecrantz [Sat, 12 Dec 2009 19:02:34 +0000 (20:02 +0100)]
vmware/xorg: Fix failure paths and add some debug printing

14 years agovmwgfx/core: Check for 3D via the get param ioctl
Jakob Bornecrantz [Sat, 12 Dec 2009 17:30:56 +0000 (18:30 +0100)]
vmwgfx/core: Check for 3D via the get param ioctl

14 years agoprogs/xdemos: Silence compiler warnings in glxinfo.c.
Vinson Lee [Sat, 12 Dec 2009 10:06:51 +0000 (02:06 -0800)]
progs/xdemos: Silence compiler warnings in glxinfo.c.

14 years agoprogs/tests: Silence compiler warnings in vpeval.c.
Vinson Lee [Sat, 12 Dec 2009 09:34:33 +0000 (01:34 -0800)]
progs/tests: Silence compiler warnings in vpeval.c.

14 years agoprogs/tests: Silence compiler warnings in cva.c.
Vinson Lee [Sat, 12 Dec 2009 09:11:56 +0000 (01:11 -0800)]
progs/tests: Silence compiler warnings in cva.c.

14 years agoprogs/redbook: Silence compiler warnings in aaindex.c.
Vinson Lee [Sat, 12 Dec 2009 09:02:16 +0000 (01:02 -0800)]
progs/redbook: Silence compiler warnings in aaindex.c.

14 years agot_dd_dmatmp.h: Silence unused value warning in render_line_loop_verts.
Vinson Lee [Sat, 12 Dec 2009 08:33:42 +0000 (00:33 -0800)]
t_dd_dmatmp.h: Silence unused value warning in render_line_loop_verts.

14 years agoradeon: fix #25463
Maciej Cencora [Sat, 12 Dec 2009 01:02:53 +0000 (02:02 +0100)]
radeon: fix #25463

This is just a workaroung until we properly fix texture mapping in radeonSpanRenderStart

14 years agor300: fix depth textures
Maciej Cencora [Fri, 11 Dec 2009 22:56:47 +0000 (23:56 +0100)]
r300: fix depth textures

14 years agoMerge branch 'mesa_7_6_branch' into mesa_7_7_branch
Brian Paul [Fri, 11 Dec 2009 16:51:27 +0000 (09:51 -0700)]
Merge branch 'mesa_7_6_branch' into mesa_7_7_branch

14 years agodocs: updated 7.6.1 relnotes with GLSL fixes
Brian Paul [Fri, 11 Dec 2009 16:41:34 +0000 (09:41 -0700)]
docs: updated 7.6.1 relnotes with GLSL fixes

14 years agomesa: remove unnecessary loop in _mesa_remove_output_reads()
Brian Paul [Fri, 11 Dec 2009 16:40:33 +0000 (09:40 -0700)]
mesa: remove unnecessary loop in _mesa_remove_output_reads()

14 years agoMerge branch 'mesa_7_6_branch' into mesa_7_7_branch
Brian Paul [Fri, 11 Dec 2009 16:22:00 +0000 (09:22 -0700)]
Merge branch 'mesa_7_6_branch' into mesa_7_7_branch

14 years agomesa: check dst reg in _mesa_find_free_register()
Brian Paul [Fri, 11 Dec 2009 16:16:25 +0000 (09:16 -0700)]
mesa: check dst reg in _mesa_find_free_register()

If a register was only being used as a destination (as will happen when
generated condition-codes) we missed its use.  So we'd errantly return
a register index that was really in-use, not free.

Fixes bug 25579.

14 years agosparc: additional preprocessor test for SPARC 64-bit
Aurelien Jarno [Fri, 11 Dec 2009 15:46:54 +0000 (08:46 -0700)]
sparc: additional preprocessor test for SPARC 64-bit

14 years agoscons: Tweak MSVC release options.
José Fonseca [Fri, 11 Dec 2009 15:16:22 +0000 (15:16 +0000)]
scons: Tweak MSVC release options.

Enable whole program optimizations and fast math.

14 years agosvga: Add a missing dependency from the prescale state.
José Fonseca [Fri, 11 Dec 2009 14:14:03 +0000 (14:14 +0000)]
svga: Add a missing dependency from the prescale state.

Thanks for Keith to finding this.

Fixes Jedi Knight 2 menus.

14 years agosvga: Always pass SVGA3D_SURFACE_HINT_DYNAMIC.
José Fonseca [Fri, 11 Dec 2009 13:15:12 +0000 (13:15 +0000)]
svga: Always pass SVGA3D_SURFACE_HINT_DYNAMIC.

Since we're reusing buffers we're effectively transforming all
of them into dynamic buffers.

It would be nice to not cache long lived static buffers. But there
is no way to detect the long lived from short lived ones yet. A
good heuristic would be buffer size.

14 years agosvga: Keep tight control of texture handle ownership.
José Fonseca [Fri, 11 Dec 2009 12:29:02 +0000 (12:29 +0000)]
svga: Keep tight control of texture handle ownership.

The texture owns the surface handle. All derivatives need to keep
a reference to texture.

This fixes several assertions failures starting up Jedi Knight 2.

Should cause no change for DRM surface sharing -- reference count still
done as before there.

14 years agosvga: Fix mixed signed comparisons.
José Fonseca [Fri, 11 Dec 2009 12:09:02 +0000 (12:09 +0000)]
svga: Fix mixed signed comparisons.

14 years agoscons: Pass -fno-strict-aliasing to gcc.
José Fonseca [Fri, 11 Dec 2009 12:08:32 +0000 (12:08 +0000)]
scons: Pass -fno-strict-aliasing to gcc.

Strict aliasing tule violations were fixed on master, but
they're still causing problem in this branch, so disable this assumptions.

Do not apply this fix to master (revert when you merge).

14 years agoscons: Make it work with MinGW build of LLVM 2.6.
José Fonseca [Wed, 25 Nov 2009 18:06:12 +0000 (18:06 +0000)]
scons: Make it work with MinGW build of LLVM 2.6.

LLVM 2.5 is no longer supported on windows.

14 years agomesa: Initialize variable in MatchInstruction.
Vinson Lee [Fri, 11 Dec 2009 02:51:51 +0000 (18:51 -0800)]
mesa: Initialize variable in MatchInstruction.

14 years agomesa: Assign _mesa_lookup_parameter_index return value to GLint.
Vinson Lee [Fri, 11 Dec 2009 02:32:33 +0000 (18:32 -0800)]
mesa: Assign _mesa_lookup_parameter_index return value to GLint.

14 years agoi915: Add missing break statement in i915_debug_packet.
Vinson Lee [Fri, 11 Dec 2009 02:21:59 +0000 (18:21 -0800)]
i915: Add missing break statement in i915_debug_packet.

14 years agoglsl: Increase size of array in_slang_lookup_constant from 4 to 16.
Vinson Lee [Fri, 11 Dec 2009 01:50:35 +0000 (17:50 -0800)]
glsl: Increase size of array in_slang_lookup_constant from 4 to 16.

For some cases, _mesa_GetIntegerv reads up to params[15].

14 years agoprogs/samples: Byte swap individual members of struct _rawImageRec.
Vinson Lee [Thu, 10 Dec 2009 23:41:13 +0000 (15:41 -0800)]
progs/samples: Byte swap individual members of struct _rawImageRec.

14 years agointel: Remove ARGB internal_format == GL_RGB hacks
Ian Romanick [Wed, 9 Dec 2009 07:25:26 +0000 (23:25 -0800)]
intel: Remove ARGB internal_format == GL_RGB hacks

Now that XRGB is supported, we don't need to hack around cases of an RGBA
format buffer with an internal format of GL_RGB.

14 years agointel: Make RGB textures use XRGB8888
Ian Romanick [Wed, 9 Dec 2009 07:24:58 +0000 (23:24 -0800)]
intel: Make RGB textures use XRGB8888

14 years agointel: Make RGB renderbuffers use XRGB8888 like we do for RGB system buffers.
Ian Romanick [Wed, 9 Dec 2009 05:15:36 +0000 (21:15 -0800)]
intel: Make RGB renderbuffers use XRGB8888 like we do for RGB system buffers.

14 years agoi965: Fix handling of drawing to MESA_FORMAT_XRGB8888
Ian Romanick [Wed, 9 Dec 2009 05:13:05 +0000 (21:13 -0800)]
i965: Fix handling of drawing to MESA_FORMAT_XRGB8888

It turns out that 965 and friends cannot actually render to an xRGB
surfaces.  Instead, the surface has to be RGBA with writes to alpha
disabled and the blend function modified to always use 1.0 for
destination alpha.

14 years agointel: Use spantmp2 GL_BGR / GL_UNSIGNED_INT_8_8_8_8_REV for XRGB8888
Ian Romanick [Wed, 9 Dec 2009 05:12:18 +0000 (21:12 -0800)]
intel: Use spantmp2 GL_BGR / GL_UNSIGNED_INT_8_8_8_8_REV for XRGB8888

14 years agospantmp2: Add support for GL_BGR / GL_UNSIGNED_INT_8_8_8_8_REV
Ian Romanick [Wed, 9 Dec 2009 05:10:45 +0000 (21:10 -0800)]
spantmp2: Add support for GL_BGR / GL_UNSIGNED_INT_8_8_8_8_REV

This is really for MESA_FORMAT_XRGB8888.  Clearly spantmp2.h needs some
re-work.  Any volunteers?

14 years agointel: name in intel_create_renderbuffer was always 0, remove
Ian Romanick [Wed, 9 Dec 2009 01:03:20 +0000 (17:03 -0800)]
intel: name in intel_create_renderbuffer was always 0, remove

14 years agointel: Use texformat accessor to get bytes-per-pixel
Ian Romanick [Wed, 9 Dec 2009 00:06:13 +0000 (16:06 -0800)]
intel: Use texformat accessor to get bytes-per-pixel

14 years agointel: softwareBuffer in intel_alloc_renderbuffer_storage was always false, remove
Ian Romanick [Tue, 8 Dec 2009 23:51:18 +0000 (15:51 -0800)]
intel: softwareBuffer in intel_alloc_renderbuffer_storage was always false, remove

14 years agointel: Axe intel_renderbuffer::texformat
Ian Romanick [Tue, 8 Dec 2009 17:57:27 +0000 (09:57 -0800)]
intel: Axe intel_renderbuffer::texformat

Since the texformat branch merge, the value of intel_renderbuffer::texformat
is just a copy of gl_renderbuffer::Format.

14 years agointel: Flush the render/texture cache when finishing render to texture.
Eric Anholt [Wed, 9 Dec 2009 19:36:45 +0000 (11:36 -0800)]
intel: Flush the render/texture cache when finishing render to texture.

Back when we were flushing the entire batch at BindFramebuffer, the kernel
would notice the domain transition when someone went to texture from it and
flush for us.  We no longer do the batch flushing every time, so we get to
do aggressive flushing until we move batchbuffer handling to libdrm.

Fixes piglit fbo-flushing.  Bug #25377.  No noticeable performance loss
on cairo-gl (so this is better than batch flushing).

14 years agoprogs/util: Byte swap individual members of struct _rawImageRec.
Vinson Lee [Thu, 10 Dec 2009 21:24:15 +0000 (13:24 -0800)]
progs/util: Byte swap individual members of struct _rawImageRec.

14 years agoglsl: Fix array out-of-bounds access by _slang_lookup_constant.
Vinson Lee [Thu, 10 Dec 2009 20:37:10 +0000 (12:37 -0800)]
glsl: Fix array out-of-bounds access by _slang_lookup_constant.

14 years agomesa: Fix array out-of-bounds access by _mesa_TexParameteriv.
Vinson Lee [Thu, 10 Dec 2009 20:11:09 +0000 (12:11 -0800)]
mesa: Fix array out-of-bounds access by _mesa_TexParameteriv.

14 years agost/xorg: fix yv12 plus some cleanups in the upload code
Zack Rusin [Thu, 10 Dec 2009 18:01:53 +0000 (13:01 -0500)]
st/xorg: fix yv12 plus some cleanups in the upload code

14 years agost/xorg: enable yv12 for xv
Zack Rusin [Wed, 18 Nov 2009 17:06:32 +0000 (12:06 -0500)]
st/xorg: enable yv12 for xv

14 years agomesa: Fix SCons build.
Vinson Lee [Thu, 10 Dec 2009 06:34:07 +0000 (22:34 -0800)]
mesa: Fix SCons build.

Commit cd6b8dd9e82fedc55d033131fbc0f8ee950567c8 deleted
src/mesa/state_tracker/st_cb_get.c.

14 years agomesa: Fix array out-of-bounds access by _mesa_TexGend.
Vinson Lee [Thu, 10 Dec 2009 01:59:23 +0000 (17:59 -0800)]
mesa: Fix array out-of-bounds access by _mesa_TexGend.

_mesa_TexGend calls _mesa_TexGenfv, which uses the params argument
as an array.

14 years agomesa: Fix array out-of-bounds access by _mesa_Lighti.
Vinson Lee [Thu, 10 Dec 2009 01:34:50 +0000 (17:34 -0800)]
mesa: Fix array out-of-bounds access by _mesa_Lighti.

_mesa_Lighti calls _mesa_Lightiv, which uses the params argument
as an array.