Commit Graph

1621 Commits

Author SHA1 Message Date
codeanticode 66118b56ef added checks for null framebuffers (useful to allow for "dummy"
renderers such as GLW)
2014-01-21 16:29:37 -05:00
codeanticode 5628631f95 added public constructors to the NEWT event listeners in PJOGL 2014-01-21 15:46:10 -05:00
codeanticode c27d1bf72c added JOGL.getGL() utility function, restore original USE_JOGL_FBOLAYER
value (true for OSX)
2014-01-21 15:36:12 -05:00
codeanticode adb0f431a8 making sure that backing textures are reset when surface is resized 2014-01-21 11:23:03 -05:00
codeanticode a0731dd3d7 testing/debugging, context sharing 2014-01-21 01:02:08 -05:00
codeanticode 5d713058b8 texture shaders in PGL are initialized only in the primary interface. 2014-01-20 17:10:18 -05:00
codeanticode 9110cebd0d more refactoring/testing with non-static fields in PGL 2014-01-20 16:48:19 -05:00
codeanticode 9aef0a1426 default shaders are not static, but only initialized in the primary
renderer
2014-01-20 12:40:45 -05:00
codeanticode f2c730b58f continues the removal of static references 2014-01-20 12:14:35 -05:00
codeanticode a8a15d112e making pgl non-static member of PGraphicsOpenGL 2014-01-19 01:56:55 -05:00
codeanticode 376bbb1938 removed commented out method 2014-01-16 18:17:40 -05:00
codeanticode cf8e03ff70 fix #2202 2014-01-16 18:04:15 -05:00
codeanticode 5be1f11145 call setLoaded() in PImage.loadPixels() 2014-01-16 16:21:10 -05:00
codeanticode 1cd4c57ec8 don't set pgl to null for offscreen surfaces. 2014-01-06 13:43:12 -05:00
codeanticode df0efa540f fix #2193 2014-01-05 16:39:29 -05:00
codeanticode 2193ef87a4 some commented code to handle #2296 2014-01-05 16:01:31 -05:00
codeanticode ce5ead73ee fix #1900 2014-01-05 15:36:07 -05:00
codeanticode ac3248ca33 fix #2171 2014-01-05 15:20:58 -05:00
codeanticode 4331296e1d same changes related to #2259 2014-01-05 13:38:24 -05:00
codeanticode 8981790c21 set prevTexImage in setLastTexIndex, fix #2205 2014-01-04 16:09:05 -05:00
codeanticode 58c3aa8546 Merge pull request #2279 from jdf/master
Clear the global PGL on dispose().
2014-01-03 16:12:31 -08:00
Scott Murray bee7509083 Added strokeWeight() as related to stroke() ref page, per request on processing/processing-web#293 2013-12-31 18:15:55 -08:00
Jonathan Feinberg 8de31e2b5d Clear the global PGL on dispose(). 2013-12-25 22:53:05 -05:00
codeanticode a9f27d13de trying to fix regression introduced in camera setup in P2D (issue #2259) 2013-12-11 23:00:04 -05:00
Scott Murray bef4f1c0aa For fill/stroke reference pages, added a couple more related methods 2013-11-27 09:32:12 -08:00
codeanticode f76f0758e4 implementing depth sorting 2013-11-24 01:39:37 -05:00
codeanticode 18b0563cfe fix #2233 2013-11-22 15:18:18 -05:00
codeanticode 24d915f43b Merge branch 'master' of https://github.com/processing/processing.git 2013-11-22 11:54:58 -05:00
codeanticode 22eacf15c7 fix #2232 2013-11-22 11:54:37 -05:00
codeanticode c18ddffdc0 getCanvas() in PGL so libraries can access the native surface 2013-11-20 18:57:18 -05:00
codeanticode c6ca72efbb removed ALREADY_DRAWING_ERROR and NO_BEGIN_DRAW_ERROR 2013-11-20 14:16:00 -05:00
codeanticode f0cec66aee removed some superfluous references to PGL 2013-11-08 15:23:44 -05:00
codeanticode 09de1306e5 filter shaders don't need to use the texture uniform, fixes #2204 2013-11-06 09:00:20 -05:00
Scott Murray f775018a30 Fixed processing/processing-web#275 by relocating saveTable() from input:files section of Reference index page to output:files section 2013-11-02 15:24:06 -07:00
Ben Fry 8a35861f3c fixes for alpha issues 2013-10-28 19:10:57 -04:00
codeanticode 4f186536bf move drawElements() call to PShader.draw() 2013-10-27 23:49:13 -04:00
Ben Fry 9ccc04b5d5 fixes for pixel ARGB vs RGB issues (#2030) 2013-10-27 15:38:17 -04:00
Ben Fry 8a0a226eb7 fix dataPath() for OS X and Java 7 2013-10-27 14:26:20 -04:00
REAS 76f99a232f Reference changes for 2.1, new keywords.txt 2013-10-26 21:02:36 -07:00
codeanticode e1f4b82d3c minor correction in the name of the texture sampler 2013-10-26 22:06:25 -04:00
codeanticode 15156353e8 don't call swapBuffers() in PGraphicsOpenGL.dispose() for offscreen
surfaces.
2013-10-25 18:02:36 -04:00
codeanticode b372046e44 comments for issues #1844 and #2125, added some warnings, fixed #2034 2013-10-25 12:38:33 -04:00
Ben Fry 8ba8c1595e Merge pull request #2146 from KiwiStrongis/master
added PMatrix.preApply( PMatrix) to resolve Issue #2145
2013-10-25 06:40:27 -07:00
codeanticode e10ffbc5e2 updated to jogl-2.1-b1115, gluegen-2.1-b735 for OSX 10.9 support 2013-10-25 09:39:33 -04:00
codeanticode 0ff68bca2f add setters for boolean uniforms contributed by AmnonOwed, fixes #1991. 2013-10-24 23:58:45 -04:00
codeanticode 09c03d0dcb Merge branch 'PShader.set(boolean)' of https://github.com/AmnonOwed/processing 2013-10-24 23:45:31 -04:00
codeanticode 73d57f8d22 fixes #2162 2013-10-24 21:57:35 -04:00
codeanticode cd4a5ae453 constrain depth and stencil bits to requested values, use capabilities
to obtain current values
2013-10-24 17:59:27 -04:00
codeanticode 68f44f14bc removing debug messages 2013-10-24 17:13:11 -04:00
codeanticode e6b8c04607 allocate in setSize() 2013-10-24 15:25:50 -04:00