Commit graph

22853 commits

Author SHA1 Message Date
Jonathan White
3c81992676 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. 2008-08-29 11:30:32 -06:00
Kristian Høgsberg
f56b569e9a DRI2: Drop sarea, implement swap buffers in the X server. 2008-08-29 12:13:14 -04:00
Younes Manton
4d9d192672 g3dvl: Buffer the entire frame before rendering. 2008-08-28 23:25:13 -04:00
Xiang, Haihao
7a2ab6d055 i965: force thread switch after IF/ELSE/ENDIF. partial fix for #16882.
A thread switch is implicitly invoked after the issuance of an IF/ELSE/ENDIF
instruction if necessary. Unfortunately it seems sometimes a forced thread
switch is needed.
2008-08-29 09:49:16 +08:00
Xiang, Haihao
6073b49c79 i965: mask control for BREAK/CONT/DO/WHILE. partial fix fox #16882 2008-08-29 09:28:08 +08:00
Xiang, Haihao
fd81433a4e i965: Push/pop instruction state. partial fix for #16882 2008-08-29 09:23:25 +08:00
Brian Paul
380385ab7d mesa: added test for very long fixed-function vertex programs 2008-08-28 15:22:44 -06:00
Brian Paul
ee87d7d9ec mesa: remove debug code 2008-08-28 15:21:44 -06:00
Brian Paul
6138ee9de0 mesa: bump MAX_INSN to 350 2008-08-28 15:15:00 -06:00
Brian Paul
cacf5f21ef 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.
2008-08-28 15:11:04 -06:00
Brian Paul
5048457372 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.
2008-08-28 14:18:46 -06:00
Brian Paul
4e4cb02740 mesa: bump MAX_INSN to 300 2008-08-28 14:18:46 -06:00
José Fonseca
c46c07f6c6 pipebuffer: Fix/add detail to the under- overflow report messages. 2008-08-28 22:03:42 +09:00
José Fonseca
c6739e8cea pipebuffer: Check buffer over- & underflows when mapping/unmapping too. 2008-08-28 21:06:06 +09:00
Brian Paul
c5f0fd95a4 egl: free display ext data in xdri_eglTerminate(). 2008-08-27 16:20:19 -06:00
José Fonseca
a341586d03 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.
2008-08-28 06:53:57 +09:00
Brian Paul
ee402e5ce2 gallium: better support for user-space interleaved arrays
Basically, set up one user-space wrapper for all arrays instead of
the individual arrays.
2008-08-27 14:42:50 -06:00
Brian Paul
ce40bc2ae0 gallium: in st_draw_vbo() try to detect interleaved arrays in a single VBO. 2008-08-27 13:22:54 -06:00
Brian Paul
8eb85f6f2a gallium: remove old assertions 2008-08-27 13:22:54 -06:00
Brian Paul
6f33b778ae gallium: call st_finish() in XMesaFlush() 2008-08-27 13:22:54 -06:00
Brian Paul
d29cf58b1d gallium: s/_glthread_Cond/unsigned/ in p_thread.h 2008-08-27 08:46:29 -06:00
Michal Krol
da66a7640d gallium: Add dummy defines of pipe_condvar for Windows to make it compile. 2008-08-27 11:06:08 +02:00
Brian Paul
0bb852fa49 gallium: thread wrapper clean-up
In p_thread.h replace _glthread_* functions with new pipe_* functions.
Remove other old cruft.
2008-08-26 16:35:12 -06:00
Brian Paul
bafefccff8 mesa: don't check for GLSL 1.2 to advertise GL 2.1
The GLSL 1.2 features are minor...
2008-08-26 16:13:39 -06:00
Brian Paul
9aeb6e7825 added 7.1 MD5 sums 2008-08-26 16:12:29 -06:00
Brian Paul
019b9529e5 change MESA_MINOR to 3 2008-08-26 15:59:06 -06:00
Brian Paul
17e9bbd5a4 7.1 updates from 7.2 branch 2008-08-26 15:58:42 -06:00
Brian Paul
b5ab3b7dfc cell: use SDK 3.0 by default 2008-08-26 14:10:29 -06:00
Timo Jyrinki
385d6b2e68 asst. html doc updates 2008-08-26 12:36:39 -06:00
Keith Whitwell
e6887a5752 draw: attempt atomic submit of large drawelements calls 2008-08-26 09:36:52 +01:00
Keith Whitwell
026e7731e5 vbo: seed initial max_element value with a more likely candidate 2008-08-26 09:36:47 +01:00
Brian
6ba9fb9b66 cell: asst fixes to get driver building/running again.
Note that SPU vertex transformation is disabled at this time.
2008-08-25 11:31:59 -06:00
Brian
60ac76175b gallium: added const qualifiers on some draw funcs 2008-08-25 11:30:57 -06:00
Brian
a644c5a850 gallium: include p_debug.h for non-HAVE_POSIX_MEMALIGN 2008-08-25 11:30:20 -06:00
Brian
fd06d01b80 gallium: include <sched.h> on linux to get sched_yield() proto 2008-08-25 11:29:39 -06:00
Brian Paul
80af50b35b mesa: glsl: regenerated file 2008-08-25 09:20:26 -06:00
Brian Paul
2d5087bf74 mesa: glsl: grab latest fixes from gallium-0.1 branch
Includes:
1. Fixes failed asserting about bad swizzles in src reg emit.
2. Tracks uniform var usage.
3. Emit exp() in terms of EXP2 instruction.
2008-08-25 09:20:00 -06:00
Brian Paul
d6df735f1c mesa: set version string to 7.3-devel 2008-08-25 09:18:33 -06:00
Brian Paul
85813e36f2 gallium: include u_math.h 2008-08-25 08:32:50 -06:00
Michal Krol
2c4661f8fc gallium: Add missing includes. 2008-08-25 10:42:25 +02:00
Brian
6fd2feaad7 gallium: include u_memory.h, u_math.h 2008-08-24 18:10:50 -06:00
Brian Paul
4c84e940d0 gallium: remove old tile util files 2008-08-24 17:49:11 -06: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
Dave Airlie
f75843a517 Revert "Revert "Merge branch 'drm-gem'""
This reverts commit 7c81124d7c.
2008-08-24 17:59:10 +10:00
Dave Airlie
7c81124d7c Revert "Merge branch 'drm-gem'"
This reverts commit 53675e5c05.

Conflicts:

	src/mesa/drivers/dri/i965/brw_wm_surface_state.c
2008-08-24 17:52:40 +10:00
Michal Krol
ec7415642d trace: Include u_string.h. 2008-08-23 12:31:50 +02:00
Michal Krol
e7ff7f78be util: Silence compiler warnings on Windows. 2008-08-23 12:31:16 +02:00
Michal Krol
f3dfd5969d util: Include missing u_rect.h. 2008-08-23 12:30:39 +02:00
Brian Paul
2b87174ec3 gallium: rename p_util.c to u_rect.c (it only contains rect copy/fill helpers) 2008-08-22 16:22:35 -06:00
Brian Paul
fe1e39afbb gallium: move pipe_copy_rect(), pipe_fill_rect() protos into new u_rect.h header 2008-08-22 16:19:22 -06:00