Brian Paul
a1886d5391
softpipe: convert clear color to surface format if needed
2008-09-05 10:11:22 -06:00
Brian Paul
79200c9087
gallium: document that clear color is intentionally always PIPE_FORMAT_A8R8G8B8_UNORM
2008-09-05 10:10:55 -06:00
Brian Paul
2877727c9b
gallium: remove debug code from prev commit
2008-09-05 10:10:18 -06:00
Brian Paul
7071e774e4
gallium: new util_unpack_color_ub() function
2008-09-05 10:09:48 -06:00
Michal Krol
78a4589b10
gallium: Add pipe_thread primitives for PIPE_OS_LINUX.
2008-09-05 16:55:51 +02:00
Brian Paul
0f6e76d7f1
mesa: replace MALLOC w/ CALLOC to fix memory error in glPushClientAttrib()
2008-09-05 08:07:20 -06:00
Brian Paul
11d694b1bb
mesa: replace MALLOC w/ CALLOC to fix memory error in glPushClientAttrib()
2008-09-05 08:06:59 -06:00
Brian Paul
9246c2fad4
mesa: replace MALLOC w/ CALLOC to fix valgrind warning
2008-09-05 08:06:24 -06:00
Michal Krol
a0b5ac424b
gallium: Add pipe_thread primitives for PIPE_SUBSYSTEM_WINDOWS_USER config.
2008-09-05 15:10:47 +02:00
Michal Krol
ce3cf63251
mesa: _mesa_program_state_string() returns char *, not const char *.
2008-09-05 12:25:50 +02:00
Dave Airlie
06537296f1
intel: only enable occlusion query if the drm has defines.
...
This interface has to be re-written to not be dumb and to work
for multiple apps.
2008-09-05 13:48:51 +10:00
José Fonseca
b8a7eef242
tgsi: Refactor tgsi_dump to avoid using string buffers when dumping.
...
This fixes a stack overflow when dumping shaders.
It ended up being pretty much as the original code Michal had before,
before I went on a cleanup rampage on it and took things that ended up
needing...
2008-09-05 10:31:38 +09:00
José Fonseca
50524c2845
gallium: Pass 512 bytes max to EngDebugPrint.
2008-09-05 10:31:38 +09:00
José Fonseca
53979d0a35
gallium: New pf_has_alpha utility function.
2008-09-05 10:31:38 +09:00
José Fonseca
46efe73daf
python: Cleanup tri example.
2008-09-05 10:31:38 +09:00
Brian Paul
2b53512073
cell: move batch buffer init code
2008-09-04 19:10:05 -06:00
Brian Paul
c9cd0f4628
cell: comments
2008-09-04 19:09:50 -06:00
Brian Paul
2ebeab0422
cell: more cell_init_*_functions()
2008-09-04 19:00:56 -06:00
Brian Paul
5cf2e22654
cell: implement CELL_DEBUG env/options var
...
Options so far:
"checker" module tile clear color by SPU ID to see where the tiles are
"sync" to do synchronous DMA (only partially implemented)
2008-09-04 18:36:22 -06:00
Brian Paul
a69fc5129b
mesa: improved gl_buffer_object reference counting
...
Use new _mesa_reference_buffer_object() function wherever possible.
Fixes buffer object/display list crash reported in ParaView.
2008-09-04 15:25:45 -06:00
Brian Paul
9a64440154
mesa: fix minor mem leak
2008-09-04 15:05:03 -06:00
Brian Paul
37c74af01c
mesa: improved gl_buffer_object reference counting
...
Use new _mesa_reference_buffer_object() function wherever possible.
Fixes buffer object/display list crash reported in ParaView.
2008-09-04 14:59:40 -06:00
Brian Paul
dc248fc288
cell: assorted comments, clean-ups, etc.
2008-09-04 12:36:20 -06:00
Brian Paul
27ae1bcabf
cell: use util_surface_copy/fill()
2008-09-04 10:38:00 -06:00
Brian Paul
93ad2d5a5e
cell: include p_inlines.h
2008-09-04 10:37:30 -06:00
Brian Paul
dd82c06ca3
softpipe: use the new util_surface_copy/fill() functions
2008-09-04 10:32:29 -06:00
Brian Paul
69897223a8
gallium: remove the copyHeight hack for compresssed formats
2008-09-04 10:31:50 -06:00
Brian Paul
ce8c08c2b0
gallium: new util_surface_copy() and util_surface_fill() helpers
...
These are plug-in fallbacks for the pipe->surface_copy() and
pipe->surface_fill() functions.
2008-09-04 10:31:23 -06:00
Michal Krol
978f07bebd
mesa: Silence compiler warnings on Windows.
2008-09-04 13:37:15 +02:00
Kristian Høgsberg
4a32f0c638
configure.ac: bump dri2proto requirement, drop TTM_API define.
2008-09-04 06:23:14 -04:00
Xiang, Haihao
55e89eecff
mesa: merge stencil values into depth values for MESA_FORMAT_S8_Z24
...
Cherry-picked from master
2008-09-04 11:45:25 +08:00
Xiang, Haihao
0adfd10210
intel: Fix depth_stencil texture.
2008-09-04 11:36:04 +08:00
Xiang, Haihao
218df7f9c5
mesa: merge stencil values into depth values for MESA_FORMAT_S8_Z24
2008-09-04 11:32:52 +08:00
Jakob Bornecrantz
dc44bb8e92
mesa: Support for MESA_FORMAT_S8_Z24 texture
...
cherry-picked from gallium-0.1
2008-09-04 10:35:01 +08:00
José Fonseca
2c45b5575a
mesa: Remove unused var.
2008-09-04 11:15:19 +09:00
José Fonseca
1d7a213dad
softpipe: Add missing include.
2008-09-04 11:15:08 +09:00
José Fonseca
f754b45bef
i915: Add missing include.
2008-09-04 11:14:59 +09:00
José Fonseca
135a0dd75c
gallium: Fix typo.
2008-09-04 11:14:35 +09:00
José Fonseca
dffad1751e
cell: Use pipe_buffer_* inlines as much as possible.
2008-09-04 09:38:24 +09:00
José Fonseca
34cc7f5f19
i915: Use pipe_buffer_* inlines as much as possible.
2008-09-04 09:38:23 +09:00
José Fonseca
65a094101f
i965: Use pipe_buffer_* inlines as much as possible.
2008-09-04 09:38:23 +09:00
José Fonseca
c93fff86ea
softpipe: Use pipe_buffer_* inlines as much as possible.
2008-09-04 09:38:23 +09:00
José Fonseca
78435d9142
python: Use pipe_buffer_* inlines as much as possible.
2008-09-04 09:38:23 +09:00
José Fonseca
a3e39a4aa9
gallium: Use pipe_buffer_* inlines as much as possible.
2008-09-04 09:38:23 +09:00
Brian Paul
e5085b83d0
cell: flush rendering to current surfaces before installing new ones
...
This fixes crashes when resizing windows.
2008-09-03 14:38:02 -06:00
Brian Paul
e082298e31
cell: update comments, fix typos
2008-09-03 14:36:56 -06:00
Brian Paul
f89b74d97e
cell: change context type passed to cell_flush_int()
2008-09-03 14:31:11 -06:00
Brian Paul
5531c986bd
gallium: comments about nblocksx/y, etc
2008-09-03 14:23:22 -06:00
Brian Paul
a563a27c07
gallium: silence warnings
2008-09-03 13:35:06 -06:00
Brian Paul
6c84652dc3
cell: replace assert() with special spu ASSERT() macro
2008-09-03 13:35:06 -06:00