Commit Graph

36 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
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
f2c730b58f continues the removal of static references 2014-01-20 12:14:35 -05:00
codeanticode
376bbb1938 removed commented out method 2014-01-16 18:17:40 -05:00
codeanticode
c18ddffdc0 getCanvas() in PGL so libraries can access the native surface 2013-11-20 18:57:18 -05:00
codeanticode
e1f4b82d3c minor correction in the name of the texture sampler 2013-10-26 22:06:25 -04:00
codeanticode
b372046e44 comments for issues #1844 and #2125, added some warnings, fixed #2034 2013-10-25 12:38:33 -04: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
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
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
fef19dd366 don't auto-convert shader code if PROFILE is 2 2013-10-22 11:54:53 -04:00
codeanticode
7e1acf5710 automatic glsl 120 to 150 conversion partially working 2013-10-20 20:51:19 -04:00
codeanticode
cd07991a34 some more reworking of shader initialization 2013-10-20 19:53:27 -04:00
codeanticode
11fd3c0a98 getting GL3 profile to work properly 2013-10-20 19:33:39 -04:00
codeanticode
1d7bd062b5 don't use vertex arrays anymore 2013-10-20 19:15:04 -04:00
codeanticode
a56c5effef added GLSL 150 versions of the texture drawing shaders 2013-10-20 18:11:49 -04:00
codeanticode
240f33ad04 adding profile setting 2013-10-20 16:00:46 -04:00
codeanticode
39ab766b35 Merge branch 'pull-resize-fixes' of https://github.com/OffenesFELD/processing 2013-10-20 14:56:31 -04:00
codeanticode
26da73d422 some edits, additional null checks in PJOGL 2013-10-19 20:20:27 -04:00
codeanticode
6c1b4ee095 updated to JOGL 2.1.1, fix #2136 2013-10-19 14:15:06 -04:00
Benjamin Maus
ec89911766 Added STENCIL_TEST -> GL.STENCIL_TEST field to PGL/PJOGL 2013-10-06 10:52:00 +02:00
Benjamin Maus
3bf0166518 Not getting gl context on reshape. 2013-10-06 10:51:14 +02:00
Benjamin Maus
047d771fb7 Added reinitSurface() method to PGL/PJOGL backend. Does not destroy the
active canvas and keeps the current capabilities, but triggers a reset of
the allocated FBOs.
2013-10-05 18:35:55 +02:00
codeanticode
312fb99508 sets the resized native font in PGraphicsOpenGL, fix #2109 2013-10-03 17:03:14 -04:00
codeanticode
994be867e9 get gl objects also in init() and reshape() events 2013-10-03 16:02:36 -04:00
codeanticode
2f8af18ba6 some changes for android compatibility 2013-09-19 11:35:03 -04:00
codeanticode
d6ce4aa7b9 made canDraw() abstract in PGL 2013-09-19 10:05:13 -04:00
codeanticode
fab8555160 check for null canvas 2013-09-13 19:12:39 -04:00
codeanticode
ea82da68de added registerListeners() method to PGL 2013-09-13 19:04:55 -04:00
codeanticode
51947ae116 done with the PGL refactoring 2013-09-13 15:02:36 -04:00
codeanticode
d334a8a8f9 continue with the refactoring of PGL 2013-09-12 19:12:53 -04:00
codeanticode
53a72e4318 Added PJOGL class 2013-09-10 15:05:48 -04:00