mesa.git
15 years agoprogs/redbook: Fix memory leak in quadric.c.
Vinson Lee [Tue, 17 Nov 2009 22:10:35 +0000 (14:10 -0800)]
progs/redbook: Fix memory leak in quadric.c.

15 years agosvga: More -Werror removal
Jakob Bornecrantz [Tue, 17 Nov 2009 11:04:17 +0000 (12:04 +0100)]
svga: More -Werror removal

15 years agoprogs/util: Fix memory leak if fopen fails in RawImageOpen.
Vinson Lee [Tue, 17 Nov 2009 21:49:31 +0000 (13:49 -0800)]
progs/util: Fix memory leak if fopen fails in RawImageOpen.

15 years agosvga: Remove -Werror for now as GCC 4.4.x raises a bunch of warnings
Jakob Bornecrantz [Tue, 17 Nov 2009 08:07:15 +0000 (09:07 +0100)]
svga: Remove -Werror for now as GCC 4.4.x raises a bunch of warnings

15 years agor300: fix reads and writes for MESA_FORMAT_S8Z24 buffer
Maciej Cencora [Tue, 17 Nov 2009 20:27:31 +0000 (21:27 +0100)]
r300: fix reads and writes for MESA_FORMAT_S8Z24 buffer

Regression was introduced by texformat-rework branch merge.

15 years agoprogs/xdemos: added -lX11 -lpthread for GNU gold linker
Brian Paul [Tue, 17 Nov 2009 20:39:13 +0000 (13:39 -0700)]
progs/xdemos: added -lX11 -lpthread for GNU gold linker

15 years agoprogs/util: Fix memory leak if fread returns 0 in CompileShaderFile.
Vinson Lee [Tue, 17 Nov 2009 20:00:22 +0000 (12:00 -0800)]
progs/util: Fix memory leak if fread returns 0 in CompileShaderFile.

15 years agomesa: move -ansi -pedantic to CFLAGS
Brian Paul [Tue, 17 Nov 2009 19:47:12 +0000 (12:47 -0700)]
mesa: move -ansi -pedantic to CFLAGS

15 years agoprogs/glsl: Change tangentAttrib from GLuint to GLint in bump.c.
Vinson Lee [Tue, 17 Nov 2009 19:37:48 +0000 (11:37 -0800)]
progs/glsl: Change tangentAttrib from GLuint to GLint in bump.c.

tangentAtrrib is assigned the result of glGetAttribLocation.
The assertion 'assert(tangentAtrrib >= 0)' would be a no-op if
tangentAttrib is a GLuint.

15 years agoprogs/util: Fix memory leak if malloc fails in tkRGBImageLoad.
Vinson Lee [Tue, 17 Nov 2009 19:04:24 +0000 (11:04 -0800)]
progs/util: Fix memory leak if malloc fails in tkRGBImageLoad.

15 years agonouveau: nv30: Check for NULL front (happens with DRI2)
Patrice Mandin [Tue, 17 Nov 2009 18:50:37 +0000 (19:50 +0100)]
nouveau: nv30: Check for NULL front (happens with DRI2)

15 years agonouveau: nv30: Add missing include to fix warning
Patrice Mandin [Tue, 17 Nov 2009 18:49:56 +0000 (19:49 +0100)]
nouveau: nv30: Add missing include to fix warning

15 years agoRemove unconditional use of glibc specific bswap_16() macro.
Michel Dänzer [Tue, 17 Nov 2009 18:41:29 +0000 (19:41 +0100)]
Remove unconditional use of glibc specific bswap_16() macro.

Fixes unresolved symbol bswap_16 on non-glibc or little endian glibc platforms.

15 years agodocs: list the new VMware SVGA Gallium driver in release notes
Brian Paul [Tue, 17 Nov 2009 18:23:03 +0000 (11:23 -0700)]
docs: list the new VMware SVGA Gallium driver in release notes

