José Fonseca
3498616b03
pipebuffer: Swap buffers out to system memory when running out of memory.
2010-01-21 15:18:40 -08:00
José Fonseca
0bc8851884
svga: Avoid synchronization issues when doing SW TNL.
2010-01-21 15:18:40 -08:00
José Fonseca
8410f7cde3
mesa: Use pipe_buffer_write_nooverlap where appropriate.
2010-01-21 15:18:40 -08:00
José Fonseca
37246f854b
util: Set DISCARD & UNSYNCHRONIZED when uploading vertices sequentially.
2010-01-21 15:18:40 -08:00
José Fonseca
1797494946
util: Use pipe_buffer_write_nooverlap in blits / mipmap generation.
2010-01-21 15:18:40 -08:00
José Fonseca
a8477fb00c
gallium: New inline to write buffers which avoids synchronization.
2010-01-21 15:18:40 -08:00
José Fonseca
707b28136f
gallium: Set PIPE_BUFFER_USAGE_DISCARD flag in pipe_buffer_write.
2010-01-21 15:18:40 -08:00
José Fonseca
13c2475339
gallium: Remove temporary hack for the absence of a discard flag.
...
PIPE_BUFFER_USAGE_DISCARD flag now exists.
2010-01-21 15:18:40 -08:00
José Fonseca
0ae076bf40
svga: Follow buffer usage semantics properly.
...
It's necessary to download buffers from the host always, except if the
buffer is undefined, because:
- just PIPE_BUFFER_USAGE_CPU_WRITE doesn't guarantee all data is written
-- old contents may still pierce through
- PIPE_BUFFER_USAGE_DISCARD refers to a range, not the whole buffer, so
unless we track which parts have been modified and not we still need
to download the data.
2010-01-21 15:18:40 -08:00
Vinson Lee
efc08bddb7
st/xorg: Remove unnecessary headers.
2010-01-21 15:05:21 -08:00
Brian Paul
e5829ccc2b
progs/demos: call glutDestroyWindow() upon exit
2010-01-21 15:41:03 -07:00
Brian Paul
cd9d9e2436
llvmpipe: added simple perf/statistics counting facility
...
Currently counting number of tris, how many tiles of each size are
fully covered, partially covered or empty, etc.
Set LP_DEBUG=counters to enable. Results are printed upon context
destruction.
2010-01-21 15:39:57 -07:00
Roland Scheidegger
2cf8164065
r200: fix CS section size mismatch
...
Partial fix for fdo bug 25544
The tex handling will still need CS drm changes,
see bug 25544 for more.
2010-01-21 17:33:51 -05:00
Vinson Lee
4222bf3d3c
llvmpipe: Remove unnecessary headers.
2010-01-21 14:31:15 -08:00
Vinson Lee
c50fe2c55c
svga: Remove unnecessary headers.
2010-01-21 12:12:11 -08:00
Roland Scheidegger
629bb3fa32
docs: enhance blend documentation
2010-01-21 20:48:13 +01:00
Roland Scheidegger
c6c9d3b091
docs: clean up sampler description
2010-01-21 20:22:24 +01:00
Roland Scheidegger
eba1e2a447
gallium: adapt util code to blend changes
2010-01-21 19:56:29 +01:00
Brian Paul
d65d5d2993
gallium: fix conditional rendering comment
2010-01-21 11:52:54 -07:00
Brian Paul
6c1549a77d
gallium/docs: document conditional rendering
2010-01-21 11:52:36 -07:00
Roland Scheidegger
41667a9a3e
gallium: new PIPE_CAP bits for the independent blend functionality
2010-01-21 19:45:43 +01:00
Brian Paul
6d4805b363
gallium: updated comments, whitespace fixes
2010-01-21 11:35:33 -07:00
Brian Paul
dc2914ab26
mesa: minor whitespace fix
2010-01-21 09:44:42 -07:00
Luca Barbieri
e59353f592
mesa: support for GL_ARB_fragment_coord_conventions
...
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-01-21 09:41:28 -07:00
Brian Paul
1ca2285511
progs/fp: testcases for GL_ARB_fragment_coord_conventions
...
Based on a patch from Luca Barbieri but moved the comments after
the !!ARBfp1.0 header
2010-01-21 09:38:50 -07:00
Brian Paul
24d3a7a251
docs: remove old pbuffer info
2010-01-21 08:16:54 -07:00
Brian Paul
aeff9f9725
docs: added target attribute to external URLs
2010-01-21 08:14:42 -07:00
Brian Paul
656834a871
docs: add links to the egl, openvg, opengles pages
...
And move the GLSL link up the use User Topics section.
2010-01-21 08:14:29 -07:00
Brian Paul
074abd889f
softpipe: added region assertions in softpipe_get_tex_transfer()
2010-01-21 08:04:15 -07:00
Brian Paul
ed9bd82656
docs: new Mesa source tree overview page.
...
This has been sitting around for a while. Incomplete, but a good start.
2010-01-21 08:04:15 -07:00
Chia-I Wu
4736e1cbbd
dri: Remove unnecessary glapi headers.
...
They are not used at all.
2010-01-21 17:49:59 +08:00
Chia-I Wu
bdd2500805
Do not include glapi/dispatch.h outside Mesa core.
...
Include the glapi*.h directly instead. glapi/dispatch.h became a Mesa
core header since 22884db174 .
2010-01-21 17:48:38 +08:00
Chia-I Wu
1af67195b3
docs: Update documentation for OpenVG and OpenGL ES.
...
Update the instructions and add references to egl.html.
2010-01-21 15:59:06 +08:00
Chia-I Wu
ada46053a4
docs: Add documentation for EGL.
...
This is a short guide to EGL. The drivers that are to be removed soon
are not mentioned in the guide.
2010-01-21 15:58:47 +08:00
Vinson Lee
e19b3c01f4
mach64: Remove unnecessary headers.
2010-01-20 22:52:49 -08:00
Vinson Lee
7c66211b7d
i810: Remove unnecessary headers.
2010-01-20 22:02:51 -08:00
Alan Coopersmith
208e815c88
gallium/i965: Make brw_batchbuffer prototypes match in source & header
...
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-01-20 18:06:34 -08:00
Brian Paul
63f249bf90
llvmpipe: optimize tile writing code
...
The code which converts/copies color tiles to the linear layout has
been rewritten. There's less arithmetic and better loop unrolling,
and possibly a better memory access pattern.
Some demos, like gears, are about 20% faster now.
2010-01-20 17:48:13 -07:00
Brian Paul
7319ae0954
llvmpipe: remove tile clipping code
...
The surface is always a multiple of the tile size now.
2010-01-20 17:47:26 -07:00
Brian Paul
0706dae088
llvmpipe: align display target size to multiple of tile size
...
This will allow us to skip clipping tiles to surface bounds.
2010-01-20 17:44:12 -07:00
Vinson Lee
0bc2cbf82a
ffb: Remove unnecessary headers.
2010-01-20 16:27:44 -08:00
Brian Paul
58903b3781
llvmpipe: put TILE_SIZE #define in its own header
...
To avoid including lp_tile_soa.h in other places.
2010-01-20 17:23:11 -07:00
Brian Paul
9b534400d9
llvmpipe: add makefile rule for generating .s files
2010-01-20 17:19:00 -07:00
Corbin Simpson
c1334ce235
radeong: Fix EGL driver names.
...
Using "radeon" instead of "radeong" because we don't have classic EGL.
2010-01-20 12:22:05 -08:00
Tomas Chvatal
1ffb72a6bf
Fix touching live system during install.
2010-01-20 12:22:05 -08:00
Brian Paul
4d2dc9da82
llvmpipe: updated comment
2010-01-20 11:32:48 -07:00
Brian Paul
a416123f5b
xlib/softpipe: fix buffer memory leak
...
Fixes leak caused by window resize.
2010-01-20 10:34:45 -07:00
Roland Scheidegger
04cb5dfb1e
llvmpipe: adapt to per-rendertarget blend changes
2010-01-20 18:27:53 +01:00
Roland Scheidegger
bef610f693
gallium: prepare for per-rendertarget blend enables, writemasks, blend funcs
...
GL 3.0 (EXT_draw_buffers2) and other APIs allow independent blend enables and
write masks per render target, ARB_draw_buffers_blend (and other APIs) also
allow independent blend functions. Things like dithering, logic ops however
are not extended to be per rendertarget, that might be conceptually possible
however it doesn't look like any API wants to expose this.
2010-01-20 18:26:49 +01:00
Alex Deucher
156c90e5c3
r200: re-adding missing pitch alignment check in blit code
...
lost after switch to common code
2010-01-20 11:19:06 -05:00