Brian Paul
feea0c9d95
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.
2008-09-02 18:05:24 -06:00
Patrice Mandin
72b90b7894
Intialize swizzled_surface object
2008-09-02 17:56:10 +02:00
Jakob Bornecrantz
2774b09d4e
i915: Fix typo in ws_dri_bufmgr.c
2008-09-02 17:29:19 +02:00
Jakob Bornecrantz
4d27c027ab
i915: Small fixes for tiled textures
2008-09-02 17:28:42 +02:00
Roland Scheidegger
418b603513
fix no error generated when calling glLight{if}[v] inside begin/end (bug 17408)
2008-09-02 15:48:50 +02:00
Younes Manton
2ab5e69f16
g3dvl: Use consistent variable names.
2008-09-01 20:22:41 -04:00
Younes Manton
ff1a506651
g3dvl: Use one VB for all MBs, sort MBs at flush to determine placement.
2008-09-01 20:13:50 -04:00
Brian Paul
28b4090922
gallium: remove glthread.h file (not used)
2008-09-01 15:33:19 -06:00
Brian Paul
e54f1abca7
gallium: removed p_pointer.h (use util/u_pointer.h instead)
2008-09-01 15:33:19 -06:00
Brian Paul
f3a7463fee
gallium: include u_pointer,h, not p_pointer.h
2008-09-01 15:33:19 -06:00
Brian Paul
39e8860e45
mesa: use CALLOC instead of MALLOC to fix valgrind warning
2008-09-01 13:10:54 -06:00
Brian Paul
c074b86cbc
gallium: added st_bind/release_teximage() functions
2008-09-01 13:10:54 -06:00
Brian Paul
9d9143d889
gallium: move st_texture_image() cast wrapper to header file
2008-09-01 13:10:53 -06:00
Brian Paul
102529cf1b
egl: CreatePbufferSurface, Bind/ReleaseTexImage functions
2008-09-01 13:10:53 -06:00
Brian Paul
b36f906573
egl: additional error checking in _eglBind/ReleaseTexImage()
2008-09-01 13:10:53 -06:00
Younes Manton
72bcb69459
g3dvl: Some clean ups.
2008-09-01 14:43:55 -04:00
Younes Manton
29f876cc90
g3dvl: Inline hint for relatively small, frequently called functions.
2008-09-01 14:43:54 -04:00
Younes Manton
e959c23a31
g3dvl: Re-enable buffer rotation, disable high quality 420->444 conversion.
...
Using linear interpolation when upscaling the chroma blocks causes some
discoloration around the edges.
2008-09-01 14:43:54 -04:00
José Fonseca
038d53cbdb
pipebuffer: Add missing break statement to cache lookup logic.
...
Second loop was never run. Spotted by Keith.
2008-09-02 02:51:06 +09:00
José Fonseca
5c198f660a
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.
2008-09-02 02:16:58 +09:00
José Fonseca
a6c7258394
scons: Optimize for speed, not size, with MSVC.
2008-09-02 02:16:58 +09:00
José Fonseca
f4d707b40e
draw: Put INLINES where appropriate.
...
In the hope of MSVC inline some more functions, but without much result.
2008-09-02 02:16:58 +09:00
Keith Whitwell
5e184894d2
util: make timed_winsys os independent
2008-09-01 14:24:33 +01:00
Keith Whitwell
c118c654fa
util: add func to return time as uint64 microseconds
2008-09-01 14:24:33 +01:00
Keith Whitwell
a4d04d71a4
add u_timed_winsys.[ch]
2008-09-01 14:24:33 +01:00
Keith Whitwell
a9345511d8
remove depend.bak in realclean
2008-09-01 14:24:33 +01:00
Michel Dänzer
55270310c5
Fix build by removing #include of removed dri_sarea.h.
...
Thanks to JohnFlux on IRC for pointing out the problem.
2008-09-01 11:43:29 +02:00
Patrice Mandin
0c47bd0374
nv30: set fp samplers with fragprog generation
2008-08-31 11:10:08 +02:00
José Fonseca
8c092def6c
Remove CVS keywords.
...
Please remove CVS keywords when importing third-party code into the git
repository.
2008-08-31 17:43:20 +09:00
José Fonseca
ef823dd543
util: Fix compiler errors in the release build of C++ sources.
2008-08-31 17:40:08 +09:00
José Fonseca
8156c30a5d
gallium: winsys/common no longer exists
2008-08-31 16:51:16 +09:00
Patrice Mandin
248831e741
nv30: activate fp texture units when needed, to get texturing
2008-08-30 22:30:03 +02:00
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