Commit Graph

104 Commits (3b987a77a8238d3072cc023d32e3bdcae0b7010e)

Author SHA1 Message Date
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 327311b7a2 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 845e9532ba 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 ab8b99d4fd opengl 3.1 2009-06-24 17:28:37 -05:00
Joe Groff eaddd1fdd4 provide image component-orders and component-types for all GPU texture formats 2009-06-24 08:26:30 -05:00
Joe Groff c051665efb throw in image component-orders for some more opengl formats 2009-06-23 20:01:53 -05:00
Joe Groff 7de264c028 GL_BGR and GL_BGRA are standard these days 2009-06-22 18:07:46 -05:00
Joe Groff ac3ec67c6a separate component format from component order in image objects 2009-06-22 11:20:54 -05:00
Joe Groff 2b3d62821e Merge branch 'master' of git://factorcode.org/git/factor 2009-06-17 21:45:04 -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 37b01357ec Remove unused words discovered by Samuel Tardieu 2009-06-16 16:38:39 -05:00
Doug Coleman 95234ae15c dont use paren names when there's not a word with that name already 2009-06-10 16:23:57 -04:00
Joe Groff 6599beefd6 typo in opengl.gl 2009-06-03 11:02:41 -05:00
Slava Pestov 132249660d Fix conflict 2009-05-16 09:48:42 -05:00
Slava Pestov 66a9416473 Update documentation for stricter vocabulary search path semantics 2009-05-16 00:29:21 -05:00
Joe Groff 480870e367 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 b31fe9b8f2 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 fb6df472a2 Cleaning up USING: lists for new strict semantics 2009-05-14 16:54:16 -05:00
Slava Pestov 0c1e519dcb 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 a8231893ec un-private some useful words 2009-05-07 19:46:42 -05:00
Joe Groff 8db397f9de 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
Slava Pestov 3148429e0c Fix texture resizing on S3 hardware on Windows. Reported by Kobi Lurie 2009-04-19 03:06:05 -05:00
Slava Pestov fba80949eb draw-scaled-texture now uses the display list if there's no scaling to be done 2009-04-16 23:14:41 -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 713ab02337 Don't use GL_ARB_texture_non_power_of_two on ATI hardware to fix bug reported by Andy Turner and Caesar Hu 2009-04-10 06:18:29 -05:00
Doug Coleman 4f64ea414b Merge branch 'master' of git://factorcode.org/git/factor 2009-04-09 10:45:19 -05:00
Doug Coleman 1551eacfa2 add support for tiff grayscale images 2009-04-09 10:44:50 -05:00
Slava Pestov 9efa1e0c31 Don't use glTexSubImage2D unless we really have to 2009-04-09 08:23:05 -05:00
Slava Pestov 87e4598581 opengl.textures: use GL_ARB_texture_non_power_of_two if available 2009-04-07 21:32:45 -05:00
Slava Pestov b0b77cf744 Fixes for recent changes 2009-04-05 17:32:53 -05:00
U-SLAVA-DFB8FF805\Slava 52060e6253 Oops dead code 2009-04-04 22:45:02 -05:00
U-SLAVA-DFB8FF805\Slava fb6c5141ec Fixing this for Windows 2009-04-04 22:38:49 -05:00
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