John Benediktsson
4d710f76f5
gpu.shaders: use ERROR:
2013-03-24 14:20:32 -07:00
Doug Coleman
cc2d423057
gpu.shaders: Rename error words.
2013-03-24 01:33:45 -07:00
Doug Coleman
69ad465684
audio.engine: Rename audio-orientation
2013-03-23 23:15:16 -07:00
Doug Coleman
91fb609950
basis/extra: Update last usages of <sliced-groups> to <groups>.
2013-03-23 12:08:18 -07:00
John Benediktsson
ab4423a9f2
gpu.framebuffers: fix no-types-specified.
2013-03-20 13:17:12 -07:00
John Benediktsson
879177f189
opengl: properly scale viewports.
2012-11-01 17:12:13 -07:00
John Benediktsson
c1323fbe5a
fix some tests broken by the prepend change.
2012-05-29 16:58:58 -07:00
Doug Coleman
cb42258144
classes:
...
- Allow methods to dispatch off union{ } and intersection{ } classes.
- Add not{ } anonymous-complement syntax.
- Define class-name for anonymous-union/intersection/complement and maybes, and clean up pprint.
- Change maybe: foo to maybe{ foo }
- Call sort-classes when making anonymous-union/anonymous-intersection classes so that they are canonicalized.
2012-05-03 19:45:30 -07:00
Joe Groff
1f34d9d351
change temp-file to cache-file where appropriate
2012-04-16 11:55:27 -07:00
Joe Groff
eee483654a
use radix literals
2011-11-23 19:03:40 -08:00
Doug Coleman
14dbf929ee
classes.union: Define a maybe: word that makes a tuple that acts as an anonymous union for a type and f. Updated all the places we define UNION: ?foo foo POSTPONE: f ;. Fixes #416 and lots of headaches.
2011-11-22 01:56:13 -08:00
Doug Coleman
921c81d92a
Document reset-class, forget-class, forget-method. Use lookup-method in see, fix gpu.render for method->lookup-method renaming. Fixes #232 .
2011-10-04 10:40:48 -07:00
Doug Coleman
300138eb4d
Refactor the lexer/parser to expose friendlier words for scanning tokens. The preferred top-level words now throw an exception on EOF.
...
CREATE -> scan-new
CREATE-CLASS -> scan-new-class
CREATE-WORD -> scan-new-word
CREATE-GENERIC -> scan-new-generic
scan -> (scan-token)
scan-token now throws on eof
(scan-word) returns word/number/f
scan-word now throws on eof
scan-word-name expects a non-number
Fixes #183 .
Fixes #209 .
2011-09-29 11:28:28 -07:00
John Benediktsson
49897108b4
gpu.state: use qualified for all c-types.
2011-09-26 20:12:10 -07:00
John Benediktsson
0e3d598e69
specialized-arrays: performed some cleanup.
...
Specifically,
• Created >c-array to be replacement for >T-array.
• Created cast-array to be generic replacement for all T-array-cast words.
• Created c-array@ to be generic replacement for T-array@ words.
• Replaced usages of <T-array> with T <c-array>
• Replaced usages of <direct-T-array> with T <c-direct-array>
• Replaced usages of >T-array with T >c-array
• Replaced usages of T-array-cast with T cast-array
• Replaced usages of malloc-T-array with T malloc-array.
• Removed malloc-T-array.
• Removed T-array-cast.
• Removed T-array@.
• Removed >T-array.
I also added (but didn't change any code to use):
• T c-array-type, returns T-array
• T c-array?, returns T-array?
• c-array{ T ... }, returns T-array{ ... }
Bootstraps just find on Mac OS X. Also `load-all test-all` works for me.
2011-09-26 11:37:51 -07:00
John Benediktsson
01bd3439c6
alien.data: removing unused (and broken?) "require-c-array".
2011-09-23 13:15:09 -07:00
Joe Groff
3757210244
Merge remote-tracking branch 'Blei/gtk-image-loader'
...
Conflicts:
basis/alien/enums/enums-tests.factor
basis/alien/enums/enums.factor
basis/alien/parser/parser.factor
basis/gdk/pixbuf/ffi/ffi.factor
basis/glib/ffi/ffi.factor
basis/tools/deploy/shaker/shaker.factor
basis/ui/backend/gtk/gtk.factor
basis/windows/nt/nt.factor
2011-08-27 14:07:18 -07:00
Joe Groff
a233d08dec
bunny.model, gpu.demos.bunny: update url for bunny model download
2011-02-25 10:22:49 -08:00
Slava Pestov
55fd15c45a
Move <ref>, deref and little-endian? from alien.c-types to alien.data, remove <c-object>
2010-12-25 16:55:36 -08:00
Doug Coleman
657b490f69
Remove <uint> *uint and friends. Hopefully remove the last usages of these words
2010-10-25 15:54:42 -05:00
Doug Coleman
40bdadcac4
Remove many uses of <int> and *int etc
2010-10-25 12:49:12 -05:00
Slava Pestov
6ecfe1bfc1
bunny, gpu.demos.bunny: bunny has moved
2010-10-02 19:54:57 -07:00
Joe Groff
edf7cd6517
gpu.shaders: typo in docs reported by typemore
2010-08-17 17:14:05 -07:00
Philipp Brüschweiler
b326f77b2e
Merge branch 'gtk' into gtk-image-loader
2010-07-26 19:29:17 +02:00
Slava Pestov
7fe6721993
math.matrices: move normal word from gpu.demos.bunny and reverse sign
2010-07-23 20:41:08 -07:00
Joe Groff
36440c75a4
images, opengl.textures, images.cocoa: add support for premultiplied alpha so we can use data from cocoa images
2010-06-27 13:44:25 -07:00
Joe Groff
0efe597249
gpu.util.wasd: new utility word "wasd-pixel-ray" that converts a screen pixel position to a world-space vector, indicating direction from eye location
2010-06-23 00:48:17 -07:00
Joe Groff
d7374e9d2f
gpu.buffers: grow-buffer helper word
2010-05-24 22:13:15 -07:00
Doug Coleman
ce95cea303
Finish renaming micros->nanos in game code, update libs
2010-05-21 23:50:42 -05:00
Doug Coleman
e559f1470b
Use keys/values where appropriate
2010-05-21 12:48:04 -05:00
Joe Groff
4d0508a995
opengl.textures: borrow get-texture-float and get-texture-int helper words from gpu.textures
2010-05-15 12:09:50 -07:00
Joe Groff
aeee276044
gpu.buffers: "with-mapped-buffer-array" helper word that wraps a mapped GL buffer in a specialized-array for easy inspection
2010-05-14 16:54:06 -07:00
Joe Groff
857a2ff13b
gpu.render: allow uchar-array, ushort-array, and uint-array to be passed directly to render as element arrays
2010-05-14 16:00:27 -07:00
Joe Groff
bec542f08d
rename half-floats vocab to math.floats.half
2010-04-28 15:48:47 -07:00
Daniel Ehrenberg
d9878f81d7
Changing require-when usages to the new syntax for require-when
2010-04-18 14:29:24 -05:00
Joe Groff
a34747d360
Merge branch 'master' of factorcode.org:/git/factor
2010-04-11 15:08:41 -07:00
Erik Charlebois
215924baeb
Fix build breaks
2010-04-10 22:38:17 -07:00
Erik Charlebois
f3a599c034
Remove empty quad vocabulary
2010-04-10 00:02:44 -07:00
Joe Groff
6d062cbc19
gpu.shaders: use "counter" instead of reinventing it
2010-04-07 15:33:19 -07:00
Erik Charlebois
d8167e178a
More work on fluids
2010-04-06 13:12:10 -07:00
Erik Charlebois
ac5f0aa387
Get fluids working on Mac
2010-04-05 01:38:39 -07:00
Erik Charlebois
1a8bdb6994
Fix step effect
2010-04-04 20:52:09 -07:00
Erik Charlebois
8ac11e90f1
Techniques work
2010-04-04 18:57:58 -07:00
Daniel Ehrenberg
cacb1f8ebd
Merge branch 'master' into conditional
2010-03-28 19:49:32 -04:00
Joe Groff
1afb548db3
gpu: add geometry shader support
2010-03-23 02:11:57 -07:00
Daniel Ehrenberg
f2f80dadc7
Updating code to use require-when rather than vocab [ require ] when
2010-03-18 01:13:37 -04:00
Joe Groff
dd825806da
more help-lint
2010-03-09 21:02:43 -08:00
Joe Groff
d4a0a69eb1
generalize stack effects so we can bootstrap with the stricter stack effect checking
2010-03-08 23:38:10 -08:00
Slava Pestov
74891bc02a
Update documentation for new help lint check
2010-02-19 12:31:52 +13:00
Joe Groff
064d6fdd17
update gpu docs—VAOs no longer required
2010-02-17 12:50:32 -08:00