Jakub Valtar
cf5cfdb334
pixelDensity (OpenGL): fix stop button in 2x present mode
2017-04-13 20:56:12 +02:00
Jakub Valtar
0a6d38e22e
pixelDensity (OpenGL): fix present mode placement
2017-04-13 20:42:35 +02:00
Jakub Valtar
7a5eac6fdd
pixelDensity (OpenGL): fix fullscreen placement on secondary screens
2017-04-13 17:18:05 +02:00
Jakub Valtar
a601323b50
pixelDensity (OpenGL): fix 2x present mode on Windows
2017-04-12 18:57:44 +02:00
Jakub Valtar
d94987cbce
pixelDensity (OpenGL): fix 2x on Windows
2017-04-12 18:57:35 +02:00
Jakub Valtar
b93f7c2c09
pixelDensity (OpenGL): fix 1x mouse input on macOS
2017-02-19 06:00:41 +01:00
Jakub Valtar
4eb04c4b64
pixelDensity (OpenGL): fix 1x on macOS
2017-02-19 05:47:01 +01:00
Jakub Valtar
8f7e3b1ff3
pixelDensity (OpenGL): scale window and mouse input
2017-02-18 21:28:09 +01:00
Jakub Valtar
8cf56e1fdf
pixelDensity (OpenGL): size sketch and graphics when density changes
2017-02-18 20:29:59 +01:00
Jakub Valtar
fc7fb7464f
pixelDensity (OpenGL): make sure sketch pixel size is initialized
2017-02-18 20:28:38 +01:00
Jonathan Feinberg
1ce4ecba88
Unscrewup merge.
2017-01-29 18:00:32 -05:00
Jonathan Feinberg
8fba6ce033
Fix a number of memory leaks.
2017-01-29 17:51:16 -05:00
Jakub Valtar
345b8ca3d9
Keep Windows timer resolution high for OpenGL sketches
...
Otherwise java.util.Timer used by FPSAnimator uses 10 or 15 ms
resolution, which results in 60 fps sketches running at around 30 fps
and 30 fps sketches running at around 21 fps.
Fixes #4846
2017-01-22 21:44:53 +01:00
Jakub Valtar
7f93baa904
Unify mouse pressed/released events across renderers
...
OPENGL and FX renderers will now correctly report button which triggered
this pressed/released event (same as JAVA2D).
Previously:
- OPENGL would report currently pressed buttons in order LEFT, CENTER,
RIGHT regardless of which button triggered the event. E.g. when holding
LEFT and presing RIGHT, LEFT would be reported. When holding CENTER and
pressing LEFT, LEFT would be reported
- FX would report only first button which is down, so in RELEASE event
button would be missing
Now:
- event contains only button which triggred this event (button just
pressed or just released)
2016-12-29 15:48:15 +01:00
codeanticode
10104cc009
framerate warning
2016-11-04 09:05:36 -03:00
codeanticode
52d4880d88
do not call handleDraw() after the sketch is finished
2016-10-30 10:23:16 -03:00
codeanticode
303a4e9667
remove second dispose() call
2016-10-07 05:37:29 -04:00
Ben Fry
cedf101ccc
avoid crash when closing an app window ( fixes #4690 )
2016-10-04 13:53:48 -04:00
gohai
da02a33e68
Temporarily add warning to PSurfaceJOGL for Raspbian issue
...
Installing Processing on a recent Raspbian distribution won't work without changes, due to a change they made, which is incompatible with JOGL. Put in this warning until this gets fixed.
User hitting this is e.g.:
https://github.com/gohai/processing-glvideo/issues/3
2016-05-27 11:04:31 +02:00
gohai
767ca29c8f
Be more verbose with drawExceptions with cause null
...
Before:
java.lang.RuntimeException
at processing.opengl.PSurfaceJOGL$2.run(PSurfaceJOGL.java:449)
at java.lang.Thread.run(Thread.java:745)
After:
java.lang.RuntimeException: Waited 5000ms for: <fb397, c84a66>[count 1, qsz 0, owner <main-Display-.bcm.vc.iv_nil-1-EDT-1>] - <main-FPSAWTAnimator#00-Timer0-FPSAWTAnimator#01-Timer1>
at processing.opengl.PSurfaceJOGL$2.run(PSurfaceJOGL.java:452)
at java.lang.Thread.run(Thread.java:745)
2016-04-27 15:07:54 +02:00
codeanticode
e2033b5644
call PApplet.exit() in windowDestroyNotify(), fixes #4156
2015-12-08 15:21:47 -05:00
codeanticode
14e050c8d2
working on an implementation of of setIcon() for the OpenGL renderer
2015-10-31 19:39:41 -04:00
codeanticode
62ad09557e
hide stop button in present mode according to export options
2015-10-25 12:29:42 -04:00
Ben Fry
5acbcee17e
simplify screen placement when screen is too small ( #3913 )
2015-10-23 15:27:29 -04:00
Jakub Valtar
829eb8cac4
Turn off fixed rate scheduling in OpenGL
...
After some testing, it appears that fixed rate scheduling tries to catch
up later when it runs slower than desired, creating weird speedups when
the load decreases. Turning it back off.
2015-10-15 23:29:21 +02:00
codeanticode
f8aba4a359
removed use of deprecated constructor
2015-10-10 12:10:02 +01:00
codeanticode
623aacd54d
implement setResizable(), GLWindow is non-resizable by default
2015-10-10 11:48:48 +01:00
codeanticode
101c3c372f
set already loaded cursor, fixes #3955
2015-10-04 01:20:14 -04:00
codeanticode
3848869309
Merge pull request #3892 from JakubValtar/opengl-fullscreen
...
Fix fullScreen for OpenGL + Windows combo
2015-09-29 06:48:44 -03:00
Jakub Valtar
bd46264cb3
Fix fullScreen for OpenGL + Windows combo
2015-09-28 12:28:32 -04:00
Jakub Valtar
fa549e1874
Convert all documented hacky keys in OpenGL
2015-09-27 23:46:55 -04:00
Jakub Valtar
f087fd320c
Async pixel reader
2015-09-24 23:51:58 -04:00
Jakub Valtar
f5946e3783
Switch animator to fixed-rate scheduling
2015-09-23 16:06:08 -04:00
codeanticode
0a9e5063ac
invert mouse wheel count
2015-09-22 14:28:58 -05:00
codeanticode
3c8791186b
fix width comparison
2015-09-21 17:34:29 -05:00
codeanticode
a6c89e1601
detect window resize
2015-09-21 16:49:51 -05:00
codeanticode
fc45868951
use weak references to store backing textures
2015-09-19 11:46:17 -05:00
codeanticode
e61178f71e
can re-enable fill/stroke in PShapeOpenGL ( fixes #3808 )
2015-09-18 18:09:37 -05:00
codeanticode
965edd3faf
updated notices in all gl code
2015-09-15 11:39:32 -04:00
codeanticode
0c3364d00f
don't queue setSize() in the EDT
2015-09-13 20:43:56 -04:00
codeanticode
19ff731e7c
changes to facilitate android port, update copyright notices
2015-09-12 14:10:01 -04:00
codeanticode
c92167ce67
request glwindow focus in the EDT
2015-09-12 06:20:00 -04:00
Ben Fry
615017b041
Merge branch 'master' of github.com:processing/processing
2015-09-11 15:20:01 -04:00
codeanticode
2c3146fa40
makes sure that setup runs in the animator thread, and issue all
...
window.set*() calls in the EDT
2015-09-11 14:55:46 -04:00
Ben Fry
2fddd1c9a7
cleaning up the new cursor code
2015-09-11 14:31:31 -04:00
Ben Fry
2ace98d41a
implement default cursor images for OpenGL ( fixes #3554 )
2015-09-11 14:28:12 -04:00
Ben Fry
b8ed1abcdb
add surface.setAlwaysOnTop(boolean) for all renderers ( fixes #3718 )
2015-09-11 09:33:41 -04:00
codeanticode
6b10aaadfa
removing some unneeded code in GL surface
2015-09-09 06:31:46 -04:00
codeanticode
c4855f017a
more cleaning up
2015-09-08 15:40:59 -04:00
codeanticode
cdffca3e5c
cleanup changes
2015-09-07 23:37:37 -04:00