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
Michal Krol
3d5dcc2203
tgsi: Parse texture instructions correctly.
2008-07-13 13:17:41 +02:00
Michal Krol
bd3b47590e
tgsi: Remove depricated ATTRIB interpolate mode.
2008-07-13 13:17:30 +02:00
José Fonseca
b3da2a9524
gallium: Use the inline keyword on C++.
2008-07-01 22:04:58 +09:00
Roland Scheidegger
429a08384c
gallium: handle msaa
2008-06-27 16:10:16 +02:00
José Fonseca
4ddd659679
gallium: Drop pipe_texture->cpp and pipe_surface->cpp.
...
The chars-per-pixel concept falls apart with compressed and yuv images,
where more than one pixel are coded in a single data block.
2008-06-27 19:37:56 +09:00
José Fonseca
38d779a3e6
gallium: Describe pixel block.
...
Chars-per-pixel paradigm is not enough to represent compressed and yuv
pixel formats.
2008-06-26 23:39:13 +09:00
Brian Paul
0561a293b6
gallium: remove some old dispatch code
2008-06-24 08:47:15 -06:00
José Fonseca
e8b52b3f56
gallium: Drop deprecated __MSC__ macro.
2008-06-24 13:56:41 +09:00
Brian Paul
89e9d6b6db
gallium: added support for fixed-point formats, drawing
2008-06-23 17:13:14 -06:00
José Fonseca
72b6fddefb
gallium: WinCE does not have cosf, sinf, etc.
2008-06-24 02:39:16 +09:00
Brian Paul
e14126ec81
gallium: change surface_copy()'s do_flip to boolean
2008-06-23 08:54:16 -06:00
Michal Krol
28ac7d37fe
gallium: Remove PIPE_FORMAT_A8UB8UG8SR8S_NORM definition.
2008-06-18 08:51:38 +02:00
Michal Krol
4539410d71
gallium: Add facilities for mixed pipe formats.
2008-06-17 21:48:39 +02:00
Michal Krol
62f03a9ecc
gallium: Fix PIPE_FORMAT_A2B10G10R10_UNORM definition.
...
Whoops!
2008-06-13 15:21:11 +02:00
Michal Krol
b03a0373a2
gallium: Add PIPE_FORMAT_A2B10G10R10_UNORM.
2008-06-13 14:58:24 +02:00
Michal Krol
6f548c88e2
gallium: Allow pipe format component sizes to be specified
...
with finer granularity.
This will allow us to define A2R10G10B10 format.
2008-06-13 14:50:29 +02:00
José Fonseca
2fed8d8496
gallium: Support L16 pixel format.
2008-06-12 10:56:19 +09:00
José Fonseca
23422d603a
gallium: Implement debug_get_num_option.
...
For numeric options.
2008-06-12 10:56:04 +09:00
José Fonseca
a70684bf25
gallium: Deprecate GETENV. Replace by debug_get_bool_option.
...
debug_get_bool_option will interpret "n", "no", "0", "f", or
"false" as FALSE; and everything else as TRUE. The default value
(used when the variable is not set) is received as a parameter.
2008-06-10 08:33:21 +09:00
Jonathan White
fe1a2d1fff
egl: assorted fixes for Windows
...
Note that int32_t is typedef'd both in p_compiler.h and eglplatform.h
2008-06-05 15:07:03 -06:00
Michal Krol
43b92a6424
gallium: Define PIPE_CAP_GUARD_BAND_* capabilities.
2008-06-04 11:42:26 +01:00
José Fonseca
e0860518df
gallium: Replace XSTDCALL by PIPE_CDECL.
2008-06-02 22:31:02 +09:00