Commit Graph

62 Commits

Author SHA1 Message Date
codeanticode
cdffca3e5c cleanup changes 2015-09-07 23:37:37 -04:00
codeanticode
78626a598b trying different blitting order 2015-09-07 20:37:26 -04:00
codeanticode
fef27522a9 restart FBO layer when window is resized 2015-09-07 16:02:49 -04:00
codeanticode
095ebe4f35 implements cursor setting in opengl 2015-09-07 12:23:36 -04:00
codeanticode
440c67ddb7 checks for exceptions before startin the animation thread 2015-09-07 10:47:46 -04:00
codeanticode
fb8c3af91e initialize screen FBO 2015-09-03 22:44:17 -04:00
codeanticode
92cef27481 cleaning up surface code 2015-09-01 15:38:29 -04:00
codeanticode
6b2666cb4e call setTitle in the EDT 2015-08-31 16:46:21 -04:00
codeanticode
52c9e44a11 removed assignment in PSurfaceJOGL 2015-08-29 18:04:20 -04:00
codeanticode
519eb9c9d5 made some methods in PJOGL public to use from contributed renderering
libraries
2015-08-29 18:03:21 -04:00
Jakub Valtar
36c34c7faf JOGL - normalize enter key 2015-08-28 09:46:30 -04:00
Jakub Valtar
f127acb966 Fix typo 2015-08-17 19:55:44 -04:00
Jakub Valtar
475e83fbdc Discard auto-repeated keys in P2D/P3D 2015-08-17 19:45:00 -04:00
Jakub Valtar
7137cd9701 Emulate keyTyped for OpenGL sketches 2015-08-17 19:17:03 -04:00
Jakub Valtar
cb83147d74 Detect GLSL version and preprocess to that 2015-08-15 11:03:12 -04:00
Jakub Valtar
56efb3c6e7 Get max core profile on OSX 2015-08-14 19:27:36 -04:00
Jakub Valtar
bfe1470614 Request programmable GL profile 2015-08-14 16:09:16 -04:00
Ben Fry
7ae9b1f58d Merge pull request #3583 from gohai/arm-3.0-for-ben7
Second bunch of arm patches (v5)
2015-08-11 19:36:40 -04:00
gohai
965e383b5d Request GL2ES2 instead of GL2ES1 on ARM
Based on discussion with xranby & discussed with Andres. Current Processing needs shader support so select GLES2 over GLES1. This shouldn't matter for any desktop GPU since we're using a GL there any anyway.
2015-08-12 01:08:36 +02:00
Ben Fry
926ce0a49a implement focused, focusGained(), focusLost() in OpenGL (fixes #3564) 2015-08-11 14:40:52 -04:00
Ben Fry
b7d5f987ad add workaround for setTitle() resetting cursor() (fixes #3472) 2015-08-08 14:54:17 -04:00
Ben Fry
81c0732f22 change how size(displayWidth, displayHeight) works (fixes #3545) 2015-08-07 10:06:08 -04:00
codeanticode
ec54716c19 use dot literal to split device id string 2015-08-05 11:15:46 -04:00
codeanticode
e3ab81723e use different device parsing method on Linux 2015-08-05 10:52:25 -04:00
Jakub Valtar
fc23d16e1e JOGL window size is now set properly
Fixes #3223
2015-07-20 12:52:53 -04:00
Ben Fry
036446a2b0 deal with some threading issues, remove init() 2015-06-21 21:23:05 -04:00
codeanticode
95fc88f575 removed use of return 2015-06-21 14:56:50 -04:00
codeanticode
61854b0238 getNative() returns the GLWindow object 2015-06-20 18:07:38 -04:00
Ben Fry
efef632ec2 more surface updates based on discussion in #3388 2015-06-18 16:05:15 -04:00
codeanticode
70b1809684 removed unused fields in PJOGL, renamed profile 2015-06-18 15:12:10 -04:00
codeanticode
16c5655243 avoids placing the GLWindow at the default location 2015-06-18 12:03:03 -04:00
Ben Fry
13d019696c more pixel density fixes 2015-06-13 17:50:54 -04:00
codeanticode
cde9c5420a present mode working with multiple displays 2015-06-09 11:50:28 -04:00
codeanticode
dee0e73d12 don't disable multisampling if smooth is 1 2015-06-09 11:39:00 -04:00
Ben Fry
d803eaf004 fix newline and numbering errors 2015-06-07 22:23:35 -04:00
codeanticode
f797d2c3e5 set fullscreen on sketch 2015-06-07 17:28:17 -04:00
codeanticode
a695b44324 handling fullscreen and present modes 2015-06-07 14:59:15 -04:00
codeanticode
2af8ded62e updating PSurfaceJOGL to use latest API changes 2015-06-07 11:57:05 -04:00
Ben Fry
9bb8a6ab19 change up how smoothing is handled (see #3357) 2015-06-06 16:09:12 -04:00
Ben Fry
eda15abce9 sorting out multi-display, fullScreen(), param passing with surface... 2015-06-05 21:24:28 -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
codeanticode
1d105b4e14 properly identify CMD key as VK_META 2015-06-04 15:54:59 -04: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
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
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
3d8732dafa don't query window's surface scale if graphics are not retina 2015-05-30 20:27:41 -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