Commit Graph

621 Commits

Author SHA1 Message Date
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 880f62bcb4 performance improvement for PVector.limit() (issue #1122) 2012-09-01 20:59:08 +00:00
benfry fbdca0632d more cleanups 2012-09-01 18:44:56 +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 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 bd09d8f081 Constant number of loop iterations in light shaders, to make them compatible with older Adreno GPUs (fixes issue 1145). Also, more careful handling of vectors in shaders to avoid problems with powerVR GPUs. 2012-08-20 20:16:17 +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 036a80cd25 generates mouse released event along the swipe event. 2012-08-19 19:19:32 +00:00
codeanticode b00dedca58 added resetShader() w/out argument 2012-08-16 03:31:23 +00:00
codeanticode 661c80d16b removed old cruft 2012-08-15 04:33:20 +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 592b4a0653 small fix when setting sampling uniform 2012-08-08 23:23:53 +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 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