Commit Graph

49 Commits

Author SHA1 Message Date
codeanticode 0bbc3e07bb uncommented allocate() in Texture, removed some debug printlns 2012-12-14 23:12:33 +00:00
codeanticode b548787f73 several opengl fixes (among them, major memory leak due to incorrectly initialized static var) 2012-12-14 22:49:25 +00:00
codeanticode a23205d958 direct buffers for pixel and texture operations, added GL thread check 2012-12-12 17:42:27 +00:00
codeanticode fd8f5c535d using PGL methods in update, etc 2012-12-10 22:07:18 +00:00
codeanticode 860de2517b some cleanup 2012-12-10 19:51:17 +00:00
codeanticode ecd810eb7b GL renderer with direct buffers working on Android 2012-12-10 19:30:19 +00:00
codeanticode 127d6cc027 Improved FBO layer handling on Android. Fixes problem on N1 (issue #1455) and screen flickering in general when forcing screen FBO. 2012-12-08 18:40:26 +00:00
codeanticode 5c64f3f178 Android OpenGL sync 2012-12-05 23:06:26 +00:00
codeanticode 54e2ff13fe support for anisotropic filtering 2012-11-20 22:05:21 +00:00
codeanticode 1c57d0829d more detailed GL version/extensions check 2012-09-10 20:07:32 +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 45930bda63 android sync 2012-09-03 01:48:59 +00:00
benfry 3c9ac9fe93 add annotations, update with GL changes from desktop, new image caching scheme 2012-09-02 01:15:21 +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
codeanticode 0a1c1ff2c5 android sync 2012-08-31 20:21:19 +00:00
codeanticode 4d3879e6fe Made all utility functions in PGL protected, added drawTexture() to PGraphicsOpenGL 2012-08-21 19:48:15 +00:00
codeanticode dd8045298f PGL update in android 2012-08-14 17:39:33 +00:00
codeanticode fa1dcabf69 Fix issue 1166 2012-08-07 21:49:32 +00:00
codeanticode 866aae5d8e slightly reworked the logic for screen FBO in android 2012-07-29 18:22:00 +00:00
codeanticode 638a04ab1f android sync 2012-07-26 19:51:58 +00:00
codeanticode 3a0374b542 add creation of packed depth+stencil buffer in PGL android 2012-07-22 12:56:57 +00:00
codeanticode 6aab3afd58 add filter(PShader) function 2012-07-20 17:07:29 +00:00
codeanticode 309d95b0cb PShader updates 2012-07-18 20:27:29 +00:00
codeanticode 0562ca3420 flush before changing projection matrix, fixed load pixels in GL 2012-07-16 06:30:06 +00:00
codeanticode b48f7d6429 android sync 2012-07-12 03:23:30 +00:00
codeanticode dfaeaf7dcb disabling use of multisampled FBO when numSamples == 1 2012-07-11 09:07:04 +00:00
codeanticode e539355f2b Disable blend when rendering color buffer to screen 2012-07-11 01:18:54 +00:00
codeanticode 65c8c60fe6 cleaning up PShader methods some more 2012-06-29 15:04:48 +00:00
codeanticode ba57434e3c simpler API for setting uniform values in PShader 2012-06-28 21:14:22 +00:00
codeanticode fed3562cc7 added missing glUniformNi functions to PGL 2012-06-28 17:28:13 +00:00
codeanticode 016047d337 disable depth test in PGL.drawTexture method 2012-06-25 15:55:53 +00:00
codeanticode 583a40bfba some cleanup of color conversion methods in PGL 2012-06-23 19:57:00 +00:00
codeanticode 8d3c01495a resize pixels in setSize() if they are being used 2012-06-22 18:30:39 +00:00
codeanticode 56b4b47236 clear buffers in screen FBO, some minor tweaks 2012-06-21 20:15:17 +00:00
codeanticode e6b3e7d663 ported latest round of changes to android 2012-06-21 04:28:01 +00:00
codeanticode 3b122b9f67 splitting the glClear() calls for each buffer (color, stencil, depth) 2012-06-20 18:29:05 +00:00
codeanticode 10076317de Multisampling hack to have antialiased onscreen rendering through FBOs 2012-05-31 04:13:49 +00:00
codeanticode cb94500418 disabled mipmapping on android, flush geometry when switching shaders 2012-05-30 23:17:35 +00:00
codeanticode 64d189e12f GL android sync 2012-05-30 18:56:14 +00:00
codeanticode 20ffed4f79 PGL updates for android 2012-05-25 15:28:43 +00:00
codeanticode 9cf0e725dd Handling division-by-zero situation in LineStroker, added MIN_CAPS_JOINS_WEIGHT constant in PGL 2012-05-16 15:49:00 +00:00
codeanticode 0c150ba131 android sync 2012-05-03 22:24:45 +00:00
codeanticode c718b4e280 Updated PGL android 2012-04-12 13:35:12 +00:00
codeanticode 5e7c3d9b61 Added glCullFace. 2012-04-10 21:00:06 +00:00
codeanticode 67c0d5e9e4 Using short indices on android and desktop 2012-03-31 15:16:27 +00:00
codeanticode 1a05916a50 Sync android and desktop versions of P3D. 2012-03-30 21:40:58 +00:00
codeanticode 61f00b3bd1 Added precision to source of rectangle shader on Android 2012-03-27 21:03:28 +00:00
codeanticode edf64a99fb Added drawRectangle() to PGL, reimplemented set(x, y, color) method. 2012-03-27 20:52:13 +00:00
benfry 5ae944da16 moving OpenGL classes around to prevent overall pollution of processing.core package. 2012-03-25 22:09:36 +00:00