15 years agodri: Ensure subdirs have finished before linking driver
Dan Nicholson [Mon, 9 Nov 2009 13:51:23 +0000 (05:51 -0800)]
dri: Ensure subdirs have finished before linking driver

Recursive make is hard. If there are subdirectories in the DRI drivers,
it's pretty certain we want to finish building in them before linking
the driver. Add a new target to serialize the rules.

Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
15 years agoprogs/util: Fix memory leak if LoadRGBImage fails.
Vinson Lee [Tue, 17 Nov 2009 18:11:50 +0000 (10:11 -0800)]
progs/util: Fix memory leak if LoadRGBImage fails.

15 years agor600: More span breakage fixes.
Michel Dänzer [Tue, 17 Nov 2009 18:02:03 +0000 (19:02 +0100)]
r600: More span breakage fixes.

At least now the compiler doesn't complain about implicitly declared functions
anymore...

15 years agoprogs/glsl: Fix memory leak in deriv.c.
Vinson Lee [Tue, 17 Nov 2009 17:53:19 +0000 (09:53 -0800)]
progs/glsl: Fix memory leak in deriv.c.

15 years agor600: Attempt to fix span breakage introduced by big endian fixes.
Michel Dänzer [Tue, 17 Nov 2009 17:47:24 +0000 (18:47 +0100)]
r600: Attempt to fix span breakage introduced by big endian fixes.

Only compile tested; I happened to notice people on IRC reporting

.../r600_dri.so: undefined symbol: radeon_ptr_2byte_8x2

15 years agoprogs/util: Fix memory if LoadRGBMipmaps2 fails.
Vinson Lee [Tue, 17 Nov 2009 16:29:36 +0000 (08:29 -0800)]
progs/util: Fix memory if LoadRGBMipmaps2 fails.

15 years agoradeon: Depth/stencil span code fixes for big endian.
Michel Dänzer [Tue, 17 Nov 2009 07:05:24 +0000 (08:05 +0100)]
radeon: Depth/stencil span code fixes for big endian.

Fixes e.g. text in progs/demos/arbocclude.

15 years agoradeon: Fix occlusion queries on big endian.
Michel Dänzer [Tue, 17 Nov 2009 07:05:24 +0000 (08:05 +0100)]
radeon: Fix occlusion queries on big endian.

15 years agoradeon: Fix software fallbacks with KMS on big endian.
Michel Dänzer [Tue, 17 Nov 2009 07:05:23 +0000 (08:05 +0100)]
radeon: Fix software fallbacks with KMS on big endian.

15 years agoradeon: FBO fixes for big endian.
Michel Dänzer [Tue, 17 Nov 2009 07:05:22 +0000 (08:05 +0100)]
radeon: FBO fixes for big endian.

15 years agoAdd MESA_FORMAT_XRGB8888_REV.
Michel Dänzer [Tue, 17 Nov 2009 07:05:22 +0000 (08:05 +0100)]
Add MESA_FORMAT_XRGB8888_REV.

15 years agoradeon: rn50's have no 3D engine so don't try and init 3D driver.
Dave Airlie [Tue, 17 Nov 2009 06:06:26 +0000 (16:06 +1000)]
radeon: rn50's have no 3D engine so don't try and init 3D driver.

15 years agoprogs/util: Fix memory leak if LoadYUVImage fails.
Vinson Lee [Tue, 17 Nov 2009 02:22:26 +0000 (18:22 -0800)]
progs/util: Fix memory leak if LoadYUVImage fails.

15 years agosvga: Build svga driver
Jakob Bornecrantz [Thu, 12 Nov 2009 00:28:26 +0000 (01:28 +0100)]
svga: Build svga driver

15 years agosvga: Add vmwgfx_drm.h file from vmwgfx kernel driver
Jakob Bornecrantz [Tue, 17 Nov 2009 01:56:04 +0000 (02:56 +0100)]
svga: Add vmwgfx_drm.h file from vmwgfx kernel driver

