Commit Graph

131 Commits (44aa9a032ef1c422c5cc42b9d76c5a50ad9268a5)

Author SHA1 Message Date
Erik Charlebois 44aa9a032e Merge up with Joe's earlier change that added s3tc 2010-02-13 02:41:03 -08:00
Erik Charlebois 12729d67d0 Constants for GL_EXT_texture_compression_s3tc and GL_EXT_texture_compression_latc 2010-02-13 02:34:26 -08:00
Joe Groff 9b2fcb7252 gpu.textures: add compressed texture support 2010-02-11 14:22:54 -08:00
Slava Pestov 08b6ebc7fa Factor source files should not be executable 2009-11-21 17:50:43 -06:00
Doug Coleman 3323072613 Merge branch 'master' into startup
Conflicts:
	core/bootstrap/primitives.factor
	vm/run.hpp
2009-11-15 02:52:50 -06:00
Slava Pestov f13be0c468 opengl: fix stack effect error in (all-enabled) combinator and add a unit test 2009-11-09 00:54:39 -06:00
Joe Groff 2081385e43 fix build errors 2009-10-28 19:28:16 -05:00
Joe Groff c6761710a6 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 22a9be5ea5 update existing code to use :> ( ) when possible 2009-10-28 16:11:33 -05:00
Doug Coleman a57e990af7 parsed -> suffix!, add append! 2009-10-28 13:38:27 -05:00
Doug Coleman 6fa23d7ea4 change add-init-hook to add-startup-hook, new add-shutdown-hook word 2009-10-19 22:17:02 -04:00
Keith Lazuka 8f79ea91ba docs: change $subsection to $subsections 2009-10-02 12:15:48 -04:00
Joe Groff ca69df90b5 update windows vocabs to load without c-type strings 2009-09-27 18:19:53 -05:00
Joe Groff e5d406693e add USING:s and rearrange definitions so macosx can compile without parsing c-type strings 2009-09-26 23:14:57 -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 9fbdfc9a54 fix "float" ambiguities in math.blas, opengl vocabs 2009-09-16 21:25:46 -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
Slava Pestov 50641a5059 Disposables are now registered in a global disposables set. To take advantage of this, subclass disposable instead of providing a disposed slot and call new-disposable instead of new. tools.disposables defines two words, 'disposable.' and 'leaks', to help track down resource lifetime problems 2009-08-24 02:26:13 -05:00
Doug Coleman d1ce837569 Delete empty unit tests files, remove 1- and 1+, reorder IN: lines in a lot of places, minor refactoring 2009-08-13 19:21:44 -05:00
Joe Groff 990638e0ad set transform feedback format at program link 2009-07-25 21:19:56 -05:00
Joe Groff 9370de33c0 OR gl extension testing 2009-07-22 12:06:30 -05:00
Slava Pestov eeec5feae5 Split off annotation code from opengl into opengl.annotations to reduce deployed image size 2009-07-17 01:06:34 -05:00
Joe Groff 9d02d38f18 gl-break word and interactive debugging aids 2009-07-15 22:44:03 -05:00
Joe Groff 72f48b2377 report opengl function name in gl-errors 2009-07-15 13:53:57 -05:00
Joe Groff 3805b655f8 throw-gl-errors, log-gl-errors annotations for all OpenGL functions 2009-07-14 12:00:37 -05:00
Joe Groff f933d4e27b pardon my dust 2009-07-01 17:57:21 -05:00
Joe Groff 2b175e20fe opengl helper words for ARB/APPLE vertex array objects 2009-07-01 13:53:28 -05:00
Joe Groff 0d6949ed57 opengl.gl3 vocab containing only forward-compatible symbols. fill in some holes in opengl.gl 2009-06-24 18:27:54 -05:00
Joe Groff 3c6dc4c97f update demos using GL_EXT_framebuffer_object and GL_ARB_texture_float to use suffixless opengl 3 symbol names 2009-06-24 17:59:25 -05:00
Joe Groff 20fdd958e0 opengl 3.1 2009-06-24 17:28:37 -05:00
Joe Groff 08ad3a2fc8 provide image component-orders and component-types for all GPU texture formats 2009-06-24 08:26:30 -05:00
Joe Groff 0e7feb0cf6 throw in image component-orders for some more opengl formats 2009-06-23 20:01:53 -05:00
Joe Groff 8e12e25634 GL_BGR and GL_BGRA are standard these days 2009-06-22 18:07:46 -05:00
Joe Groff ba1fdc2683 separate component format from component order in image objects 2009-06-22 11:20:54 -05:00
Joe Groff a4bf577d52 Merge branch 'master' of git://factorcode.org/git/factor 2009-06-17 21:45:04 -05:00
Joe Groff 3d13ec61fd let gl-error know about GL_INVALID_FRAMEBUFFER_OPERATION_EXT error. add <mrt-gl-program> helper word to link a GL program with named multiple render targets 2009-06-16 18:14:22 -05:00
Slava Pestov becaa7985d Remove unused words discovered by Samuel Tardieu 2009-06-16 16:38:39 -05:00
Doug Coleman 4b15de5e00 dont use paren names when there's not a word with that name already 2009-06-10 16:23:57 -04:00
Joe Groff 5e8bdff3a0 typo in opengl.gl 2009-06-03 11:02:41 -05:00
Slava Pestov 03e6ab0372 Fix conflict 2009-05-16 09:48:42 -05:00
Slava Pestov ba04d5af1e Update documentation for stricter vocabulary search path semantics 2009-05-16 00:29:21 -05:00
Joe Groff 69c7a268a1 add some more opengl extension bindings:
GL_EXT_framebuffer_blit
	GL_EXT_framebuffer_multisample
	GL_EXT_gpu_shader4
	GL_EXT_geometry_shader4
	GL_EXT_transform_feedback
2009-05-15 11:00:39 -05:00
Slava Pestov 3ebd4594e8 Implement stricter vocab search path semantics, with a new API for vocabs.parser. Add map-find-last to sequences vocab 2009-05-14 22:31:29 -05:00
Slava Pestov d7db5edadc Cleaning up USING: lists for new strict semantics 2009-05-14 16:54:16 -05:00
Slava Pestov b1bcc44dd5 Rename use+ to add-use, move search to vocabs.parser, EXCLUDE: bombs out if word doesn't exist 2009-05-13 22:15:48 -05:00
Joe Groff b1f42da336 un-private some useful words 2009-05-07 19:46:42 -05:00
Joe Groff 28ec51911b work around macosx-x86-64 bug where it tries to write glGetAttachedShaders param as a GLuint64 array instead of a GLuint. this should fix bunny/spheres crash 2009-05-04 15:15:36 -05:00
Joe Groff 3edd57aaa4 eliminate windows.opengl32 dependency from opengl.gl.windows so we can use opengl.gl.extensions to define wgl extensions 2009-04-30 20:38:18 -05:00