José Fonseca
8d9a96386a
gallium: Port util_time functions to windows userspace.
2008-06-02 21:45:25 +09:00
Michal Krol
56fc7690d7
util: Fix build after TGSI declaration interface changes.
2008-05-31 19:50:58 +02:00
José Fonseca
a9d6b1afa5
gallium: Port timing functions to WinCE.
2008-05-31 18:55:40 +09:00
José Fonseca
2691c22870
gallium: Replace getenv by placeholder code on WinCE.
...
WinCE processes supposedly have environment, but it is not clear which API to use.
2008-05-30 03:33:06 +09:00
José Fonseca
55d29a8d48
gallium: Windows CE portability fixes.
2008-05-28 16:13:24 +09:00
José Fonseca
345eb7fb70
gallium: Poor-man profiler for win32 kernel.
2008-05-24 19:25:33 +09:00
José Fonseca
059a652d64
scons: New profile build.
2008-05-24 19:25:02 +09:00
José Fonseca
54777e124c
gallium: Define util_vsprintf.
2008-05-09 18:48:01 +09:00
José Fonseca
47f639a629
gallium: Disable debug_get_option for release builds on Windows.
...
It always creates the C:\gallium.cfg , even if it does not exists, which
might be confusing.
2008-05-09 14:34:51 +09:00
Brian Paul
044d583ba1
gallium: handle null ptrs
2008-05-08 18:38:02 -06:00
José Fonseca
665b327a47
gallium: Really free hash entries.
...
Hook up to the new cso_hash_erase function.
2008-05-08 15:29:20 +09:00
José Fonseca
10b7192747
gallium: Implement util_pack_color for A8, L8, and I8 formats.
2008-05-07 22:01:27 +09:00
José Fonseca
33cda1e5e5
gallium: Fix release build.
...
pf_sprint_name might be used there too.
2008-05-07 21:37:32 +09:00
Michal Krol
5efd2d59eb
gallium: Fix compilation errors.
2008-05-07 14:24:14 +02:00
José Fonseca
55c13f5af7
gallium: Implement pf_sprint_name as a simple static table.
2008-05-07 20:27:42 +09:00
José Fonseca
942b02956e
gallium: Use the u_string.h functions.
2008-05-07 19:39:34 +09:00
José Fonseca
4d1bf8a85e
gallium: Output the total of leaked memory.
2008-05-07 16:29:36 +09:00
José Fonseca
a6ad492774
gallium: Simple facility to dump and view images for debugging.
2008-05-07 04:51:55 +09:00
Michel Dänzer
4c6c073f99
gallium: Define util_sprintf for non-WIN32.
2008-05-06 09:07:11 +01:00
Keith Whitwell
09e6be9b57
Merge commit 'origin/gallium-0.1' into gallium-tex-surfaces
...
Conflicts:
src/mesa/state_tracker/st_atom_sampler.c
src/mesa/state_tracker/st_cb_texture.c
2008-05-06 07:45:28 +01:00
José Fonseca
131a1fbc91
util: Alternative implementation for standard c library string functions.
2008-05-05 23:58:37 +09:00
Brian Paul
6e004e973b
gallium: remove 0.5 vertex biases in set_vertex_data()
...
These should not be needed and were causing garbage to appear along the
edges of the mipmap images.
2008-05-02 14:00:35 -06:00
Keith Whitwell
25d60838b5
gallium: fix build after merge
2008-05-02 12:17:11 +01:00
Keith Whitwell
c3a8a41faa
Merge branch 'gallium-0.1' into gallium-tex-surfaces
2008-05-02 12:00:13 +01:00
Michel Dänzer
f1f52a8be9
gallium: Notify driver of texture updates in util_blit_pixels().
2008-05-01 17:30:17 +01:00
Keith Whitwell
35b0efb8c6
gallium: do something sensible on the error path to try to avoid crashing in release builds
2008-05-01 15:37:30 +01:00
José Fonseca
c6fadd9fad
gallium: Add newline to eof.
2008-05-01 22:32:49 +09:00
Keith Whitwell
c9ed86a964
gallium: tex surface checkpoint
2008-05-01 12:00:45 +01:00
Brian Paul
54f94a790e
gallium: use the newer PIPE_FORMAT_x_UNORM format names
2008-04-30 16:51:53 -06:00
José Fonseca
dadb11f5d9
gallium: Fix release build.
2008-05-01 03:43:19 +09:00
José Fonseca
cafb545721
d3d: Windows miniport driver portability fixes.
2008-05-01 02:25:23 +09:00
Zack Rusin
0d80f407f1
silence p_debug.h:63: warning: ISO C forbids forward references to ‘enum’ types
2008-04-29 17:21:10 -04:00
Keith Whitwell
1e97ab6856
gallium: add pack for _FLOAT formats to pack_ub
2008-04-29 21:30:31 +01:00
Keith Whitwell
bbafa8aa2f
gallium: fix pack for A1R5B5G5
2008-04-29 21:30:04 +01:00
Keith Whitwell
fbddc8097c
gallium: add pack for A4R4G4B4
2008-04-29 21:05:48 +01:00
Keith Whitwell
7441f2e3ea
gallium: add pack for A1R5B5G5
2008-04-29 20:48:15 +01:00
Keith Whitwell
9bfe1a3d50
gallium: add debug_print_format() make it easier to print format error messages
2008-04-29 20:48:14 +01:00
Brian Paul
733bc4df1a
gallium: added some assertions to be sure the blit's surface formats are suitable
2008-04-29 12:55:41 -06:00
Brian Paul
1cff4992b3
gallium: add \n to error strings
2008-04-29 11:11:47 -06:00
Brian Paul
5e8d7899a8
gallium: fix error msg typo
2008-04-29 11:11:47 -06:00
Brian Paul
0d179ffe97
gallium: add cases for PIPE_FORMAT_X8Z24_UNORM
2008-04-28 09:33:20 -06:00
José Fonseca
b06cd4debf
gallium: Windows user mode portability fixes.
2008-04-25 18:19:51 +09:00
Michel Dänzer
7333578d2a
gallium: Initial support for pixel formats with unused storage components.
...
Also clarify that RGB formats with no (used) alpha component are treated as
having alpha = 1.0.
2008-04-24 10:18:34 +01:00
José Fonseca
53cf833af9
gallium: Add extern "C" to the headers.
2008-04-24 02:13:41 +09:00
Brian Paul
22cbf6a704
gallium: setup an identity viewport
...
This fixes broken blits.
2008-04-22 16:29:48 -06:00
Brian Paul
0939a986a8
gallium: update comment about bypass clipping/viewport
2008-04-22 16:25:55 -06:00
Brian Paul
aaa43218f3
gallium: setup an identity viewport
2008-04-22 16:22:21 -06:00
Keith Whitwell
01dfa6cde1
use cso fs/vs handle functions
2008-04-21 20:52:54 +01:00
José Fonseca
13d8b1b211
gallium: Set all state via cso_context in blit/gen_mipmap utils.
...
cso_restore_* functions are implemented on top of cso_set_*, therefore
they require full knowledge of the current pipe state to work correctly.
Directly calling pipe's set_*_state functions will lead to undefined state.
Also save and restore shaders.
2008-04-21 22:26:33 +09:00
Brian Paul
52544aa23b
gallium: added util_pack_color_ub()
2008-04-16 16:53:44 -06:00