Commit Graph

2410 Commits

Author SHA1 Message Date
Ben Fry
b8ed1abcdb add surface.setAlwaysOnTop(boolean) for all renderers (fixes #3718) 2015-09-11 09:33:41 -04:00
Jakub Valtar
2422321d7f Fix PShape creation in P3D
Related to #3776
2015-09-09 18:07:58 -04:00
codeanticode
6b10aaadfa removing some unneeded code in GL surface 2015-09-09 06:31:46 -04:00
codeanticode
297d6c887d don't add bevel triangles when line segments are in different geometry
caches
2015-09-08 22:30:52 -04:00
codeanticode
928449ad38 correctly apply matrix transformation on line directions 2015-09-08 19:22:20 -04:00
codeanticode
a375d5de91 store end of segment for next bevel 2015-09-08 18:09:59 -04:00
codeanticode
c4855f017a more cleaning up 2015-09-08 15:40:59 -04:00
Ben Fry
589b8a28f6 Merge pull request #3771 from JakubValtar/fx-tint-cache-fix
FX - fix bug where fonts would share a tint cache
2015-09-08 14:28:05 -04:00
codeanticode
cdffca3e5c cleanup changes 2015-09-07 23:37:37 -04:00
codeanticode
78626a598b trying different blitting order 2015-09-07 20:37:26 -04:00
codeanticode
fef27522a9 restart FBO layer when window is resized 2015-09-07 16:02:49 -04:00
codeanticode
095ebe4f35 implements cursor setting in opengl 2015-09-07 12:23:36 -04:00
codeanticode
5f627f54fa move framebuffer blitting after restoring screen fb 2015-09-07 11:14:47 -04:00
codeanticode
440c67ddb7 checks for exceptions before startin the animation thread 2015-09-07 10:47:46 -04:00
Jakub Valtar
0296e3c02e FX - fix bug where fonts would share a tint cache 2015-09-05 16:06:18 -04:00
Ben Fry
fd1b9f9fb0 a little housekeeping 2015-09-05 08:38:40 -04:00
Ben Fry
3e24d1b424 Merge pull request #3766 from JakubValtar/fx-text-stuff
FX - text stuff
2015-09-05 08:30:32 -04:00
Jakub Valtar
e2916e0ef2 Clean up loaded and modified 2015-09-04 16:58:54 -04:00
Jakub Valtar
8ab236564d FX - clean up native lookup, style and comments 2015-09-04 15:48:47 -04:00
Jakub Valtar
c82f61e76a FX - fix AIOOBE in tined glyph cache 2015-09-04 14:57:24 -04:00
Jakub Valtar
8ed2c067d0 FX - don't load fonts which were previously not found 2015-09-04 11:06:13 -04:00
Jakub Valtar
03f2b50f19 FX - fix bug in measuring text 2015-09-04 11:04:23 -04:00
Jakub Valtar
621d064545 Clean up textFont and textSize, add impl 2015-09-04 10:43:01 -04:00
codeanticode
8608fad0f5 completed implementation of new disposal mechanism of gl resources 2015-09-04 02:43:04 -04:00
codeanticode
fb8c3af91e initialize screen FBO 2015-09-03 22:44:17 -04:00
Jakub Valtar
d1ba259469 FX - support for fonts from TTF and OTF lands 2015-09-03 17:51:10 -04:00
Jakub Valtar
710bd7e8e6 FX - image fonts 2015-09-03 16:31:52 -04:00
Jakub Valtar
6aa4c5069e FX - native text rendering 2015-09-02 19:55:03 -04:00
Ben Fry
af93a46981 making notes for recent fixes, attempt to deal with thread problem 2015-09-01 19:28:58 -04:00
Ben Fry
3c50ad4668 extra spaaaaace 2015-09-01 16:56:41 -04:00
codeanticode
92cef27481 cleaning up surface code 2015-09-01 15:38:29 -04:00
Ben Fry
1824067cd5 fix the library export issues 2015-09-01 11:45:25 -04:00
Ben Fry
9a445c7c67 add the Contents/Java folder to java.library.path on OS X 2015-09-01 11:06:42 -04:00
Jakub Valtar
465050bb19 FX - smooth for the main surface 2015-08-31 18:43:53 -04:00
codeanticode
6b2666cb4e call setTitle in the EDT 2015-08-31 16:46:21 -04:00
Jakub Valtar
840724c16c Prevent exception when measuring empty string 2015-08-31 00:13:48 -04:00
Jakub Valtar
a5a5e9f359 Render text starting with space properly
This block seems to be out of place. It is entered when the current word
has zero length. It's not possible to tell whether the string fits on
the line or not at this place. Besides, the same condition is already
handled below.
2015-08-30 23:49:58 -04:00
codeanticode
34b3171987 don't store renderer's surface in static field 2015-08-29 22:56:42 -04:00
codeanticode
4f29d86a1b made smoothToSamples public as well 2015-08-29 18:05:06 -04:00
codeanticode
52c9e44a11 removed assignment in PSurfaceJOGL 2015-08-29 18:04:20 -04:00
codeanticode
519eb9c9d5 made some methods in PJOGL public to use from contributed renderering
libraries
2015-08-29 18:03:21 -04:00
codeanticode
61c6e77bda commented out debug printlns 2015-08-29 07:06:17 -04:00
Jakub Valtar
d99aada297 Draw text with empty lines correctly
Fixes #3736
2015-08-28 14:56:36 -04:00
Ben Fry
d94ff549aa Merge pull request #3730 from JakubValtar/fx-keys
FX - normalize enter key
2015-08-28 11:40:23 -04:00
Ben Fry
0012902d2c Merge pull request #3735 from JakubValtar/jogl-enter-key
JOGL - normalize enter key
2015-08-28 11:39:52 -04:00
Jakub Valtar
36c34c7faf JOGL - normalize enter key 2015-08-28 09:46:30 -04:00
Jakub Valtar
90847d659d FX - normalize enter key 2015-08-27 16:00:57 -04:00
Jakub Valtar
1bb35aeac6 FX - improve key events
- handle PRESSED and RELEASED for ".", "/", "*", "-" and "+" and numeric
keys
- prevent AIOOBE for all events
2015-08-27 15:51:03 -04:00
Ben Fry
45ee8982ff Merge pull request #3725 from JakubValtar/fx-modified-loaded
FX - loadPixels, updatePixels, get and set optimizations
2015-08-27 07:46:32 -04:00
Jakub Valtar
740a794d91 FX - loadPixels, updatePixels, get and set optimizations 2015-08-26 18:42:48 -04:00