Commit graph

24235 commits

Author SHA1 Message Date
Vinson Lee
4b0b250aae glx: Prevent potential null pointer deference in driCreateContext. 2009-11-23 01:30:32 -05:00
Vinson Lee
5b925b7daa glu/sgi: Fix memory leak in bitmapBuild2DMipmaps. 2009-11-23 01:09:06 -05:00
Vinson Lee
b611f639b4 glu/sgi: Fix memory leak in gluScaleImage3D. 2009-11-23 00:57:37 -05:00
Maciej Cencora
e0fda04013 r300: fix VP source conflict resolution on 64-bit machines
On 32bit machines we were lucky because the sizeof(reg) == sizeof(rc_src_register).
On 64bit machines pointers are 8 bytes long, so we were overwriting other data.
2009-11-22 15:08:46 +01:00
Maciej Cencora
dfe440c856 r300: fix SIN/COS/SCS instructions for R300 fp 2009-11-22 14:13:18 +01:00
Vinson Lee
a9c540f5de glu/sgi: Fix memory leak in gluScaleImage. 2009-11-22 01:57:35 -05:00
Vinson Lee
d3b4c99c70 glu: Fix memory leak in __gl_meshMakeEdge. 2009-11-22 01:45:53 -05:00
Vinson Lee
57d389aab5 svga: Prevent potential null pointer deference in vmw_surface.c. 2009-11-22 01:26:32 -05:00
Vinson Lee
b62a74d3b9 svga: Fix memory leak in vmw_screen_ioctl.c 2009-11-22 01:20:07 -05:00
Vinson Lee
88aab56a26 st/xorg: Prevent potential null pointer deference in xorg_xv.c. 2009-11-22 01:10:38 -05:00
Vinson Lee
46feb7db71 st/xorg: Reorder cases in switch statement.
Silences missing break statement warning.
2009-11-22 00:55:52 -05:00
Maciej Cencora
563fe6e8f6 radeon: fix compressed mipmapped textures
Tested on r300 only, other cards may require adjusting texture_compressed_row_align.
2009-11-21 16:49:18 +01:00
Maciej Cencora
1d1f81af93 radeon: fix glCompressedTexSubImage 2009-11-21 16:49:18 +01:00
Roland Scheidegger
465fee75ee intel: make CopyTex[Sub]Image fallback debug messages more consistent 2009-11-21 04:41:43 -08:00
Roland Scheidegger
c367f4d46e mesa: handle different RowStride in _mesa_get_compressed_teximage
drivers storing compressed textures with non-native stride but relying on
_mesa_get_compressed_teximage for GetCompressedTexImage otherwise won't
work correctly (for instance i965 compressed mipmaps).
2009-11-21 04:41:43 -08:00
Eric Anholt
8451b29d96 i965: Fix several memory leaks on exit.
Bug #25194.
2009-11-21 13:33:57 +01:00
Vinson Lee
052b127842 st/egl: Fix memory leak in egl_tracker.c. 2009-11-20 16:33:25 -08:00
Vinson Lee
ea98e9820d draw: Initialize variable in draw_pt.c. 2009-11-20 16:03:48 -08:00
Vinson Lee
f6541773c4 i915g: Add missing break statement in i915_debug.c. 2009-11-20 14:31:42 -08:00
Vinson Lee
36e2074b63 gallium/util: Initialize variables in u_pack_color.h. 2009-11-20 14:20:15 -08:00
Jakob Bornecrantz
5109484bd9 st/xorg: Flush any pending operations on upload 2009-11-18 17:49:38 +01:00
Jakob Bornecrantz
8d6da811d4 st/xorg: Unbind any textures in solid
Helps debuging with rbug
2009-11-18 17:49:37 +01:00
Alan Hourihane
910b58039a Fix vega compilation. 2009-11-20 21:15:25 +00:00
Alan Hourihane
1dbf3642b9 Fix memory leak. 2009-11-20 21:15:22 +00:00
Eric Anholt
c4e8918cd2 mesa: Fix NULL deref in optimizer when NumInstructions == 0.
Bug #24984.
2009-11-20 21:46:48 +01:00
Vinson Lee
08cb1d0ce4 st/xorg: Fix type of 'unknown'. 2009-11-20 00:03:10 -08:00
Dave Airlie
f8ea531820 r100: fix texture_from_pixmap and compiz.
r100 state emission has separate rect and non-rect states,
if we are doing TFP for a TEXTURE_2D we shouldn't use the rect
states as they won't get emitted properly.

Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-11-20 11:47:00 +10:00
Vinson Lee
8b808d50e2 st/xorg: Fix infinite loop in copy_packed_data. 2009-11-19 14:40:00 -08:00
Brian Paul
4e6c79ac16 st/mesa: replace st_flush() with pipe->flush()
We only need to flush the gallium driver in this case.
Fixes a recursive state validation bug.
2009-11-19 15:18:23 -07:00
Brian Paul
2198497203 vbo: added recursion check in vbo_exec_FlushVertices() 2009-11-19 15:17:56 -07:00
Brian Paul
dc41d62250 st/mesa: get rid of compressed_num_bytes() code 2009-11-19 14:35:38 -07:00
Brian Paul
92863109af st/mesa: remove is_compressed_mesa_format() 2009-11-19 14:17:31 -07:00
Brian Paul
273f4d6b5f st/mesa: remove pointless assertion 2009-11-19 14:17:31 -07:00
Brian Paul
3f40166500 softpipe: whitespace/indentation fixes 2009-11-19 14:17:31 -07:00
Brian Paul
367cfca808 softpipe: add missing check in softpipe_is_texture_referenced()
Check if the named texture is referenced by the texture cache.
2009-11-19 11:39:24 -07:00
Michel Dänzer
31ea323b4d st/xorg: Replace compile-time acceleration switch with Option "2DAccel".
This option can be used to disable 2D acceleration. DRI2 and XVideo blits will
still be accelerated, at least to some degree even with compositing.
2009-11-19 17:52:55 +01:00
Michel Dänzer
10c67f9381 st/xorg: Miscellaneous XVideo fixes.
* Make sure the destination pixmap has a texture to render into.
* Fix damage reporting so the EXA migration code can do the right thing.
* Fix destination coordinates for redirected windows.
2009-11-19 17:47:21 +01:00
Michel Dänzer
34145fc3b7 st/xorg: Try harder to ensure a shared texture has valid contents right away. 2009-11-19 17:30:32 +01:00
Michel Dänzer
012d0193cc st/xorg: Don't complain about convolution filter being 'unknown'.
Also add a newline to the complaint so it'll be a little less annoying if we
actually encounter an unknown filter value again.
2009-11-19 17:25:05 +01:00
Michel Dänzer
10dbdee056 st/xorg: Remove superfluous flushes from the EXA WaitMarker hook.
Thanks to Thomas Hellström for pointing this out.
2009-11-19 10:54:49 +01:00
Michel Dänzer
ea114345a6 st/xorg: Don't initialize non-existing fields. 2009-11-19 10:38:08 +01:00
Jakob Bornecrantz
e12c9a6f3a st/xorg: Init all functions and fix spelling 2009-11-18 10:59:42 +01:00
Jakob Bornecrantz
9ab3c70f65 st/xorg: Make the #if more easier to read 2009-11-18 10:44:07 +01:00
Jakob Bornecrantz
e73553bff7 st/xorg: Use the correct DRI2BufferPtr struct on 1.6.4 servers 2009-11-18 10:44:07 +01:00
Maciej Cencora
3bf12c8bea r300: allow disabling s3tc support if libtxc_dxtn is available 2009-11-18 22:19:25 +01:00
Maciej Cencora
cefee4e327 Merge branch 'radeon-texrewrite-clean' into mesa_7_7_branch 2009-11-18 22:09:33 +01:00
Maciej Cencora
7118db8700 r600: align for mipmap tree changes 2009-11-18 22:02:48 +01:00
Ian Romanick
70dca0c273 AL1616: Fix cut-and-paste bug
One of the PACK_COLOR_88 cases was left over from copying
_mesa_texstore_al88 to _mesa_texstore_al1616.
2009-11-17 22:53:06 -08:00
Ian Romanick
5606dfb572 Merge branch 'outputswritten64'
Add a GLbitfield64 type and several macros to operate on 64-bit
fields.  The OutputsWritten field of gl_program is changed to use that
type.  This results in a fair amount of fallout in drivers that use
programs.

No changes are strictly necessary at this point as all bits used are
below the 32-bit boundary.  Fairly soon several bits will be added for
clip distances written by a vertex shader.  This will cause several
bits used for varyings to be pushed above the 32-bit boundary.  This
will affect any drivers that support GLSL.

At this point, only the i965 driver has been modified to support this
eventuality.

I did this as a "squash" merge.  There were several places through the
outputswritten64 branch where things were broken.  I foresee this
causing difficulties later for bisecting.  The history is still
available in the branch.

Conflicts:
	src/mesa/drivers/dri/i965/brw_wm.h
2009-11-17 16:25:38 -08:00
Ian Romanick
b43887cf7e ARB_fbo: Enable extensions related to GL_ARB_framebuffer_object for GLX 2009-11-17 16:25:38 -08:00