Add the vmwgfx_drm.h header for now, this allows the svga driver
to be enabled by default without forcing people to install the
vmwgfx_drm.h header on their system.

To be removed once vmwgfx_drm.h is in libdrm.

15 years agosvga: Add svga driver
Jakob Bornecrantz [Mon, 16 Nov 2009 18:56:18 +0000 (19:56 +0100)]
svga: Add svga driver

15 years agoprogs/demos: Fix memory leak in ray.c.
Vinson Lee [Tue, 17 Nov 2009 02:06:40 +0000 (18:06 -0800)]
progs/demos: Fix memory leak in ray.c.

15 years agost/xorg: Fix copy-pasto
Jakob Bornecrantz [Mon, 16 Nov 2009 23:39:09 +0000 (00:39 +0100)]
st/xorg: Fix copy-pasto

Thanks Alan.

15 years agoprogs/demos: Fix memory leak in projtex.c.
Vinson Lee [Tue, 17 Nov 2009 00:31:34 +0000 (16:31 -0800)]
progs/demos: Fix memory leak in projtex.c.

15 years agoprogs/demos: Fix memory leak in ipers.c.
Vinson Lee [Mon, 16 Nov 2009 23:44:52 +0000 (15:44 -0800)]
progs/demos: Fix memory leak in ipers.c.

15 years agoi965: Use MESA_FORMAT_AL1616 when appropriate
Ian Romanick [Mon, 16 Nov 2009 23:09:24 +0000 (15:09 -0800)]
i965: Use MESA_FORMAT_AL1616 when appropriate

15 years agoMove 'static' to start of declaration to silence compiler warning
Ian Romanick [Mon, 16 Nov 2009 22:56:17 +0000 (14:56 -0800)]
Move 'static' to start of declaration to silence compiler warning

15 years agoAL1616: Enable MESA_FORMAT_AL1616 for software paths
Ian Romanick [Mon, 16 Nov 2009 22:53:36 +0000 (14:53 -0800)]
AL1616: Enable MESA_FORMAT_AL1616 for software paths

15 years agoAL1616: Add TexImage storage path
Ian Romanick [Mon, 16 Nov 2009 22:53:12 +0000 (14:53 -0800)]
AL1616: Add TexImage storage path

15 years agoAL1616: Add texel fetch / store routines
Ian Romanick [Mon, 16 Nov 2009 22:52:43 +0000 (14:52 -0800)]
AL1616: Add texel fetch / store routines

15 years agoAL1616: Add formats for GL_LUMINANCE16_ALPHA16 textures
Ian Romanick [Mon, 16 Nov 2009 22:49:40 +0000 (14:49 -0800)]
AL1616: Add formats for GL_LUMINANCE16_ALPHA16 textures

15 years agoAL1616: Add macros to pack two GLushorts into a texel
Ian Romanick [Mon, 16 Nov 2009 22:30:47 +0000 (14:30 -0800)]
AL1616: Add macros to pack two GLushorts into a texel

15 years agoprogs/demos: Fix memory leak in fslight.c.
Vinson Lee [Mon, 16 Nov 2009 22:56:07 +0000 (14:56 -0800)]
progs/demos: Fix memory leak in fslight.c.

15 years agost/xorg: Fix comp alpha code and deal with luminance masks
Jakob Bornecrantz [Mon, 16 Nov 2009 21:57:43 +0000 (22:57 +0100)]
st/xorg: Fix comp alpha code and deal with luminance masks

There are two fixes in here one is a one liner that fixes
component alpha logic. The other deals better with luminance
formats used for masks, sources not yet implemented.

Fixes component alpha text and icons in gnome. There are a one
or two cases that this code misses. Like if src_luminance is set
but no mask image is given.

15 years agost/xorg: Incase of format missmatch swizzle channels and set alpha
Jakob Bornecrantz [Thu, 12 Nov 2009 10:16:30 +0000 (11:16 +0100)]
st/xorg: Incase of format missmatch swizzle channels and set alpha

