Commit graph

115447 commits

Author SHA1 Message Date
Keith Whitwell
59f68f36c4 translate: typo in emit_B8G8R8A8_UNORM 2008-04-15 14:40:16 +01:00
Keith Whitwell
c81bbab6f6 gallium: add a generic vertex (or other) buffer translation module 2008-04-15 14:35:29 +01:00
Keith Whitwell
6a26a9c58c draw: fetch_shade_pipeline needs to translate to hw vertex format (from get_vertex_info) 2008-04-15 14:30:06 +01:00
Jakob Bornecrantz
f2ee51e7d9 i915: Changed name to i915_dri.so 2008-04-15 12:08:36 +02:00
José Fonseca
a68f664124 gallium: Cache one line worth of debug output on windows.
The windbg connection seems synchronous, so this speeds up when printing
little text at a time (e.g., tgsi output).
2008-04-15 18:11:47 +09:00
José Fonseca
3c4f1ba5a2 gallium: Eliminate stdio file usage. Remove unused stuff. 2008-04-15 17:08:10 +09:00
José Fonseca
7619240cc0 gallium: Fix seg fault (James Vogt). 2008-04-15 15:58:14 +09:00
José Fonseca
95aeeb6d74 gallium: Several fixes to buffer caching. 2008-04-15 15:41:08 +09:00
José Fonseca
d005befcb9 gallium: Less confusing interface for timeouts. 2008-04-15 15:40:35 +09:00
José Fonseca
50bbbbe581 gallium: Remove middle of scope declarations. 2008-04-15 14:58:32 +09:00
José Fonseca
0b995b44e5 gallium: Fix mismatching prototypes. 2008-04-15 12:39:22 +09:00
José Fonseca
a175e15f20 gallium: Allow to use a single slab.
We often want to use a pool of equally sized buffers, so this makes the
slab suballocator a drop-in replacement.
2008-04-15 12:39:22 +09:00
Ben Skeggs
7d2085bd7d nouveau: PIPE_ATTRIB_MAX -> PIPE_MAX_ATTRIBS 2008-04-15 13:25:28 +10:00
Ben Skeggs
276e177dfb Merge remote branch 'upstream/gallium-0.1' into nouveau-gallium-0.1 2008-04-15 13:23:23 +10:00
Brian
bbb042f0b8 fix multi-draw buffer regression 2008-04-14 21:02:34 -06:00
Brian
d3878b070b gallium: enable new quad output code, remove old code 2008-04-14 21:01:40 -06:00
Brian
90b9a11a6d gallium: fix semantic indexes for outputs 2008-04-14 20:58:05 -06:00
Brian
e4b3c13d7a gallium: fix multi drawbuffer fb state 2008-04-14 20:57:15 -06:00
Brian
b54225ccd6 gallium: set ctx->Const.MaxDrawBuffers 2008-04-14 20:56:08 -06:00
Brian
fdd794dcfa gallium: fix PIPE_CAP_MAX_RENDER_TARGETS query 2008-04-14 20:55:14 -06:00
José Fonseca
01c7dd2629 gallium: Add draw_pt_fetch_shade_pipeline.c to scons build. 2008-04-15 10:38:05 +09:00
José Fonseca
5b8fa51847 gallium: Don't assume snprintf are always available. 2008-04-15 10:13:52 +09:00
José Fonseca
21ae3d2721 gallium: Serialize buffers writes.
Allow concurrent reads from buffers by the CPU/GPU, but serialize
all writes.
2008-04-15 10:13:52 +09:00
Brian Paul
5807c0242c fix GL_ARB_texture_rectangle breakage 2008-04-14 14:38:11 -06:00
Brian Paul
118c2bc860 only use __x86_64__, not __amd64__ (bug 15503) 2008-04-14 14:10:32 -06:00
Brian Paul
8fd2b7d9dd fix GL_ARB_texture_rectangle breakage 2008-04-14 13:43:24 -06:00
Brian Paul
3403f9fe13 check for _WIN32 and __WIN32__ 2008-04-14 13:41:39 -06:00
David Flynn
7be8d5664a define #extension GL_ARB_texture_rectangle 2008-04-14 13:41:39 -06:00
David Flynn
78852986e6 mesa: define #extension GL_ARB_texture_rectangle 2008-04-14 12:56:10 -06:00
Brian Paul
f58ab8e75c gallium: take reduced prim, fill modes into account when culling 2008-04-14 10:57:40 -06:00
Zack Rusin
983b6a73e1 use the new macro 2008-04-14 12:32:25 -04:00
Zack Rusin
2ba6e1fa71 silence some warnings 2008-04-14 12:29:23 -04:00
Zack Rusin
e330919785 pass vertex size to shaders so that callee can decide on the size
of the vertices and not always have to use the maximum vertex
allocation size for them
2008-04-14 12:27:24 -04:00
Keith Whitwell
871d39ec8c softpipe: calculate determinant for all triangles, don't rely on draw module to do it 2008-04-14 16:18:00 +01:00
Keith Whitwell
8cbda9f108 draw: remove dead code 2008-04-14 16:15:39 +01:00
Jakob Bornecrantz
ca750dd045 Removed intel_ioctl it wasn't needed 2008-04-14 17:02:02 +02:00
Keith Whitwell
36bacf97a6 draw: always malloc verts for fetch_shade_pipeline 2008-04-14 12:46:57 +01:00
Keith Whitwell
a82e4996a1 draw: flush pipeline before trying to allocate more hw vertices 2008-04-14 12:37:19 +01:00
Keith Whitwell
e106b2d3d6 draw: move vertex header init out of fetch_shade_pipeline.c 2008-04-14 12:27:25 +01:00
Keith Whitwell
caf293343f draw: hide passthrough shading paths behind an environment variable 2008-04-14 12:08:46 +01:00
Keith Whitwell
8e7326832a softpipe: do our own culling, don't rely on the draw module.
May not always happen due to passthrough modes, etc.
2008-04-14 11:32:50 +01:00
Zack Rusin
0c1cb54923 Implement fetch/shade/pipeline or emit vertex passthrough. 2008-04-14 11:05:37 +01:00
Zack Rusin
3f7a3dd58c Make shaders operate on a block of memory instead of arrays of vertex_header's 2008-04-14 11:00:35 +01:00
Zack Rusin
808f968f3a return true if one of the vertices has been clipped 2008-04-14 11:00:35 +01:00
Zack Rusin
aadbb1d7fb pass arbitrary number of vertices to the shader execution cycle 2008-04-14 11:00:35 +01:00
Zack Rusin
4f550ab821 introduce a define to maxout the processed vertices 2008-04-14 11:00:26 +01:00
José Fonseca
84994693f5 gallium: Add u_time.c 2008-04-13 18:52:54 +09:00
José Fonseca
fb2b5f7a4a gallium: Buffer cache. 2008-04-13 15:10:18 +09:00
José Fonseca
21c302b0ec gallium: Initial port of Thomas slab suballocator to pipebuffer.
Not tested yet -- just compiles.

This includes only the slab algorithm. Fencing is already
implemented in pb_bufmgr_fence and time-based caching will be commited in a
separate module shortly.
2008-04-13 15:10:17 +09:00
José Fonseca
cd59312406 gallium: OS independent time-manipulation functions. 2008-04-13 15:10:17 +09:00