Commit Graph

83 Commits

Author SHA1 Message Date
Your Name
463455daaa made PGLListener constructor public 2013-02-04 18:17:19 -05:00
codeanticode
175f95c6e5 Minor changes in JOGL and LWJGL PGL interface 2013-02-04 14:34:59 -05:00
benfry
f5ccad12b3 preliminary implementation of wheel events (issue #1423) 2013-01-19 20:18:09 +00:00
codeanticode
4ac056f3c5 PGL.threadIsCurrent() is not static to avoid problems with subclassed renderers 2013-01-16 16:59:06 +00:00
codeanticode
d3dbfff701 PGL.getBackTextureName, PGL.getFrontTextureName are protected 2013-01-16 16:36:37 +00:00
codeanticode
ac8a2a98a3 Removed PGL.Context subclass 2013-01-16 16:02:18 +00:00
codeanticode
139637e8bb Handling coded keys in NEWT 2013-01-07 20:44:46 +00:00
codeanticode
93a8c96bc9 removed println in window listener 2012-12-21 16:45:12 +00:00
codeanticode
56d05b1041 testing focus handling 2012-12-21 16:38:39 +00:00
codeanticode
578491f82f Added NEWT window listener to catch window focus events. Fixes issue #1483 2012-12-21 16:29:51 +00:00
codeanticode
65ffc3ff4a Fixes issue #1495 2012-12-21 15:22:41 +00:00
codeanticode
e64de19d42 copy projection and modelview matrices to opengl 2012-12-19 15:55:22 +00:00
codeanticode
02c8d25a7c reworked logic in PGL to let JOGL choose the best surface for the given platform 2012-12-18 16:00:06 +00:00
codeanticode
1d8afa9838 FBO layer is enabled when sketch tries to use the front texture (prev. frame) or shader filter 2012-12-17 02:33:05 +00:00
codeanticode
983bd06d02 add temporary option to enable/disable JOGL's FBO layer 2012-12-17 01:13:05 +00:00
codeanticode
36bf9f0277 put back MSAA 2012-12-17 00:33:54 +00:00
codeanticode
2796ce3331 only set static variables in PGL from main renderer 2012-12-16 22:49:42 +00:00
codeanticode
2c6e78b93a some fixes in the surface handling logic 2012-12-16 21:02:53 +00:00
codeanticode
37610b558f sync java and android 2012-12-16 18:14:33 +00:00
codeanticode
a23205d958 direct buffers for pixel and texture operations, added GL thread check 2012-12-12 17:42:27 +00:00
codeanticode
1ee38fc7f0 added buffer swap in Display() to solve the garbage problem 2012-12-11 23:07:40 +00:00
codeanticode
4c4fd98425 sync with java mode 2012-12-10 22:07:37 +00:00
codeanticode
a26e64c515 completed transition to direct buffers 2012-12-09 21:04:29 +00:00
codeanticode
412397b845 Moving to direct buffers in GL renderer 2012-12-09 16:34:42 +00:00
codeanticode
a396c86d73 minor name changes to make it same as PGL on Android 2012-12-05 23:09:05 +00:00
codeanticode
1850b895ca drawPixels() is finally working 2012-11-28 22:19:31 +00:00
codeanticode
28f77600f4 query depth/stencil bits from chosen caps instead of gl 2012-11-27 19:52:11 +00:00
codeanticode
323ce0a1d6 temporary workaround for regression in JOGL 2012-11-26 19:52:46 +00:00
codeanticode
e26f6b599b Updated to Nov-25 JOGL autobuilds, re-enabled stencil buffer 2012-11-26 16:22:40 +00:00
codeanticode
b110bae80a better resize handling 2012-11-25 20:26:27 +00:00
codeanticode
ffa643d2f4 put back pixel restore 2012-11-25 01:06:22 +00:00
codeanticode
139d44c4b4 reworked the pixels operations 2012-11-24 22:46:45 +00:00
codeanticode
8d97301dcb more surface-handling cleanup 2012-11-24 18:29:48 +00:00
codeanticode
7fd9ca848e some cleanup 2012-11-24 17:16:28 +00:00
codeanticode
844807bb05 don't draw the back texture onto the front texture when background is used 2012-11-24 17:12:13 +00:00
codeanticode
850e9778d1 getting front buffer to work in offscreen surfaces 2012-11-24 17:00:44 +00:00
codeanticode
d58d71f969 start clean-up of surface handling (onscreen and offscreen) 2012-11-23 21:14:54 +00:00
benfry
03ec075933 major work to clean up event handling 2012-11-23 17:38:41 +00:00
codeanticode
49f99c5022 don't need to call removeListeners() in NEWT 2012-11-22 14:45:16 +00:00
codeanticode
54e2ff13fe support for anisotropic filtering 2012-11-20 22:05:21 +00:00
codeanticode
69460f7b1f start NEWT's animator at the end, otherwise it might call display() before all the variables are set 2012-11-20 16:36:23 +00:00
codeanticode
12ac541ea8 BaseShader class is parent for all shader types in PGraphicsOpenGL 2012-11-19 23:50:51 +00:00
codeanticode
c501b6e065 front buffer works again with JOGL's FBO-layer implementation 2012-11-19 21:24:26 +00:00
codeanticode
530b34d80d put requested depth, stencil and alpha bits in static variables 2012-11-19 02:03:19 +00:00
codeanticode
10f418e610 implemented event handling with newt 2012-11-12 16:39:23 +00:00
codeanticode
8a38bc06b0 jogl update, attempt #2. using NEWT by default, stencil buffer disabled for the time being. 2012-11-11 19:36:15 +00:00
codeanticode
596e7d47d7 Backtracking jogl update, as it introduced several deadlocks 2012-11-01 16:53:01 +00:00
codeanticode
9be09c160c fixed initialization for NEWT 2012-11-01 00:41:09 +00:00
codeanticode
d0e06a3a60 take into account non-multisampled FBO situation 2012-10-31 00:50:23 +00:00
codeanticode
ff76835044 properly get the texture from the screen FBO in JOGL, so that filter(PShader) works again 2012-10-30 20:15:17 +00:00