Commit Graph

54 Commits

Author SHA1 Message Date
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
codeanticode
d4f6856d85 new arg in drawTexture() allows to set pixel factor, which sometimes
needs to be 1 even in HDPI
2015-08-12 08:47:44 -04:00
codeanticode
48e136bb79 implementing new gl resource disposal method based on WeakReferences 2015-06-23 16:49:14 -04:00
codeanticode
e1efbea925 use texture point sampling when user requests noSmooth() 2015-06-01 12:50:18 -04:00
codeanticode
8aa9a31149 simpler mipmap, sampling settimg logic 2015-06-01 00:21:50 -04:00
codeanticode
aed0224154 some cleaning up, handle edges 2015-05-30 13:45:40 -04:00
codeanticode
d22eee76fd draw label texture 2015-01-29 00:49:06 -05:00
codeanticode
c7c99b80a0 fixes loadPixels() regression in opengl renderer 2014-05-05 14:33:22 -04:00
codeanticode
34a3ed1852 take care of #2465 2014-04-22 16:53:17 -04:00
codeanticode
7c23d482b7 some cleaner logic to allow for #2424, which should also work when video
buffers start accumulating in the cache on slower machines.
2014-04-06 10:07:54 -04:00
codeanticode
c7c20f0183 getBufferPixels() removes the buffers from the cache, fixes the #2424 2014-04-05 00:11:34 -04:00
codeanticode
a0e117981d fixes #2345, and also a bug in the coordinates passed to drawTexture()
in the Texture class.
2014-03-03 15:45:21 -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
a8a15d112e making pgl non-static member of PGraphicsOpenGL 2014-01-19 01:56:55 -05:00
codeanticode
cf8e03ff70 fix #2202 2014-01-16 18:04:15 -05:00
codeanticode
ce5ead73ee fix #1900 2014-01-05 15:36:07 -05: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
8888372cbe some additional logic to keep the use of memory in Texture low 2013-09-03 16:24:00 -04:00
codeanticode
659be8ed8d Texture releases auxiliary arrays/buffers when the free memory is low,
this should help in situations like #1975
2013-09-03 15:57:45 -04:00
codeanticode
b20e667256 set viewport in PGL.drawTexture(), fixes #1869 2013-08-20 11:42:30 -04:00
codeanticode
b850b53427 revised color conversion methods 2013-08-19 15:46:15 -04:00
codeanticode
4c943edb97 removed some debug messages 2013-07-08 09:54:09 -04:00
codeanticode
155d00a4ad reimplemented pixel access in video library when using P2D/P3D 2013-07-02 11:27:33 -04:00
codeanticode
a3fabaf246 Use loaded flag to upate texture object, and image format when setting
pixels. Fixes #1830
2013-05-30 10:57:58 -04:00
codeanticode
6c4218a9bf setting viewport before anything else in beginDraw() 2013-05-27 14:57:59 -04:00
codeanticode
62d7076a59 Fixing several problems with the handling of offsecreen surfaces 2013-05-27 13:01:29 -04:00
codeanticode
8a514e355d Commented out GL debugging messages 2013-05-04 12:24:41 -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
80e74e0895 renamed some functions 2013-04-24 15:36:50 -04:00
codeanticode
f90bdf1417 Fix issue #1740 2013-04-23 19:14:28 -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
5c01de03ac fixed issue with transparency and PShader filters 2013-02-17 09:54:56 -05:00
codeanticode
ac8a2a98a3 Removed PGL.Context subclass 2013-01-16 16:02:18 +00:00
codeanticode
2791300413 changed visibility 2012-12-18 00:39:47 +00:00
codeanticode
37610b558f sync java and android 2012-12-16 18:14:33 +00:00
codeanticode
a23205d958 direct buffers for pixel and texture operations, added GL thread check 2012-12-12 17:42:27 +00:00
codeanticode
d58d71f969 start clean-up of surface handling (onscreen and offscreen) 2012-11-23 21:14:54 +00:00
codeanticode
54e2ff13fe support for anisotropic filtering 2012-11-20 22:05:21 +00:00
codeanticode
e02e3392c0 don't enable mipmapping if texture is the color buffer of a PGraphics 2012-11-19 16:54:11 +00:00
codeanticode
874bb174ed removed parameter cache, some tweaks to the Texture class 2012-09-02 21:51:02 +00:00
benfry
8ae1831c33 swap how image cache is handled, and use weak reference 2012-09-01 23:54:32 +00:00
codeanticode
754eb380db Added static context variable to PGL, in order to detect surface restarts. Fixed issue 1146 2012-09-01 21:34:21 +00:00
benfry
b61f3c26b6 add annotations for overrides... starting cleanup of shape 2012-09-01 09:26:38 +00:00
codeanticode
20410b4746 More code formatting 2012-08-31 16:18:25 +00:00
codeanticode
7e7f741976 added texture wrapping to the API 2012-08-14 21:17:27 +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
801a8f0579 recalculate mipmaps in Texture.setNative() 2012-08-08 18:10:43 +00:00
codeanticode
fa1dcabf69 Fix issue 1166 2012-08-07 21:49:32 +00:00