Commit graph

31663 commits

Author SHA1 Message Date
Francisco Jerez
323e6bbb05 dri/nouveau: Try to validate textures earlier. 2010-02-25 18:37:36 +01:00
Francisco Jerez
44602bb23c dri/nouveau: Swizzle using the CPU when we hit a limitation of SIFM. 2010-02-25 18:37:35 +01:00
Francisco Jerez
e59e5e3388 dri/nouveau: Clean up the nv04 surface code a bit. 2010-02-25 18:37:35 +01:00
Francisco Jerez
1e4c0618a8 dri/nouveau: Avoid mask overflow on nv04_surface_fill. 2010-02-25 18:37:35 +01:00
Francisco Jerez
9a8e374c46 dri/nouveau: Set _BaseFormat correctly for z24s8 renderbuffers. 2010-02-25 18:37:34 +01:00
Francisco Jerez
91af398b32 dri/nouveau: Fix stencil mask handling on glClear(). 2010-02-25 18:37:34 +01:00
José Fonseca
db2e1518ff scons: Always build trace driver
There are so many state trackers and winsys that rely on it for debug
building, and trace can really build anywhere and is thin so there's no
point is making it an option.

Based on  Xavier Chantry <chantry.xavier@gmail.com>'s patch:

"I also removed the trace check in xlib SConscript which is now useless, and
that script seems to deal with the cell driver, so I added cell in the check
for supported drivers."
2010-02-25 17:02:52 +00:00
Michal Krol
aec4d225b2 python: Fix typo. 2010-02-25 16:16:25 +00:00
George Sapountzis
fec2a67e40 glapi/gen: just copy in glx/glapi 2010-02-25 17:52:05 +02:00
George Sapountzis
f1f33f9293 glapi: EXTRA_DEBUG is never defined, make this explicit 2010-02-25 17:52:05 +02:00
George Sapountzis
ec91810147 glapi: minor ugliness to be able to copy to xorg 2010-02-25 17:52:04 +02:00
Brian Paul
8ae701cbc9 docs: remove demos.html page which contained one dead link 2010-02-25 08:36:31 -07:00
Michal Krol
aa799fa2d0 tgsi: Remove dead code. 2010-02-25 15:01:10 +01:00
Chia-I Wu
2cf44390d1 mesa: Move src/mesa/glapi/dispatch.h to mesa.
glapi/dispatch.h is a core Mesa header file.  Move the header file to
main/ to make this clear.  It also becomes clear after this change that
IN_DRI_DRIVER is only used in core Mesa to enable the remap table.
2010-02-25 21:32:58 +08:00
Chia-I Wu
27d260b410 glapi: Move src/mesa/main/dispatch.c to glapi and rename.
main/dispatch.c is a glapi source file.  It is part of GLAPI_SOURCES in
sources.mak and part of glapi_sources in SConscript.  This commit moves
it to glapi/ and renames it to glapi_dispatch.c.
2010-02-25 21:32:58 +08:00
Chia-I Wu
4cb13b433c glapi: Generated GLX sources should use glapidispatch.h.
Fix glX_proto_recv.py and glX_proto_send.py, and regenerate the sources.
2010-02-25 21:32:45 +08:00
Chia-I Wu
2be1fcaafe mesa: Remove unused Makefile.{ugl,win}. 2010-02-25 21:30:51 +08:00
Chia-I Wu
6e28a4e0bc st/egl: Reduce validation round-trips in DRI2 backend.
This is similar to the changes to reduce the round-trips in ximage
backend.

