Commit Graph

28 Commits (308cdd244c908d66caaa8021e15b45e493c2dbf2)

Author SHA1 Message Date
Joe Groff 1afb548db3 gpu: add geometry shader support 2010-03-23 02:11:57 -07:00
Joe Groff 880ac90898 fall back to manual gl vertex attribute management when GL_APPLE_vertex_array_object is not present, so gpu can support vanilla GL 2.0 2010-02-17 11:26:32 -08:00
Joe Groff 027f8ce438 gpu.render: allow uniform-tuples to hand off specialized-arrays, structs, simd types, etc. directly to glUniform*v functions when binding uniforms 2010-02-10 11:24:36 -08:00
Joe Groff 898d678f7d squeeze some TYPED: juice on gpu.* 2010-01-15 14:03:15 -08:00
Slava Pestov 08b6ebc7fa Factor source files should not be executable 2009-11-21 17:50:43 -06:00
Joe Groff 22a9be5ea5 update existing code to use :> ( ) when possible 2009-10-28 16:11:33 -05:00
Joe Groff 08308fa4f5 gpu.render: factor out and make public a "bind-uniforms" word for binding a uniform-tuple to a program-instance independent of a render-set 2009-10-18 18:31:38 -05:00
Keith Lazuka 8f79ea91ba docs: change $subsection to $subsections 2009-10-02 12:15:48 -04:00
Joe Groff ac2f3763e0 update vocabs so a load-all on macosx works without parsing c-type strings 2009-09-27 15:11:21 -05:00
Doug Coleman 026761ed62 Merge branch 'master' of git://factorcode.org/git/factor
Conflicts:
	basis/classes/struct/struct-tests.factor
	basis/functors/functors-tests.factor
	basis/specialized-arrays/specialized-arrays-tests.factor
2009-09-20 23:02:49 -05:00
Doug Coleman 47fab85a00 replace usages of <" with """ 2009-09-20 22:42:40 -05:00
Joe Groff 4a1422e7fe move some allocation words that don't really have much to do with c types out of alien.c-types into a new alien.data vocab 2009-09-17 22:36:05 -05:00
Joe Groff 7f68864567 get gpu vocabs to load with c-type changes 2009-09-16 20:55:14 -05:00
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 a1416e2091 update gpu docs 2009-07-26 23:00:35 -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 39a2c89b9c update gpu.util.wasd to match uniform tuple changes 2009-07-23 14:58:45 -05:00
Joe Groff b313ef7394 doc updates for uniform-tuple changes 2009-07-23 13:39:28 -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