Marek Olšák
4c9a8a14e5
r300g: silence a warning
2010-01-12 18:08:58 -08:00
Marek Olšák
f3c4f2ef62
r300g: only emit scissor when needed
...
Reverting some bits from ce1c493ff8 .
Given the latest fixes, it's not needed to always emit scissor, really.
2010-01-12 18:08:57 -08:00
Marek Olšák
a2926a2a8b
Revert "r300g: Placate kernel checker by explicitly disabling depth test."
...
This reverts commit e920ee23b3 .
Assuming the FB state is not dirty and the DSA state is, then the depth test
will be re-enabled, making the kernel checker angry. Reverting the commit
fixes piglit/glsl-bug-22603.
2010-01-12 18:08:57 -08:00
Marek Olšák
6633484774
r300g: mark all states as dirty after flush
...
It fixes almost all regressions introduced lately.
2010-01-12 18:08:57 -08:00
Vinson Lee
c631501003
vbo: Remove unnecessary headers from vbo_exec.c.
2010-01-12 17:07:24 -08:00
Vinson Lee
94d238e757
vbo: Remove unnecessary header from vbo_exec_array.c.
2010-01-12 16:55:36 -08:00
Vinson Lee
37d326503d
vbo: Remove unnecessary header from vbo_exec_draw.c.
2010-01-12 16:37:30 -08:00
Michal Krol
8c53a2576e
gallium: draw_arrays/elements_instanced() are of type void.
2010-01-12 18:51:27 +01:00
Marcin Slusarz
90762bd355
nv50: fix 2 off by one memory leaks (nv50_miptree_level->image_offset)
2010-01-12 17:39:23 +01:00
Marcin Slusarz
c83093973e
nv50: fix memory leak on nv50_pc free
2010-01-12 17:38:52 +01:00
José Fonseca
26c78a4968
gallium: Rename ALIGN_STACK -> PIPE_ALIGN_STACK for consistency.
2010-01-12 12:15:24 +00:00
José Fonseca
5dfd5ed5e7
gallium: Simplify PIPE_ALIGN_VAR.
...
gcc allows pre-fix variable attributes.
Suggested by Ian Romanick.
2010-01-12 12:11:04 +00:00
José Fonseca
86bfe974b8
gallium: Generalize the alignment macros to other compilers and any alignment.
2010-01-12 12:11:04 +00:00
Corbin Simpson
ce1c493ff8
r300g: Always emit scissors.
...
Save some code, improve FPS, and fix piglit tests. Everybody wins.
2010-01-12 02:33:55 -08:00
Chia-I Wu
28272bc472
st/egl_g3d: Get the stapi from the driver.
...
egl_g3d_get_st was called because the driver argument was not given
before. It can be fixed now.
2010-01-12 17:56:48 +08:00
Chia-I Wu
3e6139d158
egl: Add _EGLDriver as the first argument to GetProcAddress.
...
The rest of the driver API has it as the first argument. It should be
there so that a driver has access to itself.
2010-01-12 17:53:57 +08:00
Chia-I Wu
31d2786239
egl_xdri: Fix build breakage.
...
driScreen->swapBuffers takes 3 more arguments since
daf7fe69f7 .
2010-01-12 17:51:08 +08:00
Vinson Lee
aee9a6f4e1
vbo: Remove unnecessary headers from vbo_save.c.
2010-01-12 00:50:05 -08:00
Vinson Lee
d2271d8a39
vbo: Remove unnecessary header from vbo_save_loopback.c.
2010-01-11 23:53:13 -08:00
Vinson Lee
083dae14bd
vbo: Remove unnecessary header from vbo_split_copy.c.
2010-01-11 22:46:30 -08:00
Chia-I Wu
1c1015bd53
st/egl_g3d: Improve comments to the native display interface.
...
Document the future of __GLcontextModes. Improve the description of
surface validation and native_flush_frontbuffer.
2010-01-12 14:06:11 +08:00
Vinson Lee
0d65a68f51
x86: Remove unnecessary header from x86_xform.c.
2010-01-11 21:04:16 -08:00
Corbin Simpson
daa446fa83
r300g: Add back dirty state check.
...
From 07ea7e6c80 . This is the only questionable part of that commit,
AFAICT...
2010-01-11 20:54:12 -08:00
Corbin Simpson
e920ee23b3
r300g: Placate kernel checker by explicitly disabling depth test.
...
This probably should disable stencil, too, if the kernel cares enough.
Note: When atomized, framebuffer setup should go towards the end anyway,
but it *must* follow these test setups anyway.
2010-01-11 20:54:12 -08:00
Corbin Simpson
22d615a9c4
r300g: Avoid segfault on binding null RS state.
2010-01-11 20:54:11 -08:00
Brian Paul
fe0e627685
st/mesa: removed unused var
2010-01-11 21:25:58 -07:00
Brian Paul
935fdbe142
st/mesa: comments, whitespace
2010-01-11 21:25:58 -07:00
Vinson Lee
8e9ceb8309
progs/xdemos: Remove unnecessary header from corender.c.
2010-01-11 20:24:57 -08:00
Vinson Lee
477d51537f
progs/trivial: Remove unnecessary headers from tri-fbo-tex.c.
2010-01-11 20:21:50 -08:00
Vinson Lee
7241f5140f
progs/trivial: Remove unnecessary header from tri-fbo-tex-mip.c.
2010-01-11 20:15:59 -08:00
Vinson Lee
ae8ed89f24
progs/tests: Remove duplicate included header in vparray.c.
2010-01-11 19:58:08 -08:00
Vinson Lee
6ed607cce6
progs/tests: Add newline to end of printf in vparray.c.
2010-01-11 19:56:04 -08:00
Vinson Lee
7bfa54c6a4
progs/redbook: Remove unnecessary header from aapoly.c.
2010-01-11 19:52:22 -08:00
Vinson Lee
2178abfba3
progs/glsl: Remove duplicate included header from shtest.c.
2010-01-11 19:42:55 -08:00
Vinson Lee
78ddce9fda
progs/demos: Remove unnecessary header from morph3d.c.
2010-01-11 19:29:26 -08:00
Chia-I Wu
d8299af4ab
docs: Add documentation for OpenGL ES.
...
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-12 11:25:09 +08:00
Chia-I Wu
76e726515a
progs/es2: Correctly set renderable type and client version.
...
Correctly set EGL_RENDERABLE_TYPE and EGL_CONTEXT_CLIENT_VERSION for
OpenGL ES 2.0. Because es2_info is copied from es1_info, the fix for it
actually goes to es1_info.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-12 11:25:09 +08:00
Chia-I Wu
43f67b61fd
progs/es1: Bind texture image after rendering.
...
Unlike FBO, eglBindTexImage is supposed to be called after rendering.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-12 11:25:09 +08:00
Chia-I Wu
99a37ed195
configure.ac: Fix es state tracker build.
...
mesa/es should be built before the es state trackers. This is done by
separating those that need to be built early from SRC_DIRS to CORE_DIRS.
The new variable is not exported, and will be prepended to SRC_DIRS.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-12 11:25:09 +08:00
Chia-I Wu
3f3340ca16
st/es: Clean up install target.
...
Use DESTDIR and MINSTALL.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-12 11:25:09 +08:00
Chia-I Wu
182c382813
st/es: Fix build issue after merge.
...
In c847a13d38 , auxiliaries becomes a
single library; In e388d62b47 , the
default build is changed to have -fvisibility=hidden.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-12 11:25:09 +08:00
Chia-I Wu
0ce5b128d7
mesa/es: Update sources.mk.
...
Add/remove files that are unused/used to the omit list. Finally, they
should all be features that can be omitted.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-12 11:25:09 +08:00
Chia-I Wu
bffe94d48a
mesa/es: Fix build issue after merge.
...
In cd6b8dd9e8 , color read/type fields are
moved; Based on 068596c9a7 and
cc020425e9 , GLSL builtin library is
autogenerated and GLSL libraries are built and used.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-12 11:25:08 +08:00
Chia-I Wu
562c127693
Merge branch 'master' into opengl-es-v2
...
Conflicts:
src/mesa/main/dd.h
2010-01-12 11:25:02 +08:00
Brian Paul
3fce8ad2de
Revert "util: Build u_bitmask.o when using make."
...
This reverts commit 01eff0e6d2 .
u_bitmask.c was already in the C_SOURCES list.
2010-01-11 20:19:30 -07:00
Vinson Lee
f07e87ffba
progs/tests: Silence fprintf format warning.
2010-01-11 19:16:36 -08:00
Chia-I Wu
077d6dd750
winsys/drm: Use egl_g3d to build EGL drivers.
...
The new EGL drivers use egl_g3d and respect EGL_DISPLAYS. They are
named after the display supported and the DRM name.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-12 11:09:00 +08:00
Chia-I Wu
a68b51deb2
st/egl_g3d: Add support for KMS native display.
...
The KMS native display implements the modeset interface using DRM
modesetting.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-12 11:09:00 +08:00
Chia-I Wu
2dcdf19ee3
st/egl_g3d: Add support for EGL_MESA_screen_surface.
...
This is implemented through the modeset interface.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-12 11:09:00 +08:00
Chia-I Wu
c67ad0eee8
st/egl_g3d: Update the native display interface for modesetting.
...
The new interface can be used to implement EGL_MESA_screen_surface.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-12 11:09:00 +08:00