This path is only hit for icons in gnome so far

15 years agor600: don't force Z order
Alex Deucher [Mon, 16 Nov 2009 20:03:48 +0000 (15:03 -0500)]
r600: don't force Z order

Let the hw decide (early vs late Z)
fixes fdo bug 25092

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
15 years agodocs: Update r300g status.
Corbin Simpson [Mon, 16 Nov 2009 18:46:20 +0000 (10:46 -0800)]
docs: Update r300g status.

15 years agodocs: fixes, changes for Mesa 7.7
Brian Paul [Fri, 13 Nov 2009 06:17:14 +0000 (23:17 -0700)]
docs: fixes, changes for Mesa 7.7

15 years agoprogs/tests: silence warning
Brian Paul [Fri, 13 Nov 2009 06:06:54 +0000 (23:06 -0700)]
progs/tests: silence warning

15 years agomesa: remove unused vertex array driver hooks
Brian Paul [Fri, 13 Nov 2009 06:04:26 +0000 (23:04 -0700)]
mesa: remove unused vertex array driver hooks

15 years agomesa: check BaseLevel, MaxLevel in _mesa_GenerateMipmapEXT()
Brian Paul [Mon, 16 Nov 2009 15:25:17 +0000 (08:25 -0700)]
mesa: check BaseLevel, MaxLevel in _mesa_GenerateMipmapEXT()

15 years agomesa: use _mesa_get_current_tex_object()
Brian Paul [Mon, 16 Nov 2009 15:21:28 +0000 (08:21 -0700)]
mesa: use _mesa_get_current_tex_object()

15 years agomesa: added another check in check_gen_mipmap()
Brian Paul [Mon, 16 Nov 2009 15:14:23 +0000 (08:14 -0700)]
mesa: added another check in check_gen_mipmap()

We don't need to call ctx->Driver.GenerateMipmap() if we're updating
a texture level >= MAX_LEVEL.

15 years agost/xorg: Only reference new picture formats when they're defined.
Michel Dänzer [Mon, 16 Nov 2009 10:59:39 +0000 (11:59 +0100)]
st/xorg: Only reference new picture formats when they're defined.

Fixes http://bugs.freedesktop.org/show_bug.cgi/?id=25094 .

15 years agost/mesa: comments for st_draw.c
Brian Paul [Fri, 13 Nov 2009 03:59:26 +0000 (20:59 -0700)]
st/mesa: comments for st_draw.c

15 years agost/egl: add some basic comments
Brian Paul [Fri, 13 Nov 2009 00:53:54 +0000 (17:53 -0700)]
st/egl: add some basic comments

15 years agonv20: Fix build for the last nouveau_class.h changes.
Francisco Jerez [Sun, 15 Nov 2009 13:49:02 +0000 (14:49 +0100)]
nv20: Fix build for the last nouveau_class.h changes.

Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Signed-off-by: Pekka Paalanen <pq@iki.fi>
15 years agonv10: Fix build for the last nouveau_class.h changes.
Francisco Jerez [Thu, 5 Nov 2009 18:07:19 +0000 (19:07 +0100)]
nv10: Fix build for the last nouveau_class.h changes.

Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Signed-off-by: Pekka Paalanen <pq@iki.fi>
15 years agoprogs: Ignore Mac OS dSYM directories.
Vinson Lee [Sun, 15 Nov 2009 05:36:18 +0000 (21:36 -0800)]
progs: Ignore Mac OS dSYM directories.

15 years agoi965: Share OPCODE_TXB between brw_wm_emit.c and brw_wm_glsl.c
Eric Anholt [Wed, 19 Aug 2009 20:44:13 +0000 (13:44 -0700)]
i965: Share OPCODE_TXB between brw_wm_emit.c and brw_wm_glsl.c

This should fix TXB on G45 and older in the GLSL case.

