Commit Graph

3146 Commits

Author SHA1 Message Date
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
Jakub Valtar
fc7fb7464f pixelDensity (OpenGL): make sure sketch pixel size is initialized 2017-02-18 20:28:38 +01:00
Jakub Valtar
68e8f848b9 pixelDensity (OpenGL): update sketch pixel size when display density changes 2017-02-18 20:28:06 +01:00
Jakub Valtar
9bbf7de853 pixelDensity (OpenGL): fix pixel operations 2017-02-18 20:24:50 +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
Jakub Valtar
3e5500c457 pixelDensity (Java2D): set modified to false after updatePixels() 2017-02-17 13:38:09 +01:00
Jakub Valtar
a28a043c3e pixelDensity (Java2D): fix set() clamping on wrong boundary 2017-02-17 13:37:20 +01:00
Jakub Valtar
20ac27293c pixelDensity (FX): fix updatePixels being low res 2017-02-17 01:08:54 +01:00
Jakub Valtar
cb1ff46530 pixelDensity (FX): fix window size 2017-02-17 01:07:32 +01:00
Jakub Valtar
0342545a4f pixelDensity (Java2D): scale mouse input 2017-02-16 16:15:36 +01:00
Jakub Valtar
b5002d297a pixelDensity (Java2D): set default transform 2017-02-16 16:13:53 +01:00
Jakub Valtar
f0c75dae16 pixelDensity (Java2D): scale window up 2017-02-16 16:13:23 +01:00
Jakub Valtar
d30f29f393 Return command line density arg value from displayDensity() 2017-02-16 13:13:09 +01:00
Jakub Valtar
9ff5c973b2 Add --density sketch arg 2017-02-16 13:07:30 +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