Commit Graph

829 Commits

Author SHA1 Message Date
codeanticode
dd8045298f PGL update in android 2012-08-14 17:39:33 +00:00
codeanticode
58e5207584 removed gl prefix to the opengl functions in PGL, renamed beginGL/endGL to beginPGL/endPGL 2012-08-10 21:03:51 +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
ac9cf6cf30 Added todo notes 2012-08-08 15:58:40 +00:00
codeanticode
fa1dcabf69 Fix issue 1166 2012-08-07 21:49:32 +00:00
benfry
dcda3e33d8 re-enable smooth() as the default for the default renderer (issue #1157) 2012-08-05 14:00:37 +00:00
benfry
a092674d19 whitespace issues 2012-08-01 10:52:50 +00:00
benfry
81630242da son of a ... Linux does not support java.awt.Desktop 2012-08-01 09:57:36 +00:00
benfry
02f0df5859 switch to java.awt.Desktop methods in platform, other post-applet updates 2012-08-01 09:35:50 +00:00
codeanticode
866aae5d8e slightly reworked the logic for screen FBO in android 2012-07-29 18:22:00 +00:00
benfry
3aaf19256d todo items, whitespace weirdness 2012-07-29 16:11:34 +00:00
benfry
ef165716b8 fix main() so that it handles args, also allows direct launch 2012-07-29 15:02:27 +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
benfry
53dff0de63 several XML fixes 2012-07-28 19:30:43 +00:00
benfry
1a8d38267c fix up the selectXxxx functions (issue #173 and others) 2012-07-28 18:44:49 +00:00
codeanticode
ee5169d3dd Removed unused imports 2012-07-27 15:17:42 +00:00
codeanticode
a8a8b7188f index splitting algorithm w/out Set and ArrayList objects 2012-07-27 15:10:45 +00:00
codeanticode
c3b8401f5e some corrections to the index splitting algorithm 2012-07-27 04:32:54 +00:00
codeanticode
31a062041c Calling defaultSettings() after beginOnscreen/Offscreen draw 2012-07-26 19:23:59 +00:00
codeanticode
003ea07a51 id of bound texture is stored in client side (PGL) 2012-07-26 14:46:33 +00:00
codeanticode
61e13ecc07 binding/unbinding textures more carefully 2012-07-25 22:22:13 +00:00
codeanticode
87d07557dd Texture.bind()/unbind() call the gl functions irrespective of the value of the bound flag 2012-07-25 17:12:59 +00:00
codeanticode
7ffc0c29bf using correct scale factor in line shader depending on type of projection 2012-07-24 22:45:11 +00:00
codeanticode
70db6fc1d5 added setVertex(int, PVector) to PShape 2012-07-24 20:31:39 +00:00
codeanticode
c9c7dbc4db PApplet gets updated too 2012-07-24 20:22:04 +00:00
codeanticode
08cc864b1a put loadShader(String fragFilename) back in 2012-07-24 20:19:19 +00:00
codeanticode
c867cd712c primary surface is used as key object when setting the cache for font textures 2012-07-24 19:49:36 +00:00
codeanticode
dc0fa5481a applying zfactor only to z-coordinate in the line shader 2012-07-23 16:38:05 +00:00
codeanticode
1c821876b2 don't call closePath() in 2D tessellation of edges, since they are already closed 2012-07-23 16:33:35 +00:00
codeanticode
3a0374b542 add creation of packed depth+stencil buffer in PGL android 2012-07-22 12:56:57 +00:00
benfry
bae7fa5243 more with method naming, add XML hasChildren() method 2012-07-22 00:19:48 +00:00
benfry
c9a83e9993 removing whitespace 2012-07-21 21:59:44 +00:00
benfry
bc61904227 clean things up for PShader API 2012-07-21 21:43:23 +00:00
benfry
6d8ebec0c0 get core loading properly on Windows, change displays to be numbered at 0 2012-07-21 16:37:46 +00:00
benfry
b30328bb66 moving opengl into the core 2012-07-20 20:18:20 +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
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
0562ca3420 flush before changing projection matrix, fixed load pixels in GL 2012-07-16 06:30:06 +00:00
codeanticode
1c58738bc0 doc change in PApplet 2012-06-28 21:41:28 +00:00
alignedleft
d873b049a7 frustum reference update 2012-06-25 21:56:05 +00:00
shiffman
ca758aedb6 working on comments in PVector for reference 2012-06-15 18:50:56 +00:00
shiffman
80cb6bfbbf working on comments for reference 2012-06-15 17:32:12 +00:00
shiffman
0853ce720c fixing lerp functions in PVector 2012-06-15 16:03:07 +00:00
shiffman
d8dbe251fa adding PApplet to random2D() and random3D() option 2012-06-13 20:55:47 +00:00