15 years agoi965: Share OPCODE_TEX between brw_wm_emit.c and brw_wm_glsl.c.
Eric Anholt [Wed, 19 Aug 2009 21:48:11 +0000 (14:48 -0700)]
i965: Share OPCODE_TEX between brw_wm_emit.c and brw_wm_glsl.c.

New comments should explain some of the confusion about how this message
works.

15 years agoi965: Clean up emit_tex a bit.
Eric Anholt [Fri, 13 Nov 2009 23:16:17 +0000 (15:16 -0800)]
i965: Clean up emit_tex a bit.

15 years agoMerge remote branch 'origin/mesa_7_6_branch'
Eric Anholt [Fri, 13 Nov 2009 22:45:29 +0000 (14:45 -0800)]
Merge remote branch 'origin/mesa_7_6_branch'

15 years agoi965: Flag BRW_NEW_CONTEXT on some context state.
Eric Anholt [Fri, 13 Nov 2009 04:08:44 +0000 (20:08 -0800)]
i965: Flag BRW_NEW_CONTEXT on some context state.

Fixing this is a prereq for avoiding flagging all state at new
batch time.  Eliminating that still causes problems, though (notably
glean logicOp fails on my GM965).

15 years agointel: Remove some dead context structure fields.
Eric Anholt [Fri, 13 Nov 2009 03:12:11 +0000 (19:12 -0800)]
intel: Remove some dead context structure fields.

15 years agoi965: Remove an unused cache_item field.
Eric Anholt [Fri, 13 Nov 2009 02:27:12 +0000 (18:27 -0800)]
i965: Remove an unused cache_item field.

15 years agoi965: Remove long dead structures for ffvertex_prog.c.
Eric Anholt [Fri, 13 Nov 2009 01:48:55 +0000 (17:48 -0800)]
i965: Remove long dead structures for ffvertex_prog.c.

15 years agoi965: Use bo_map instead of subdata to upload the bits of constant buffer.
Eric Anholt [Thu, 12 Nov 2009 22:57:30 +0000 (14:57 -0800)]
i965: Use bo_map instead of subdata to upload the bits of constant buffer.

Saves CPU time, resulting in a 2.5% FPS win on ETQW.

15 years agoi965: Validate the number of URB entries selected for the VS.
Eric Anholt [Thu, 12 Nov 2009 22:05:18 +0000 (14:05 -0800)]
i965: Validate the number of URB entries selected for the VS.

15 years agointel: When subdataing a busy buffer, use a temporary and blit in.
Eric Anholt [Thu, 12 Nov 2009 18:45:05 +0000 (10:45 -0800)]
intel: When subdataing a busy buffer, use a temporary and blit in.

This cuts a massive number of waits in ET:QW, which uses a VBO ringbuffer.
Unfortunately it doesn't BufferData when wrapping back to 0, so we can't
be clever with tracking what's been initialized.

15 years agoi965: Clean up Ironlake sampler type definitions.
Eric Anholt [Wed, 11 Nov 2009 23:29:34 +0000 (15:29 -0800)]
i965: Clean up Ironlake sampler type definitions.

They're the same regardless of execution width for 8, 4x2, and 16.

15 years agoi965: Avoid moving the current value back into the accumulator for MAD.
Eric Anholt [Wed, 11 Nov 2009 19:58:12 +0000 (11:58 -0800)]
i965: Avoid moving the current value back into the accumulator for MAD.

This is a 2.9% (+/-.3%) performance win for my GL demo, which hits MAD
sequences for matrix transforms.

15 years agomesa: Improve the eliminate-move-use to work across multiple instructions.
Eric Anholt [Wed, 11 Nov 2009 21:26:26 +0000 (13:26 -0800)]
mesa: Improve the eliminate-move-use to work across multiple instructions.

This shaves more instructions off of the VS of my GL demo, but no
performance difference this time at n=6.  This also fixes a regression
that was in this path, which is now piglit's glsl-vs-mov-after-deref.

15 years agost/xorg: try to fix non-uniform transforms
Zack Rusin [Thu, 12 Nov 2009 21:21:00 +0000 (16:21 -0500)]
st/xorg: try to fix non-uniform transforms

