Commit Graph

131 Commits

Author SHA1 Message Date
codeanticode
d51819d5ef Finished implementing shape mode text. 2013-05-28 22:58:47 -04:00
codeanticode
a7bbd37840 Added the GL constants to query compressed texture formats 2013-05-28 16:37:22 -04:00
codeanticode
be83796795 removed PGL.update(), and updatePrimary, updateOffscreen() in
PGraphicsOpenGL.
2013-05-28 14:44:22 -04:00
codeanticode
93ee78c600 keeping track of bound textures on all units 2013-05-28 14:17:23 -04:00
codeanticode
751d76db1c Use AWT on Linux 2013-05-28 11:38:23 -04:00
codeanticode
c589c2d459 PGL.readPixels() calls beginPixelsOp/endPixelsOp to properly set the
framebuffers for reading.
2013-05-27 23:31:42 -04:00
codeanticode
bfec690a28 removed some commented code 2013-05-27 18:26:30 -04:00
codeanticode
52dc0874af Some reworking of the offscreen logic, in order to reduce resource
utilization.
2013-05-27 18:08:02 -04:00
codeanticode
62d7076a59 Fixing several problems with the handling of offsecreen surfaces 2013-05-27 13:01:29 -04:00
codeanticode
482c8ea2e9 Improved the logic that sets the size of the font textures 2013-05-23 19:10:23 -04:00
codeanticode
8a0fc976b7 Formatting, fixing some implementations in PGL 2013-05-23 16:52:14 -04:00
codeanticode
566fd7e539 Added missing GLES 2.0 functions and constants to PGL interface 2013-05-23 11:46:08 -04:00
codeanticode
dea8e9dd16 Smaller displacement for lines (issue #1790) 2013-05-22 11:04:30 -04:00
codeanticode
2ed2a3c199 takes care of log messages of size = 0 2013-05-18 08:54:02 -04:00
codeanticode
ce7e4a36d0 Fixes fps cap (issue #1742) 2013-05-07 12:07:12 -04:00
codeanticode
b3561b1dbb calling glFinish() only if the current framerate falls below 50% of the
target
2013-05-06 12:42:58 -04:00
codeanticode
a535ed855c Using glFinish() instead of glFlush() at PGL.endDraw() 2013-05-04 23:43:39 -04:00
andres
4700330a1f tweaking GLSL and FBO checks 2013-05-04 19:00:38 -04:00
codeanticode
4ca816d9d0 Updated JOGL to 2.0-b982 build 2013-05-04 17:30:57 -04:00
Ben Fry
ce298ef00b working out issues with mouse wheel (#1461) 2013-04-30 22:31:34 -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
Xerxes Rånby
9b3d6e73df Validate PApplet AWT Container after add of OpenGL canvas.
This fix a long startup delay before OpenGL init
that may happen if the OpenGL canvas stay non-visible.

Signed-off-by: Xerxes Rånby <xerxes@zafena.se>
2013-03-30 23:28:36 +01:00
Xerxes Rånby
6ed4be1f16 Fix PGLListener init extension checks to pass on OpenGL ES 2.
Signed-off-by: Xerxes Rånby <xerxes@zafena.se>
2013-03-30 22:42:39 +01:00
Xerxes Rånby
93e5e8da2d getChosenGLCapabilities may return null before GLListener init.
Store capabilities at a safe location inside PGLListener init.

Signed-off-by: Xerxes Rånby <xerxes@zafena.se>
2013-03-30 21:52:02 +01:00
codeanticode
d3d453d4e9 canDraw() in PApplet to better control GL draw requests 2013-02-23 16:45:42 -05:00
codeanticode
e1e6a19b3a Don't remove canvas from parent PApplet, fix #1648 2013-02-23 13:57:16 -05:00
codeanticode
ed0db3e4be check number of max number of samples in addition to availability of
multisampling extension to make sure that no MSAA renderbuffer is
created, fixes #1644
2013-02-21 20:46:29 -05:00
codeanticode
3005f33ea3 delete GL resources only when the Gl thread is current. Fixes #12 2013-02-20 16:14:31 -05:00
codeanticode
2432a9fed3 Added manual GLProfile shutdown to make sure that no JOGL threads are
left running.
2013-02-20 12:40:06 -05:00
codeanticode
f861e3ee64 adding separate toolkit/events to hack around the erratic mouse behavior
on OS X, fixes #1626
2013-02-18 19:17:11 -05:00
codeanticode
199041e9c7 removed animator code altogether. 2013-02-18 19:05:51 -05:00
codeanticode
63b46e96fe disabling animator 2013-02-18 18:52:54 -05:00
codeanticode
3011b0a4c5 testing event handling through AWT when toolkit is NEWT 2013-02-18 18:42:34 -05:00
codeanticode
5f95bc3908 ported last changes to android, fixed indexing bug 2013-02-18 12:26:07 -05:00
codeanticode
dc23eb6f7f don't need to copy vertex array to buffers when using indirect buffers 2013-02-18 12:05:47 -05:00
codeanticode
e6989c6be0 Fixes #1498 2013-02-17 14:35:15 -05:00
codeanticode
5c01de03ac fixed issue with transparency and PShader filters 2013-02-17 09:54:56 -05:00
codeanticode
a1f88f02b5 doesn't need to set hint[ENABLE_STROKE_PERSPECTIVE] to false, it is by
default
2013-02-13 10:20:28 -05:00
codeanticode
a4d7c1ee62 some additional comments regarding toolkits 2013-02-12 16:25:06 -05:00
codeanticode
c511aedf92 JOGL toolkit selection based on OS, currently AWT gives the best results
on Windows, and NEWT on OS X
2013-02-12 16:07:17 -05:00
codeanticode
cdc838ab0c Removed some old code 2013-02-12 15:10:42 -05:00
codeanticode
8bbfd103c8 dont force screen fbo 2013-02-12 14:57:13 -05:00
codeanticode
940d09e580 Using PGraphics.backgroundColor where appropriate 2013-02-12 14:54:00 -05:00
codeanticode
d5b5f0c445 Fixes for graphical corruption issue (#1490) 2013-02-12 14:21:23 -05:00
codeanticode
42c5d7e8a7 Fixes focus gain/lost detection with OpenGL renderers, issue #1483:
http://code.google.com/p/processing/issues/detail?id=1483
2013-02-10 09:00:34 -05:00
codeanticode
47d0022400 Fix for mouseButton not recording correctly:
http://code.google.com/p/processing/issues/detail?id=1464
2013-02-05 18:38:38 -05:00
Your Name
463455daaa made PGLListener constructor public 2013-02-04 18:17:19 -05:00
codeanticode
175f95c6e5 Minor changes in JOGL and LWJGL PGL interface 2013-02-04 14:34:59 -05:00