Brian Paul [Fri, 5 Sep 2008 16:10:55 +0000 (10:10 -0600)]
gallium: document that clear color is intentionally always PIPE_FORMAT_A8R8G8B8_UNORM
Brian Paul [Fri, 5 Sep 2008 16:10:18 +0000 (10:10 -0600)]
gallium: remove debug code from prev commit
Brian Paul [Fri, 5 Sep 2008 16:09:48 +0000 (10:09 -0600)]
gallium: new util_unpack_color_ub() function
Michal Krol [Fri, 5 Sep 2008 14:47:06 +0000 (16:47 +0200)]
gallium: Add pipe_thread primitives for PIPE_OS_LINUX.
Brian Paul [Fri, 5 Sep 2008 14:07:20 +0000 (08:07 -0600)]
mesa: replace MALLOC w/ CALLOC to fix memory error in glPushClientAttrib()
Michal Krol [Fri, 5 Sep 2008 13:10:47 +0000 (15:10 +0200)]
gallium: Add pipe_thread primitives for PIPE_SUBSYSTEM_WINDOWS_USER config.
Michal Krol [Fri, 5 Sep 2008 10:25:50 +0000 (12:25 +0200)]
mesa: _mesa_program_state_string() returns char *, not const char *.
José Fonseca [Fri, 5 Sep 2008 01:29:17 +0000 (10:29 +0900)]
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...
José Fonseca [Fri, 5 Sep 2008 01:27:03 +0000 (10:27 +0900)]
gallium: Pass 512 bytes max to EngDebugPrint.
José Fonseca [Fri, 5 Sep 2008 01:26:30 +0000 (10:26 +0900)]
gallium: New pf_has_alpha utility function.
José Fonseca [Thu, 4 Sep 2008 13:23:32 +0000 (22:23 +0900)]
python: Cleanup tri example.
Brian Paul [Fri, 5 Sep 2008 01:10:05 +0000 (19:10 -0600)]
cell: move batch buffer init code
Brian Paul [Fri, 5 Sep 2008 01:09:50 +0000 (19:09 -0600)]
cell: comments
Brian Paul [Fri, 5 Sep 2008 01:00:56 +0000 (19:00 -0600)]
cell: more cell_init_*_functions()
Brian Paul [Fri, 5 Sep 2008 00:36:22 +0000 (18:36 -0600)]
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)
Brian Paul [Thu, 4 Sep 2008 21:25:45 +0000 (15:25 -0600)]
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.
Brian Paul [Thu, 4 Sep 2008 21:05:03 +0000 (15:05 -0600)]
mesa: fix minor mem leak
Brian Paul [Thu, 4 Sep 2008 18:36:20 +0000 (12:36 -0600)]
cell: assorted comments, clean-ups, etc.
Brian Paul [Thu, 4 Sep 2008 16:38:00 +0000 (10:38 -0600)]
cell: use util_surface_copy/fill()
Brian Paul [Thu, 4 Sep 2008 16:37:30 +0000 (10:37 -0600)]
cell: include p_inlines.h
Brian Paul [Thu, 4 Sep 2008 16:32:29 +0000 (10:32 -0600)]
softpipe: use the new util_surface_copy/fill() functions
Brian Paul [Thu, 4 Sep 2008 16:31:50 +0000 (10:31 -0600)]
gallium: remove the copyHeight hack for compresssed formats
Brian Paul [Thu, 4 Sep 2008 16:31:23 +0000 (10:31 -0600)]
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.
Michal Krol [Thu, 4 Sep 2008 11:37:15 +0000 (13:37 +0200)]
mesa: Silence compiler warnings on Windows.
Xiang, Haihao [Thu, 4 Sep 2008 03:32:52 +0000 (11:32 +0800)]
mesa: merge stencil values into depth values for MESA_FORMAT_S8_Z24
Cherry-picked from master
José Fonseca [Thu, 4 Sep 2008 02:15:19 +0000 (11:15 +0900)]
mesa: Remove unused var.
José Fonseca [Thu, 4 Sep 2008 02:15:08 +0000 (11:15 +0900)]
softpipe: Add missing include.
José Fonseca [Thu, 4 Sep 2008 02:14:59 +0000 (11:14 +0900)]
i915: Add missing include.
José Fonseca [Thu, 4 Sep 2008 02:14:35 +0000 (11:14 +0900)]
gallium: Fix typo.
José Fonseca [Thu, 4 Sep 2008 00:34:12 +0000 (09:34 +0900)]
cell: Use pipe_buffer_* inlines as much as possible.
José Fonseca [Thu, 4 Sep 2008 00:34:04 +0000 (09:34 +0900)]
i915: Use pipe_buffer_* inlines as much as possible.
José Fonseca [Thu, 4 Sep 2008 00:33:47 +0000 (09:33 +0900)]
i965: Use pipe_buffer_* inlines as much as possible.
José Fonseca [Thu, 4 Sep 2008 00:33:27 +0000 (09:33 +0900)]
softpipe: Use pipe_buffer_* inlines as much as possible.
José Fonseca [Thu, 4 Sep 2008 00:33:10 +0000 (09:33 +0900)]
python: Use pipe_buffer_* inlines as much as possible.
José Fonseca [Thu, 4 Sep 2008 00:32:54 +0000 (09:32 +0900)]
gallium: Use pipe_buffer_* inlines as much as possible.
Brian Paul [Wed, 3 Sep 2008 20:38:02 +0000 (14:38 -0600)]
cell: flush rendering to current surfaces before installing new ones
This fixes crashes when resizing windows.
Brian Paul [Wed, 3 Sep 2008 20:36:56 +0000 (14:36 -0600)]
cell: update comments, fix typos
Brian Paul [Wed, 3 Sep 2008 20:31:11 +0000 (14:31 -0600)]
cell: change context type passed to cell_flush_int()
Brian Paul [Wed, 3 Sep 2008 20:23:22 +0000 (14:23 -0600)]
gallium: comments about nblocksx/y, etc
Brian Paul [Wed, 3 Sep 2008 19:32:09 +0000 (13:32 -0600)]
gallium: silence warnings
Brian Paul [Wed, 3 Sep 2008 19:31:51 +0000 (13:31 -0600)]
cell: replace assert() with special spu ASSERT() macro
Brian Paul [Wed, 3 Sep 2008 19:31:14 +0000 (13:31 -0600)]
cell: add pipe_texture_reference() call in cell_get_tex_surface()
Brian Paul [Wed, 3 Sep 2008 19:30:46 +0000 (13:30 -0600)]
cell: updated assertion
Brian Paul [Wed, 3 Sep 2008 17:45:28 +0000 (11:45 -0600)]
cell: comments
Brian Paul [Wed, 3 Sep 2008 17:44:14 +0000 (11:44 -0600)]
gallium: do image clipping in xmesa_display_surface_tiled()
Brian Paul [Wed, 3 Sep 2008 17:43:11 +0000 (11:43 -0600)]
cell: fix texture/surface allocation to allocate by multiple of tile size
This fixes the garbage blocks/pixels seen along the bottom of some windows.
Brian Paul [Wed, 3 Sep 2008 16:26:38 +0000 (10:26 -0600)]
cell: move misplaced assertions; put them after ximage is assigned.
Jakob Bornecrantz [Wed, 3 Sep 2008 13:01:19 +0000 (15:01 +0200)]
i915: Fix typo in intel_lock.c
Brian Paul [Wed, 3 Sep 2008 15:31:36 +0000 (09:31 -0600)]
cell: add -DDEBUG flag, fixes to Cell Makefiles
Brian Paul [Wed, 3 Sep 2008 15:08:19 +0000 (09:08 -0600)]
Cell: added linux-cell-debug config
linux-cell is now the optimized configuration.
Remove some Cell-specific stuff from winsys/xlib/Makefile.
Brian Paul [Wed, 27 Aug 2008 22:45:41 +0000 (16:45 -0600)]
cell: add missing cell_tex_surface_release()
José Fonseca [Wed, 3 Sep 2008 02:48:05 +0000 (11:48 +0900)]
gallium: Have pipe_buffer_* receive a pipe_screen instead of a pipe_context.
We want to use the pipe_buffer_* inlines everywhere, but a pipe context
is not always available nor is it needed.
José Fonseca [Wed, 3 Sep 2008 01:30:09 +0000 (10:30 +0900)]
draw: Describe the steps in emit_load_R32G32B32A32.
Brian Paul [Wed, 3 Sep 2008 00:10:34 +0000 (18:10 -0600)]
fix BUFFER_DEPTH/BUFFER_ACCUM mix-up
Brian Paul [Wed, 3 Sep 2008 00:05:09 +0000 (18:05 -0600)]
gallium: increase string buffer size to 16000 to avoid truncated output of long shaders
Brian Paul [Wed, 3 Sep 2008 00:04:08 +0000 (18:04 -0600)]
gallium: fix out of bounds array errors in SSE execution
1. #define MAX_INPUTS/OUTPUTS/TEMPS/etc with better values.
2. Add assertions in aos_get_x86() to check register file indexes
3. Assert that constant regs haven't changed after running SSE code.
Jakob Bornecrantz [Tue, 2 Sep 2008 15:29:19 +0000 (17:29 +0200)]
i915: Fix typo in ws_dri_bufmgr.c
Jakob Bornecrantz [Tue, 2 Sep 2008 15:28:42 +0000 (17:28 +0200)]
i915: Small fixes for tiled textures
Brian Paul [Mon, 1 Sep 2008 21:32:40 +0000 (15:32 -0600)]
gallium: remove glthread.h file (not used)
Brian Paul [Mon, 1 Sep 2008 21:31:18 +0000 (15:31 -0600)]
gallium: removed p_pointer.h (use util/u_pointer.h instead)
Brian Paul [Mon, 1 Sep 2008 21:30:26 +0000 (15:30 -0600)]
gallium: include u_pointer,h, not p_pointer.h
Brian Paul [Mon, 1 Sep 2008 19:10:23 +0000 (13:10 -0600)]
mesa: use CALLOC instead of MALLOC to fix valgrind warning
Brian Paul [Mon, 1 Sep 2008 19:10:00 +0000 (13:10 -0600)]
gallium: added st_bind/release_teximage() functions
Brian Paul [Mon, 1 Sep 2008 19:09:31 +0000 (13:09 -0600)]
gallium: move st_texture_image() cast wrapper to header file
Brian Paul [Mon, 1 Sep 2008 19:08:44 +0000 (13:08 -0600)]
egl: CreatePbufferSurface, Bind/ReleaseTexImage functions
Brian Paul [Mon, 1 Sep 2008 19:08:12 +0000 (13:08 -0600)]
egl: additional error checking in _eglBind/ReleaseTexImage()
José Fonseca [Mon, 1 Sep 2008 17:51:06 +0000 (02:51 +0900)]
pipebuffer: Add missing break statement to cache lookup logic.
Second loop was never run. Spotted by Keith.
José Fonseca [Mon, 1 Sep 2008 17:16:43 +0000 (02:16 +0900)]
pipebuffer: Comment the slab code. Remove the freeSlabs list.
The freeSlabs list is not really needed as we free empty slabs immediately.
Time based cached is done separately.
José Fonseca [Mon, 1 Sep 2008 00:47:40 +0000 (09:47 +0900)]
scons: Optimize for speed, not size, with MSVC.
José Fonseca [Sun, 31 Aug 2008 14:56:59 +0000 (23:56 +0900)]
draw: Put INLINES where appropriate.
In the hope of MSVC inline some more functions, but without much result.
Keith Whitwell [Mon, 1 Sep 2008 13:24:07 +0000 (14:24 +0100)]
util: make timed_winsys os independent
Keith Whitwell [Mon, 1 Sep 2008 13:23:47 +0000 (14:23 +0100)]
util: add func to return time as uint64 microseconds
Keith Whitwell [Mon, 1 Sep 2008 13:11:12 +0000 (14:11 +0100)]
add u_timed_winsys.[ch]
Keith Whitwell [Fri, 29 Aug 2008 10:17:24 +0000 (11:17 +0100)]
remove depend.bak in realclean
José Fonseca [Sun, 31 Aug 2008 08:43:20 +0000 (17:43 +0900)]
Remove CVS keywords.
Please remove CVS keywords when importing third-party code into the git
repository.
José Fonseca [Sun, 31 Aug 2008 08:40:08 +0000 (17:40 +0900)]
util: Fix compiler errors in the release build of C++ sources.
José Fonseca [Fri, 29 Aug 2008 01:39:02 +0000 (10:39 +0900)]
gallium: winsys/common no longer exists
Jonathan White [Fri, 29 Aug 2008 17:30:32 +0000 (11:30 -0600)]
Added command line option for Scons to select which version of MSVS to use. Versions 7.1, 8.0 and 9.0 are allowed. Usage is scons MSVS_VERSION=8.0.
Brian Paul [Thu, 28 Aug 2008 21:22:44 +0000 (15:22 -0600)]
mesa: added test for very long fixed-function vertex programs
Brian Paul [Thu, 28 Aug 2008 21:21:44 +0000 (15:21 -0600)]
mesa: remove debug code
Brian Paul [Thu, 28 Aug 2008 21:11:04 +0000 (15:11 -0600)]
mesa: dynamically grow the fixed function vertex program as needed
Don't use a fixed-size array. Saves memory in most cases and avoids
potential overflow for long programs.
Brian Paul [Thu, 28 Aug 2008 20:18:20 +0000 (14:18 -0600)]
gallium: change the conditional which tests for combined Z+stencil buffers
The caller might be requesting 16-bit Z + 8-bit stencil be placed in a
PIPE_FORMAT_S8Z24 or PIPE_FORMAT_Z24S8 buffer.
Brian Paul [Thu, 28 Aug 2008 14:38:27 +0000 (08:38 -0600)]
mesa: bump MAX_INSN to 300
José Fonseca [Thu, 28 Aug 2008 13:03:42 +0000 (22:03 +0900)]
pipebuffer: Fix/add detail to the under- overflow report messages.
José Fonseca [Thu, 28 Aug 2008 12:06:06 +0000 (21:06 +0900)]
pipebuffer: Check buffer over- & underflows when mapping/unmapping too.
Brian Paul [Wed, 27 Aug 2008 22:03:03 +0000 (16:03 -0600)]
egl: free display ext data in xdri_eglTerminate().
José Fonseca [Wed, 27 Aug 2008 21:53:57 +0000 (06:53 +0900)]
gallium: s/PIPE_OS_WINDOWS/PIPE_SUBSYSTEM_WINDOWS_USER/ in p_thread.
PIPE_OS_WINDOWS is an umbrella for all Windows variants and subsystems,
PIPE_SUBSYSTEM_WINDOWS_USER is just for user-space windows (e.g., OpenGL),
and the thread primitives currently included in p_thread only support the
later.
Brian Paul [Wed, 27 Aug 2008 20:42:50 +0000 (14:42 -0600)]
gallium: better support for user-space interleaved arrays
Basically, set up one user-space wrapper for all arrays instead of
the individual arrays.
Brian Paul [Wed, 27 Aug 2008 19:20:10 +0000 (13:20 -0600)]
gallium: in st_draw_vbo() try to detect interleaved arrays in a single VBO.
Brian Paul [Wed, 27 Aug 2008 17:30:14 +0000 (11:30 -0600)]
gallium: remove old assertions
Brian Paul [Wed, 27 Aug 2008 17:29:26 +0000 (11:29 -0600)]
gallium: call st_finish() in XMesaFlush()
Brian Paul [Wed, 27 Aug 2008 14:46:29 +0000 (08:46 -0600)]
gallium: s/_glthread_Cond/unsigned/ in p_thread.h
Michal Krol [Wed, 27 Aug 2008 09:06:08 +0000 (11:06 +0200)]
gallium: Add dummy defines of pipe_condvar for Windows to make it compile.
Brian Paul [Tue, 26 Aug 2008 22:35:12 +0000 (16:35 -0600)]
gallium: thread wrapper clean-up
In p_thread.h replace _glthread_* functions with new pipe_* functions.
Remove other old cruft.
Brian Paul [Tue, 26 Aug 2008 20:09:28 +0000 (14:09 -0600)]
cell: use SDK 3.0 by default
Keith Whitwell [Mon, 25 Aug 2008 10:19:24 +0000 (11:19 +0100)]
draw: attempt atomic submit of large drawelements calls
Keith Whitwell [Mon, 25 Aug 2008 09:59:45 +0000 (10:59 +0100)]
vbo: seed initial max_element value with a more likely candidate
Brian [Mon, 25 Aug 2008 17:31:59 +0000 (11:31 -0600)]
cell: asst fixes to get driver building/running again.
Note that SPU vertex transformation is disabled at this time.
Brian [Mon, 25 Aug 2008 17:30:57 +0000 (11:30 -0600)]
gallium: added const qualifiers on some draw funcs
Brian [Mon, 25 Aug 2008 17:30:20 +0000 (11:30 -0600)]
gallium: include p_debug.h for non-HAVE_POSIX_MEMALIGN