15 years agoprogs/glsl: Add missing break statement in multinoise.c.
Vinson Lee [Fri, 13 Nov 2009 00:20:23 +0000 (16:20 -0800)]
progs/glsl: Add missing break statement in multinoise.c.

15 years agointel: Don't check for context pointer to be NULL during extension init
Ian Romanick [Thu, 12 Nov 2009 23:39:59 +0000 (15:39 -0800)]
intel: Don't check for context pointer to be NULL during extension init

Thanks to Chia-I Wu's changes to the extension function
infrastructure, we no longer have to tell the loader which extensions
the driver might enable.  This means that intelInitExtensions will
never be called with a NULL context pointer.  Remove all the NULL checks.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
15 years agointel: Remove unused enable_imaging parameter to intelInitExtensions
Ian Romanick [Thu, 12 Nov 2009 23:36:02 +0000 (15:36 -0800)]
intel: Remove unused enable_imaging parameter to intelInitExtensions

15 years agoi965: Fix Ironlake shadow comparisons.
Eric Anholt [Thu, 12 Nov 2009 17:08:50 +0000 (09:08 -0800)]
i965: Fix Ironlake shadow comparisons.

The cube map array index arg is always present.

15 years agoi965: Fix VBO last-valid-offset setup on Ironlake.
Eric Anholt [Wed, 11 Nov 2009 22:49:03 +0000 (14:49 -0800)]
i965: Fix VBO last-valid-offset setup on Ironlake.

Instead of doing math based on the (broken for VBO && offset != 0)
input->count number, just use the BO size.  Fixes assertion failure in ETQW.

15 years agost/xorg: use an immediate instead of a full blown const
Zack Rusin [Thu, 12 Nov 2009 02:46:43 +0000 (21:46 -0500)]
st/xorg: use an immediate instead of a full blown const

15 years agost/xorg: don't use flow control
Zack Rusin [Thu, 12 Nov 2009 02:40:14 +0000 (21:40 -0500)]
st/xorg: don't use flow control

15 years agoswrast: handle additional Z24 formats in read_depth_pixels()
Brian Paul [Thu, 12 Nov 2009 02:37:53 +0000 (19:37 -0700)]
swrast: handle additional Z24 formats in read_depth_pixels()

15 years agoi965: fix EXT_provoking_vertex support
Roland Scheidegger [Thu, 12 Nov 2009 01:57:56 +0000 (17:57 -0800)]
i965: fix EXT_provoking_vertex support

This didn't work for quad/quadstrips at all, and for all other primitive types
it only worked when they were unclipped.
Fix up the former in gs stage (could probably do without these changes and
instead set QuadsFollowProvokingVertexConvention to false), and the rest in
clip stage.

15 years agodemos/glsl: Add missing break statement to noise test.
Vinson Lee [Thu, 12 Nov 2009 01:39:58 +0000 (17:39 -0800)]
demos/glsl: Add missing break statement to noise test.

15 years agost/xorg: implement repeatnone and make some code smell less like ass
Zack Rusin [Thu, 12 Nov 2009 00:52:08 +0000 (19:52 -0500)]
st/xorg: implement repeatnone and make some code smell less like ass

15 years agost/xorg: fallback until daddy can implement you properly
Zack Rusin [Wed, 11 Nov 2009 23:06:26 +0000 (18:06 -0500)]
st/xorg: fallback until daddy can implement you properly

15 years agoprogs/tests: add alpha/blend testing to packedpixels.c
Brian Paul [Wed, 11 Nov 2009 19:19:20 +0000 (12:19 -0700)]
progs/tests: add alpha/blend testing to packedpixels.c

15 years agor300, r300g: Add missing registers.
Corbin Simpson [Wed, 11 Nov 2009 11:05:16 +0000 (03:05 -0800)]
r300, r300g: Add missing registers.

