Commit graph

201327 commits

Author SHA1 Message Date
Brian
fd0a6d6b47 Remove GL/mesa types, rearrange things into more logical groups 2007-08-16 12:57:05 -06:00
Brian
c033ccc36d update comments, etc related to Read/DrawBuffer state 2007-08-16 16:49:35 +01:00
Brian
c5a5d12743 remove reference to ctx->Color.DrawBuffer 2007-08-16 16:43:31 +01:00
michal
4fb2f09fdd Add missing inlcude directory. 2007-08-16 12:50:51 +01:00
michal
cbef86a6ea Copy fragment z if the fragment shader does not write depth on its own.` 2007-08-16 12:44:04 +01:00
Brian
59bd1e260b Drawing code refactoring.
Move code duplicated between draw_vb.c and sp_draw_arrays.c into draw_prim.c
draw_vb.c will eventually go away, but this seems like a good step anyway.
2007-08-16 12:37:26 -06:00
Brian
926323df86 point/line/polygon drawing (factored out of draw_vb.c) 2007-08-16 12:37:25 -06:00
michal
76f9f3ee83 Silence warnings. 2007-08-16 12:17:30 +01:00
michal
4fcfab3347 Silence warnings. 2007-08-16 12:16:57 +01:00
michal
e36b27cf86 Silence warnings. 2007-08-16 12:16:27 +01:00
michal
830169414e Silence warnings. 2007-08-16 12:13:37 +01:00
michal
9982044a8d Use 'f' for float suffix. 2007-08-16 12:12:14 +01:00
Brian
09867b53a9 replace Proxy1D/2D/etc fields with ProxyTex[] array 2007-08-16 11:06:39 +01:00
Brian
fe46900703 Replace Proxy1D/2D/etc with ProxyTex[] indexed by TEXTURE_x_INDEX.
Simplification in colortab.c too.
2007-08-16 11:06:13 +01:00
Brian
0135ff512d replace separate 1D/2D/etc fields with an array indexed by texture target 2007-08-16 10:28:23 +01:00
Brian
b3e3e72e25 remove old Saved1D/2D/etc fields 2007-08-16 10:27:24 +01:00
Brian
145d762044 Bring over the texobj refcounting changes from mesa_7_0_branch 2007-08-16 10:05:00 +01:00
Michel Dänzer
2193c4de83 i915tex: Unreference texture buffers on context destruction.
Not doing this could cause the buffers to leak under some circumstances.
2007-08-16 08:46:55 +02:00
Roland Scheidegger
a6d4dddb38 suppress warning about ncon visuals (bug #6689) 2007-08-16 02:41:03 +02:00
Keith Whitwell
b0b871429d Remove mesa include directories, be stricter about include paths. 2007-08-15 23:48:48 +01:00
Brian
5390a43ce0 translate GL texture targets to PIPE_TEXTURE_x values 2007-08-15 19:23:58 -06:00
Brian
94a4910c9a added PIPE_PRIM_x tokens (matching GL), use in a few places 2007-08-15 19:13:03 -06:00
Brian
d9a230f30a Hook in new draw_arrays() code, disabled for now. 2007-08-15 19:04:45 -06:00
Brian
2de9958624 softpipe_draw_arrays() function
Also includes:
  Temporary stand-in for vertex program execution.
  draw_prim() code
  post-transform vertex cache
2007-08-15 19:04:45 -06:00
Brian
ab0b040b60 added new draw_arrays() 2007-08-15 19:04:45 -06:00
Brian
181cf1d52a convert vbo->draw_prims() to pipe->draw_arrays(): works in very limited cases, disabled for now 2007-08-15 19:04:44 -06:00
Brian
3e2be1ce4a added vertex array info fields 2007-08-15 19:04:44 -06:00
Brian
293cc25261 added draw_set_vertex_array_info() 2007-08-15 19:04:44 -06:00
Brian
24083f4e47 comment 2007-08-15 19:04:44 -06:00
michal
058b978a5a Add UsageMask to DECLARATION in TGSI.
Interpolate FS attributes in the shader.
Do not copy WPOS in FS.
2007-08-15 18:16:11 +01:00
michal
b9eeb8dccf Add declaration_semantic token to TGSI.
Cosmetic changes, GLuint -> unsigned.
Preserve mesa gl_fragment_program DEPTH and COLOR semantics.
2007-08-15 13:55:22 +01:00
michal
6504dc3178 Declare fragment shader output registers. 2007-08-15 13:10:25 +01:00
michal
477ab9c196 Cleanup, do not use fp_attr_to_slot[] mapping array. 2007-08-15 13:10:25 +01:00
Brian
bff0411c5a sketch out vbo drawing function 2007-08-15 11:45:54 -06:00
Brian
f300934189 added state funcs for vertex buffer/element info 2007-08-15 11:45:12 -06:00
Brian
3f70b50438 softpipe vertex element/buffer state funcs 2007-08-15 11:44:33 -06:00
Brian
6e02b4c7c3 comments 2007-08-15 11:43:14 -06:00
Brian
c431a22f52 added some const qualifiers 2007-08-15 11:42:53 -06:00
Brian
8038d5b68c comments, minor clean-ups 2007-08-15 11:42:37 -06:00
Xiang, Haihao
ab99960858 i965: use BRW_TEXCOORDMODE_CLAMP instead of BRW_TEXCOORDMODE_CLAMP_BORDER
to implement GL_CLAMP
2007-08-15 13:28:00 +08:00
Ben Skeggs
c2ac825e67 nouveau: Use half the notifier block for query objects. 2007-08-15 14:31:26 +10:00
Ben Skeggs
ecfa3e4d0a nouveau: Keep drm channel alloc struct around. 2007-08-15 14:31:26 +10:00
Ben Skeggs
3cc4e9815d nouveau: reindent nouveau_span.c 2007-08-15 14:31:26 +10:00
Ben Skeggs
fcbd06d201 nouveau: Remove ALLOW_MULTI_SUBCHANNEL hack
Irrelevant, since we depend on working context switching now.
2007-08-15 14:31:25 +10:00
Ben Skeggs
fef3dcbee6 nouveau: Always render offscreen, emulate front buffer rendering. 2007-08-15 14:31:25 +10:00
Ben Skeggs
b7c93de6d7 nouveau: Split nouveau_buffers into nouveau_mem and nouveau_fbo 2007-08-15 14:31:25 +10:00
Ben Skeggs
40e8ce700b nouveau: reindent nouveau_buffers.h 2007-08-15 14:31:25 +10:00
Ben Skeggs
386a70eeb5 nouveau: reindent nouveau_buffers.c 2007-08-15 14:31:25 +10:00
Ben Skeggs
553f5759a6 nouveau: Lets only do private buffers. 2007-08-15 14:31:25 +10:00
Brian
681b1ebd5e use regular malloc/free instead of macros 2007-08-14 17:20:40 -06:00