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
Jakub Valtar
7d8c388a58
Add new depth sorter
...
- In P3D, use ENABLE_DEPTH_SORT and DISABLE_DEPTH_SORT hints to switch
between sorted and unsorted mode. Raw output is affected as well.
- Enabling or disabling sorting will flush before making the change.
- You can first draw geometry which does not need sorting, then enable
sorted mode mid-frame and draw transparent geometry, then switch back.
The only cost for switching is flush.
2015-06-01 22:56:55 +02:00
codeanticode
e1efbea925
use texture point sampling when user requests noSmooth()
2015-06-01 12:50:18 -04:00
Jakub Valtar
5b1e9e1378
Remove old sorting code
2015-06-01 16:44:07 +02: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
Ben Fry
80f83d218e
seems to be fixing some redraw problems
2015-05-19 20:03:45 -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
codeanticode
1f7e61d601
make surfaceJOGL static to take care of
...
https://github.com/processing/processing/issues/3292
2015-05-17 21:08:10 -04:00
Ben Fry
39b58a6ce6
more work on release notes and todos
2015-05-17 14:37:06 -04:00
Ben Fry
5dbb20dab5
scrubbing and thinking about how sketch params should work
2015-05-17 12:19:51 -04:00
Ben Fry
6e5f8a1dae
add appendUnique() to Int/Float/StringList
2015-05-17 11:46:20 -04:00
Ben Fry
cc88580dfc
more cleaning up, don't set args[] unless non-null
2015-05-17 11:27:31 -04:00
Ben Fry
a52e54b07c
Merge branch 'master' of github.com:processing/processing
2015-05-17 09:35:07 -04:00
codeanticode
474dddf704
get current pixel scale from GLWindow
2015-05-17 09:14:22 -04:00
Ben Fry
231d753e24
readability fixes
2015-05-17 08:00:28 -04:00
Ben Fry
4037d0ec43
add verification note
2015-05-17 07:47:25 -04:00
Ben Fry
ae8e65b5d4
cleanup, minor refactoring
2015-05-17 07:42:37 -04:00
Ben Fry
cb947a814c
add ESC handling, proper exit() handling
2015-05-17 07:37:08 -04:00