Roland Scheidegger
fd2492d244
gallium: fixes for srgb, new srgb formats
...
add some more srgb texture formats, including compressed ones
various fixes relating to srgb formats
issues: the util code for generating mipmaps will not handle srgb formats
correctly (would need to use a linear->srgb conversion shader)
2008-12-12 05:12:55 +01:00
Alan Hourihane
ee0735fa2d
Merge commit 'origin/gallium-0.1' into gallium-0.2
2008-12-09 16:17:45 +00:00
José Fonseca
2ce2a40a73
gallium: Abort by default on windows user space.
2008-12-09 19:35:52 +09:00
Brian Paul
2b66417402
Merge commit 'origin/gallium-0.1' into gallium-0.2
...
Conflicts:
src/gallium/auxiliary/util/u_math.c
2008-11-10 11:19:30 -07:00
Brian
7e83157019
gallium: _debug_vprintf() should be silent if DEBUG is not defined
2008-11-09 09:45:12 -07:00
José Fonseca
bdf24007ca
gallium: WinCE portability fixes.
2008-11-03 22:36:52 +09:00
Robert Ellison
6901d6ef24
CELL: improve legibility of CELL_DEBUG environment variable output
2008-09-23 10:09:36 -06:00
José Fonseca
a4a739eb58
util: Allow to define the maximum file size.
...
This avoids splitting the bitmaps in many files.
2008-09-08 22:56:38 +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
José Fonseca
50524c2845
gallium: Pass 512 bytes max to EngDebugPrint.
2008-09-05 10:31:38 +09: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
José Fonseca
0f5a2ebec4
gallium: Disable debug break by default on windows.
2008-08-12 13:00:27 +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
José Fonseca
ff7a7031ca
gallium: Windows miniport portability fixes.
2008-07-26 09:18:07 +09:00
José Fonseca
6a65a0d9ef
gallium: Be less verbose with debug options messages.
2008-07-18 01:20:44 +09:00
Jonathan White
dc73d15a9a
gallium: code for PIPE_SUBSYSTEM_WINDOWS_USER
2008-06-23 16:25:26 -06:00
José Fonseca
d9f38a2ad1
gallium: Use the more portable PIPE_ARCH_* PIPE_CC_* macros instead of ad-hoc ones.
2008-06-24 02:39:17 +09:00
Michal Krol
b440cea343
util: Add missing format names.
2008-06-19 14:08:06 +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
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
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
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
a6ad492774
gallium: Simple facility to dump and view images for debugging.
2008-05-07 04:51:55 +09:00
José Fonseca
c6fadd9fad
gallium: Add newline to eof.
2008-05-01 22:32:49 +09: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
9bfe1a3d50
gallium: add debug_print_format() make it easier to print format error messages
2008-04-29 20:48:14 +01:00
José Fonseca
b06cd4debf
gallium: Windows user mode portability fixes.
2008-04-25 18:19:51 +09:00
José Fonseca
3a765bbe00
gallium: Use debug_get_bool_option for controlling assert failure behaviour.
...
Add
GALLIUM_ABORT_ON_ASSERT=no
to C:\gallium.cfg instead.
2008-04-17 00:20:09 +09:00
José Fonseca
a68f664124
gallium: Cache one line worth of debug output on windows.
...
The windbg connection seems synchronous, so this speeds up when printing
little text at a time (e.g., tgsi output).
2008-04-15 18:11:47 +09:00
José Fonseca
5b8fa51847
gallium: Don't assume snprintf are always available.
2008-04-15 10:13:52 +09: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
6fa0bd0671
gallium: Fix default option on Windows.
2008-03-25 11:37:24 +00:00
Brian
4654803e25
gallium: fix a few bugs, warnings in the p_debug code
...
added missing _ to a _debug_printf() call.
2008-03-24 18:49:56 -06:00
José Fonseca
e8c6ea4f60
gallium: Simple cross platform get-opt system.
...
Uses getenv on Linux, and a memory mapped text file on Windows.
It supports boolean options, flags, and plain strings.
2008-03-24 22:31:36 +00:00
José Fonseca
dd51365acd
gallium: cleanup p_debug
...
Now debug_printf is disabled on release builds. Use debug_error or
_debug_printf to output messages on release versions.
2008-03-24 22:31:36 +00:00
José Fonseca
48ef11d308
gallium: Remove the debug_mask_* stuff.
...
Overcomplex and not much different from using a global variable...
2008-03-23 18:57:35 +00:00
Keith Whitwell
a88202d3b0
gallium: add debug facility to dump random blobs as hex
2008-03-20 13:10:32 +00:00
José Fonseca
e08501b457
gallium: Add generic enum and flags dumping utility functions.
2008-03-19 16:42:19 +00:00
Keith Whitwell
b0d5519b44
gallium: make the windows config function more readable with 80-ish columns
2008-03-13 18:10:26 +00:00
José Fonseca
a2ea51ed82
gallium: Change assert behavior on runtime (Mark Mueller).
2008-03-12 15:02:50 +00:00
José Fonseca
45c5989511
gallium: Conditional debugging output.
...
Generalize the conditional debugging output code found trhought the gallium
drivers.
2008-03-12 00:27:52 +00:00
José Fonseca
3102268154
gallium: Use hardcoded breakpoints on x86 targets.
2008-03-10 21:18:00 +00:00
José Fonseca
b721bc8792
gallium: WinCE portability fixes.
2008-03-10 14:00:13 +00:00