Commit Graph

110 Commits

Author SHA1 Message Date
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
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
1b71df25c6 renamed utility getPixels/putPixels methods 2012-12-16 17:01:21 +00:00
codeanticode
c9e037666e cleaned-up handling of direct/indirect buffers in android 2012-12-15 14:50:12 +00:00
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
9288a77d16 re-added android files 2012-12-12 17:47:42 +00:00
codeanticode
a23205d958 direct buffers for pixel and texture operations, added GL thread check 2012-12-12 17:42:27 +00:00
codeanticode
7855bc65de copy projmodelview fixes to android 2012-12-11 22:37:05 +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
benfry
8a1bbecefd change hint to DISABLE_OPTIMIZED_STROKE (issue #1302) 2012-12-06 17:48:26 +00:00
codeanticode
5c64f3f178 Android OpenGL sync 2012-12-05 23:06:26 +00:00
benfry
7f00c10dbc change implementation of set() and get() on Android (issue 925) 2012-11-25 20:57:37 +00:00
codeanticode
60ad38c811 added new arc modes to P2D/P2D, closes issue #1406 2012-11-24 02:07:57 +00:00
codeanticode
2021cd7338 removed obsolete hints 2012-11-23 22:09:32 +00:00
codeanticode
65f8e12c97 sets the ambient color in PShapeOpenGL when setting fill for the first time, fixes issue 1342 2012-11-21 01:21:18 +00:00
codeanticode
54e2ff13fe support for anisotropic filtering 2012-11-20 22:05:21 +00:00
codeanticode
e02e3392c0 don't enable mipmapping if texture is the color buffer of a PGraphics 2012-11-19 16:54:11 +00:00
codeanticode
596e7d47d7 Backtracking jogl update, as it introduced several deadlocks 2012-11-01 16:53:01 +00:00
codeanticode
d624559bf4 fix issue 1306 2012-10-25 15:42:37 +00:00
codeanticode
bf062546da Better comments for the ortho() function 2012-09-13 18:49:08 +00:00
codeanticode
a109b1bc9b setUniformVector takes length of array as argument, so partially full arrays can be passed to shader w/out wasting empty elements 2012-09-12 20:15:59 +00:00
codeanticode
d11059f144 fix typo on android too 2012-09-10 20:31:20 +00:00
codeanticode
5dd6e714b2 removed GL check from setPrimary(), added to Android's PApplet 2012-09-10 20:19:49 +00:00
codeanticode
1c57d0829d more detailed GL version/extensions check 2012-09-10 20:07:32 +00:00
codeanticode
dd719ac0d4 check if main renderer is PGraphicsOpenGL when creating P2D/P3D PGraphics 2012-09-10 18:49:10 +00:00
codeanticode
e67f0d653d doesn't apply perspective correction when the projection matrix is orthographic, fixes issue 1207. 2012-09-05 22:41:26 +00:00
benfry
2de31b9dcb change name for OpenGL errors constant 2012-09-04 01:17:13 +00:00
codeanticode
aa90bbc42e Using white as the default ambient material property 2012-09-03 16:35:53 +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
662fec53e6 moving font cache inside PGraphicsOpenGL 2012-09-02 20:07:26 +00:00
codeanticode
720d1ef25c hintEnabled is a utility protected method in PGraphicsOpenGL 2012-09-02 15:59:25 +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
benfry
232390c02c move PConstants around a bit, add annotations for overrides, cleaning up unapproved PShape additions 2012-09-01 18:05:24 +00:00
codeanticode
0a1c1ff2c5 android sync 2012-08-31 20:21:19 +00:00
codeanticode
309efbadd2 Takes care of issue 1156 2012-08-23 20:45:48 +00:00
codeanticode
4d3879e6fe Made all utility functions in PGL protected, added drawTexture() to PGraphicsOpenGL 2012-08-21 19:48:15 +00:00
codeanticode
d3e0785fc8 Removed extension check for shaders, VBOs and FBOs from PGraphicsOpenGL, moved to PGL in Java mode 2012-08-20 01:17:24 +00:00
codeanticode
7e7f741976 added texture wrapping to the API 2012-08-14 21:17:27 +00:00
codeanticode
6f2c17b188 throws exceptions if required extensions are not available 2012-08-14 18:25:39 +00:00
codeanticode
dd8045298f PGL update in android 2012-08-14 17:39:33 +00:00
codeanticode
7cff2660c4 PShader.set(string, PImage) to bind textures to sampler uniforms 2012-08-08 21:53:42 +00:00
codeanticode
801a8f0579 recalculate mipmaps in Texture.setNative() 2012-08-08 18:10:43 +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
205b67a529 better condition to catch offscreen-within-offscreen drawing 2012-07-28 22:57:12 +00:00