Doug Coleman
b6be8685c3
basis: ERROR: changes.
2015-08-13 03:20:39 -07:00
John Benediktsson
284c5ac4e3
opengl.textures: fix merge whoops.
2015-07-14 17:54:14 -07:00
John Benediktsson
d44ca77cff
opengl.textures: use cum-sum0 from math.statistics.
2015-07-14 17:49:12 -07:00
Doug Coleman
892c62e1dc
factor: second stab at [ ] [ ] unit-test -> { } [ ] unit-test
2015-07-03 09:39:59 -07:00
Doug Coleman
59f3b1ea57
Revert "factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!"
...
Needs a bit more work.
This reverts commit 7e54cc2824
.
2015-07-02 13:47:06 -07:00
Doug Coleman
7e54cc2824
factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!
2015-07-02 11:36:08 -07:00
Doug Coleman
e3cb325040
factor: clean up whitespace in -docs files
2015-07-02 10:31:22 -07:00
John Benediktsson
5f1bcb78bd
opengl.textures: render 2x images.
2012-11-01 16:14:55 -07:00
Joe Groff
ba416afd61
images.tessel(l)ation: spelling
2011-08-27 17:30:45 -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
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
Slava Pestov
70a99e1cdb
Updating code to use with-out-parameters
2010-05-23 03:07: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
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
Slava Pestov
0612bc6177
Factor source files should not be executable
2009-11-21 17:50:43 -06:00
Joe Groff
6e1bffb1c5
update existing code to use :> ( ) when possible
2009-10-28 16:11:33 -05:00
Joe Groff
5054c954be
add USING:s and rearrange definitions so macosx can compile without parsing c-type strings
2009-09-26 23:14:57 -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
46045c882e
Disposables are now registered in a global disposables set. To take advantage of this, subclass disposable instead of providing a disposed slot and call new-disposable instead of new. tools.disposables defines two words, 'disposable.' and 'leaks', to help track down resource lifetime problems
2009-08-24 02:26:13 -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
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
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
Slava Pestov
66a9416473
Update documentation for stricter vocabulary search path semantics
2009-05-16 00:29:21 -05:00
Slava Pestov
fb6df472a2
Cleaning up USING: lists for new strict semantics
2009-05-14 16:54:16 -05:00
Joe Groff
a8231893ec
un-private some useful words
2009-05-07 19:46:42 -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
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
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
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
385c4661d6
First attempt at ui.text.pango
2009-02-28 01:31:51 -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