Commit graph

92185 commits

Author SHA1 Message Date
Shane Blackett
bc3b2a5d7a Fixes for Mingw 2008-09-11 08:36:03 -06:00
Eric Anholt
35fd72756a intel: track move of bo_exec from drivers to bufmgr. 2008-09-10 13:59:45 -07:00
Eric Anholt
3628185f56 intel: track bufmgr move to libdrm_intel and bufmgr_fake irq emit/wait change. 2008-09-10 13:59:45 -07:00
Eric Anholt
7e0bbdcf03 intel: Move the bufmgr back to the screen.
Mesa requires that we be able to share objects between contexts, which means
that the objects need to be created by the same bufmgr, and the bufmgr
internally requires pthread protection for thread safety.
Rely on the bufmgr having appropriate locking.
2008-09-10 13:59:45 -07:00
Ben Skeggs
f302fca5eb nouveau: gallium directory structure changed again.. 2008-09-11 06:41:18 +10:00
Ben Skeggs
7158203b08 Merge remote branch 'upstream/gallium-0.1' into nouveau-gallium-0.1
Conflicts:
	configs/default
2008-09-11 06:09:05 +10:00
José Fonseca
eb5b16d278 tgsi: Fix newline pos. 2008-09-10 10:33:03 +09:00
José Fonseca
dc1834a873 tgsi: Verify constants are set before attempting to read them. 2008-09-10 10:32:52 +09:00
José Fonseca
d671cf460f softpipe: Code (commented out) to dump BMPs. 2008-09-09 22:19:31 +09:00
José Fonseca
bfe45670ae util: Ensure we always have a full qualified file name on windows display. 2008-09-09 22:19:31 +09:00
Michal Krol
67c213499a util: Enable u_stream_std.c for PIPE_SUBSYSTEM_WINDOWS_USER. 2008-09-09 11:25:05 +02:00
Michal Krol
05ecd6d402 softpipe: Silence compiler warning on Windows. 2008-09-09 11:21:57 +02:00
Michal Krol
56e7c5522e softpipe: Protect pipe_condvar_signal/broadcast calls with a mutex. 2008-09-08 23:04:17 +02:00
Michal Krol
68e672a864 softpipe: Set SP_NUM_QUAD_THREADS 1 effectively disabling multithreaded softpipe.
We want to make it env variable, or even better, autodetect as the feature makes
softpipe run slower on a single CPU.
2008-09-08 17:25:47 +02:00
Michal Krol
b40732622f softpipe: More improvements for multithreaded softpipe.
Store only input and inout of a quad_header in job que.
2008-09-08 17:25:46 +02:00
Michal Krol
01f9e51203 softpipe: Split changing fields of quad_header into input, inout and output parts. 2008-09-08 17:25:46 +02:00
Michal Krol
84cde72b3e softpipe: Improve multithreaded softpipe.
Use condition vars to communicate between threads instead of stalling.
2008-09-08 17:25:46 +02:00
Michal Krol
ebe6160d7c softpipe: First attempts at multithreaded softpipe.
Configured for 2 cores.
2008-09-08 17:25:46 +02:00
Michal Krol
5a25628bd2 tgsi: Cleanup code. 2008-09-08 17:25:46 +02:00
José Fonseca
d25611ede0 trace: Request a growable file. 2008-09-08 22:57:01 +09: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
7cfc294c70 scons: Install shared libs in the right subdir. 2008-09-08 21:50:50 +09:00
José Fonseca
2444c0c81a trace: Use util's stream. 2008-09-08 11:09:48 +09:00
José Fonseca
86a15954bf util: Rip-off trace's os-independent stream code. 2008-09-08 11:09:23 +09:00
José Fonseca
52c2dd1f73 scons: Install libGL.so and respective symlinks. 2008-09-08 07:54:15 +09:00
Younes Manton
02025148c2 g3dvl: Initialize DRI drawables correctly. 2008-09-07 15:47:44 -04:00
Younes Manton
2f41095e04 g3dvl: Zero-block optimization.
For blocks whose contents are derived completely from ref surfaces, don't
bother zero-ing the corresponding block in the luma/chroma textures, except
for the first such luma, chroma Cb, and chroma Cr each frame. All later
zero blocks are textured from that first zero block.
2008-09-07 15:47:44 -04:00
Younes Manton
0bfbe834d3 g3dvl: Define texcoords seperately for luma, Cb, Cr textures.
Need to be able to address each texture separately to do zero-block.
2008-09-07 15:47:43 -04:00
Younes Manton
7891efdac1 g3dvl: Define block texcoords for each vertex instead of reusing pos.
This is needed for zero-block optimization.
2008-09-07 15:47:43 -04:00
Brian Paul
8af4794afc cell: code clean-up, comments 2008-09-05 10:18:00 -06:00
Brian Paul
a267934b23 cell: convert clear color if needed 2008-09-05 10:16:27 -06:00
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