Commit Graph

43 Commits (ae30307a2c607be24c1f0fe0ee760dc40f04649f)

Author SHA1 Message Date
Doug Coleman ae519868f7 over push -> suffix!, over push-all -> append! 2009-10-28 15:29:01 -05:00
Joe Groff 96b9f9200c clean up some stuff in gpu.util.wasd 2009-10-26 14:25:51 -05:00
Joe Groff a8ed9081d1 gpu.buffers: fix stack effect of with-mapped-buffer 2009-10-26 13:53:33 -05:00
Slava Pestov 729f119cc6 gpu.shaders: '[ empty? not ] filter' is 'harvest' 2009-10-23 07:02:11 -05:00
Joe Groff 6c0c1d9901 gpu.demos.bunny: tokenize model file as it's read to avoid an extra splitting-and-filtering pass 2009-10-23 00:08:14 -05:00
Joe Groff a42eac4467 remove a redundant head from parse-bunny-model 2009-10-22 20:26:43 -05:00
Joe Groff e07758d96c improve gpu.demos.bunny mesh generation performance 2009-10-22 16:54:54 -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
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
Doug Coleman eaca564456 fix using 2009-10-08 05:03:40 -05:00
Doug Coleman 4c366ea676 move game-* to game.* and update all usages 2009-10-08 01:42:54 -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
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 21a0722752 fix more ambiguities 2009-09-17 09:29:23 -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 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 f9f53b83b0 update gpu.demos.bunny for alien.arrays boxing change 2009-08-26 15:05:07 -05:00
Joe Groff 8303ac68d5 gpu.shaders docs corrections 2009-08-22 20:15:13 -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 22e27644c8 fix some lousy docs in gpu.textures 2009-07-31 15:34:29 -05:00
Joe Groff 21ac872ba1 no need to call set-gpu-state* directly 2009-07-30 20:57:22 -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 9889c6ed03 remove some leftover debug code from bunny shader 2009-07-29 20:06:28 -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
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