Commit Graph

8 Commits (8befecbc94ff879a0f82745581853b26104bcc9c)

Author SHA1 Message Date
Slava Pestov 7f2e2b1777 Specialized array overhaul
- Replace hand-written specialized-arrays.* subvocabularies with new system; instead of USE:ing specialized-arrays.T, do SPECIALIZED-ARRAY: T
- Ditto for specialized-vectors; use SPECIALIZED-VECTOR:
- io.mmap.functor: removed entirely, use <mapped-array> instead
- struct-arrays and struct-vectors have been removed because specialized arrays and vectors subsume them entirely
2009-09-09 22:33:34 -05:00
Joe Groff 02d924f1a5 change gpu VERTEX-STRUCT: to make a struct class 2009-08-30 23:06:15 -05:00
Joe Groff eae92a404a update gpu.demos.bunny for alien.arrays boxing change 2009-08-26 15:05:07 -05:00
Joe Groff 9c9132297f no need to call set-gpu-state* directly 2009-07-30 20:57:22 -05:00
Joe Groff 1e389c921d remove some leftover debug code from bunny shader 2009-07-29 20:06:28 -05:00
Joe Groff bba46d2b30 improve uniform-tuple interface in gpu.render. uniform-tuples can now contain other uniform-tuples to represent struct uniforms. use glUniform*v to blast uniform arrays in one shot. s/-/_/ in slot names so they look more factorish on the CPU side 2009-07-22 22:32:02 -05:00
Joe Groff 3bbc9835fc add a new "make-tuple" combinator for cleaving values into tuple slots by name. make render-set read-only and update gpu demos to use make-tuple 2009-07-22 12:43:44 -05:00
Slava Pestov dbf04ff2ca opengl is for chumps 2009-07-19 14:34:24 -05:00