Younes Manton
1c22c04525
gallium: Make room for custom PIPE_TEXTURE_USAGE_* flags.
2008-12-02 16:15:12 -05:00
Alan Hourihane
4af0d940a3
Merge commit 'origin/gallium-0.1' into gallium-0.2
...
Conflicts:
scons/gallium.py
src/gallium/auxiliary/pipebuffer/pb_buffer.h
2008-11-25 09:28:30 +00:00
Brian Paul
868c607c17
tgsi: doxygen comments
2008-11-24 13:11:05 -07:00
Brian Paul
434e255eae
tgsi: add tgsi_declaration fields for centroid sampling, invariant optimization
2008-11-24 13:11:05 -07:00
José Fonseca
d600c805c0
gallium: Define convenience shortcuts for CPU/GPU READ/WRITE flag combinations.
2008-11-24 13:45:19 +09:00
Brian Paul
80a718a63b
Merge commit 'origin/gallium-0.1' into gallium-0.2
...
Conflicts:
src/gallium/auxiliary/rtasm/rtasm_execmem.c
src/mesa/shader/slang/slang_emit.c
src/mesa/shader/slang/slang_log.c
src/mesa/state_tracker/st_atom_framebuffer.c
2008-11-05 15:58:09 -07:00
José Fonseca
467c4760b3
gallium: Ensure refcounts of live objects are never zero.
2008-11-03 22:35:13 +09:00
Keith Whitwell
52e6fbb655
gallium: recognize DEBUG as well as DBG for debugging
2008-10-28 16:28:56 +00:00
Brian Paul
7004582c18
gallium: implement tests for PPC/PPC64
2008-10-21 14:12:17 -06:00
José Fonseca
4d7394f892
gallium: Introduce PIPE_ARCH_SSE define for SSE support.
...
Besides meaning x86 and x86-64 architecture, it also depends on SSE2
support enabled on gcc.
This fixes the linux-debug build.
2008-10-07 14:25:09 +09:00
Brian Paul
bac5900a14
cell: align instruction buffers to 8-byte, not 32-byte boundary
2008-09-26 10:15:35 -06:00
Brian Paul
bef3444f41
gallium: added ALIGN32_ATTRIB
2008-09-19 17:56:45 -06:00
José Fonseca
984a7c4e9c
gallium: Fix doxygen comments.
2008-09-19 10:40:42 +09:00
José Fonseca
1da0a13389
util: Dump surfaces to BMP.
...
This allows quick inspection of surfaces in mass scale.
2008-09-08 22:21:33 +09:00
Michal Krol
78a4589b10
gallium: Add pipe_thread primitives for PIPE_OS_LINUX.
2008-09-05 16:55:51 +02:00
Michal Krol
a0b5ac424b
gallium: Add pipe_thread primitives for PIPE_SUBSYSTEM_WINDOWS_USER config.
2008-09-05 15:10:47 +02:00
José Fonseca
53979d0a35
gallium: New pf_has_alpha utility function.
2008-09-05 10:31:38 +09:00
Brian Paul
5531c986bd
gallium: comments about nblocksx/y, etc
2008-09-03 14:23:22 -06:00
José Fonseca
f637a96e85
gallium: Have pipe_buffer_* receive a pipe_screen instead of a pipe_context.
...
We want to use the pipe_buffer_* inlines everywhere, but a pipe context
is not always available nor is it needed.
2008-09-03 11:53:39 +09:00
Brian Paul
e54f1abca7
gallium: removed p_pointer.h (use util/u_pointer.h instead)
2008-09-01 15:33:19 -06:00
José Fonseca
a341586d03
gallium: s/PIPE_OS_WINDOWS/PIPE_SUBSYSTEM_WINDOWS_USER/ in p_thread.
...
PIPE_OS_WINDOWS is an umbrella for all Windows variants and subsystems,
PIPE_SUBSYSTEM_WINDOWS_USER is just for user-space windows (e.g., OpenGL),
and the thread primitives currently included in p_thread only support the
later.
2008-08-28 06:53:57 +09:00
Brian Paul
d29cf58b1d
gallium: s/_glthread_Cond/unsigned/ in p_thread.h
2008-08-27 08:46:29 -06:00
Michal Krol
da66a7640d
gallium: Add dummy defines of pipe_condvar for Windows to make it compile.
2008-08-27 11:06:08 +02:00
Brian Paul
0bb852fa49
gallium: thread wrapper clean-up
...
In p_thread.h replace _glthread_* functions with new pipe_* functions.
Remove other old cruft.
2008-08-26 16:35:12 -06:00
Brian Paul
4f25420bdd
gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.h
...
Also, rename p_tile.[ch] to u_tile.[ch]
2008-08-24 17:48:55 -06:00
Brian Paul
fe1e39afbb
gallium: move pipe_copy_rect(), pipe_fill_rect() protos into new u_rect.h header
2008-08-22 16:19:22 -06:00
Brian Paul
a13475ff00
gallium: replace align_int() with align()
...
The two functions are identical. Removed align_int() from p_util.h
2008-08-22 16:09:37 -06:00
Brian Paul
a22bdd42d7
gallium: move math macros from p_util.h to u_math.h
...
More can be done...
2008-08-22 15:51:38 -06:00
Brian Paul
1a46dcc8a9
gallium: replace LOG2() macro with util_fast_log2() inline func
2008-08-22 15:25:21 -06:00
José Fonseca
9e3aaa5048
gallium: WinCE build fixes.
2008-08-19 21:35:06 +01:00
Michal Krol
146a0fba00
gallium: Add note about vs_2_0 EXPP mapping.
2008-08-19 15:32:09 +02:00
Michal Krol
235981d871
gallium: Remove TGSI_CC_UN.
2008-08-18 17:49:01 +02:00
José Fonseca
daa481a9c0
gallium: New PIPE_FLUSH_FRAME flag to signal the end of a frame.
2008-08-15 10:35:18 +01:00
José Fonseca
449cb6b37b
mesa: posix_memalign requires alignment to be multiple of sizeof(void*)
2008-08-14 11:01:42 +01:00
José Fonseca
a8540ef9fb
gallium: Catch errors from posix_memalign.
2008-08-14 11:01:42 +01:00
Michal Krol
9804ab9acc
gallium: Make a note that OPCODE_KIL is a conditional kill.
...
Map OPCODE_TEXKILL to OPCODE_KIL.
2008-08-13 09:15:27 +02:00
José Fonseca
3b5ee3d6de
gallium: Allow compilation inside X.
2008-08-12 13:00:18 +01:00
José Fonseca
ca826d79a6
gallium: Name pipe_depth_stencil_alpha_state member structures.
...
So that the previously anonymous depth/stencil/alpha structures can be
identified in the traces.
This is just syntactic sugar: it does not break source or binary compatibility.
2008-08-12 11:34:40 +01:00
José Fonseca
dc31bb5076
gallium: Invert include order.
2008-08-09 14:10:25 +01:00
José Fonseca
9dcb956a06
gallium: Add destroy callback to all *_winsys interfaces.
...
For consistency and to simplify these objects' destruction.
2008-08-08 12:32:23 +01:00
José Fonseca
fdafa1f863
gallium: Simplify format->name conversion.
2008-08-07 19:25:28 +01:00
José Fonseca
72a5e47978
gallium: New function to dump surfaces.
2008-08-07 18:58:29 +01:00
Brian Paul
be66a8f431
gallium: added PIPE_CAP_TEXTURE_MIRROR_CLAMP, PIPE_CAP_TEXTURE_MIRROR_REPEAT
...
Check for these caps in state tracker and enable corresponding GL extensions
if supported.
2008-08-06 17:22:29 -06:00
José Fonseca
28454a512a
util: Don't define replacement math functions for CE.
...
It appears to be working without this before, and it is probably necessary.
2008-07-28 22:42:18 +09:00
José Fonseca
ff7a7031ca
gallium: Windows miniport portability fixes.
2008-07-26 09:18:07 +09:00
José Fonseca
8aafc03b26
gallium: Finer grained is_format_supported.
2008-07-19 12:32:29 +09:00
José Fonseca
1a8ceb3828
gallium: Move PIPE_TEXTURE_USAGE* to p_defines.h
2008-07-19 12:32:29 +09:00
José Fonseca
583b9ccbd5
gallium: Add a pf_is_ycbcr utility function.
2008-07-18 22:22:22 +09:00
José Fonseca
fbf0f6bd4d
gallium: Add pf_is_compressed utility function.
2008-07-16 14:13:09 +09:00
Michal Krol
f5c51ebd2a
tgsi: Parse destination operand modulate modifier.
2008-07-13 15:23:14 +02:00