Commit Graph

70 Commits (f44c67e5c307103abd550e49d2cd05f1c26bb8fd)

Author SHA1 Message Date
Slava Pestov 0affe96d95 opengl.textures: pad image up to a power of 2 using glTexSubImage2D instead of doing it in Factor code 2009-04-04 20:04:35 -05:00
Slava Pestov e84cc5f82d Simplify do-matrix 2009-04-04 20:03:30 -05:00
U-SLAVA-DFB8FF805\Slava 1731b57249 Add textures without alpha channels, cropping; update usages of <texture>; don't ignore trailing in x>offset 2009-04-03 07:01:22 -05:00
U-SLAVA-DFB8FF805\Slava 9c3054c84a More progress on Uniscribe 2009-04-02 13:05:26 -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
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 667eca9410 Fix unit tests and help lint for 'see' move 2009-03-11 17:33:54 -05:00
Slava Pestov 2f26d5f3da images.viewer can now display some un-normalized images 2009-03-10 16:58:35 -05:00
Slava Pestov 375c5e69b5 Various load-everything fixes 2009-03-07 01:22:21 -06:00
U-SLAVA-DFB8FF805\Slava 2ec3f1c700 Delete ui.text.freetype, opengl.sprites, and Bitstream Vera fonts; move freetype FFI binding from basis to extra since its no longer used by the UI 2009-03-02 01:17:33 -06:00
Slava Pestov 385c4661d6 First attempt at ui.text.pango 2009-02-28 01:31:51 -06:00
Slava Pestov ce1bc1d6ed Fixing conflicts from stack checker changes 2009-02-24 01:21:10 -06:00
Slava Pestov 0580b67542 Fix textures with zero width and non-zero height (or vice versa) by not rendering them 2009-02-20 23:30:41 -06:00
Slava Pestov fa79803856 Fix text rendering for fonts where the image bounds exceed the metric bounds, such as Zapfino and Arabic fonts 2009-02-20 20:53:51 -06:00
Slava Pestov 58e55d4f45 Working on documentation 2009-02-19 16:54:27 -06:00
Slava Pestov f843877d35 Clean up basis.opengl and fix tests 2009-02-19 05:01:21 -06:00
Slava Pestov 676806ce39 opengl.textures: clean up code, only create power-of-2 textures, make API nicer 2009-02-19 04:06:57 -06:00
Slava Pestov 758ba5bcea Remove unused circle rendering code 2009-02-15 06:09:04 -06:00
Slava Pestov 628c219495 opengl.texture-cache is not necessary; simplify code 2009-02-15 04:33:43 -06:00
Slava Pestov f0bc2e1176 Update core-graphics, core-text, opengl.textures for Doug's images API change; core-graphics:with-bitmap-context is now core-graphics:make-bitmap-image 2009-02-13 19:11:07 -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 d6872af3e7 cache: don't require values to have an age slot anymore 2009-02-10 22:05:13 -06:00
Slava Pestov d1a5bf2073 Working on ui.images; change draw-gadget to translate to origin for you 2009-02-10 18:47:34 -06:00
Slava Pestov 5be7a6777b Clean up Core Text rendering code, and factor our basis/cache and basis/opengl/texture-cache 2009-02-10 02:45:43 -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 6906fad725 Fixing help-lint issues 2009-01-30 03:45:39 -06:00
Slava Pestov 447d30be62 Update opengl docs 2009-01-30 03:37:20 -06: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 0568915bca Generalize make-texture 2009-01-29 22:08:07 -06:00
Slava Pestov 1951d739a0 Stack effect declarations are mandatory on all words now
define-temp now takes an effect parameter
Fix compiler bug that Dan found
Stricter enforcement of * effects
Move compile-call from compiler.units to compiler
2009-02-23 20:27:05 -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 63382b6e81 Fix capitalization 2009-01-06 17:00:30 -06:00
Slava Pestov 058ba127cb Cleaning up more -rot usages 2008-12-22 05:41:01 -06:00
Slava Pestov 34792a9f23 Remove >r/r> 2008-12-17 19:17:37 -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 42b580c80a Remove .lib dependencies from opengl.{shaders,framebuffers,capabilities} and move them to basis 2008-12-13 07:14:11 -06:00
Slava Pestov 402da00390 Fixing bootstrap with specialized arrays 2008-12-02 02:44:19 -06:00
Slava Pestov f51708386d Fix conflicts 2008-12-01 20:39:43 -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
Slava Pestov 594751381e Fix bootstrap 2008-11-29 15:21:12 -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