Commit Graph

181 Commits (97530d86d48848f6f1c00a32abad6e610d26e9cf)

Author SHA1 Message Date
Doug Coleman 3e3ce269de opengl.gl: Fix opengl loading for Windows. 2013-06-04 09:10:37 -07:00
John Benediktsson a022352951 gtk: add library references. 2013-06-03 17:23:20 -07:00
Doug Coleman 22c8e78c6d opengl.annotations: Fix tuple slot name. 2013-03-23 20:00:41 -07:00
Doug Coleman 4efd998bd6 opengl: Rename gl-error to gl-error-tuple. 2013-03-23 16:26:43 -07:00
John Benediktsson 422bd683d3 opengl: make sure to reset the scale factor at startup. 2012-11-01 16:46:56 -07:00
John Benediktsson 5f1bcb78bd opengl.textures: render 2x images. 2012-11-01 16:14:55 -07:00
John Benediktsson 44b7bbc76d opengl: adding support for a gl-scale-factor. 2012-11-01 14:48:12 -07:00
John Benediktsson 954e5ff5bb opengl.gl: cleanup formatting. 2012-10-23 17:13:29 -07:00
PGGB 4a93f5bc7f Add glDrawElementsBaseVertex 2012-10-23 16:32:39 -07:00
Joe Groff 943596575a use radix literals 2011-11-23 19:03:40 -08:00
John Benediktsson a248fc28a8 opengl: fix small typo in fix-coordinates stack effect. Fixes . 2011-11-15 08:18:22 -08:00
Doug Coleman 7b6f27eda6 Add a lint check for swap .. swap that can be replaced by dip. Clean up the cases it finds. 2011-10-26 13:01:04 -07:00
Doug Coleman 763d9a3f7d Missed yet more renames 2011-10-24 17:00:09 -07:00
John Benediktsson 6f1c44b46d Cleanup some lint warnings. 2011-10-15 19:19:44 -07:00
John Benediktsson 4f42c72012 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
Joe Groff ba416afd61 images.tessel(l)ation: spelling 2011-08-27 17:30:45 -07:00
Joe Groff 9040ee37e0 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 44ba9e086e 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 8f297055d6 Merge branch 'master' of git://github.com/slavapestov/factor 2011-01-16 13:38:04 +06:00
Slava Pestov 75560699ea 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 67c37591ca Remove <uint> *uint and friends. Hopefully remove the last usages of these words 2010-10-25 15:54:42 -05:00
Doug Coleman 1f57dc326e Remove many uses of <int> and *int etc 2010-10-25 12:49:12 -05:00
Anton Gorenko d5a7f99bea 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 50c3f2e03e opengl.gl: typo in the FFI bindings for some obscure gl functions 2010-08-13 10:16:47 -07:00
Joe Groff c2c5a87b0f opengl.gl: some opengl 4 functions were accidentally still presented as -EXT 2010-08-11 10:05:03 -07:00
Philipp Brüschweiler d2530a4365 Merge remote branch 'origin/native-image-loader' into gtk-image-loader 2010-07-17 11:26:45 +02:00
Anton Gorenko 65362a67e8 Merge branch 'master' of git://factorcode.org/git/factor
Conflicts:
	basis/pango/cairo/cairo.factor
2010-07-17 14:11:06 +06:00
Slava Pestov 446ee6896d alien.data: remove second quotation parameter from with-out-parameters, now all values are copied properly and calling 'clone' on structs in this quotation is not necessary 2010-07-16 17:32:05 -04:00
Joe Groff 0d35e277ea 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
Anton Gorenko 17192dee7c change directories structure (add */ffi/ffi.factor files) 2010-05-27 00:17:14 +06:00
Anton Gorenko ab9e851bed 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 c6d2f4956a add opengl.gl.gtk backend 2010-05-24 19:22:29 +06:00
Slava Pestov 6b87f0d0d9 opengl.gl.unix renamed to opengl.gl.x11 2010-05-23 22:25:17 -04:00
Slava Pestov 70a99e1cdb Updating code to use with-out-parameters 2010-05-23 03:07:47 -04:00
Slava Pestov ea726f5680 Move remaining sequence operations from generalizations to sequences.generalizations where they belong 2010-05-18 18:36:47 -04:00
Joe Groff 010b5069bd opengl.textures: borrow get-texture-float and get-texture-int helper words from gpu.textures 2010-05-15 12:09:50 -07:00
Slava Pestov 145e6428ba Fixing load errors 2010-04-10 17:24:44 -07:00
Joe Groff f3dd625de6 "stdcall" -> stdcall 2010-03-31 19:29:04 -07:00
Joe Groff 65c3259761 "cdecl" -> cdecl 2010-03-31 19:20:35 -07:00
Joe Groff 632c199636 opengl 3.3, 4.0 2010-03-16 18:35:46 -07:00
Joe Groff fce55c7bb3 opengl 3.2; EXT_geometry_shader4 => ARB_geometry_shader4 2010-03-16 17:25:34 -07:00
Joe Groff 9412fe8297 update GL-FUNCTION: to use new FUNCTION: factors 2010-02-28 16:40:34 -08:00
Slava Pestov 7826543d2e sequences: add cartesian-each, cartesian-map, cartesian-product words to eliminate some duplication throughout the codebase 2010-02-25 20:54:57 +13:00
Joe Groff cdc17e38e8 opengl.gl: all those GLchar* should be c-string[ascii] 2010-02-23 20:29:31 -08:00
Joe Groff 4cfa1a6c77 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 cdde1aa92a opengl.gl: TYPEDEF: void* GLvoid* => C-TYPE: GLvoid 2010-02-21 23:13:56 -08:00
Joe Groff a2c9563bb7 opengl.gl.extensions: scan return type of GL-FUNCTION: as c-type 2010-02-21 11:46:17 -08:00
Slava Pestov 95bfc8a240 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
Slava Pestov 220dd88a2c Update documentation for new help lint check 2010-02-19 12:31:52 +13:00
Erik Charlebois 8861dfb834 Merge up with Joe's earlier change that added s3tc 2010-02-13 02:43:42 -08:00