Commit Graph

160 Commits

Author SHA1 Message Date
Ben Fry
3bd7ffed17 more work on resolutions and full screen 2023-02-18 16:33:27 -05:00
Ben Fry
3d463e9784 clarifying language for window manager resize 2023-02-18 14:45:35 -05:00
Ben Fry
9e3522ad2a fix for P3D & P2D window not showing on MacOS Ventura (resolves #544 2022-11-04 13:47:15 -04:00
Ben Fry
fb8dfbfd9b purge several "applet" references from the code 2022-08-07 22:17:47 -04:00
Ben Fry
3699c713d1 replace dev.processing.org bug links with download.processing.org links that work 2022-07-31 15:01:45 -04:00
Ben Fry
2734f89f64 don't show window manager resize message when using fullScreen() 2022-04-23 13:12:05 -04:00
Ben Fry
206bf167f2 fix inconsistencies in CODED in P2D/P3D (reolves #376) 2022-02-12 07:26:31 -05:00
Ben Fry
3fb66fc350 working on windowXxxx() methods to replace surface.xxx() 2022-02-03 17:23:58 -05:00
Ben Fry
80c5697aa2 new handlers and methods for window resize and position (resolves #53 but naming incomplete) 2022-01-31 08:58:03 -05:00
Ben Fry
a32eca75cf deal with windows flickering during resize (fixes #386) 2022-01-30 09:08:28 -05:00
codeanticode
68572b07e3 Merge branch 'processing:master' into p4-new_pshape_api-stream_copy 2021-12-11 13:30:33 -08:00
codeanticode
35293c03d9 Implemented necessary logic in PSurfaceJOGL to handle context sharing and object synchronization 2021-12-05 11:45:48 -05:00
codeanticode
d7ea4988b3 Merge branch 'processing:master' into master 2021-12-04 08:23:19 -05:00
Ben Fry
a66f52b105 minor formatting changes per processing spec 2021-11-23 13:00:11 -05:00
Ben Fry
a0075790c5 reorganizing method order 2021-11-23 12:34:11 -05:00
Ben Fry
ba63dc2f8c make DrawListener public, other minor cleanup 2021-11-23 07:27:21 -05:00
Ben Fry
284333b5e0 simplify initListeners() 2021-11-23 06:46:08 -05:00
Ben Fry
bdc58b7e8b cleaning and documenting 2021-11-23 06:45:23 -05:00
Ben Fry
64339baece make getCurrentPixelScale() protected, clarify prev frame count 2021-11-22 21:43:00 -05:00
Ben Fry
82247582a4 a little cleanup, some notes 2021-11-22 21:24:13 -05:00
Ben Fry
a4d3a3aa7d cleanups and clarifications 2021-11-22 19:53:50 -05:00
Ben Fry
17dd8b82c8 clean up a few warnings/renaming a bit 2021-11-22 18:24:50 -05:00
Ben Fry
579f0b999c using more lambdas and cleaning up warnings 2021-09-30 19:47:35 -04:00
codeanticode
22e50769b4 updated date in license notice in opengl renderer files 2021-08-06 23:03:33 -04:00
Ben Fry
eacaf696d4 check on how modifiers are used in FX and GL, should be all set 2021-07-05 07:02:23 -04:00
Ben Fry
fac8a8e556 confirmed that the new JOGL release fixes #124, removes workaround 2021-01-17 19:39:30 -05:00
Ben Fry
5c85264b09 implement a terrible hack for #104 so we can ship 2020-09-15 16:18:58 -04:00
Ben Fry
c5dcfd2edc readability tweaks 2020-09-15 07:38:54 -04:00
Ben Fry
cc39c94d1d fix for #50, alternate solution but based on #75 2020-04-27 14:34:57 -04:00
Ben Fry
26d04aed77 swap getModifiers() for getModifiersEx() to deal with deprecation (fixes #4) 2020-01-20 07:51:23 -05:00
Ben Fry
e46eceab96 a little scarier: moving java.awt and javax.imageio out of PImage 2020-01-19 21:24:35 -05:00
Ben Fry
753c5996a7 move loadImage() into PSurface 2020-01-19 21:04:15 -05:00
Ben Fry
05f3cb0b2d move link() calls that use Desktop into PSurface 2020-01-19 20:50:04 -05:00
Ben Fry
d3feb64237 introduce ShimAWT, moving selectInput/OutputFolder to PSurface, being AWT purge 2020-01-19 16:24:16 -05:00
Ben Fry
269f626f98 incorporate https://github.com/processing/processing/pull/5881 for FBO fix on Intel HD Graphics 3000 devices 2019-10-07 18:27:24 -04:00
Ben Fry
8f994389c4 introduce MACOS constant, deprecate MACOSX 2019-10-07 18:23:34 -04:00
Jakub Valtar
d512d21fcf Move Ctrl+Left Mouse code from surfaces to PApplet 2018-10-09 09:19:36 +02:00
Jakub Valtar
eb64449f9b Make sure Ctrl+Left Mouse on MacOS is consistent
Make sure PRESS, DRAG and RELEASE report the same mouse button on MacOS.

- If CTRL was pressed during Left PRESS, report Right Button until the button is released, regardless of whether CTRL is still down.
- If CTRL was not pressed during Left PRESS, report Left Button until the button is released, regardless of CTRL state.

Fixes #5672
2018-10-07 21:55:14 +02:00
codeanticode
54fba5da9e cap framerate at 1000 in OpenGL 2018-02-13 02:13:45 -05:00
Alexander Hurst
a9cc453015 cursor() sets the cursor visible, fixes #5330 2017-12-20 15:09:16 -05:00
Ben Fry
82c772f178 Windows ignores setMinimumSize(), add workaround for #5052 2017-09-03 08:36:23 -04:00
Ben Fry
532fe906ca deal with warnings 2017-04-22 12:03:34 -04:00
Ben Fry
fa836591b0 Merge pull request #5011 from JakubValtar/blow-up
Window placement and pixel density cleanup
2017-04-21 16:57:20 -04:00
Ben Fry
43d15a3365 Merge pull request #5014 from gohai/chip-p3d
Unblock hardware-accelerated P3D on ARM Mali devices
2017-04-20 14:36:22 -04:00
gohai
e77ec838b2 Unblock hardware-accelerated P3D on ARM Mali devices
This works around a JOGL bug that affects ARM Mali devices, such as the PocketCHIP. (reported by @xranby)
2017-04-20 11:43:51 +02:00
Jakub Valtar
0f0731d1e2 pixelDensity (OpenGL): tidy up some some variables 2017-04-15 19:14:09 +02:00
Jakub Valtar
e457bb3337 pixelDensity (OpenGL): fix stop button on Mac 2017-04-14 19:38:33 +02:00
Jakub Valtar
6d5cc7a326 pixelDensity (OpenGL): fix running 1x on 2x screen on Mac 2017-04-14 19:15:19 +02:00
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