Commit graph

167 commits

Author SHA1 Message Date
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
José Fonseca
5027411134 gallium: More tweaks for the cosf/sinf logic. 2008-06-02 21:43:31 +09:00
José Fonseca
acdf24e530 gallium: Fix log<->cos typo in logf. 2008-06-02 20:28:50 +09:00
José Fonseca
9b50043ea9 gallium: Hopefully fix the cosf/sinf/etc. conditional compolation logic for good. 2008-06-02 19:46:18 +09:00
José Fonseca
275fc32d58 gallium: Identify each Windows platform individually from scons. 2008-06-02 19:46:18 +09:00
Michal Krol
837d49a84e gallium: The SWZ opcode no longer aliases MOV.
Also, when the extended swizzle token is used, the simple swizzle
and negate are set to X,Y,Z,W and FALSE, respectively.
2008-06-02 11:34:56 +02:00
Michal Krol
4e33edfd06 gallium: Refactor TGSI decalaration tokens.
* Incorporate declaration_interpolation into declaration itself.
* Remove declaration_mask -- always use declaration_range.
2008-05-31 18:56:20 +02:00
Michal Krol
9046d1acfa gallium: Fix preprocessor logic. 2008-05-31 18:40:00 +02:00
José Fonseca
054189e87a gallium: MSVC 8.0 already defines the cosf, sinf, etc. 2008-05-31 18:55:40 +09:00
Jakob Bornecrantz
3869c3c87a Merge branch 'gallium-tex-surfaces' into gallium-0.1
Conflicts:

	src/gallium/drivers/i915simple/i915_context.h
2008-05-30 13:46:18 +02:00
José Fonseca
ae10775b73 gallium: Provide the INT64_C/UINT64_C macros.
"long long" types and 1234LL constants are not supported by eVC.
2008-05-30 03:33:06 +09:00
Keith Whitwell
82605d7bcd draw: draw_range_elements trial 2008-05-29 11:48:04 +01:00
Keith Whitwell
7fd6cd9af3 Merge branch 'gallium-vertex-linear' into gallium-tex-surfaces 2008-05-28 13:33:09 +01:00
Jakob Bornecrantz
938d9d5963 Merge branch 'gallium-vertex-linear' into gallium-0.1
Conflicts:

	src/gallium/auxiliary/draw/draw_pt_varray.c
2008-05-28 12:42:42 +02:00
José Fonseca
55d29a8d48 gallium: Windows CE portability fixes. 2008-05-28 16:13:24 +09:00
José Fonseca
26f34dcff2 gallium: Autodetect WINCE. 2008-05-28 01:24:26 +09:00
Jakob Bornecrantz
e3ddafd1d3 Merge branch 'gallium-tex-surface' into gallium-0.1
Conflicts:

	src/gallium/include/pipe/p_util.h
2008-05-26 13:04:25 +02:00