Commit Graph

12 Commits (e33857a0c33519052a4f293184cb3a225b6fa0bf)

Author SHA1 Message Date
Joe Groff 02b797f11b struct classes now make their own C type without help from alien.structs. remove alien.structs dependencies from everywhere outside of alien and compiler, and have the FFI handle both alien.structs and classes.struct c-types 2009-09-15 17:38:49 -05:00
Slava Pestov 527db8995a 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 3398375447 [ [ ... ] bi@ <=> ] sort => [ ... ] sort-with 2009-08-02 20:13:59 -05:00
Joe Groff 02448dcc39 gpu.render: remove gpu-data-ptr slot specialization on index-elements. it prevents using specialized-arrays or other byte-array wrappers with index-elements 2009-08-02 19:52:33 -05:00
Joe Groff 167ad62e14 hyphens>underscores in VERTEX-FORMAT for consistency with UNIFORM-TUPLE 2009-07-30 10:58:34 -05:00
Joe Groff 1b4ffd8a54 accept transform-feedback-output target from render 2009-07-26 22:24:33 -05:00
Joe Groff 89236a4b94 add a buffer-range tuple to represent a subset of a buffer. add support for specifying a transform feedback format to GLSL-PROGRAM: syntax 2009-07-25 15:50:38 -05:00
Joe Groff 5baefe91da move vertex-formats and vertex-arrays to gpu.shaders so we can use them for transform feedback formats 2009-07-25 11:30:59 -05:00
Joe Groff b640adb8ca bind textures out of uniform structs and arrays 2009-07-23 13:01:21 -05:00
Joe Groff adc6ade589 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 93b6b26442 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 bab0705051 opengl is for chumps 2009-07-19 14:34:24 -05:00