When the server supports DRI_InvalidateBuffers, the event is used to
update the server stamp (this path is not tested).  Otherwise, the
server stamp is updated when flush_frontbuffer or swap_buffers is
called.  This makes sure at least the client APIs get the new buffers
when a new frame is started while skipping all round-trips during the
drawing.
2010-02-25 21:29:37 +08:00
Chia-I Wu
33b92471a7 st/egl: Reduce validation round-trips in ximage backend.
ximage_surface_validate is called several times per frame.  This commit
adds the client and server stamps to reduce the round-trips to the
server.  The idea is to bump the server stamp when flush_frontbuffer or
swap_buffers is called, and to skip the round-trip when the client stamp
is equal to the server stamp.  This makes sure the client APIs get the
new buffers when a new frame is started while skipping all round-trips
during the drawing.  To make this work, egl_g3d_validate_context is no
longer called after swap_buffers.
2010-02-25 21:29:37 +08:00
Chia-I Wu
29ec53d843 st/egl: Refactor dri2_surface_get_buffers.
Add dri2_surface_process_drawable_buffers to process the buffers
returned by the server.
2010-02-25 21:29:37 +08:00
Chia-I Wu
545ac97f9b st/egl: Add dri2InvalidateBuffers.
src/glx/dri2.c will call dri2InvalidateBuffers when
DRI2_InvalidateBuffers event is received.  This fixes a missing symbol
error, and paves the way for event-based validation.
2010-02-25 21:29:36 +08:00
Vinson Lee
cc7904ffa5 util: Assert that pointer is not null before dereferencing. 2010-02-25 02:42:41 -08:00
Vinson Lee
d553479cc4 mesa: Remove dead error condition. 2010-02-25 02:26:18 -08:00
Vinson Lee
9be414f4b9 glu/sgi: Set freed pointer to NULL. 2010-02-25 02:19:00 -08:00
Corbin Simpson
686f69bd13 r300g: Atomize vertex shader. 2010-02-24 20:02:59 -08:00
Corbin Simpson
f05d4526e3 r300g: Move CALLOCs to correct place. 2010-02-24 19:53:47 -08:00
Marek Olšák
e6632b4bf7 r300g: prevent CS overflow when emitting the draw packets
Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com>
2010-02-24 17:11:47 -08:00
Kristian Høgsberg
b7041db8f8 xeglgears: Update help text 2010-02-24 20:08:54 -05:00
Brian Paul
bc04ae21c1 llvmpipe: clean up rasterization threads upon context destruction
Fixes glean hang, bug 26536.
2010-02-24 17:30:43 -07:00
Brian Paul
072aeb57bd vbo: remove dead code 2010-02-24 16:13:46 -07:00
Brian Paul
778276a4dd r300g: remove invalid .PHONY line
The $(COMPILER_ARCHIVE) target is not a phony target.
This solves the unconditional re-making of libr300.a
2010-02-24 15:49:13 -07:00
Brian Paul
1332ee5487 gallium: remove extra -I paths from Makefile.template 2010-02-24 15:09:57 -07:00
Vinson Lee
17efc8c05c mesa: Fix SCons build. 2010-02-24 14:00:30 -08:00
Brian Paul
f393d95ff2 dri: remove old assertion (see bug 26734)
(cherry picked from commit 293f4d51b4)
2010-02-24 14:06:52 -07:00
Brian Paul
5046f2c195 llvmpipe: more lp_rasterizer_task parameter passing 2010-02-24 13:54:25 -07:00
Brian Paul
1c9db3c57f llvmpipe: pass fewer parameters to rasterization functions 2010-02-24 13:54:25 -07:00
Brian Paul
ab71a5e4c9 llvmpipe: added some assertions 2010-02-24 13:54:25 -07:00
Kristian Høgsberg
f272a780af xeglgears: Remove borrowed GL_OES_EGL_image types
These are now in gl.h.
2010-02-24 14:36:56 -05:00
Kristian Høgsberg
61cc18a866 xeglgears: Add test case for texturing from an EGLImage 2010-02-24 14:28:42 -05:00
Kristian Høgsberg
f4e7d1b1e5 egl_dri2: Implement EGL_KHR_image and EGL_KHR_image_pixmap 2010-02-24 14:28:42 -05:00
Kristian Høgsberg
10e7962741 intel: Implement GL_OES_EGL_image entrypoints 2010-02-24 14:28:42 -05:00
Kristian Høgsberg
c26247100b intel: Implement DRI image extension 2010-02-24 14:28:42 -05:00
Kristian Høgsberg
79cbcb663d dri_interface.h: Add DRI image and eglImageLookup extensions
These are used for implementing the various EGLImage extensions.
2010-02-24 14:28:41 -05:00
Brian Paul
ccd78fed88 gallium: remove $(DEFINES) from cc/c++ command lines
The $(DEFINES) is already in $(CFLAG)S and (CXXFLAGS).
This prevents all the -D args appearing twice in the compilation commands.
2010-02-24 12:03:59 -07:00
Brian Paul
51b799288a mesa: put declaration before code 2010-02-24 11:57:26 -07:00
Brian Paul
9f6990120a gallium: comment/document usage flags 2010-02-24 11:56:38 -07:00
Kristian Høgsberg
d1dc5b124e core: Implement GL_OES_EGL_image entry points 2010-02-24 13:38:56 -05:00
Kristian Høgsberg
07b07b4d72 glapi: GL_OES_EGL_image autogenerated files 2010-02-24 13:38:55 -05:00
Kristian Høgsberg
caa46f7538 glapi: Add GL_OES_EGL_image 2010-02-24 13:38:55 -05:00
Brian Paul
517faa4f37 st/mesa: updated comments 2010-02-24 11:33:54 -07:00