Commit graph

115447 commits

Author SHA1 Message Date
Brian
ebafc193fa s/G_/SP_/ 2007-07-09 16:20:16 -06:00
Brian
a380f98b6c Rename G_NEW_* tokens to SP_NEW_* 2007-07-09 16:17:50 -06:00
Brian
546eff6ba8 Obsolete file. 2007-07-09 16:15:20 -06:00
Brian
279ffe3f16 New 'draw' module for primitive drawing (clipping, culling, etc). 2007-07-09 16:14:26 -06:00
Brian
9fbdf50078 New 'draw' module for handling the various stages of primitive drawing (clipping, culling, etc). 2007-07-09 16:12:13 -06:00
Brian
10f4b37bd7 Rename/move some files to modularize the primitive/draw code. 2007-07-09 16:04:08 -06:00
Brian
aa328291c5 Fix size test bug in _mesa_test_proxy_teximage().
width/height/depth == 0 is a legal texture size (no error generated).
Later, the texture will be considered incomplete, however, and texturing
will effectively be disabled.
See bug 11309.
2007-07-08 09:59:05 -06:00
Brian
37ece4df7c Check if 'indices' parameter is NULL (bug 11314) 2007-07-08 09:20:42 -06:00
Brian
25cfb68f0b Change float depthScale param to _mesa_unpack_depth_span() to GLuint depthMax. 2007-07-08 09:02:36 -06:00
Brian
64359af071 check depthScale value for optimized ushort->uint case (fixes bug 11474) 2007-07-08 08:53:19 -06:00
Brian
a164d3aee0 In _swsetup_Translate(), update dest->attrib[FRAG_ATTRIB_COL0].
Also, check if we're in RGB vs. CI mode.  This fixes a problem with
incorrect rendering color seen with the redbook/polys demo.
2007-07-06 16:55:40 -06:00
Brian
0bf2479aef Add case for GL_QUADS in i915_reduced_primitive_state().
The t_dd_tritemp.h code can emit GL_QUADS primitives.  We need to catch
that case to determine if polygon stipple should be enabled.
Fixes bug reported by Carlos Diógenes on 4 July 2007.
2007-07-06 16:55:40 -06:00
Patrice Mandin
f0aa6654e2 Merge branch 'master' of git+ssh://pmandin@git.freedesktop.org/git/mesa/mesa 2007-07-07 00:08:35 +02:00
Patrice Mandin
69501d76fc NV_17 is different from NV_10 2007-07-06 23:59:29 +02:00
Patrice Mandin
2adcd5bdd2 NV1X don't support VIEWPORT_ORIGIN in hardware 2007-07-06 23:55:51 +02:00
Eric Anholt
d086f7ab2e bufmgr_ttm: hook up destroy function, track buffer names. 2007-07-06 12:01:33 -07:00
Xavier Bachelot
f98bdfca57 call glutInit(), bug 11486 2007-07-06 12:56:21 -06:00
michal
9b32c33e9d Fix function names. 2007-07-06 18:57:47 +02:00
michal
6d8fb1a543 Indent.
Fix function prototype.
2007-07-06 18:53:55 +02:00
michal
3b8bc1f467 Merge branch 'master' of git+ssh://michal@git.freedesktop.org/git/mesa/mesa into softpipe_0_1_branch 2007-07-06 17:53:44 +02:00
Eric Anholt
f7643b96e9 bufmgr_fake: Keep the bufmgr lock held while freeing a block. 2007-07-05 15:45:49 -07:00
Eric Anholt
23e0ca2ebb Fix copy'n'pasteo that broke display lists. 2007-07-05 13:56:38 -07:00
Eric Anholt
3cf20ddbfc Merge branch 'i915-unification' of git+ssh://people.freedesktop.org/~anholt/mesa into i915-unification 2007-07-05 11:36:44 -07:00
michal
ffe58739da Softpipe: import TGSI tree. Not hooked-up yet. 2007-07-05 19:55:38 +02:00
Brian
ffa2659204 stencil pixel map didn't work in _mesa_unpack_stencil_span(), bug 11475 2007-07-05 09:37:46 -06:00
Zou Nan hai
575f3e918f support "discard"; 2007-07-05 11:10:24 +08:00
Brian
c223c6b663 Be more consistant with paths in #includes. Eventually, eliminate a bunch of -I flags. 2007-07-04 13:15:20 -06:00
Brian
e8e5d9effe support more modes, added -f cmd line option 2007-07-04 09:23:12 -06:00
Brian
9aa8223605 assorted clean-ups 2007-07-04 09:22:15 -06:00
Eric Anholt
bd9db5eed2 fix LogicOp/bitmap problem, bug 11133 2007-07-04 07:37:14 -06:00
Brian
22b0b2f47e add fbdev/ to DEMO_FILES 2007-07-04 07:35:11 -06:00
Dave Airlie
5657fc5b4c r300: only init swtcl on tcl-less cards 2007-07-04 15:30:40 +10:00
Zou Nan hai
fb9ee9b323 Merge branch 'master' of git+ssh://znh@git.freedesktop.org/git/mesa/mesa into 965-glsl 2007-07-04 10:52:35 +08:00
Zou Nan hai
285b326c60 fix issue with output as src register. 2007-07-04 10:51:57 +08:00
Brian
ac5523a9c3 SIMD comments 2007-07-03 17:31:59 -06:00
Brian
284efcfc27 hook in state tracking for blend color 2007-07-03 17:19:30 -06:00
Brian
d378a2c0b8 added blend_color 2007-07-03 17:13:45 -06:00
Brian
111880798a Blend MIN/MAX modes are special: the src/dest terms are always one. 2007-07-03 17:13:04 -06:00
Brian
f6d4f5e1e9 Rewrite blending in terms of SIMD operations. 2007-07-03 17:12:11 -06:00
Brian
7ff4359a3b added vec2(vec4) constructor, bug 11404 2007-07-03 11:41:56 -06:00
Brian
a36b5c6d47 add code for stpq, rgba writemasks in make_writemask(), bug 11404 2007-07-03 11:41:21 -06:00
Brian
a813f65487 clarify that line_stipple_factor is in [0,255] corresponding to GL's range of [1,256]. 2007-07-03 10:58:03 -06:00
Brian
3d04682b7a fix StepX/StepY typo 2007-07-03 10:06:13 -06:00
Brian
f9b53f648d use _mesa_unpack_stencil_span() in draw_stencil_pixels(), bug 11457 2007-07-03 08:54:29 -06:00
Roland Scheidegger
9a45176dd8 fix GL_DOT3_RGBA texture combiner mode in generated fragment programs (bug #11030) 2007-07-03 14:27:41 +02:00
Zou Nan hai
4fc02ad000 Fix a nasty bug... 2007-07-03 15:27:43 +08:00
Brian
ea92566ed9 rename a few structs (use _state suffix consistantly), reorder/sort fields in some structs 2007-07-02 15:32:12 -06:00
Brian
9220255d75 add const to wglSetPixelFormat() to match .h declaration 2007-07-02 10:16:02 -06:00
Brian
06542019a8 avoid unnecessary clamping of depth values (bug 11448) 2007-07-02 08:46:57 -06:00
Dave Airlie
6257ed8663 r300: fix compiz crash on swtcl - doesn't fix compiz though.
Compiz for some reason looks like ass, everything with textures
looks like it has a 2x width/height multiplier on the texture coords...
2007-07-02 17:22:35 +10:00