Commit Graph

257 Commits

Author SHA1 Message Date
codeanticode
dea8e9dd16 Smaller displacement for lines (issue #1790) 2013-05-22 11:04:30 -04:00
codeanticode
113883293a clean up code in PShader 2013-05-18 20:14:16 -04:00
codeanticode
7c82286fe8 Fixes issue #1771 2013-05-18 19:45:34 -04:00
codeanticode
8394c632fc more clear messages for incorrect shader type 2013-05-18 08:54:47 -04:00
codeanticode
2ed2a3c199 takes care of log messages of size = 0 2013-05-18 08:54:02 -04:00
codeanticode
2d3db38cb8 Address issue #1758 2013-05-18 06:49:54 -04:00
codeanticode
7a7b49af6b Fix issue #1760 2013-05-17 23:21:31 -04:00
codeanticode
8f32e1f5ab Fix issue #1761 2013-05-17 21:20:51 -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
codeanticode
1af0cc5c31 Fix issue #1737 2013-05-04 19:57:05 -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
codeanticode
8a514e355d Commented out GL debugging messages 2013-05-04 12:24:41 -04:00
Ben Fry
ce298ef00b working out issues with mouse wheel (#1461) 2013-04-30 22:31:34 -04:00
Ben Fry
c7702c9b61 more API cleanups for consistency 2013-04-28 14:17:29 -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
fd20e6da02 caps/joins always added in retained mode 2013-04-18 18:13:33 -04:00
codeanticode
72e3b8aaf3 Check for closing edges in tesselateEdges3D() 2013-04-18 16:01:06 -04:00
codeanticode
93876fb593 finished implementing the clamping checks 2013-04-17 18:22:01 -04:00
codeanticode
25de76426e clamp test for triangle fans 2013-04-17 17:49:58 -04:00
codeanticode
18ebfeff49 reworking logic for 2D clamping 2013-04-17 17:35:57 -04:00
codeanticode
7f9b71ddd0 Fixes issue #1732 2013-04-17 12:29:54 -04:00
codeanticode
b77bb4d9bc unclamp endpoints of 2D line segment if they became degenerate. 2013-04-13 13:14:29 -04:00
codeanticode
4f58e4ea00 more work in P2D to minimize blurriness issues 2013-04-12 19:15:27 -04:00
codeanticode
e18631cada clamping transformed coordinates to integers in 2D immediate mode 2013-04-11 18:34:56 -04:00
codeanticode
902fbeaae8 DISABLE_OPTIMIZED_STROKE hint only works in 3D 2013-04-10 18:37:27 -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
1eedcab149 Fix #1671 2013-03-25 09:27:37 -04:00
codeanticode
6ed2b23a9c Fixes issue #1659 2013-03-25 09:15:28 -04:00
codeanticode
cd33fb908e Fixes #1661 2013-02-25 17:13:38 -05: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
4db1ab3c89 stroke path uses color information, fixes #1196 2013-02-22 17:43:30 -05:00
codeanticode
4ff80b42ee Fixes #1641 2013-02-22 15:22:30 -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
8f52195715 changed visibility of some variables in FontTexture 2013-02-20 18:38:26 -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
39a8ac7a04 getVertexCount() updates tessellation if needed 2013-02-20 11:27:01 -05:00
codeanticode
af43a904b2 some indentation edits 2013-02-19 11:02:50 -05:00
codeanticode
0ef8058513 one more function rename 2013-02-19 10:59:03 -05:00
codeanticode
4329f97ef0 Simplifying shader class and file names 2013-02-19 10:57:02 -05:00
codeanticode
eef67d2c7c last name change in the shaders: endpoint to direction in line shader 2013-02-19 10:35:48 -05:00