Joe Groff
e8dfc22073
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
de9dad0f08
make sure VAOs are available to gpu library
2010-01-21 10:41:11 -08:00
Joe Groff
90a065e690
rearrange order of <static-audio-clip> args to be consistent with <streaming-audio-clip> . add a streaming noise generator to audio.engine.test to ensure streaming clips work
2010-01-20 12:26:07 -08:00
Joe Groff
87c09af8f3
update game.worlds and gpu.demo.raytrace for audio.engine changes
2010-01-20 11:44:18 -08:00
Joe Groff
fc4686eaee
downsample gpu.demos.raytrace sound effects to 11kHz so they aren't so pointlessly huge
2010-01-19 19:03:01 -08:00
Joe Groff
2f8180faa6
allow audio-sources to control reference distance and rolloff factor
2010-01-19 17:54:55 -08:00
Joe Groff
7a14b4ce61
add gratuitous audio to gpu.demos.raytrace
2010-01-19 17:54:25 -08:00
Joe Groff
e5c44b95aa
game.worlds overhaul: add optional support for integrating audio.engine and make game.input integration optional too. add "tick-game-world" generic for extending game-world's tick* method
2010-01-19 16:07:47 -08:00
Joe Groff
893c365912
missing USING:s
2010-01-17 16:07:29 -08:00
Joe Groff
9e0f26f6eb
game.loop: fps word to divide a value into 1,000,000
2010-01-16 23:25:40 -08:00
Joe Groff
89f104d8ab
add begin-game-world and end-game-world generics so method-chains aren't needed just to do game setup and teardown at the right time
2010-01-16 23:06:54 -08:00
Joe Groff
a2e3d64de6
document game.worlds, tweak GAME: syntax
2010-01-16 13:13:13 -08:00
Joe Groff
6bbfa0b6d8
GAME: syntax for defining game entry point with game-loop attributes
2010-01-16 12:18:50 -08:00
Joe Groff
bd62fb22aa
game-loop: change "tick-length" to more descriptive "tick-interval-micros"
2010-01-15 15:03:33 -08:00
Joe Groff
9131e16f7b
bump game demos up to 60fps. we have the technology
2010-01-15 14:36:45 -08:00
Joe Groff
3bc72151a8
squeeze some TYPED: juice on gpu.*
2010-01-15 14:03:15 -08:00
Joe Groff
67cc1c01be
Merge branch 'master' into simd-cleanup
2009-11-26 16:14:46 -08:00
Joe Groff
4027002db7
remove SIMD:s
2009-11-25 20:21:54 -08:00
Slava Pestov
0612bc6177
Factor source files should not be executable
2009-11-21 17:50:43 -06:00
Doug Coleman
f4450653a9
remove system-millis and update vocabs to use system-micros or nano-count
2009-11-18 20:56:09 -06:00
Joe Groff
6c48852fb0
eliminate most spins from extra
2009-11-05 15:34:31 -06:00
Joe Groff
3fbe722561
Merge branch 'master' of http://factorcode.org/git/factor
...
Conflicts:
basis/locals/locals.factor
basis/peg/peg.factor
extra/infix/infix.factor
2009-10-28 16:17:24 -05:00
Joe Groff
6e1bffb1c5
update existing code to use :> ( ) when possible
2009-10-28 16:11:33 -05:00
Doug Coleman
93de179c2f
over push -> suffix!, over push-all -> append!
2009-10-28 15:29:01 -05:00
Joe Groff
ab04d4479e
clean up some stuff in gpu.util.wasd
2009-10-26 14:25:51 -05:00
Joe Groff
eb5a4383e1
gpu.buffers: fix stack effect of with-mapped-buffer
2009-10-26 13:53:33 -05:00
Slava Pestov
00cef34d74
gpu.shaders: '[ empty? not ] filter' is 'harvest'
2009-10-23 07:02:11 -05:00
Joe Groff
15f4196d43
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
34027e46b6
remove a redundant head from parse-bunny-model
2009-10-22 20:26:43 -05:00
Joe Groff
27100ae094
improve gpu.demos.bunny mesh generation performance
2009-10-22 16:54:54 -05:00
Joe Groff
08768d0e2f
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
09ceb7351e
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
09e8484777
fix using
2009-10-08 05:03:40 -05:00
Doug Coleman
fcc53d174c
move game-* to game.* and update all usages
2009-10-08 01:42:54 -05:00
Keith Lazuka
405e5d015b
docs: change $subsection to $subsections
2009-10-02 12:15:48 -04:00
Joe Groff
162ae0346f
eradicate string c-types from gpu.shaders
2009-09-28 15:32:01 -05:00
Joe Groff
630e5ecc3b
update vocabs so a load-all on macosx works without parsing c-type strings
2009-09-27 15:11:21 -05:00
Doug Coleman
5cb34724b7
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
eceed177d6
replace usages of <" with """
2009-09-20 22:42:40 -05:00
Joe Groff
076ab42dc3
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
1f04ed01fe
fix more ambiguities
2009-09-17 09:29:23 -05:00
Joe Groff
31264538e3
get gpu vocabs to load with c-type changes
2009-09-16 20:55:14 -05:00
Joe Groff
4d16c569f0
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
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
522f426ba7
fix help lint failures
2009-09-01 13:04:00 -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
17a08cb07a
gpu.shaders docs corrections
2009-08-22 20:15:13 -05:00
Joe Groff
a2fe9f1952
[ [ ... ] bi@ <=> ] sort => [ ... ] sort-with
2009-08-02 20:13:59 -05:00
Joe Groff
f0f20708cd
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