Commit Graph

267 Commits

Author SHA1 Message Date
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
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
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
Jonathan Feinberg
8de31e2b5d Clear the global PGL on dispose(). 2013-12-25 22:53:05 -05: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
c6ca72efbb removed ALREADY_DRAWING_ERROR and NO_BEGIN_DRAW_ERROR 2013-11-20 14:16:00 -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
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
codeanticode
0ff68bca2f add setters for boolean uniforms contributed by AmnonOwed, fixes #1991. 2013-10-24 23:58:45 -04:00
codeanticode
73d57f8d22 fixes #2162 2013-10-24 21:57:35 -04:00
codeanticode
e6b8c04607 allocate in setSize() 2013-10-24 15:25:50 -04:00
codeanticode
c60ba7e6d7 better handling of glsl code in different versions 2013-10-24 12:51:38 -04:00
codeanticode
1ce9c9d360 assuming npot texture support, auto mipmaps generation, etc, are part of
core gl profile when using gl3
2013-10-24 12:17:50 -04:00
codeanticode
7e1acf5710 automatic glsl 120 to 150 conversion partially working 2013-10-20 20:51:19 -04:00
codeanticode
1d7bd062b5 don't use vertex arrays anymore 2013-10-20 19:15:04 -04:00
codeanticode
930f6fd57e clean up shader get-type code 2013-10-20 17:20:20 -04:00
codeanticode
a9d26bebb4 removed line width and point size 2013-10-20 16:02:30 -04:00
codeanticode
bffa0820d0 merged pull requests from @allesblinkt (fixes #1880 and #2157) 2013-10-20 15:15:20 -04:00
codeanticode
39ab766b35 Merge branch 'pull-resize-fixes' of https://github.com/OffenesFELD/processing 2013-10-20 14:56:31 -04:00
Benjamin Maus
1bf0d435d6 Not degrading quality when calling smooth again.
This is especially crucial when quality is set using sketchQuality.
2013-10-20 14:49:21 +02:00
codeanticode
9b4060b6e9 removed some commented out code 2013-10-19 14:00:31 -04:00
codeanticode
f33ca59c5f removed shader inner-classes in PGraphicsOpenGL, now everything is in
PShader
2013-10-19 09:29:44 -04:00
codeanticode
30ce02d0ec reset curveVertexCount when tessellating a polygon PShape 2013-10-18 16:15:32 -04:00
codeanticode
321660f115 fix #2151 2013-10-18 15:45:31 -04:00
codeanticode
bb4da2575e removed some old code 2013-10-18 15:06:47 -04:00
codeanticode
ceb1396b72 using internal stroke arrays in line tessellation too 2013-10-18 14:59:47 -04:00
codeanticode
661f0746db properly separating fill and stroke poly/path tessellation 2013-10-18 14:17:34 -04:00
codeanticode
386a21ab56 some fixes to the path tessellation 2013-10-18 12:08:33 -04:00
codeanticode
31b9f385f5 finished implementing new path tessellation using vertex codes 2013-10-18 11:44:20 -04:00
codeanticode
3231d63fbd fixed handling of breaks 2013-10-17 18:55:24 -04:00
codeanticode
d0411d434d don't use breaks array in addPolygonEdges 2013-10-17 16:37:19 -04:00
codeanticode
2636366a18 removed unnecessary references to curveVertexCount 2013-10-16 00:16:50 -04:00
codeanticode
62f07ec9ce a couple of tweaks 2013-10-16 00:13:51 -04:00
codeanticode
d7e2a65cc0 tessellatePolygon() should be done now 2013-10-15 23:56:48 -04:00
codeanticode
626bc8f70c removed first,last vertex and count from InGeometry, implementing vertex
codes
2013-10-15 23:41:42 -04:00
codeanticode
2acfefddf0 first load attributes for custom shaders 2013-10-07 19:14:33 -04:00
codeanticode
bb1c16c7fc some more tweaks to shader loading and selection 2013-10-07 18:48:19 -04:00