Commit Graph

4158 Commits

Author SHA1 Message Date
Ben Fry
6f076b84cf add notes about the recent merges 2017-04-21 16:59:55 -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
c890d379c7 Merge pull request #5002 from gohai/arm64
Add support for 64-bit ARM boards
2017-04-20 14:37: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
Ben Fry
a5d72162bd Merge pull request #4911 from gohai/jogl-fixes
Add more Raspberry Pi related fixes to JOGL
2017-04-20 14:34:38 -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
18e43a9ae0 pixelDensity (all): fix background(PImage) size check 2017-04-17 21:31:59 +02:00
Ben Fry
c611de43ae thinking about adding getTally() to IntDict 2017-04-17 13:23:46 -04: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
8fa6187d49 pixelDensity (all): allow 2x if windowed or SPAN, and any screen is 2x 2017-04-14 19:13:57 +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
Jakub Valtar
7a5eac6fdd pixelDensity (OpenGL): fix fullscreen placement on secondary screens 2017-04-13 17:18:05 +02:00
Jakub Valtar
19e7bcf315 pixelDensity (FX): clean up placement code 2017-04-13 15:01:05 +02:00
Jakub Valtar
b0c5575d2c pixelDensity (FX): fix fullscreen placement 2017-04-13 15:00:31 +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
gohai
c03263f282 ARM: Add arm64 JOGL build
This is taken from http://labb.zafena.se/jogamp/aarch64/aarch64-jogamp-2.4-git.tar.gz, and probably based on:
https://github.com/xranby/gluegen/commits/aarch64
https://github.com/xranby/jogl/commits/aarch64

Currently untested.
2017-04-11 14:44:50 +02:00
gohai
5a5524b197 ARM: Add arm64 support to app, core & mode
Currently untested.
2017-04-11 14:44:49 +02:00
gohai
cb8e37ed43 ARM: Don't attempt to build JavaFX on arm64 2017-04-11 14:44:49 +02:00
Jakub Valtar
aadf2140ca Synchronize input event processing
Some renderers (OpenGL) fire events on background threads, which can
corrupt the event queue when the sketch is not looping and multiple
threads add and remove from the queue at the same time.

This PR uses blocking queue to serialize enqueuing and lock to
synchronize dequeuing.

In the ideal case, we should be able to invoke code on the animation
thread (ala invokeLater) and always dequeue events from there even when
the sketch is not looping.
2017-04-09 18:32:53 +02:00
Ben Fry
a05a375104 set the font, even if not deriving 2017-03-17 20:41:39 -04:00
Ben Fry
764a978b3f bug fixes to temporary file handling 2017-03-14 08:59:37 -04:00
Ben Fry
dc34d5ee37 note about #4956 2017-03-12 09:59:35 -04:00
Ben Fry
c8c4539204 don't derive the font again if the size is unchanged (#4956) 2017-03-12 09:59:12 -04:00
gohai
f59855bb84 Add more Raspberry Pi specific fixes to JOGL
This adds the following fixes on top of 2f4a52a814 (patches at https://github.com/gohai/jogl):
* Fix GL overlay offset when overscan is enabled
* Fix the value of mouseButton (#4499)
* Change libGLESv2 search order to work around longstanding issue in Raspbian
2017-03-05 18:50:26 +01:00
Ben Fry
3169269220 recent notes from github issues 2017-02-24 15:12:50 -05:00
Ben Fry
a5f7c9933b Merge pull request #4922 from processing/revert-4915-arm-opengl
Revert "ARM: Allow Raspberry Pi's Mesa GL driver to use up to 8 lights"
2017-02-23 17:12:24 -05:00
Ben Fry
d0707b5fd6 fix ordering of BufferedOutputStream; huge speed fix 2017-02-20 15:30:49 -05:00
Ben Fry
f3f5583e9b maybe no space there after all 2017-02-20 15:17:01 -05:00
Ben Fry
27037f9fd0 set the look and feel on Windows for 2x and native-like support 2017-02-20 15:08:57 -05:00
Ben Fry
e240a88af4 fix wrong ordering of buffered wrapping 2017-02-19 15:47:00 -05:00
Ben Fry
607af34852 missed wrapping this guy in a buffer 2017-02-19 15:37:14 -05:00
Ben Fry
669d56a926 deal with static access warning 2017-02-19 13:58:26 -05:00
Ben Fry
3353478000 Merge branch 'master' of github.com:processing/processing 2017-02-19 10:35:09 -05:00
Ben Fry
7bcb98debb createInput() and createOutput() now both use buffered streams by default 2017-02-19 10:35:02 -05:00
Gottfried Haider
5c6da26f9e Revert "ARM: Allow Raspberry Pi's Mesa GL driver to use up to 8 lights" 2017-02-19 10:03:06 +01:00
gohai
2d70d0f28a Retry with multisampling disabled if creating a framebuffer fails because of INCOMPLETE_MULTISAMPLE 2017-02-19 09:56:50 +01: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
641c32c5f0 pixelDensity (FX): leave the density check up to PSurfaceFX 2017-02-19 03:01:16 +01:00
Jakub Valtar
da291436bb pixelDensity (FX): run with highest density 2017-02-19 02:49:46 +01:00
Gottfried Haider
72144dd282 Merge pull request #4920 from gohai/pgl-validateframebuffer
Report more error conditions in validateFramebuffer
2017-02-19 02:28:48 +01:00
Jakub Valtar
9d420740b5 pixelDensity (OpenGL): fix textures 2017-02-19 01:42:34 +01:00
Jakub Valtar
f8bbc3b3fe pixelDensity (Java2D): fix pixel operations 2017-02-19 01:41:23 +01:00
Jakub Valtar
c24164c320 pixelDensity (FX): draw 2x images properly 2017-02-19 00:18: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