Jesse Barnes
157bdd1446
DRI2: report swap events correctly in direct rendered case
...
In the direct rendered case, we need to convert DRI2 swap complete
events to GLX events for the client to consume. This path had what
looks like a stray "& 0x75" from some earlier debugging that prevented
clients from seeing the right event code.
2010-04-13 09:39:28 -07:00
Brian Paul
497b66094d
docs: update name, link for mesa-dev list
2010-04-12 18:45:10 -06:00
Vinson Lee
4a796264df
i915g: Fix assert.
2010-04-11 17:56:21 -07:00
Maciej Cencora
2657325c4a
r300: respect radeon common code fallbacks
...
Fixes progs/demos/shadowtex under KMS
2010-04-11 13:42:00 +02:00
Maciej Cencora
6a5518861e
r300: set proper vertex index limits also in non indexed mode
...
Fixes #27521 , broken menus in UT2004 and broken water refraction in Sauerbraten.
2010-04-11 13:41:38 +02:00
Alex Deucher
edff2e0585
r600: add new r7xx pci ids
2010-04-09 20:20:42 -04:00
Kristian Høgsberg
394c25133e
glx: Fix config chooser logic for 'mask' matching
...
When matching attributes using the 'mask' matching criteria, the spec
says that
"Only GLXFBConfigs for which the set bits of attribute include all
the bits that are set in the requested value are
considered. (Additional bits might be set in the attribute)."
The current test returns true if the two bit masks have bits in
common, specifically it matches even if the requested value has bits
set that are not set in the fbconfig attribute. For example, an
application asking for
GLX_DRAWABLE_TYPE, GLX_PIXMAP_BIT | GLX_PBUFFER_BIT,
as glxpbdemo does, will match fbconfigs that don't support pbuffer
rendering, as long as they support pixmap rendering.
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2010-04-09 15:24:29 -04:00
Brian Paul
b22a00bff4
mesa: fix instruction indexing bugs
...
We were looping over instructions but only looking at the 0th instruction's
opcode.
Fixes fd.o bug 27566.
2010-04-09 10:03:36 -06:00
Brian Paul
21cf976ad9
docs: link to 7.8.2 release notes
2010-04-08 13:11:30 -06:00
Brian Paul
3ad9a98ec2
docs: initial 7.8.2 release notes
2010-04-08 13:11:30 -06:00
Brian Paul
ffedd28c9c
progs/tests: added some debug code (disabled)
2010-04-08 13:11:29 -06:00
Brian Paul
bab6c0a035
st/mesa: fix glDrawPixels(GL_DEPTH_COMPONENT) regression
...
Commit 1454f20a99
caused the regression.
When the vertex shader emitted both a texcoord and color we were grabbing
the wrong vertex attributes. Fix the draw_quad() code to put texcoords
in slot[1] and color in slot[2]. That's a bit cleaner than changing
the vertex shader code.
Tested with progs/tests/zreaddraw.c
2010-04-08 13:11:29 -06:00
Li Peng
8ac7d7fa05
intel: Call intel_prepare_render() in intelClear()
...
Make sure we have up to date buffers before we start looking at
the tiling bits to determine how to clear.
2010-04-08 14:20:14 -04:00
Dave Airlie
4b39a0da89
texenvprogram: fix for ARB_draw_buffers.
...
piglit has a test called fbo-drawbuffers, this fails for me on r300g,
and fixing the texenv program to use the DATA outputs fixes it.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-04-08 15:19:52 +10:00
Ian Romanick
582e292a88
docs: Update 7.8.1 release MD5 sums
2010-04-05 12:45:20 -07:00
Brian Paul
5683d77b22
mesa: bump MESA_TINY version
2010-04-05 11:22:32 -06:00
Brian Paul
0e0de77f0e
docs: added news item for 7.8.1 release
2010-04-05 11:12:59 -06:00
Brian Paul
659669d74c
docs: add link to 7.8.1 release notes
2010-04-05 11:10:51 -06:00
Brian Paul
0eea33b069
softpipe: index the correct blend/mask state index
...
Need to check pipe_blend_state::independent_blend_enable to determine
which render target/index to use when checking blend enable and colormask
state.
This is part of the fix for piglit/fbo-drawbuffers
2010-04-05 11:00:54 -06:00
Ian Romanick
1ad1a51f14
docs: Add 7.8.1 release MD5 sums
2010-04-05 09:51:18 -07:00
Ian Romanick
88b7329cdd
mesa: set version string to 7.8.1
2010-04-05 09:49:08 -07:00
Ian Romanick
dcaa2c6e76
Initial 7.8.1 release notes
2010-04-05 09:12:33 -07:00
Henri Verbeet
f820b263db
mesa: update_arrays() depends on program state.
...
It uses ctx->VertexProgram._Current.
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-04-05 09:34:31 -06:00
Ian Romanick
42ea25cb4e
Update to final names from GLX_INTEL_swap_event spec
...
Fixes bug #27454 .
2010-04-04 23:06:01 -07:00
Ian Romanick
f66733e077
gl: updated glxext.h to version 27
2010-04-04 16:53:41 -07:00
Vinson Lee
930838efcd
util: Use GCC atomic bultins on GCC 4.1 and higher only.
2010-04-03 12:14:21 -07:00
Jeremy Huddleston
71b2f1d8e6
xdemos: Build object files first
...
This helps debugging on darwin.
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2010-04-03 11:23:09 -07:00
Vinson Lee
67776f66c9
glx: Fix compilation errors on non-GLX_DIRECT_RENDERING builds.
...
Add ifdef guards around variables of types defined only for
GLX_DIRECT_RENDERING.
2010-04-02 00:12:59 -07:00
Chia-I Wu
154d9242de
st/vega: Do not depend on libm.
...
This fixes the "no rule to make target -lm" error on darwin, reported by
Jeremy Huddleston.
2010-04-02 10:32:36 +08:00
Jesse Barnes
2b4d8616f5
GLX/DRI2: pass GLX drawable ID to dri2InvalidateBuffers
...
The IDs will be the same in the case where an X window is used directly
as a GLX drawable, but will fail if a new GLX drawable is created
explicitly, as with glxgears_fbconfig.
Fixes fdo bug #27190 .
2010-04-01 17:29:19 -07:00
Jeremy Huddleston
115203281c
Revert accidental commits from the xquartz tree
...
This reverts commit 9aadc793f3
.
This reverts commit 69ea4e7718
.
This reverts commit dbe8b01393
.
This reverts commit 23215ef4d6
.
This reverts commit 9495e37030
.
This reverts commit 0594cf7088
.
This reverts commit 86a7978d37
.
This reverts commit 437902ce97
.
2010-04-01 17:01:51 -07:00
Jeremy Huddleston
9aadc793f3
apple: Don't build gallium
...
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2010-04-01 12:33:48 -07:00
Jeremy Huddleston
69ea4e7718
apple: Use mesa gl.h rather than generating one.
...
Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org>
2010-04-01 12:33:47 -07:00
Jeremy Huddleston
dbe8b01393
apple: Integrate our libGL into the existing build system better
...
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2010-04-01 12:33:47 -07:00
Jeremy Huddleston
23215ef4d6
apple: Change ifdefs for DRI to be DRI && !APPLE
...
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2010-04-01 12:33:46 -07:00
Jeremy Huddleston
9495e37030
apple: Remove duplicate headers that already exist in mesa.
...
Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org>
2010-04-01 12:33:46 -07:00
Jeremy Huddleston
0594cf7088
apple: Initial import of libGL for OSX from AppleSGLX svn repository.
...
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2010-04-01 12:33:45 -07:00
Jeremy Huddleston
86a7978d37
xdemos: Build object files first
...
This helps debugging on darwin.
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2010-04-01 12:33:39 -07:00
Jeremy Huddleston
437902ce97
xdemos: Fix a build failure for non-autoconf configs
...
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2010-04-01 12:14:45 -07:00
Vinson Lee
16f568a183
glx: Fix compilation errors on non-GLX_DIRECT_RENDERING builds.
...
driContext field for __GLXcontextRec struct is only defined if
GLX_DIRECT_RENDERING is set.
2010-04-01 00:10:28 -07:00
Ben Skeggs
e24f4378a1
st/mesa: use BITFIELD64_BIT to access shader OutputsWritten in more places
2010-03-31 23:34:42 +10:00
Michel Dänzer
07c6d94cd7
glx/dri2: Fix debug build with old dri2proto.
...
Apparently the higher compiler optimization level in non-debug builds was
eliminating the unused functions referencing the unresolved DRI2 symbols...
2010-03-30 11:50:13 +02:00
Brian Paul
2aafbd7c2a
docs: fix 7.7.1 release date
...
(cherry picked from commit e6f5ca0fa3bff975f2acb3a825d77f095bc9f43e)
2010-03-29 12:01:28 -06:00
Ian Romanick
dec94903d9
mesa: Add 7.8 release MD5 sums
2010-03-28 16:35:56 -07:00
Ian Romanick
ef6736e646
intel: Bump intel driver date to reflect status as 2010Q1 release
2010-03-28 16:33:53 -07:00
Ian Romanick
a6a4613135
mesa: set version string to 7.8
...
Also set the correct release date.
2010-03-28 16:33:12 -07:00
Ian Romanick
11289924b8
mesa: Add 7.7.1 release MD5 sums
...
(cherry picked from commit 0c88e340499c961cc7a06107a727710a67e280ed)
2010-03-28 16:33:12 -07:00
Ian Romanick
cbc99d34b9
mesa: set version string to 7.7.1
...
Also set the correct release date.
(cherry picked from commit 663642b435af2f8ab4b16360783eb367f42486c3)
2010-03-28 16:33:12 -07:00
Vinson Lee
6abc3501c6
progs/tests: Remove duplicate texcompress2 in SConscript.
2010-03-27 14:40:41 -07:00
Vinson Lee
1bf67a3b3f
i965g: Add brw_winsys_debug.c to SCons build.
2010-03-27 14:25:03 -07:00