Commit Graph

39 Commits

Author SHA1 Message Date
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
codeanticode
003ea07a51 id of bound texture is stored in client side (PGL) 2012-07-26 14:46:33 +00:00
codeanticode
61e13ecc07 binding/unbinding textures more carefully 2012-07-25 22:22:13 +00:00
codeanticode
87d07557dd Texture.bind()/unbind() call the gl functions irrespective of the value of the bound flag 2012-07-25 17:12:59 +00:00
benfry
b30328bb66 moving opengl into the core 2012-07-20 20:18:20 +00:00