Commit graph

10937 commits

Author SHA1 Message Date
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
Claudio Ciccani
a49570794a Compute the amount of time to sleep on idle event using timers as reference. 2007-07-01 12:24:44 +02:00
Claudio Ciccani
33da6cb133 Fixed initialization of render buffer and deinitialization of context. 2007-07-01 12:23:12 +02:00
Dave Airlie
ad19038080 r300: oops wrong logic for swtcl 2007-07-01 19:27:26 +10:00
Dave Airlie
0caee6b006 r300: oops turn back off cmd buf debugging 2007-07-01 18:52:47 +10:00
Dave Airlie
f556b7f84c Merge branch 'r300-swtcl' 2007-07-01 18:50:14 +10:00
Dave Airlie
646ed82e6b fix tabbing 2007-07-01 18:46:39 +10:00
Dave Airlie
6564e4bffa r300: add authorship 2007-07-01 18:43:22 +10:00
Dave Airlie
2d5313db72 r300: remove some unused code 2007-07-01 18:42:27 +10:00
Dave Airlie
b691d46046 r300: cleanup some of the swtcl code 2007-07-01 18:40:26 +10:00
Dave Airlie
8f7478e5cb r300: fixup manytex, we needed to emit the vic/vir/vof every time 2007-07-01 18:29:23 +10:00
Dave Airlie
885c1326c3 r300: fix tabbing 2007-07-01 17:15:50 +10:00
Brian
f4b103dc99 simplify INIT_SPAN code 2007-06-29 21:52:18 -06:00
Brian
fcc77d3ece s/SPAN_RGBA/SPAN_INDEX/ in clear_ci_buffer_with_masking() 2007-06-29 21:33:59 -06:00
Brian
9dca42a4a1 Undo some prev glDraw/CopyPixel changes which fixed a bug in which colors were overwritten by interpolating attributes.
Now just set the span->arrayAttribs mask in glDraw/CopyPixels and be sure
we don't overwrite the values in interpolate_active_attribs().
2007-06-29 21:29:30 -06:00
Brian
fb4f4e2d18 Obsolete 2007-06-29 21:13:20 -06:00
Brian
fc5bf53644 overhaul point rasterization, no longer use s_pointtemp.h 2007-06-29 21:12:46 -06:00
Brian
66d0784f13 regenerated 2007-06-29 07:53:11 -06:00
Ben Skeggs
5e4a0f42f2 nouveau: match drm changes (0.0.7) 2007-06-29 14:28:39 +10:00
Ben Skeggs
17e81bda6e nouveau: NV30_TCL viewport/scissor fixes 2007-06-29 14:28:39 +10:00
Brian
02dd2221b6 bring over 7.0 doc changes 2007-06-28 16:44:24 -06:00
Brian
767cac1494 Add a few missing GL 2.0 entrypoints, regenerate related files.
Specifically:
  glVertexAttrib4bv
  glVertexAttrib4iv
  glVertexAttrib4ubv
  glVertexAttrib4uiv
  glVertexAttrib4usv
2007-06-28 16:34:40 -06:00
zhang
37aca21129 a variety of fixes for MingW 2007-06-28 08:12:52 -06:00
Brian
b0b02507b4 remove t_save_api.c and some other obsolete files, may be more 2007-06-28 07:18:43 -06:00
Brian
2233d4c1ee remove obsolete t_save_api.c 2007-06-28 07:16:13 -06:00
Brian
3b10f50efb use larger point/sprite size 2007-06-28 07:16:13 -06:00
Brian
1a55e97c9c increase MAX_POINT_SIZE to 60 2007-06-28 07:16:13 -06:00
Brian
3156854c25 XXX comment about point clamping 2007-06-28 07:16:12 -06:00
Brian
369d6654d4 added comment, remove dead code 2007-06-28 07:16:12 -06:00
Oliver McFadden
e92903e24c r300: Initial work on merging the real and generated vertex program functions. 2007-06-24 14:01:19 +00:00
Oliver McFadden
43e601206d r300: Should use inst_count not 0 for R300_PVS_CNTL_3_PROGRAM_UNKNOWN_SHIFT. 2007-06-24 14:01:19 +00:00
Oliver McFadden
62b83638a5 r300: The vpi, vpp, and vps counts are already initialized; don't do it twice. 2007-06-24 14:01:19 +00:00
Oliver McFadden
b41ef55061 r300: Clean up the vertex program state code slightly; still needs lots of work. 2007-06-24 14:01:19 +00:00
Oliver McFadden
252fc61e48 r300: Vertex program position end bits are known.
Possibly performance may improve by setting it to the last instruction that
writes result.position, rather than the last instruction in the vertex program.
2007-06-24 14:01:19 +00:00
Oliver McFadden
27c8488526 r300: Removed unused vap_param structure. 2007-06-24 14:01:19 +00:00
Oliver McFadden
804d3a8f6e r300: Cleaned up long lines in the vertex functions. 2007-06-24 14:01:19 +00:00
Oliver McFadden
909091b7dc r300: Setup the default state for polygon offset point/line.
I believe there are still bugs with all polygon offset types. The point and line
types may need to be handled specially, too.

This shouldn't break anything because it just enabled the occlusion control bits
for polygon offset.
2007-06-24 14:01:19 +00:00
Oliver McFadden
bf334d852d r300: Cleaned up the r300SetupVertexShader function. 2007-06-24 14:01:19 +00:00
Oliver McFadden
204f9e3fdb r300: Cleaned up the r300SetupPixelShader function. 2007-06-24 14:01:19 +00:00
Oliver McFadden
381b86329e r300: Trivial clean up in radeon_lock.h. 2007-06-24 14:01:19 +00:00
Dave Airlie
5eb2015a96 r300: 2288 is a tcl only reg 2007-06-24 17:21:26 +10:00
Eric Anholt
1a413b4d77 Use -pthread instead of -lpthread on FreeBSD. 2007-06-22 11:19:42 -07:00
Brian
1d52b6aaf4 fix bug rendering points with fragment program (see #11330) 2007-06-22 09:47:30 -06:00
Brian
1bf5076569 Fix feedback color bug #11332. In feedback mode, produce float colors. 2007-06-22 08:02:46 -06:00
Dave Airlie
0f7f6e4e95 clean up cache flush emission into one place
makes gears work with swtcl
2007-06-22 19:18:04 +10:00
Brian
6a3ed5eb96 Random state-change / primitive rendering. Good for hammering on a driver... 2007-06-21 18:11:29 -06:00
Brian
578559822e Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa 2007-06-21 16:06:06 -06:00
Brian
93becd8a18 fix rgba pointer bug hit on zoomed+fogged glDrawPixels 2007-06-21 16:06:27 -06:00