Commit Graph

25 Commits (46f79e0542210a570c68e6394a7d16668cbfe772)

Author SHA1 Message Date
Joe Groff 46f79e0542 gpu.shaders: change around vertex-array construction a bit. rename <vertex-array> to <multi-vertex-array> and buffer>vertex-array to <vertex-array*> . add new <vertex-array> that takes a single buffer and reads it with the program's linked vertex-format 2010-02-10 15:27:57 -08:00
Joe Groff 7820c4f77b fix gpu.shaders docs 2010-02-10 14:54:37 -08:00
Joe Groff d1872e61da change GLSL-PROGRAM: syntax to allow for vertex formats to be specified for link-time attribute index assignment with glBindAttribLocation. the transform feedback format now needs to be marked with "feedback-format:" 2010-02-10 13:03:44 -08:00
Joe Groff 8ab69e49c4 gpu.shaders: don't attempt to bind vertex attributes that don't exist in the compiled shader 2010-01-28 21:48:41 -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
Slava Pestov 729f119cc6 gpu.shaders: '[ empty? not ] filter' is 'harvest' 2009-10-23 07:02:11 -05:00
Joe Groff ee405924e3 gpu.shaders: carry over instances from old shader/program objects when GLSL-SHADER: or GLSL-PROGRAM: forms get reparsed 2009-10-18 13:44:24 -05:00
Keith Lazuka 8f79ea91ba docs: change $subsection to $subsections 2009-10-02 12:15:48 -04:00
Joe Groff e71cef82d0 eradicate string c-types from gpu.shaders 2009-09-28 15:32:01 -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
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 e48cdd4a2f fix help lint failures 2009-09-01 13:04:00 -05:00
Joe Groff ab8429754c change gpu VERTEX-STRUCT: to make a struct class 2009-08-30 23:06:15 -05:00
Joe Groff 8303ac68d5 gpu.shaders docs corrections 2009-08-22 20:15:13 -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 42556115a2 verify transform feedback format matches requested format after linking program-instances 2009-07-27 13:16:41 -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 990638e0ad set transform feedback format at program link 2009-07-25 21:19:56 -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
Slava Pestov bab0705051 opengl is for chumps 2009-07-19 14:34:24 -05:00