Commit Graph

600 Commits

Author SHA1 Message Date
codeanticode
90c070e759 createGraphics() correctly handles JAVA2D, P2D and P3D values for irenderer 2012-07-29 18:56:29 +00:00
codeanticode
866aae5d8e slightly reworked the logic for screen FBO in android 2012-07-29 18:22:00 +00:00
codeanticode
3e4b2c0aae Removed PShader.FILTER constant, added loadShader(String) to PGraphics in Android 2012-07-29 00:10:26 +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
14526420f6 added loadShape() to PGraphicsAndroid2D 2012-07-28 20:37:00 +00:00
benfry
53dff0de63 several XML fixes 2012-07-28 19:30:43 +00:00
benfry
9be93a219d missing method from desktop version 2012-07-28 14:59:36 +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
codeanticode
3a0374b542 add creation of packed depth+stencil buffer in PGL android 2012-07-22 12:56:57 +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
benfry
f7752ae687 fix methods setup so that android also auto-adds methods from PGraphics/PImage 2012-07-21 15:05:08 +00:00
codeanticode
083ab11af9 fixed texture unbind error 2012-07-20 18:00:32 +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
ea77f538c4 renamed setUniform() to set() 2012-07-16 19:29:35 +00:00
codeanticode
d5c4bb2b31 handle parent == null in PImage.loadPixels() 2012-07-16 19:29:08 +00:00
codeanticode
9c4195c3e4 completed new implementation of image cache handling 2012-07-16 19:12:13 +00:00
codeanticode
d4816e537b remove debug printlns 2012-07-16 06:37:00 +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
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
e539355f2b Disable blend when rendering color buffer to screen 2012-07-11 01:18:54 +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
fed3562cc7 added missing glUniformNi functions to PGL 2012-06-28 17:28:13 +00:00
codeanticode
c18cfb233b using screen FBO also when quality < 2 2012-06-25 20:25:40 +00:00
codeanticode
d6984326d0 calling showDepthWarningXYZ in translate(tx, ty, tz) in PGraphics2D 2012-06-25 18:56:49 +00:00
codeanticode
016047d337 disable depth test in PGL.drawTexture method 2012-06-25 15:55:53 +00:00
codeanticode
9ad3fdd351 added check for continuous use of smooth/noSmooth 2012-06-25 14:02:10 +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
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
1710965a7c adjusted size initialization in font textures 2012-06-21 20:37:05 +00:00
codeanticode
56b4b47236 clear buffers in screen FBO, some minor tweaks 2012-06-21 20:15:17 +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