Commit Graph

54 Commits (026ee1a051fbfa0785acb15408c72f62ff347edc)

Author SHA1 Message Date
Joe Groff 026ee1a051 opengl.gl.extensions: annoying hack to make gpu.* demos work in Lion. opengl 3 entry points such as glGenVertexArrays are available, but they only actually work in core profile contexts which factor doesn't support yet, so favor extension entry points such as glGenVertexArraysAPPLE instead of standard entry points 2011-07-29 14:15:59 -07:00
Anton Gorenko 4faef1a08c Merge branch 'master' of git://factorcode.org/git/factor
Conflicts:
	basis/cairo/ffi/ffi.factor
	basis/pango/cairo/cairo.factor
	basis/pango/layouts/layouts.factor
2010-09-26 23:24:30 +06:00
Joe Groff ae4a9557bc opengl.gl: typo in the FFI bindings for some obscure gl functions 2010-08-13 10:16:47 -07:00
Joe Groff 03853ea8c3 opengl.gl: some opengl 4 functions were accidentally still presented as -EXT 2010-08-11 10:05:03 -07:00
Anton Gorenko 553f6d516a change directories structure (add */ffi/ffi.factor files) 2010-05-27 00:17:14 +06:00
Anton Gorenko c3acab8215 Merge branch 'master' of git://factorcode.org/git/factor
Conflicts:
	basis/opengl/gl/extensions/extensions.factor
	basis/pango/cairo/cairo.factor
2010-05-24 19:43:05 +06:00
Anton Gorenko a8c4e59893 add opengl.gl.gtk backend 2010-05-24 19:22:29 +06:00
Slava Pestov fa53b4ab2a opengl.gl.unix renamed to opengl.gl.x11 2010-05-23 22:25:17 -04:00
Slava Pestov 8e1afbd650 Fixing load errors 2010-04-10 17:24:44 -07:00
Joe Groff 1d06be5021 "stdcall" -> stdcall 2010-03-31 19:29:04 -07:00
Joe Groff d951be1832 "cdecl" -> cdecl 2010-03-31 19:20:35 -07:00
Joe Groff 2fb344385b opengl 3.3, 4.0 2010-03-16 18:35:46 -07:00
Joe Groff 10aae6c93d opengl 3.2; EXT_geometry_shader4 => ARB_geometry_shader4 2010-03-16 17:25:34 -07:00
Joe Groff a0b4c766e1 update GL-FUNCTION: to use new FUNCTION: factors 2010-02-28 16:40:34 -08:00
Joe Groff ff9890e52b opengl.gl: all those GLchar* should be c-string[ascii] 2010-02-23 20:29:31 -08:00
Joe Groff 96ab4492d2 rename current string-mangling "char*" to "c-string". char* is now just a boring old pointer to char 2010-02-23 11:42:02 -08:00
Joe Groff ff9ee93c8a opengl.gl: TYPEDEF: void* GLvoid* => C-TYPE: GLvoid 2010-02-21 23:13:56 -08:00
Joe Groff 4e077ebe7b opengl.gl.extensions: scan return type of GL-FUNCTION: as c-type 2010-02-21 11:46:17 -08:00
Slava Pestov 0aad3e6e12 vocabs.metadata: replace unportable tag with a platforms.txt file for more fine-grained control. Rename unportable tag to untested for remaining cases 2010-02-20 13:30:49 +13:00
Erik Charlebois 33bdf4659a Merge up with Joe's earlier change that added s3tc 2010-02-13 02:43:42 -08:00
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 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 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 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 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 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
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 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 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
Slava Pestov db3818814d Refactor GLU usages in basis, and move opengl.glu to extra, and don't like VM with GLU 2009-04-11 15:17:08 -05:00
Doug Coleman 8b7fcce399 update code for usages of add-library 2009-03-25 23:00:19 -05:00
Slava Pestov ea60f8ae93 Changing : foo ; parsing to SYNTAX: foo ; 2009-03-21 01:27:50 -05:00
Slava Pestov 505c9a77c2 Merge branch 'master' into new_ui 2009-01-29 22:11:34 -06:00
Slava Pestov 858299c31f Add support for GL_BGRA_ext 2009-01-29 22:08:28 -06:00
Slava Pestov 63382b6e81 Fix capitalization 2009-01-06 17:00:30 -06:00
Slava Pestov c5160d76e9 Merge qualified, alias, symbols, constants into core 2008-12-17 18:10:01 -06:00
Slava Pestov daf2857d7b define-inline now takes an effect parameter
C: now sets the stack effect of the new word to slot names
add new basis/constants vocab; CONSTANT: foo bar is equivalent to : foo bar ; inline
(going to fold CONSTANT:, ALIAS: and qualified into core soon perhaps)
tighten the screws: inline words now need a stack declaration too
update some usages of inline words
2008-12-15 19:44:56 -06:00
Slava Pestov 3e25d14e54 Code cleanup: refactoring usages of rot and -rot to use newer idioms instead 2008-11-30 17:47:29 -06:00