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
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
Ben Fry
58f900cc19
Merge pull request #3724 from JakubValtar/fx-framerate-fix
...
FX - framerate fix
2015-08-26 18:36:12 -04:00
Jakub Valtar
6aa1a15fe5
FX - framerate fix
...
When your sketch ran slower than target frame rate, FX was blocked and
was drawing to the screen only every few seconds. This eventually
resulted in OutOfMemoryError as it's internal draw buffer was not
flushed.
2015-08-26 18:30:37 -04:00
Jakub Valtar
fa442e2b50
FX - fix AIOOBE when pressing ESC on Mac
2015-08-25 18:58:50 -04:00
Jakub Valtar
8a4b04ec80
FX - paths, contours, curves
2015-08-25 15:19:54 -04:00
Ben Fry
9afbd35dc2
Merge pull request #3713 from JakubValtar/fx-arcs
...
FX - arc - infamous deg-rad conversion strikes again
2015-08-25 11:29:30 -04:00
Jakub Valtar
04a1f09bd8
FX - arc - infamous deg-rad conversion strikes again
2015-08-25 10:09:39 -04:00
Ben Fry
9ca5e3abab
remove warning
2015-08-25 08:57:35 -04:00
Ben Fry
0ff82a52b4
Merge pull request #3712 from JakubValtar/fx-thin-lines
...
FX - align to pixel grid when drawing 1 px strokes
2015-08-24 18:38:10 -04:00
Ben Fry
6b6a227f2f
Merge pull request #3709 from JakubValtar/fx-pixel-ops
...
FX - basic pixel operations (get, set, load, update)
2015-08-24 18:32:43 -04:00
Ben Fry
931512173b
Merge pull request #3711 from JakubValtar/fx-rotate
...
FX - fix rad-deg conversion in rotate()
2015-08-24 18:31:21 -04:00
Ben Fry
1bf18aaaf1
Merge pull request #3710 from JakubValtar/fx-matrix-stack
...
FX - fix transformation stack NPE
2015-08-24 18:28:36 -04:00
Jakub Valtar
5ea3a02fcc
FX - align to pixel grid when drawing 1 px strokes
2015-08-24 17:58:48 -04:00