15 years agodri-st: Add some required GL 2.0 extensions.
Corbin Simpson [Wed, 11 Nov 2009 11:04:27 +0000 (03:04 -0800)]
dri-st: Add some required GL 2.0 extensions.

Two-sided stencil and NPOT textures.

15 years agoi965: Fix VS constant buffer value loading.
Eric Anholt [Tue, 10 Nov 2009 22:11:46 +0000 (14:11 -0800)]
i965: Fix VS constant buffer value loading.

Previously, we'd load linearly from ParameterValues[0] for the constants,
though ParameterValues[1] may not equal ParameterValues[0] + 4.  Additionally,
the STATE_VAL type paramters didn't get updated.

Fixes piglit vp-constant-array-huge.vpfp and ET:QW object locations.

Bug #23226.

15 years agoi965: Unalias src/dst registers for SGE and friends.
Eric Anholt [Tue, 10 Nov 2009 18:54:15 +0000 (10:54 -0800)]
i965: Unalias src/dst registers for SGE and friends.

Fixes piglit vp-sge-alias test, and the googleearth ground shader.  \o/

Bug #22228
(cherry picked from commit 56ab92bad8f1d05bc22b8a8471d5aeb663f220de)

15 years agoi965: Allow use of PROGRAM_LOCAL constants in ARB_vp.
Eric Anholt [Tue, 10 Nov 2009 18:43:19 +0000 (10:43 -0800)]
i965: Allow use of PROGRAM_LOCAL constants in ARB_vp.

Fixes piglit arl.vp.
(cherry picked from commit d52d78b4bcd6d4c0578f972c0b8ebac09e632196)

15 years agost/xorg: Fallback if picture format doesn't match texture format
Jakob Bornecrantz [Tue, 10 Nov 2009 09:05:40 +0000 (10:05 +0100)]
st/xorg: Fallback if picture format doesn't match texture format

15 years agost/xorg: Don't segfault when debug printing
Jakob Bornecrantz [Tue, 10 Nov 2009 07:55:26 +0000 (08:55 +0100)]
st/xorg: Don't segfault when debug printing

15 years agost/xorg: wrap to border color
Zack Rusin [Wed, 11 Nov 2009 01:28:54 +0000 (20:28 -0500)]
st/xorg: wrap to border color

15 years agoswrast: update renderbuffer format assertions
brian [Wed, 11 Nov 2009 01:23:59 +0000 (18:23 -0700)]
swrast: update renderbuffer format assertions

15 years agomesa: fix some begin/end render-to-texture logic
brian [Wed, 11 Nov 2009 01:02:03 +0000 (18:02 -0700)]
mesa: fix some begin/end render-to-texture logic

Before, we weren't aggressive enough in checking for the start or end
of render-to-texture.  In particular, if only the ctx->ReadBuffer had
texture attachments, we were treating that as a render-to-texture case.

This fixes a regression from commit 75bdbdd90b15c8704d87ca195a364ff6a42edbb1
"intel: Don't validate in a texture image used as a render target."

15 years agomesa: move check_begin/end_texture_render() calls
brian [Tue, 10 Nov 2009 23:00:35 +0000 (16:00 -0700)]
mesa: move check_begin/end_texture_render() calls

15 years agomesa: new vars: oldDrawFb, oldReadFb in _mesa_BindFramebufferEXT()
brian [Tue, 10 Nov 2009 22:50:22 +0000 (15:50 -0700)]
mesa: new vars: oldDrawFb, oldReadFb in _mesa_BindFramebufferEXT()

15 years agomesa: rename vars in _mesa_BindFramebufferEXT()
brian [Tue, 10 Nov 2009 22:47:34 +0000 (15:47 -0700)]
mesa: rename vars in _mesa_BindFramebufferEXT()

15 years agomesa: added comment for check_begin_texture_render()
brian [Tue, 10 Nov 2009 22:33:31 +0000 (15:33 -0700)]
mesa: added comment for check_begin_texture_render()