Alexander Iljin
504c9959a1
Update some copyright headers to follow the current convention
...
Had to look through the history to find years for some headers. Added
authors to some files as well.
2017-09-11 15:43:03 -07:00
Doug Coleman
e189954ecc
core: Rename iota to <iota> so we can have TUPLE: iota ... ; instead of TUPLE: iota-tuple ... ;
2017-06-02 11:57:05 -05:00
Björn Lindqvist
0142d0b078
basis/,extra/: using parse-array-def in a bunch of places
2016-12-03 13:23:24 +01:00
John Benediktsson
55cf5472a5
using [ ] [ ... ] ?if instead of [ nip ] [ ... ] if*.
2016-07-11 19:50:37 -07:00
John Benediktsson
02b8a051f0
fix for bad renames.
2015-08-13 19:08:05 -07:00
John Benediktsson
ceb75057da
change ERROR: words from throw-foo back to foo.
2015-08-13 16:13:05 -07:00
Doug Coleman
66147f27b4
extra: use throw-foo for ERROR: change
2015-08-13 01:56:32 -07:00
Doug Coleman
3291497cd6
gpu.shaders: fix throw- error
2015-08-13 00:24:10 -07:00
Doug Coleman
352e5de16a
core, basis, extra: Remove DOS line endings from files.
...
Remove whitespace from end of lines.
Add a newline to the end of each file.
2015-06-29 17:25:40 -07:00
John Benediktsson
394af82b1f
gpu.shaders: use ERROR:
2013-03-24 14:20:32 -07:00
Doug Coleman
d4a0f94aa7
gpu.shaders: Rename error words.
2013-03-24 01:33:45 -07:00
Doug Coleman
3507b9bad7
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
Doug Coleman
067f9830ef
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
76580da5d5
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
Doug Coleman
1f57dc326e
Remove many uses of <int> and *int etc
2010-10-25 12:49:12 -05:00
Joe Groff
0ab9046300
rename half-floats vocab to math.floats.half
2010-04-28 15:48:47 -07:00
Daniel Ehrenberg
aa6158b366
Changing require-when usages to the new syntax for require-when
2010-04-18 14:29:24 -05:00
Joe Groff
181c45209f
gpu.shaders: use "counter" instead of reinventing it
2010-04-07 15:33:19 -07:00
Daniel Ehrenberg
240c6819a9
Merge branch 'master' into conditional
2010-03-28 19:49:32 -04:00
Joe Groff
63bb6c4e42
gpu: add geometry shader support
2010-03-23 02:11:57 -07:00
Daniel Ehrenberg
eb060443db
Updating code to use require-when rather than vocab [ require ] when
2010-03-18 01:13:37 -04:00
Joe Groff
31d97a8ff7
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
ce11431fdb
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
6aa998ad54
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
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
3bc72151a8
squeeze some TYPED: juice on gpu.*
2010-01-15 14:03:15 -08:00
Slava Pestov
0612bc6177
Factor source files should not be executable
2009-11-21 17:50:43 -06:00
Slava Pestov
00cef34d74
gpu.shaders: '[ empty? not ] filter' is 'harvest'
2009-10-23 07:02:11 -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
Joe Groff
162ae0346f
eradicate string c-types from gpu.shaders
2009-09-28 15:32:01 -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
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
02d924f1a5
change gpu VERTEX-STRUCT: to make a struct class
2009-08-30 23:06:15 -05:00
Joe Groff
c7dde45c2a
hyphens>underscores in VERTEX-FORMAT for consistency with UNIFORM-TUPLE
2009-07-30 10:58:34 -05:00
Joe Groff
90985ea362
verify transform feedback format matches requested format after linking program-instances
2009-07-27 13:16:41 -05:00
Joe Groff
bfcb95edaf
accept transform-feedback-output target from render
2009-07-26 22:24:33 -05:00
Joe Groff
eeb02815bc
set transform feedback format at program link
2009-07-25 21:19:56 -05:00
Joe Groff
01f172b5be
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
33395eeabd
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
dbf04ff2ca
opengl is for chumps
2009-07-19 14:34:24 -05:00