José Fonseca
e95e5caee6
os: Don't assert on missing implementation of barrier init/destroy. Just usage.
2010-02-05 13:54:21 +00:00
José Fonseca
8eda504203
Merge remote branch 'origin/master'
2010-02-05 13:50:24 +00:00
José Fonseca
a1af8eec66
Merge remote branch 'origin/lp-binning'
...
Conflicts:
src/gallium/auxiliary/util/u_dl.c
src/gallium/auxiliary/util/u_time.h
src/gallium/drivers/llvmpipe/lp_state_derived.c
src/gallium/drivers/llvmpipe/lp_state_surface.c
src/gallium/drivers/llvmpipe/lp_tex_cache.c
src/gallium/drivers/llvmpipe/lp_tile_cache.c
2010-02-05 13:48:35 +00:00
Pauli Nieminen
6785a8aaf4
r200: Optimize polygon stipple emit.
...
Only emit polygon stipple when the state is enabled.
2010-02-05 15:26:19 +02:00
Pauli Nieminen
05b0408489
r200: Add trace logging to r200PointSize.
2010-02-05 15:26:19 +02:00
Keith Whitwell
c036d13d7d
Merge commit 'fj/mesa-next'
2010-02-05 09:50:21 +00:00
Pauli Nieminen
69f20294cd
r100: Add the polygon stipple state to the state list.
...
This fixes glean paths test case.
2010-02-05 11:31:24 +02:00
Chia-I Wu
4f47684f75
egl: Add debug messages to config validation and matching.
...
It might be desirable find out which attribute went wrong.
2010-02-05 14:19:54 +08:00
Chia-I Wu
a37dc17c12
egl: Clean up eglconfig.h.
...
Update the comments to macros/functions. Remove unused
_eglSetConfigAttrib.
2010-02-05 13:42:02 +08:00
Chia-I Wu
1b2b08c5f3
docs: Update the developer section of egl.html.
...
Mainly to add a subsection about EGL_RENDER_BUFFER.
2010-02-05 12:48:49 +08:00
Chia-I Wu
5f08eff2a7
egl: Remove egl_xdri.
...
egl_xdri steals code from src/glx/x11/. This makes it broken from time
to time when there is a bigger change to the GLX code. As egl_dri2 has
been merged, which also functions as a DRI2 driver loader, remove
egl_xdri for good.
2010-02-05 12:48:49 +08:00
Chia-I Wu
cb260e1d18
egl: Update the comments to typecast macros.
...
Put a note that the macros define functions and should not be ended with
a semicolon when used.
2010-02-05 11:45:01 +08:00
Chia-I Wu
a35e63382e
egl_dri2: Use _EGL_DRIVER_STANDARD_TYPECASTS.
...
It saves the driver from defining the boring typecasts itself.
2010-02-05 11:45:01 +08:00
Chia-I Wu
b31255fbfd
egl: Clarify IsLinked and IsBound.
...
Both a link and a binding creates a reference to the resource. Drivers
should not destroy the resource when there is a reference. The
difference is better described in doc/egl.html.
2010-02-05 11:45:01 +08:00
Chia-I Wu
fc5ca85a63
egl_dri2: Do not destroy linked resources.
...
A linked resource is stil owned by the display.
2010-02-05 11:45:01 +08:00
Chia-I Wu
7e7c1ba40b
egl_dri2: Fix a snprintf warning.
...
The subtraction between two pointers has type unsigned int (only on
x86-64?), while the format string expects an int.
2010-02-05 11:44:49 +08:00
Chia-I Wu
8d411c9a12
egl_dri2: Add a debug print for DRI2 extensions.
2010-02-05 11:44:16 +08:00
Chia-I Wu
2eb7a2fccd
configure.ac: Check for xcb-dri2 to enable EGL dri2 driver.
...
Check that xcb-dri2 is available before including EGL dri2 driver into
EGL_DRIVERS_DIRS.
2010-02-05 11:43:54 +08:00
Kristian Høgsberg
c6e830c393
egl: Implement eglCopyBuffers for DRI2, make pixmap and pbuffers actually work
2010-02-04 21:50:23 -05:00
Brian Paul
4ac9c80e5b
mesa: change ctx->Driver.ProgramStringNotify() to return GLboolean
...
GL_TRUE indicates that the driver accepts the program.
GL_FALSE indicates the program can't be compiled/translated by the
driver for some reason (too many resources used, etc).
Propogate this result up to the GL API: set GL_INVALID_OPERATION
error if glProgramString() was called. Set shader program link
status to GL_FALSE if glLinkProgram() was called.
At this point, drivers still don't do any program checking and
always return GL_TRUE.
2010-02-04 16:53:27 -07:00
Pauli Nieminen
0f763c5b00
r200: Add the polygon stipple state to the state list.
...
This fixes glean paths test case.
2010-02-04 23:59:21 +02:00
Pauli Nieminen
77768cdd73
r200: Add logging for glPolygonStripple.
2010-02-04 23:59:20 +02:00
Pauli Nieminen
66229ea184
radeon: Make debugging automaticaly increase logging verbosity for debug build.
...
DEBUG preprocessor macro is set by configure script when
--enable-debug is passed for configure. Radeon then just
increase debugging verbosity if DEBUG is set in compile
time.
2010-02-04 23:59:20 +02:00
Francisco Jerez
5b6b67eb3f
Nuke the nv0x-nv2x gallium pipe drivers.
2010-02-04 22:15:22 +01:00
Francisco Jerez
bfb5dc68fc
Import a classic DRI driver for nv0x-nv2x.
2010-02-04 22:14:39 +01:00
Kristian Høgsberg
42fa009e64
egl: Add driver for EGL on X with DRI2
2010-02-04 15:03:45 -05:00
José Fonseca
7b6fa78d86
scons: Eliminate mixed space/tabs.
2010-02-04 19:37:56 +00:00
José Fonseca
9f151f93e6
scons: Only override scons CC selection in the embedded platform.
2010-02-04 19:37:30 +00:00
José Fonseca
838d9884be
trace: util_stream -> os_stream
2010-02-04 18:45:25 +00:00
José Fonseca
c75d64490e
auxiliary: util_stream -> os_stream
2010-02-04 18:44:51 +00:00
José Fonseca
0eb8e77ffb
os: Ensure header includes are outside extern "C" {}.
2010-02-04 18:24:57 +00:00
José Fonseca
5ee324ad3c
util: Reimplement u_time on top of os_time.
2010-02-04 18:24:36 +00:00
José Fonseca
b7b7ea9532
gallium: Add a define for deprecated function attribute.
2010-02-04 18:24:17 +00:00
José Fonseca
2ef6d311b7
os: Time abstractions.
...
Simplified version of u_time.[ch]
2010-02-04 18:23:49 +00:00
José Fonseca
24ea02553e
os/os_memory_aligned.h: fix memory allocation alignment for 64 bits
...
Based on Andreia Gaita <shana@jitted.com>'s patch.
2010-02-04 18:07:22 +00:00
Brian Paul
3aba0a2875
i965g: include u_inlines.h
2010-02-04 10:07:08 -07:00
Alex Deucher
339d42b4e6
r600: reduce number of cache flushes
...
We don't need to flush so often. Next step
would be to move the flushing to the drm and only
flush after each command buffer rather than each
draw.
2010-02-04 10:46:36 -05:00
José Fonseca
f769ab0fa6
util: Disable u_time.c implementation for embedded.
...
This needs to go into OS module.
2010-02-04 14:39:30 +00:00
José Fonseca
d015dfb45a
trace: Use u_time.
2010-02-04 14:39:30 +00:00
José Fonseca
47a080df15
gallium: Don't try to auto-detect the OS when embedded os is already pre-defined.
2010-02-04 14:39:30 +00:00
José Fonseca
9cd2abdf8b
llvmpipe: Disable unit tests on embedded platforms.
2010-02-04 14:39:30 +00:00
José Fonseca
5cf88a4787
scons: Promote EMBEDDED from subsystem to full os.
2010-02-04 14:39:30 +00:00
José Fonseca
063f1238d1
util: Add missing include.
2010-02-04 14:39:30 +00:00
José Fonseca
1207098dee
os: Add missing dummy threading definitions.
2010-02-04 14:39:30 +00:00
Pauli Nieminen
f1b07f0220
swrast/sse: Fix _mesa_sse_transform_pointsX_3d_no_rot
...
PXOR user in code were causing the lowest SP float register to have NaN
values which made all math operations in that slot fail. Correct istruction
to clear float registers is XORPS which handles single precission floats
correctly.
Fixes progs/tests/fog in swrast SSE mode.
Now the correct commit instead of 66d09e4a2a
which is not even close
of correct fix for the bug.
2010-02-04 13:13:52 +02:00
José Fonseca
5a743d9c51
scons: Have MinGW target MSVCRT 7.0
...
Necessary for _aligned_malloc/free().
2010-02-04 10:38:35 +00:00
José Fonseca
ef67ad05cb
scons: Use only the shared object name when linking progs.
...
Otherwise the whole path gets baked into the executable.
2010-02-04 09:23:30 +00:00
Vinson Lee
7713069ae3
st/mesa: Remove unnecessary headers.
2010-02-03 22:57:38 -08:00
Vinson Lee
d1487dcb20
svga: Remove unnecessary header.
2010-02-03 22:44:50 -08:00
Vinson Lee
c28dd492cd
util: Remove unnecessary header.
2010-02-03 22:42:02 -08:00