Commit Graph

16691 Commits

Author SHA1 Message Date
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
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
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 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