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
Ben Fry
c611de43ae
thinking about adding getTally() to IntDict
2017-04-17 13:23:46 -04: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
c8c4539204
don't derive the font again if the size is unchanged ( #4956 )
2017-03-12 09:59:12 -04: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
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
gohai
ba1b71a1f2
Make validateFramebuffer match latest Khronos doc for GL4
...
Suggested by @JakubValtar
2017-02-18 19:43:00 +01:00
Ben Fry
f967150430
improve sum() functions in processing.data
2017-02-18 13:24:23 -05:00
gohai
f8d985a94c
Report more error conditions in validateFramebuffer
2017-02-18 18:48:05 +01:00
gohai
b1e583bd82
ARM: Allow Raspberry Pi's Mesa GL driver to use up to 8 lights
...
This caused register allocation issues before, but now this seem to be only still necessary for the binary GLES2 driver, where even enabling one more light (from 2 to 3) will make the shader compiler unhappy. Tested with 11.1.0-1+rpi1 on all P2D & P3D examples.
2017-02-17 18:47:44 +01:00
codeanticode
26d9ad2262
removed printout to system.err
2017-02-01 16:30:53 -05:00
Ben Fry
d006c3a6a9
change some null handling with JSON
2017-01-31 20:46:52 -05:00
Ben Fry
b6238441b5
Merge pull request #4862 from jdf/master
...
Fix a number of memory leaks.
2017-01-31 20:43:31 -05:00
Ben Fry
7384e91df6
remove rows/cols from beginning in trim()
2017-01-31 04:58:33 -05:00
Ben Fry
c90176cf8a
fixing up StringDict(TableRow) and Table.trim() now removes extra rows and columns
2017-01-31 04:55:03 -05:00
Ben Fry
ea65d7f034
consume Unicode BOM (0xFEFF) in createReader() and Table parser
2017-01-30 19:23:02 -05:00
Ben Fry
da04e3682f
make trim(String[]) handle arrays, Table.trim() handles columns
2017-01-30 18:54:38 -05:00
Ben Fry
8e5c3be1b7
return null for PApplet.trim(null)
2017-01-30 18:53:08 -05:00
Ben Fry
6f2297681c
add StringDict constructor, another double quote case
2017-01-30 18:50:16 -05:00
Jonathan Feinberg
a0f0da5217
Use Java standard modifier order.
2017-01-30 15:58:35 -05:00
Jonathan Feinberg
b62564e3a9
Protect disposables from ClassCastException.
2017-01-30 13:47:03 -05:00
Jonathan Feinberg
9bd385eec5
Reformat long line.
2017-01-30 13:40:08 -05:00
Jonathan Feinberg
3f6b7917b4
Restore reachability for weakrefs.
2017-01-30 13:38:31 -05:00
Jonathan Feinberg
1ce4ecba88
Unscrewup merge.
2017-01-29 18:00:32 -05:00
Jonathan Feinberg
ce94a7ca73
Sshhhh.
2017-01-29 17:51:42 -05:00
Jonathan Feinberg
8fba6ce033
Fix a number of memory leaks.
2017-01-29 17:51:16 -05:00
Ben Fry
022c27633c
deal with a handful of warnings
2017-01-29 10:57:44 -05:00
Ben Fry
08e158d1e7
Merge pull request #4839 from JakubValtar/fix-zombie-process
...
Allow JAVA2D to terminate when animation thread dies
2017-01-29 10:42:36 -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
b531199eb5
Allow JAVA2D to terminate when animation thread dies
...
When Java2D sketch crashes, closing the window does not stop Event
Dispatch Thread. This fix makes PApplet.exit() do the right thing and
not wait for surface to finish when the thread is already dead.
Fixes #4831
2017-01-20 12:49:23 +01:00
George Bateman
eb55609871
Fix #4826 . PShape in Java2D wasn't respecting kind.
...
Reverses commit 6695215a7d .
2017-01-17 17:21:02 +00:00
codeanticode
043eaa96c2
show warning when calling modelX/Y/Z in P2D, fixes #4813
2017-01-09 08:49:31 -05:00
Jakub Valtar
58df48655c
Fix typo in glsl preprocessor
...
Add missing 2D which disappeared in
https://github.com/processing/processing/pull/4052/files#diff-88c7dd4e8f37672d20e228a71a433a6dL1889
2017-01-06 21:45:53 +01:00
Ben Fry
87d1fdb61d
Merge pull request #4797 from JakubValtar/fix-mouse-button-events
...
Unify mouse pressed/released events across renderers
2017-01-06 10:56:09 -05:00
Ben Fry
e086ceea2d
Merge pull request #4798 from JakubValtar/fx-exception-handler
...
FX: Add exception handler which reports exceptions from user code
2017-01-06 10:50:19 -05:00
Ben Fry
86af999af5
Merge pull request #4800 from JakubValtar/fix-fx-curves
...
FX: Fix curveVertex drawing all curves together as one long curve
2017-01-06 10:49:14 -05:00
Ben Fry
702e4cf8cb
Merge pull request #4796 from JakubValtar/fx-mouse-wheel
...
FX: Implement mouse wheel event
2017-01-06 10:42:04 -05:00
Ben Fry
583b3f43d4
Merge pull request #4795 from JakubValtar/master
...
FX: Reset transform to identity before drawing background
2017-01-06 10:41:13 -05:00