Commit Graph

64 Commits

Author SHA1 Message Date
codeanticode
35e4381cfb check point and line attributes at the end, so that defines can override
autodetection
2016-11-03 10:15:41 -03:00
codeanticode
50a0943d60 some cosmetic changes 2016-11-02 20:57:51 -03:00
codeanticode
92d663efb0 use alternative regex in point and line shader autodetect, fixes #4725 2016-11-02 20:52:03 -03:00
codeanticode
45062aff5e added resolution uniform 2016-10-12 16:29:00 -04:00
codeanticode
d00bff1307 call getUniformLoc() in consumeUniforms, 2016-06-19 22:41:06 -04:00
codeanticode
475c606485 removed deprecated, commented-out resource finalization code 2015-10-22 21:58:42 -04:00
Jakub Valtar
c61bc0072f low-WeakReference diet 2015-09-25 23:58:10 -04:00
codeanticode
f379d4dd2f use weak references to PGraphicsOpenGL instances in resource classes
(framebuffers, texture, etc), should take care of #3858
2015-09-24 16:51:44 -05:00
codeanticode
965edd3faf updated notices in all gl code 2015-09-15 11:39:32 -04:00
codeanticode
19ff731e7c changes to facilitate android port, update copyright notices 2015-09-12 14:10:01 -04:00
Jakub Valtar
5910f49970 Fix another bunch of vert/frag typos 2015-08-15 20:45:59 -04:00
codeanticode
48e136bb79 implementing new gl resource disposal method based on WeakReferences 2015-06-23 16:49:14 -04:00
codeanticode
7ecabd8a34 init shader in shader() call 2015-06-05 18:57:17 -04:00
Federico Bond
73f46c2d5b Add missing static modifier to inner classes 2014-10-28 14:30:09 -03:00
Liam Middlebrook
2771bf35a2 s/unsued/unused/g 2014-09-17 20:19:01 -04:00
Liam Middlebrook
bd82c946e9 Refined PShader uniform missing message fixes #2593 2014-09-17 10:24:57 -04:00
codeanticode
c5dca8b660 renamed bufferUnit to ppixelsUnit 2014-03-31 15:20:23 -04:00
codeanticode
8a203e93f9 renamed buffer uniform to ppixels, fix #2325 2014-03-31 09:40:53 -04: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
09de1306e5 filter shaders don't need to use the texture uniform, fixes #2204 2013-11-06 09:00:20 -05:00
codeanticode
4f186536bf move drawElements() call to PShader.draw() 2013-10-27 23:49:13 -04:00
codeanticode
e1f4b82d3c minor correction in the name of the texture sampler 2013-10-26 22:06:25 -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
c60ba7e6d7 better handling of glsl code in different versions 2013-10-24 12:51:38 -04:00
codeanticode
2843dcdd72 avoid loading uniform and attribute locations in every frame 2013-10-20 21:09:50 -04:00
codeanticode
7e1acf5710 automatic glsl 120 to 150 conversion partially working 2013-10-20 20:51:19 -04:00
codeanticode
217b63b5f6 moved load shader functions to PGL 2013-10-20 20:04:34 -04:00
codeanticode
cd07991a34 some more reworking of shader initialization 2013-10-20 19:53:27 -04:00
codeanticode
930f6fd57e clean up shader get-type code 2013-10-20 17:20:20 -04:00
codeanticode
26da73d422 some edits, additional null checks in PJOGL 2013-10-19 20:20:27 -04:00
codeanticode
f33ca59c5f removed shader inner-classes in PGraphicsOpenGL, now everything is in
PShader
2013-10-19 09:29:44 -04:00
codeanticode
626bc8f70c removed first,last vertex and count from InGeometry, implementing vertex
codes
2013-10-15 23:41:42 -04:00
codeanticode
40198890bb solved some issues in PShader, better handling of gl buffers when using
built-in shaders
2013-10-07 00:30:15 -04:00
codeanticode
c41c53f931 some debugging 2013-10-04 18:54:31 -04:00
codeanticode
8a60de14d3 some simplifications to the shader code 2013-10-04 00:21:01 -04:00
Amnon Owed
7582b286a1 Fix for issue processing/processing#1994 2013-07-26 20:25:41 +02:00
Amnon Owed
2ce80c3f67 Adding set(boolean) methods + fix w in set(int) method 2013-07-26 12:57:14 +02:00
codeanticode
8a1d1175ff fixes issue #1994 2013-08-14 14:11:19 -04:00
codeanticode
62d7076a59 Fixing several problems with the handling of offsecreen surfaces 2013-05-27 13:01:29 -04:00
codeanticode
113883293a clean up code in PShader 2013-05-18 20:14:16 -04:00
codeanticode
7c82286fe8 Fixes issue #1771 2013-05-18 19:45:34 -04:00
codeanticode
2f2f2454e6 renamed release() as dispose() in all GL classes for consistency with
PGraphics.dispose()
2013-04-24 16:02:04 -04:00
codeanticode
1831d33183 Made PGL object static, removed references to parent and renderer in
Texture and FrameBuffer object, fixed PGraphicsOpenGL.dispose()
2013-04-21 09:33:17 -04:00
codeanticode
28d6ab78ee fixed null pointer exception in PShader 2013-01-16 21:39:58 +00:00
codeanticode
ac8a2a98a3 Removed PGL.Context subclass 2013-01-16 16:02:18 +00:00
codeanticode
37610b558f sync java and android 2012-12-16 18:14:33 +00:00
codeanticode
412397b845 Moving to direct buffers in GL renderer 2012-12-09 16:34:42 +00:00
Casey Reas
f594ff3746 Reference edits for 2.0, text corrections 2012-11-20 21:40:43 +00:00