Francisco Jerez
5b6b67eb3f
Nuke the nv0x-nv2x gallium pipe drivers.
2010-02-04 22:15:22 +01: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
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
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
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
Chia-I Wu
9a3de505dc
egl: Convert drivers to use typecast macros.
...
Use macros to define the standard typecasts. This saves lots of
typings.
2010-02-04 14:36:48 +08:00
Vinson Lee
23b597cb6c
identity: Remove unnecessary header.
2010-02-03 22:36:10 -08:00
Vinson Lee
18e00e5863
llvmpipe: Remove unnecessary header.
2010-02-03 22:33:58 -08:00
Chia-I Wu
997316838d
st/egl: Add missing headers to kms display.
...
Add stdio.h and util/u_inlines.h to native_kms.c.
2010-02-04 10:50:22 +08:00
Vinson Lee
4d01e8e26f
st/egl: Add missing headers.
2010-02-03 18:36:07 -08:00
Vinson Lee
821b3e2302
winsys: Add missing headers.
2010-02-03 18:29:18 -08:00
Igor Oliveira
f225042a86
egl: fix implicit declaration of pipe_texture_reference adding u_inlines.h
2010-02-04 10:10:17 +08:00
Dave Airlie
3584a44270
gallium: fix more missing includes from various places
...
nouveau/ dri st / vmware
2010-02-04 10:52:43 +10:00
Dave Airlie
adf4c1ae10
nouveau: include stdio.h and u_inlines.h in all context files since embedded changes
...
fixes nouveau build for me.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-02-04 10:03:39 +10:00
José Fonseca
7bd949734c
util: Cast to match the MSVC intrinsics.
...
The cast is not optional in C++.
2010-02-03 22:16:39 +00:00
José Fonseca
e0da333d6b
util: Don't include system headers inside extern "C" { ... }
...
That breaks when some of the system headers have C++ code.
2010-02-03 22:15:53 +00:00
José Fonseca
45dac0d82a
Merge branch 'gallium-embedded'
2010-02-03 18:54:13 +00:00
José Fonseca
976afaf98f
gallium/docs: Document the OS module.
2010-02-03 15:56:36 +00:00
Brian Paul
f8d824e09a
tgsi: added debugging code to catch divide by zero
2010-02-03 08:50:32 -07:00
Brian Paul
9ca6cf0f54
tgsi: convert CHECK_INF_OR_NAN to inline function
...
And disable with if (0). Inf/NaN can occur normally during program
execution. Only enable the check code when needed during debugging.
2010-02-03 08:47:09 -07:00
José Fonseca
b724694f3a
os: Also add the aligned memory prototypes to the embedded section.
2010-02-03 12:57:49 +00:00
José Fonseca
6b424a0550
util: Reimplement all utility functions in terms of the new OS abstraction.
2010-02-03 12:13:06 +00:00
José Fonseca
0b0e705712
os: New OS abstraction module.
2010-02-03 12:11:58 +00:00
José Fonseca
630c375fe9
trace: Include the appropriate header instead of defining prototypes.
...
Avoids header when the header was included before.
2010-02-03 11:06:23 +00:00
Keith Whitwell
84d41f3c7f
svga: fix TXD and TXL opcode translation
2010-02-03 10:36:55 +00:00
Keith Whitwell
0748fc4f03
svga: deriv insns not valid in dynamic flow control either
2010-02-03 10:36:55 +00:00
Keith Whitwell
a9cdae2ae0
svga: texture from lod zero inside dynamic branching
...
Texture derivatives are potentially undefined inside dynamic branches,
so hardwire lod zero in this case. Treating all if/endif and loop
constructs as dynamic branches.
2010-02-03 10:36:55 +00:00
Keith Whitwell
fc3efccdc6
svga: better method for generating white fs color outputs
2010-02-03 10:36:55 +00:00
José Fonseca
bd03025621
gallium-docs: Fix typo.
2010-02-03 09:04:46 +00:00
Brian Paul
6f2e9651a1
draw: remove old hard-coded shader length limits
2010-02-02 21:34:06 -07:00
Brian Paul
439036739d
tgsi: added tgsi_alloc_tokens()
2010-02-02 21:23:23 -07:00
Brian Paul
c173eb990a
draw: re-implement free_bit() with ffs()
2010-02-02 21:17:56 -07:00
Brian Paul
3d5e26ebec
draw: comments and var renaming
2010-02-02 21:16:25 -07:00
Brian Paul
5670b44f82
tgsi: fix comment
2010-02-02 18:54:53 -07:00
Brian Paul
256f7f5ab2
draw: add const qualifiers, fix return types
2010-02-02 18:54:53 -07:00
Brian Paul
d6e55520e4
softpipe: remove unnecessary #include
2010-02-02 18:54:53 -07:00
Brian Paul
c740a7da61
draw: new, updated comments
...
Try to avoid future confusion between different, but similar functions.
2010-02-02 18:54:53 -07:00
Brian Paul
60b815604e
llvmpipe: fix (potentially) broken AA points, AA lines
...
This patch duplicates the softpipe fix seen in the preceeding commit.
2010-02-02 18:54:53 -07:00