Commit Graph

17976 Commits

Author SHA1 Message Date
José Fonseca 78435d9142 python: Use pipe_buffer_* inlines as much as possible. 2008-09-04 09:38:23 +09:00
José Fonseca a3e39a4aa9 gallium: Use pipe_buffer_* inlines as much as possible. 2008-09-04 09:38:23 +09:00
Brian Paul e5085b83d0 cell: flush rendering to current surfaces before installing new ones
This fixes crashes when resizing windows.
2008-09-03 14:38:02 -06:00
Brian Paul e082298e31 cell: update comments, fix typos 2008-09-03 14:36:56 -06:00
Brian Paul f89b74d97e cell: change context type passed to cell_flush_int() 2008-09-03 14:31:11 -06:00
Brian Paul 5531c986bd gallium: comments about nblocksx/y, etc 2008-09-03 14:23:22 -06:00
Brian Paul a563a27c07 gallium: silence warnings 2008-09-03 13:35:06 -06:00
Brian Paul 6c84652dc3 cell: replace assert() with special spu ASSERT() macro 2008-09-03 13:35:06 -06:00
Brian Paul 439dca4992 cell: add pipe_texture_reference() call in cell_get_tex_surface() 2008-09-03 13:35:06 -06:00
Brian Paul b035c85b3e cell: updated assertion 2008-09-03 13:35:06 -06:00
Brian Paul ba2812f23e cell: comments 2008-09-03 13:35:06 -06:00
Brian Paul 6ebf712d88 gallium: do image clipping in xmesa_display_surface_tiled() 2008-09-03 13:35:06 -06:00
Brian Paul 8b8952aa69 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.
2008-09-03 13:35:06 -06:00
Brian Paul 2ab394a3b4 cell: move misplaced assertions; put them after ximage is assigned. 2008-09-03 13:35:05 -06:00
Jakob Bornecrantz 1d5ad2c244 i915: Fix typo in intel_lock.c 2008-09-03 18:31:21 +02:00
Brian Paul fafc36920e cell: add -DDEBUG flag, fixes to Cell Makefiles 2008-09-03 09:31:36 -06:00
Eric Anholt a04aeea5c0 intel: Fix prototype warning. 2008-09-03 16:13:18 +01:00
Brian Paul ab93aa774e Cell: added linux-cell-debug config
linux-cell is now the optimized configuration.
Remove some Cell-specific stuff from winsys/xlib/Makefile.
2008-09-03 09:08:46 -06:00
Brian Paul 01a76f4fee cell: add missing cell_tex_surface_release() 2008-09-03 09:08:45 -06:00
Eric Anholt e32721c46a intel: Fix refcounting on depth buffer initialization in DRI2.
(Reverts a change to work around the problem on 965).
2008-09-03 13:31:44 +01:00
Xiang, Haihao 3bb2a24921 intel: Fix a crash if dri2 is disabled. 2008-09-03 14:47:36 +08:00
José Fonseca f637a96e85 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.
2008-09-03 11:53:39 +09:00
José Fonseca 82086f5d21 draw: Describe the steps in emit_load_R32G32B32A32. 2008-09-03 11:53:39 +09:00
Brian Paul a28aa18543 fix BUFFER_DEPTH/BUFFER_ACCUM mix-up 2008-09-02 18:13:48 -06:00
Brian Paul 0fd1a8c4a1 fix BUFFER_DEPTH/BUFFER_ACCUM mix-up 2008-09-02 18:10:51 -06:00
Brian Paul e3509fd4d0 gallium: increase string buffer size to 16000 to avoid truncated output of long shaders 2008-09-02 18:05:25 -06:00
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
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
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
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
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