Commit Graph

2114 Commits

Author SHA1 Message Date
Ben Fry
88968262af Merge branch 'master' of github.com:processing/processing 2015-06-05 22:21:04 -04:00
Ben Fry
6622e3dfa7 rounding out fullScreen() 2015-06-05 22:10:47 -04:00
Ben Fry
8f6cb453fe cleaning up param docs 2015-06-05 21:45:13 -04:00
Ben Fry
3558f7959e to span displays, use the fullScreen() method 2015-06-05 21:41:47 -04:00
Ben Fry
eda15abce9 sorting out multi-display, fullScreen(), param passing with surface... 2015-06-05 21:24:28 -04:00
codeanticode
7ecabd8a34 init shader in shader() call 2015-06-05 18:57:17 -04:00
codeanticode
f62bbdfb0c use pixelWidth/Height throughout 2015-06-05 10:48:39 -04:00
codeanticode
bd9931149d don't call graphics.setSize() in initFrame to avoid setting wrong
pixelWidth/Height
2015-06-05 09:59:25 -04:00
Ben Fry
2a0142cec0 Merge branch 'master' of github.com:processing/processing 2015-06-04 15:22:40 -05:00
codeanticode
1d105b4e14 properly identify CMD key as VK_META 2015-06-04 15:54:59 -04:00
Ben Fry
d0400306a1 change up the warnings with size() 2015-06-04 13:37:12 -05:00
Ben Fry
20926bd8a2 set frame icon images for Java2D (dock and cmd-tab) 2015-06-03 17:03:49 -05:00
Ben Fry
00bfda4998 update embedded default image icons 2015-06-03 16:20:10 -05:00
codeanticode
055682cdb5 use length of sizes array 2015-06-03 17:12:46 -04:00
codeanticode
a769e59bec use NEWT's API for icon loading 2015-06-03 16:20:42 -04:00
codeanticode
be78cb2cc4 The 2X renderers in OpenGL subclass PGraphics2D/3D 2015-06-03 10:33:50 -04:00
codeanticode
f553782cd0 duplicate stroke vertices when they fall in separate cache blocks 2015-06-03 08:55:43 -04:00
codeanticode
cdf6342517 added code to handle window icons, non-functional though as GLWindow
seems to lack icon-setting API
2015-06-03 07:21:22 -04:00
codeanticode
6f8700731d bounds of orthographics projection region are relative to viewport
center, so it follows gluOrtho()
2015-06-02 15:27:08 -04:00
codeanticode
2015fd095e moved window destroy-notify code into the NEWTWindowListener 2015-06-02 12:32:04 -04:00
codeanticode
52788cdf6d special handling for backspace, tab 2015-06-02 09:55:12 -04:00
codeanticode
e1efbea925 use texture point sampling when user requests noSmooth() 2015-06-01 12:50:18 -04:00
codeanticode
8aa9a31149 simpler mipmap, sampling settimg logic 2015-06-01 00:21:50 -04:00
Ben Fry
20ee4bded6 retain original java.awt.Frame when it's in use 2015-05-31 20:16:23 -04:00
codeanticode
d3a14b67e1 more efficient implementation of setImpl() 2015-05-31 19:57:39 -04:00
codeanticode
247690b142 inits pixelWidth, pixelHeight 2015-05-31 18:44:59 -04:00
codeanticode
0340afee00 collect child attributes in root 2015-05-31 18:06:24 -04:00
codeanticode
3d8732dafa don't query window's surface scale if graphics are not retina 2015-05-30 20:27:41 -04:00
codeanticode
7cf5d676a2 add isPowerOfTwo check 2015-05-30 17:58:19 -04:00
codeanticode
aed0224154 some cleaning up, handle edges 2015-05-30 13:45:40 -04:00
codeanticode
8d0ae882f2 fixed case in name of TexLight shader 2015-05-29 07:52:29 -04:00
codeanticode
c7dc28b518 initialize attribs in right place 2015-05-24 09:40:29 -04:00
codeanticode
55fee051a8 normalize attributes in tessellator's combine 2015-05-24 09:14:48 -04:00
codeanticode
9f3bc33337 replace vertex attribs with augmented array 2015-05-24 08:20:33 -04:00
codeanticode
8bb398d5bb moved shaders to separate package 2015-05-19 23:48:05 -04:00
codeanticode
29f790a3b5 renamed texture shaders 2015-05-19 18:11:29 -04:00
Ben Fry
c0e76d92dd set displayWidth/Height before settings() (fixes #3295) 2015-05-19 17:56:25 -04:00
codeanticode
723cc642be don't post mouse events if the cursor is outside the sketch canvas in
present mode
2015-05-19 17:50:58 -04:00
codeanticode
832b62f5d8 tweaking window placement with NEWT 2015-05-19 17:32:48 -04:00
codeanticode
b57d2071dd use device ordering from AWT 2015-05-19 17:08:46 -04:00
Ben Fry
df0a714e5f remove debug warning 2015-05-19 15:11:31 -04:00
Ben Fry
9f26ba5120 I keep thinking I'm done here... 2015-05-19 14:47:52 -04:00
Ben Fry
9ab388d64d this should be how we want it to work 2015-05-19 14:44:19 -04:00
Ben Fry
e57c5cd8a6 forgot a piece 2015-05-19 14:41:57 -04:00
Ben Fry
9c7a839296 add OS X quit handler (fixes #3301) 2015-05-19 14:40:48 -04:00
Ben Fry
86a8a0019e add OS X quit handler (fixes #3301) 2015-05-19 14:40:41 -04:00
codeanticode
86f558ee21 removed debug msgs 2015-05-19 12:30:25 -04:00
codeanticode
dd4106ae36 working on proper sketch exit 2015-05-19 12:17:23 -04:00
codeanticode
26a3c9c6ed separate case for ThreadDeath 2015-05-18 11:35:28 -04:00
codeanticode
4c445f6f99 better exception handling, fixes #3293 2015-05-18 11:09:10 -04:00