Commit Graph

72 Commits

Author SHA1 Message Date
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
codeanticode
e187335bdc force loadPixels() in PGraphicsOpenGL.initCache(), otherwise textures are not initialized properly in android 2012-07-28 22:10:42 +00:00
codeanticode
ee5169d3dd Removed unused imports 2012-07-27 15:17:42 +00:00
codeanticode
511780e6e1 on android as well 2012-07-27 15:16:05 +00:00
codeanticode
638a04ab1f android sync 2012-07-26 19:51:58 +00:00
benfry
26593bbf2f more with method naming, add XML hasChildren() method 2012-07-22 00:20:16 +00:00
benfry
bc61904227 clean things up for PShader API 2012-07-21 21:43:23 +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
9c4195c3e4 completed new implementation of image cache handling 2012-07-16 19:12:13 +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
b1630310f0 temporary workaround to handle very long beveled edge paths, prints warning. 2012-07-11 08:30:12 +00:00
codeanticode
37e387c02a Simpler code to add stroke edges to a polygon shape 2012-07-11 05:09:16 +00:00
codeanticode
d8cf549ddc P2D uses simpler orthographic projection (z between -1 and +1) and affine camera transformation 2012-07-07 23:30:23 +00:00
codeanticode
f28d246362 Added missing offset in partitionRawIndices() 2012-07-05 20:04:38 +00:00
codeanticode
370fbd6637 Making sure that all shaders can access the projection, modelview and projmodelview matrices 2012-07-03 23:08:56 +00:00
codeanticode
d41fd94172 Shader loading doesn't recreate shader objects when context changes, that's taken care by the init() method in PShader 2012-07-03 18:26:59 +00:00
codeanticode
4d69ffe686 updated android with the clip/noClip fix 2012-06-29 18:59:17 +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
c18cfb233b using screen FBO also when quality < 2 2012-06-25 20:25:40 +00:00
codeanticode
9ad3fdd351 added check for continuous use of smooth/noSmooth 2012-06-25 14:02:10 +00:00
codeanticode
8d3c01495a resize pixels in setSize() if they are being used 2012-06-22 18:30:39 +00:00
codeanticode
c9980a27c2 try-catch block for glBlendEquation handles any exception 2012-06-22 16:30:54 +00:00
codeanticode
4571c14256 added flush to beginPGL() 2012-06-22 15:16:54 +00:00
codeanticode
ef2181839d Removed references to P3D in warning, error messages 2012-06-21 20:52:09 +00:00
codeanticode
bdacb6cfae framebuffer stack made into an array as well 2012-06-21 19:30:20 +00:00
codeanticode
cddc162e3c switching back to float arrays to store the matrix stacks 2012-06-21 19:18:21 +00:00
codeanticode
9ca0a4aa08 re-enabling clearing of alpha channel for offscreen surfaces 2012-06-21 18:13:19 +00:00
codeanticode
548e795cdf some minor fixes in the handling of FBOs 2012-06-21 16:51:32 +00:00
codeanticode
3fc773f4a5 removed unused import 2012-06-21 04:29:25 +00:00
codeanticode
e6b3e7d663 ported latest round of changes to android 2012-06-21 04:28:01 +00:00
codeanticode
95a09b83a8 added camera stack, set camera to identity in resetMatrix 2012-06-20 19:56:10 +00:00
codeanticode
3b122b9f67 splitting the glClear() calls for each buffer (color, stencil, depth) 2012-06-20 18:29:05 +00:00
codeanticode
afdf18389c fixed bug in tessellation of stroked arcs 2012-06-19 21:36:28 +00:00
codeanticode
02093a8aa0 z-displacement in line shader disabled in accurate 2d mode 2012-06-19 17:28:41 +00:00
codeanticode
e41c8f93cd Some reorganization in the shader classes 2012-06-19 02:57:29 +00:00
codeanticode
7e30cc6e4c sync with android 2012-06-18 19:52:47 +00:00