Vinson Lee
980fa564e4
mesa: Remove unnecessary headers.
2010-01-31 02:30:12 -08:00
Vinson Lee
c8f781e0ad
i965: Silence uninitialized variable warning.
2010-01-31 00:44:57 -08:00
Vinson Lee
d36e90f580
r300g: Silence uninitialized variable warning.
2010-01-30 22:50:35 -08:00
Chia-I Wu
bbdce27649
egl: Surface type validaction should depend on extensions supported.
...
EGL_SCREEN_BIT_MESA is a valid bit only when EGL_MESA_screen_surface is
supported.
2010-01-31 14:46:15 +08:00
Chia-I Wu
216925ccd1
egl: Initialize display configs with the display.
...
This changes _eglInitConfig to take the display as its argument.
2010-01-31 14:46:14 +08:00
Chia-I Wu
d69242be55
egl: Initialize display resources with their display.
...
Change _eglInitSurface, _eglInitContext, and _eglInitImage to take an
_EGLDisplay instead of an _EGLDriver. This is a more natural form, and
plus, the display encodes information such as the extensions supported
that might be required for attribute list parsing.
2010-01-31 14:46:14 +08:00
Chia-I Wu
e694ccad80
egl: Refactor _eglInitImage.
...
Refactor attribute list parsing code to _eglParseImageAttribList.
2010-01-31 14:46:14 +08:00
Chia-I Wu
caa5c8dfe8
egl: Refactor _eglInitContext.
...
Refactor attribute list parsing code to _eglParseContextAttribList. Add
a check to make sure the config supports the client API.
2010-01-31 14:46:14 +08:00
Chia-I Wu
6f1529293f
egl: Refactor _eglInitSurface.
...
Refactor attribute list parsing code to _eglParseSurfaceAttribList.
2010-01-31 14:46:13 +08:00
Vinson Lee
5ad488908b
i915: Set bit field of length 1 light_twoside to unsigned.
2010-01-30 22:36:54 -08:00
Vinson Lee
bc783f3d38
glut: Remove unnecessary headers.
2010-01-30 22:24:34 -08:00
Vinson Lee
8a2cf4549a
radeon: Remove unnecessary headers.
2010-01-30 21:32:09 -08:00
Vinson Lee
1a0d1fa36d
r600: Remove unnecessary headers.
2010-01-30 21:11:04 -08:00
Vinson Lee
b41f963136
r300: Remove unnecessary headers.
2010-01-30 20:49:42 -08:00
Vinson Lee
391892b0d8
r200: Remove unnecessary headers.
2010-01-30 20:43:23 -08:00
Vinson Lee
12eb32e342
r128: Remove unnecessary headers.
2010-01-30 20:24:13 -08:00
Chia-I Wu
996fd61442
egl: Remove code blocks that are commented out.
...
They are either unit tests or to demonstrate how functions are supposed
to be used. The unit test is outdated and it should be better to take a
look at any of the working drivers to see how a function is used.
2010-01-31 11:31:58 +08:00
Chia-I Wu
89e6eb5fbe
progs/egl: Update eglinfo to display more attributes.
...
Add config caveat, bind-to-texture, and renderable type. Remove double
buffer and stereo attributes.
2010-01-31 11:20:15 +08:00
Chia-I Wu
66f0517695
st/egl: Do not ignore configs without a renderable type.
...
Configs without a renderable type are still informative for programs
such as eglinfo.
2010-01-31 11:20:15 +08:00
Chia-I Wu
6d12c7083e
st/egl: Remove egl_g3d_get_current_context.
...
There is now _eglGetAPIContext that can return the current context of
the given API.
2010-01-31 11:20:15 +08:00
Vinson Lee
c6e26d76c7
intel: Remove unnecessary headers.
2010-01-30 19:11:31 -08:00
Vinson Lee
6e0f702b23
i965: Remove unnecessary headers.
2010-01-30 19:01:19 -08:00
Vinson Lee
c641703f21
i915: Remove unnecessary headers.
2010-01-30 18:54:56 -08:00
Eric Anholt
22bbc97994
intel: Respect texture tiling when doing a PBO blit teximage upload.
...
Bug #26008 . Fixes piglit pbo-teximage-tiling-2.
2010-01-30 15:12:23 -08:00
Corbin Simpson
a794c660d3
Revert "r300g: Don't handle SHADOW_AMBIENT."
...
This reverts commit 627a45848f .
I was wrong. Who could have known? :3
2010-01-30 14:30:13 -08:00
Eric Anholt
a44219c554
intel: Fix inverting of inversion test for windows in glClear cleanup.
...
Bug #26290 .
2010-01-30 12:38:31 -08:00
Corbin Simpson
b6ac2403ac
r300g: Independent blend enables only work on r500.
2010-01-30 12:33:44 -08:00
Corbin Simpson
627a45848f
r300g: Don't handle SHADOW_AMBIENT.
...
Bisected so that only this commit has to be reverted if I'm wrong.
...Pfft, like I'm ever wrong. :3
2010-01-30 12:23:43 -08:00
Corbin Simpson
f7467f7437
r300g: Fix comment on SHADOW_AMBIENT.
2010-01-30 12:23:24 -08:00
Corbin Simpson
268cc5ff38
gallium-docs: Fix missing PIPE_CAPs.
...
Hmm, need to cross-ref those TGSI things. My work is never done... :3
2010-01-30 12:16:10 -08:00
Corbin Simpson
bfbec0818f
r300g: Dual-source blending isn't possible, period.
2010-01-30 12:03:20 -08:00
Mathias Fröhlich
5a64bdaa01
r300g: Add alpha render targets.
...
Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com>
Tested-by: Mathias Fröhlich <Mathias.Froehlich@gmx.net>
2010-01-30 11:40:41 -08:00
Chia-I Wu
7056a74734
progs/es1: Add bindtex.
...
It is ported from progs/egl/xeglbindtex.c. With the OpenGL ES port, the
OpenGL version is removed.
2010-01-30 23:16:17 +08:00
Chia-I Wu
5714e674c7
st/egl: eglBindTexImage should bind to an OpenGL ES texture.
...
The spec says that it only works with OpenGL ES.
2010-01-30 23:15:21 +08:00
Chia-I Wu
2c3a23a96f
egl: Remove my_strdup.
...
There is already _eglstrdup for the main library's use.
2010-01-30 23:02:45 +08:00
Chia-I Wu
6fc304456e
egl: Remove unused VisibleRefCount.
2010-01-30 22:58:03 +08:00
Chia-I Wu
00e1790f32
egl: Rename Binding to CurrentContext in _EGLSurface.
...
A context can be bound to a surface just like it can be bound to a
thread. CurrentContext is a more consistent name.
2010-01-30 22:57:18 +08:00
Chia-I Wu
94cb321b5d
egl: Clean up header inclusions.
...
Mainly to remove eglcurrent.h and egldisplay.h from eglglobals.h.
2010-01-30 22:55:49 +08:00
Roland Scheidegger
847ac8ec5f
gallium: fix blend state cso
...
if independent blend state was disabled, only the data from first rt was
stored, however the comparison used the full state, hence there never was
a match and always a new object was created.
Fixes a huge performance drop with llvmpipe due to recompilation.
2010-01-30 01:58:00 +01:00
Brian Paul
b8d4cbd7e2
progs/demos: new image dissolve demo
...
Dissolve between two images using a random pattern in the stencil
buffer and a varying stencil ref value.
2010-01-29 14:01:34 -07:00
Brian Paul
98f3f1c695
gallium: document pipe_context::get_query_result()
2010-01-29 14:01:34 -07:00
Keith Whitwell
3fc73c389a
Merge commit 'lb2/arb_fragment_coord_conventions'
2010-01-29 20:24:26 +00:00
Corbin Simpson
882279d31a
docs: Mark what I've been up to.
...
Brian, feel free to split/revert if you disagree.
2010-01-29 09:54:42 -08:00
Brian Paul
e94021660b
progs/tests: added a few more files to .gitignore
2010-01-29 08:43:28 -07:00
Brian Paul
6fea2be795
tnl: check that state is validated before drawing
...
(cherry picked from commit 9fd3c74724 )
Conflicts:
src/mesa/tnl/t_draw.c
2010-01-29 08:40:46 -07:00
Brian Paul
987dd63b90
st/mesa: check that state is validated before drawing
...
(cherry picked from commit 4d1234e222 )
Conflicts:
src/mesa/state_tracker/st_draw.c
2010-01-29 08:39:47 -07:00
Brian Paul
5ce9183c1c
vbo: fix missing state validation bugs
...
Commit 2708ddfb06 caused a few regressions.
We need to check/validate state after calling bind_arrays() because
it might set the _NEW_ARRAYS flag if the varying VP inputs change.
The symptom of this problem was some attribute arrays being ignored
(or interpreted as constant-valued) in glDrawRangeElements or
glMultiDrawElements.
A follow-on patch will add some additional asserts to try to catch
this kind of thing in the future.
(cherry picked from commit 3cba779e16 )
2010-01-29 08:38:21 -07:00
Brian Paul
a38859569d
mesa: do state validation in _mesa_valid_to_render()
...
...rather than checking/validating before all the calls to
_mesa_valid_to_render() and valid_to_render().
The next patch will actually fix some bugs...
(cherry picked from commit 23eda89ec8 )
2010-01-29 08:38:11 -07:00
Brian Paul
364b008d18
docs: Fixed Windows build for 7.7.1
...
(cherry picked from commit a0518e66b2 )
2010-01-29 08:37:31 -07:00
Brian Paul
ee5e84eba6
windows: assorted build fixes
...
These changes were originally submitted by Karl Schultz for Mesa 7.7-rc2
but weren't applied.
(cherry picked from commit 82c76cd16f )
2010-01-29 08:37:15 -07:00