Commit Graph

64 Commits

Author SHA1 Message Date
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
codeanticode
d624559bf4 fix issue 1306 2012-10-25 15:42:37 +00:00
codeanticode
d10428def6 don't get fron texture name if FBOs are not being used 2012-10-20 20:52:48 +00:00
codeanticode
06a14107c5 using new FBO mechanism in JOGL, removed FBO hack for OSX 2012-10-20 18:01:01 +00:00
benfry
c0fe29ba95 remove warnings 2012-10-20 17:19:19 +00:00
codeanticode
83d8af5b43 JOGL update 2012-10-03 20:51:00 +00:00
codeanticode
fcf474fc14 check for framebuffer multisample extension when creating screen FBO 2012-09-12 14:25:27 +00:00
codeanticode
1c57d0829d more detailed GL version/extensions check 2012-09-10 20:07:32 +00:00
codeanticode
502ef5efe0 Re-wrap throwable if is not a runtime excepton, otherwise just throw original object for clearer error messages 2012-09-10 18:36:31 +00:00
benfry
7cf6c3af17 remove incorrect cast 2012-09-10 16:45:02 +00:00
codeanticode
ab81544c99 leaving backbuffer improvements for later 2012-09-03 19:34:06 +00:00
codeanticode
4bf7bc727b validate framebuffer only at init in android, new offscreen implementation that properly solves the fickering problem (commented out for now to finish later), some todo notes 2012-09-03 13:48:34 +00:00
codeanticode
d09d1d461f some FBO changes, to be continued later 2012-09-03 01:29:38 +00:00
codeanticode
ff85026bd9 property sets cache objects in loadTextureImpl(), testing double buffered primary FBO 2012-09-02 20:49:35 +00:00
codeanticode
720d1ef25c hintEnabled is a utility protected method in PGraphicsOpenGL 2012-09-02 15:59:25 +00:00
codeanticode
754eb380db Added static context variable to PGL, in order to detect surface restarts. Fixed issue 1146 2012-09-01 21:34:21 +00:00
benfry
232390c02c move PConstants around a bit, add annotations for overrides, cleaning up unapproved PShape additions 2012-09-01 18:05:24 +00:00
benfry
b61f3c26b6 add annotations for overrides... starting cleanup of shape 2012-09-01 09:26:38 +00:00
codeanticode
0a1c1ff2c5 android sync 2012-08-31 20:21:19 +00:00
codeanticode
20410b4746 More code formatting 2012-08-31 16:18:25 +00:00