Commit Graph

31 Commits

Author SHA1 Message Date
José Fonseca
a8540ef9fb gallium: Catch errors from posix_memalign. 2008-08-14 11:01:42 +01: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
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
e8b52b3f56 gallium: Drop deprecated __MSC__ macro. 2008-06-24 13:56:41 +09:00
José Fonseca
72b6fddefb gallium: WinCE does not have cosf, sinf, etc. 2008-06-24 02:39:16 +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
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
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
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
Jakob Bornecrantz
a3dbd412df Merge branch 'gallium-i915-current' into gallium-0.1 2008-05-23 16:26:14 +02:00
Keith Whitwell
c9ed86a964 gallium: tex surface checkpoint 2008-05-01 12:00:45 +01:00
José Fonseca
cafb545721 d3d: Windows miniport driver portability fixes. 2008-05-01 02:25:23 +09:00
José Fonseca
b06cd4debf gallium: Windows user mode portability fixes. 2008-04-25 18:19:51 +09:00
Keith Whitwell
76a3590046 util: work around freaky win32 math.h 2008-04-21 14:19:15 +01:00
Keith Whitwell
f30f320612 util: add wrappers for float math functions on windows 2008-04-21 13:14:30 +01:00
José Fonseca
5b8fa51847 gallium: Don't assume snprintf are always available. 2008-04-15 10:13:52 +09:00
Jakob Bornecrantz
24fc93ebdc gallium: Stop warnings 2008-04-07 19:39:28 +02:00
José Fonseca
c1d26d3dcc gallium: Use the custom snprintf implementation everywhere (for Win32).
Because winddk's implemenation does not handle floats.
2008-04-05 13:45:40 +09:00
José Fonseca
aacfc326cc gallium: Use debug_get_option for GETENV 2008-03-25 11:37:54 +00:00
Brian
4e398df682 gallium: fix REALLOC() to copy smaller of old/new sizes 2008-03-24 12:51:18 -06:00
José Fonseca
48726e129a gallium: Protect operator precedence in macro. 2008-03-24 18:25:59 +00:00
José Fonseca
732422f670 gallium: Memory debugging utilities.
There are no known tools for windows kernel memory debugging, so this is a
simple set of malloc etc wrappers.

Enabled by default on win32 debug builds
2008-03-23 18:38:31 +00:00
Keith Whitwell
35a1ec53a7 gallium: make REALLOC a bit more like realloc 2008-03-18 19:17:26 +00:00
José Fonseca
b721bc8792 gallium: WinCE portability fixes. 2008-03-10 14:00:13 +00:00
José Fonseca
e4e3008923 Make the pipe headers C++ friendly. 2008-02-25 20:05:41 +09:00
Michal Krol
8828dd1443 gallium: Move align_pointer() to p_pointer.h. 2008-02-23 00:50:59 +09:00
José Fonseca
b642730be9 Code reorganization: move files into their places.
This is in a separate commit to ensure renames are properly preserved.
2008-02-15 17:45:40 +09:00