Commit Graph

8706 Commits

Author SHA1 Message Date
michal
ffe58739da Softpipe: import TGSI tree. Not hooked-up yet. 2007-07-05 19:55:38 +02: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
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
ea92566ed9 rename a few structs (use _state suffix consistantly), reorder/sort fields in some structs 2007-07-02 15:32:12 -06:00
Brian
d523a04853 added buffer_data(), buffer_sub_data() to pipe_buffer 2007-06-29 13:10:47 -06:00
Brian
e62cf5c69a more work on tex objects, surfaces, mappable buffers 2007-06-29 13:03:01 -06:00
Brian
48076dc784 added texture types and mapping types 2007-06-29 12:59:58 -06:00
Brian
34cbcf92af texture object construction 2007-06-29 12:59:02 -06:00
Brian
16fdae16b6 s/G_CONTEXT_H/SP_CONTEXT_H/ 2007-06-29 12:16:37 -06:00
Brian
1be17dc446 consolidate point/line state into pipe_setup_state 2007-06-26 17:35:24 -06:00
Brian
192f9ab81b fix logic error in updating of quad's Z values. Basic depth testing works now 2007-06-25 09:46:04 -06:00
Brian
363e602042 clean-ups 2007-06-25 09:45:10 -06:00
Brian
0717daf4f9 emit quad->outputs.depth[], hack need_z 2007-06-25 09:44:28 -06:00
Brian
8f6d06d037 code for functional Z buffer surface 2007-06-25 09:43:02 -06:00
Keith Whitwell
c2577bb1a0 Restructure z test code slightly.
Make the logic slightly closer to an eventual SSE or SPE implementation.
2007-06-24 10:32:48 +01:00
Brian
5d69aeb002 initial texture object, texture format code 2007-06-22 13:37:47 -06:00
Brian
13682d959d more texture sampler work 2007-06-22 13:08:49 -06:00
Brian
8754b59667 added blend comments 2007-06-22 12:49:23 -06:00
Brian
f79c225d9e Assorted token renaming/removal, minor state changes, etc. 2007-06-22 12:47:04 -06:00
Brian
493ed9fc11 alpha test and misc changes 2007-06-21 20:08:10 -06:00
Brian
ecfa794037 checkpoint: implement z/depth testing 2007-06-20 17:20:02 -06:00
Keith Whitwell
24a989c5d1 Add state tracker create/destroy calls to i915 driver. 2007-06-20 23:17:12 +01:00
Keith Whitwell
78cc48f70a Rename static variable in temporary tnl code 2007-06-20 23:17:12 +01:00
Keith Whitwell
b8657e44dc Remove dependency on vf.h in public headers 2007-06-20 23:17:12 +01:00
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
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
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