Commit Graph

60 Commits (c881f42bb74472e7387cd43c7d372801d2d73363)

Author SHA1 Message Date
John Benediktsson e0a40e4f96 opengl: log all mac os errors where framebuffer is undefined. 2016-03-30 15:28:39 -07:00
John Benediktsson e477f6996f Fix comments to be ! not #!. 2015-09-08 16:15:10 -07:00
Doug Coleman 9d021bb081 opengl: Temporary (?) fix for the ui. Issue #1379.
Throwing gl errors is not helpful because the ui gets messed up anyway. Print the error and continue. Maybe we should add a section in the F3 error window for opengl errors instead of printing them in the global stdout.
- We could also use gl-error on every platform except for MacOSX 10.11
- We could fix the underlying gl drawing commands that cause this error.
2015-08-04 12:28:59 -07:00
Doug Coleman 2c257f399c factor: Rename MACRO: and MACRO: to have quot as the output in stack effects. 2015-07-18 22:16:11 -07:00
John Benediktsson 8931517401 opengl: change rect-vertices to draw inside. 2015-07-18 15:52:20 -07:00
John Benediktsson 58d84c6c98 opengl: fix drawing artifact around rectangles. 2015-07-18 15:08:48 -07:00
John Benediktsson 0c3580844d kernel: remove ?execute, not used much, and a little bit confusing. 2014-06-07 09:56:47 -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 44b7bbc76d opengl: adding support for a gl-scale-factor. 2012-11-01 14:48:12 -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 #406. 2011-11-15 08:18:22 -08: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
Doug Coleman 1f57dc326e Remove many uses of <int> and *int etc 2010-10-25 12:49:12 -05: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
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
Slava Pestov 0612bc6177 Factor source files should not be executable 2009-11-21 17:50:43 -06:00
Slava Pestov 78bd41ae97 opengl: fix stack effect error in (all-enabled) combinator and add a unit test 2009-11-09 00:54:39 -06:00
Joe Groff 6e1bffb1c5 update existing code to use :> ( ) when possible 2009-10-28 16:11:33 -05:00
Joe Groff fa60d96ae4 fix "float" ambiguities in math.blas, opengl vocabs 2009-09-16 21:25:46 -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
Slava Pestov fca74191ce Split off annotation code from opengl into opengl.annotations to reduce deployed image size 2009-07-17 01:06:34 -05:00
Joe Groff b7dd3d5d35 report opengl function name in gl-errors 2009-07-15 13:53:57 -05:00
Joe Groff 8bf1fd5f2a throw-gl-errors, log-gl-errors annotations for all OpenGL functions 2009-07-14 12:00:37 -05:00
Joe Groff 97adae24f0 pardon my dust 2009-07-01 17:57:21 -05:00
Joe Groff d077d52968 opengl helper words for ARB/APPLE vertex array objects 2009-07-01 13:53:28 -05:00
Joe Groff 19d77c5193 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 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
Slava Pestov e84cc5f82d Simplify do-matrix 2009-04-04 20:03:30 -05:00
Slava Pestov 3bf5d2bfd4 Implement image tesselation in image.tesselation. This is used by opengl.textures to break up large bitmaps into multiple smaller textures. The gl-rect and gl-fill-rect words have different stack effects now, so usages were updated. 2009-03-27 18:31:25 -05:00
Slava Pestov 6c0986f8b2 Add definition mixin in definitions vocab to replace hard-coded union in ui.tools.operations; add ?execute to kernel to replace dup word? [ execute ] when calls in unicode.breaks and opengl 2009-03-26 21:27:45 -05:00
Slava Pestov 375c5e69b5 Various load-everything fixes 2009-03-07 01:22:21 -06:00
Slava Pestov 758ba5bcea Remove unused circle rendering code 2009-02-15 06:09:04 -06:00
Slava Pestov ea2a3d6758 Split off opengl.textures from opengl.texture-cache; use image tuples instead of texture-info 2009-02-12 03:58:05 -06:00
Slava Pestov cfa285a646 Refactor texture cache 2009-02-11 04:54:06 -06:00
Slava Pestov dd9cf39467 Fix conflict in libc 2009-02-06 05:10:41 -06:00
Slava Pestov d6aa376ed0 Removing now-redundant underlying>> calls 2009-02-06 04:37:28 -06:00
Slava Pestov 0568915bca Generalize make-texture 2009-01-29 22:08:07 -06:00
Slava Pestov 2a7d353251 Debugging Core Text, get colored text working and fix memory management issue 2009-01-21 19:34:42 -06:00
Slava Pestov 7fdf7cc906 Clean up OpenGL code a bit 2009-01-18 20:10:08 -06:00
Slava Pestov 058ba127cb Cleaning up more -rot usages 2008-12-22 05:41:01 -06:00
Slava Pestov 402da00390 Fixing bootstrap with specialized arrays 2008-12-02 02:44:19 -06:00
Slava Pestov e8a69a3aea Fix conflict 2008-11-29 05:14:49 -06:00
Slava Pestov ca12d46820 Don't use >r/r> in opengl 2008-11-29 00:20:29 -06:00
Slava Pestov 69d5628944 Workaround bug in Apple X3100 driver 2008-11-26 01:41:13 -06:00
Slava Pestov 1b47e80994 Clean up some specialized array usage 2008-11-18 22:18:35 -06:00
Slava Pestov 281657dd82 Fix conflict 2008-11-18 22:18:14 -06:00
Slava Pestov d0e53db5fc Rendering tweaks 2008-11-18 14:15:38 -06:00
Slava Pestov b609ca7d01 Tweak gl-rect to generate the correct output on Windows with Intel graphics 2008-11-18 11:48:06 -06:00