Brian Paul
ed6125fe9b
st/mesa: we don't support GL_NV_point_sprite (see comment)
2009-08-03 11:16:23 -06:00
Brian Paul
35e3449ad7
mesa: move misplaced return statement
...
Fixes regression from commit 7d93f817c9
2009-07-30 09:02:36 -06:00
Brian Paul
7d93f817c9
mesa: add missing return after catching program error
2009-07-30 08:23:26 -06:00
Keith Whitwell
6842829539
mesa/st: short-circuit glFinish calls on WIN32 only
...
Windows opengl32.dll calls glFinish prior to every swapbuffers, which
makes it pretty hard to get decent performance...
Work around by mapping finish to flush on PIPE_OS_WINDOWS. This is
conformant, though it might confuse poorly-written benchmarks which
attempt to measure a single event rather than figuring out the rate of
continuous processing.
2009-07-29 12:48:05 +01:00
Keith Whitwell
2420b283b7
mesa/st: recognize no-op scissor state when checking clear_with_quads
...
Some apps enable scissor but set the rectangle to the dimensions of
the window. Don't let this force us onto a slower clear path.
2009-07-29 12:48:04 +01:00
Keith Whitwell
4d99e14535
util: _debug_printf should print even when DEBUG is not defined
...
The leading underscore is meaningful... This function is used by
_warning and _error functions as well as the more common
debug_printf().
debug_printf (without underscore) gets turned off when DEBUG is
disabled, but warning/error messages still use this function to get
their message out.
(cherry picked from commit 0ac879dca7 )
2009-07-29 12:48:04 +01:00
RALOVICH, Kristóf
45f4e8842e
glx: assign per screen driver configs (DRISW)
2009-07-28 10:35:56 -06:00
RALOVICH, Kristóf
d090ba9e00
glx: assign per screen driver configs (DRI)
2009-07-28 10:35:56 -06:00
RALOVICH, Kristóf
82f4dc21cc
glx: assign per screen driver configs (DRI2)
2009-07-28 10:35:56 -06:00
RALOVICH, Kristóf
e32b601e7d
glx: properly release DRI configs
...
Release per screen DRI driver configs during screen destruction.
2009-07-28 10:35:56 -06:00
RALOVICH, Kristóf
ce0ad53281
glx: cache DRI configs in __GLXscreenConfigsRec
2009-07-28 10:35:56 -06:00
Vinson Lee
bc60b88411
progs/trivial: add missing files to Makefile, .gitignore
2009-07-28 08:54:48 -06:00
Brian Paul
3dbaf68bdc
intel: Fix leak of DRI option info due to using the wrong free routine.
...
(cherry picked from commit 6d66f23c50 )
2009-07-27 15:33:07 -06:00
Brian Paul
722d136f7b
intel: Clean up leak of driver context structure on context destroy.
...
(cherry picked from commit ddef7dc87b )
2009-07-27 15:33:07 -06:00
Brian Paul
a7427b0f7b
st/mesa: silence warning
2009-07-27 15:10:28 -06:00
Brian Paul
0ad9eba333
mesa: separate some finite/pragma Watcom stuff
2009-07-27 15:10:00 -06:00
Brian Paul
7e2f26cbbf
softpipe: include sp_winsys.h to silence function prototype warning
2009-07-27 15:08:44 -06:00
Brian Paul
d2f56fe687
intel: Use _mesa_warning() to report GEM warnings
2009-07-27 14:35:18 -06:00
Karl Schultz
09ef339b69
windows: updated VC8 project files
...
See bug 22882.
2009-07-27 13:38:35 -06:00
Brian Paul
25e371fb7b
docs: 7.5 tarball md5sums
2009-07-27 13:27:54 -06:00
José Fonseca
5276b049b4
util: fix typo.
2009-07-26 20:31:59 +01:00
Brian Paul
c57d81ddc9
mesa: include glew headers in MesaDemos tarballs
2009-07-23 20:20:39 -06:00
Brian Paul
b4ba6a66b7
docs: initial release notes for 7.5.1
2009-07-22 12:49:34 -06:00
Brian Paul
9c4b877519
mesa: bump version to 7.5.1
2009-07-22 12:46:53 -06:00
Brian Paul
b9e2e32daf
mesa: include GLEW sources in MesaDemos tarball
2009-07-22 12:34:07 -06:00
Eric Anholt
a6b314150c
intel: Fall back on glBitmap with fog enabled.
...
We would have to build the program with the appropriate fog mode, and
also supply the fog coordinate if appropriate.
Bug #19413 .
(cherry picked from commit 8ae02a3919 )
2009-07-20 19:10:32 -07:00
Eric Anholt
1b445f9673
i965: Don't clip everything if FRONT_AND_BACK culling while culling disabled.
...
Fixes everything-black with meta_clear_tris on quake4-mpdemo and doom3-demo.
Bug #18844 , 22077.
(cherry picked from commit 81d5550684 )
2009-07-20 19:10:20 -07:00
Michel Dänzer
5ed4404005
radeon: With DRI1, if we have HW stencil, only expose fbconfigs with stencil.
...
Otherwise simple apps like glxgears pick up a DirectColor visual since the X
server mixes the depth 32 visual in with the other GLX visuals, and this seems
to result in a (mostly) black screen due to a bad ColorMap for a lot of people.
The bad ColorMap may be a bug in the apps, the X server or X driver, and
regardless of that I think the X server should ideally make the depth 32 GLX
visual separate from the rest again, but in the meantime this makes us cope.
(depth_bits is either 16 or 24, never 0)
2009-07-20 20:34:04 +02:00
Brian Paul
cd10996d4f
progs/util: remove extfuncs.h (we use GLEW instead)
2009-07-17 14:43:29 -06:00
Brian Paul
ee0b1bc7d3
progs/glsl: finish conversion to GLEW
...
This is a follow-on to b799af91d5 .
Remove _func function suffix and unneeded #includes.
2009-07-17 13:23:11 -06:00
Brian Paul
a77b455af0
mesa: set version to 7.5
2009-07-17 12:40:48 -06:00
Brian Paul
71b9e10291
mesa: set version to 7.5
2009-07-17 12:40:44 -06:00
Brian Paul
7fd3674672
docs: set date for 7.5 release
2009-07-17 12:40:24 -06:00
Brian Paul
27587f46e5
docs: news entry for 7.5 release
2009-07-17 09:40:59 -06:00
Brian Paul
8c6e81f97d
docs: update links to Gallium wiki page on freedesktop.org
2009-07-17 09:40:59 -06:00
José Fonseca
2ba98efdf6
python/retrace: Process the call no passed to --to option inclusively.
2009-07-16 19:34:44 +01:00
José Fonseca
cf7e8fbc2e
python/retrace: Dump the surface copy contents.
2009-07-16 19:32:40 +01:00
José Fonseca
5807ccb41b
python/retrace: Flush stdout before calling the pipe driver.
...
So that messages are in sync with stderr.
2009-07-16 19:31:36 +01:00
José Fonseca
d4e6df9ab6
mesa: Fix logbase2.
...
It was providing 1 too many for non power two values.
2009-07-16 19:20:25 +01:00
José Fonseca
0c4350790a
python: Hack to prevent segmentation faults when python exits.
2009-07-16 11:22:56 +01:00
José Fonseca
4e1e18a772
wgl: Expose pipe_screen/pipe_context via an extension.
2009-07-16 11:22:56 +01:00
José Fonseca
3ab3209a1f
python: Obtain pipe_screen/pipe_context from the system's OpenGL driver.
2009-07-16 11:22:56 +01:00
Luca Barbieri
6b7b13b5eb
softpipe: limit blend results to [0,1]
2009-07-15 11:34:36 -06:00
Brian Paul
d970313b66
Fix state flag dependencies for fixed function fragment program updates.
...
I started looking into why _NEW_ARRAY punishes us, and while annotating
dependencies noticed that a bunch of dependencies were missing.
(cherry picked from master, commit e5f63c403b )
2009-07-15 11:12:44 -06:00
José Fonseca
0474b5cb2a
python/retrace: Interpret surface_copy.
2009-07-15 16:02:39 +01:00
José Fonseca
c68f659be3
python/samples: Use PIPE_FORMAT_Z16_UNORM instead of PIPE_FORMAT_Z32_UNORM.
...
More common. True fix would be to use whatever the screen supports though.
2009-07-15 16:02:39 +01:00
Keith Whitwell
fdeb778990
mesa: recognize and eliminate repeated error messages
2009-07-15 13:31:51 +01:00
Keith Whitwell
59de430de7
mesa: split out errorstring switch from _mesa_error
...
Move a chunk of code out of _mesa_error()
2009-07-15 13:31:51 +01:00
Keith Whitwell
df5f7a6761
mesa: remove dead code in _mesa_error
...
Remove early and unused snprintf and where[] string.
2009-07-15 13:31:51 +01:00
Keith Whitwell
6c9d8a6f24
mesa: don't call getenv every time _mesa_error is called
...
Buggy apps can generate thousands of mesa_error calls. Don't need
to keep calling getenv to retreive the same MESA_DEBUG string each
time.
2009-07-15 13:31:50 +01:00