Commit graph

10764 commits

Author SHA1 Message Date
Brian
2fd7b30bfe update includes (s/tile/quad/) 2007-06-20 16:15:09 -06:00
Brian
47e970b2cc s/tile/quad/ 2007-06-20 16:14:55 -06:00
Brian
e0398f43a2 Rename "tile" files to "quad". 2007-06-20 16:12:26 -06:00
Brian
acef7c7501 only blend active pixels in the quad 2007-06-20 15:22:39 -06:00
Brian
7658a0208a quad blending works now, but many blend terms need to be added in blend_quad(). 2007-06-20 15:14:47 -06:00
Brian
fb5cdbd078 Initial implementation of a software pipeline for quad rasterization (fragment ops).
This is very much like the clipper/setup pipeline for primitives.
2007-06-20 14:29:14 -06:00
Brian
1edb5aafad better comment 2007-06-20 14:27:42 -06:00
Brian
b7c646d1bc actually use new glClear code 2007-06-20 13:10:48 -06:00
Brian
abf45c2a3d fix comment 2007-06-20 12:50:16 -06:00
Brian
83b6c46b50 plug in write_mono_row_ub 2007-06-20 12:23:47 -06:00
Brian
837f2c18c4 implement softpipe clearing (untested) 2007-06-20 09:41:41 -06:00
Brian
73f96c5105 Initial work for glClear(), clear color state. 2007-06-20 08:47:09 -06:00
Brian
6cb2d0cb71 hook up point state 2007-06-19 19:52:25 -06:00
Brian
af9b5ca035 Re-org of surface/framebuffer state.
We should be able to render to any depth/format of X window now.
2007-06-19 19:19:31 -06:00
Brian
03933ad656 don't request GLUT_ALPHA 2007-06-19 19:17:48 -06:00
Brian
0e9838263c just use regular malloc(), free(), memcpy() 2007-06-19 08:45:34 -06:00
Brian
2137e3053e add point/line/polygon state 2007-06-19 08:43:05 -06:00
Brian
493f7b5f3a Added alpha test state. 2007-06-18 17:54:38 -06:00
Brian
efe6c50089 Define just one set of PIPE_FUNC_LESS, GREATER, EQUAL, etc tokens.
Used for depth test, alpha test, stencil test, shadow test, etc.
2007-06-18 17:53:09 -06:00
Brian
9ec2e16223 change clear color 2007-06-18 06:57:36 -06:00
Brian
97fc768574 s/PRIM_H/SP_STATE_H/ 2007-06-15 10:57:44 -06:00
Brian
3cdd8bfe8e Added st_update_framebuffer struct/object. 2007-06-15 10:55:12 -06:00
Brian
1119852d02 framebuffer state 2007-06-15 10:54:08 -06:00
Brian
fde755aefb In softpipe_set_viewport() use ordinary (struct) assignment to update softpipe->viewport.
The previous memcpy() was incorrect since it only copied 4 bytes instead of 32.
With struct assignment we avoid data size errors.
2007-06-15 10:50:48 -06:00
Brian
8f6b6eed35 initial framebuffer state 2007-06-15 09:51:53 -06:00
Brian
fe1f94f26c framebuffer state 2007-06-15 09:51:27 -06:00
Keith Whitwell
477e18cb02 Add GLUT_ALPHA for softpipe 2007-06-14 18:25:10 +01:00
Keith Whitwell
943964a1e5 Rename directories again?!
Some git wierdness going on.
2007-06-14 18:23:43 +01:00
Keith Whitwell
6393cda676 Renamed softpipe directories and files to something less confusing.
softpipe/state_tracker --> state_tracker/
softpipe/              --> pipe/
softpipe/generic       --> pipe/softpipe/

I don't think pipe is a great name, but I disliked all the others too.
Luckily it's fairly easy to rename with git, so this can be revisited
later.
2007-06-14 18:11:48 +01:00
Keith Whitwell
7050a4a7bc Small optimization for line drawing.
And some comments on point sprites.
2007-06-14 15:18:27 +01:00
Keith Whitwell
790ec6ad3f Remove some dead code. 2007-06-14 14:29:59 +01:00
Brian
6378dc3ae3 simple line drawing code 2007-06-12 08:47:49 -06:00
Brian
c9527eae8e added st_atom_depth.c 2007-05-30 16:27:17 -06:00
Brian
02a47549ad sketch out texture sampler state 2007-05-30 16:26:55 -06:00
Brian
092a9ecbba comments, clean-up, alphabetize members 2007-05-30 16:10:31 -06:00
Brian
8f28887581 added depth(Z) state support 2007-05-30 16:07:39 -06:00
Brian
4c9b48dcc5 depth(Z) state 2007-05-30 16:07:27 -06:00
Brian
6fc5961933 implement point rendering 2007-05-28 16:13:17 -06:00
Brian
d46fa8bbef INLINE goes before the function's return type 2007-05-25 15:53:42 -06:00
Brian
00d5334899 Add some comments to explain things, code clarifications.
Also, add quad.facing field for front/back facing.  See comments for details.
2007-05-25 15:45:21 -06:00
Brian
cbe4dbef8e use GLubyte for stencil ref/mask/clear 2007-05-24 22:16:26 -06:00
Brian
008fb50174 Stencil state. 2007-05-24 17:37:36 -06:00
Brian
2248829b99 added st_atom_blend.c, st_atom_scissor.c 2007-05-24 16:50:45 -06:00
Brian
6debc8078a Implement blend state 2007-05-24 16:50:22 -06:00
Brian
7234550cf7 #ifndef SP_DEFINES_H protection, copyright 2007-05-24 16:49:27 -06:00
Brian
9267341bd0 scissor depends on glScissor() and framebuffer size 2007-05-24 16:48:38 -06:00
Brian
3bf0fd6090 add scissor state 2007-05-24 14:37:00 -06:00
Brian
711af67fe4 scissor state 2007-05-24 14:36:48 -06:00
Brian
f889ad21da define, use SP_MAX_CLIP_PLANES 2007-05-24 14:36:02 -06:00
Keith Whitwell
b1dc66b7bd Add the vf module.
This is a cleaned up version of the code in tnl/t_vertex*.
2007-05-24 11:37:08 +01:00