Commit Graph

176 Commits

Author SHA1 Message Date
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
217b63b5f6 moved load shader functions to PGL 2013-10-20 20:04:34 -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
Benjamin Maus
ec89911766 Added STENCIL_TEST -> GL.STENCIL_TEST field to PGL/PJOGL 2013-10-06 10:52:00 +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
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
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
764616c9e1 starting the refactoring of PGL 2013-09-08 14:07:47 -04:00
codeanticode
4eb844598e added missing TEXTURE_WRAP_R constant to PGL 2013-09-02 18:10:59 -04:00
Ben Fry
424894e9e2 preparing release 2013-08-23 09:43:36 -04:00
codeanticode
b20e667256 set viewport in PGL.drawTexture(), fixes #1869 2013-08-20 11:42:30 -04:00
codeanticode
3ab4e273d5 removed the glFinish hack to handle #1714, as it seems that JOGL 2.0.2
solved the issue.
2013-08-19 16:22:48 -04:00
codeanticode
b850b53427 revised color conversion methods 2013-08-19 15:46:15 -04:00
Ben Fry
04e7cd6d41 add warnings to javadoc about api issues 2013-08-14 14:33:03 -04:00
codeanticode
2bd18fbef1 added call to canvas.setFocusTraversalKeysEnabled() in initSurface() to
make sure that the TAB key is detected (issue #1967)
2013-08-14 12:52:05 -04:00
codeanticode
34a7c881dd KeyEvent.TYPE is back 2013-08-14 11:48:10 -04:00
codeanticode
79ac3d2869 Replaced getWheelRotation() with getRotation() 2013-08-14 11:36:17 -04:00
codeanticode
48d654153f make the drawTexture() functions in PGL public, remove them from
PGraphicsOpenGL
2013-07-13 19:29:56 +00:00
codeanticode
137d86b835 note for the keytyped event in NEWT 2013-07-08 09:49:43 -04:00
codeanticode
c03d415cc0 updated to JOGL RC12 2013-07-02 11:56:39 -04:00
codeanticode
559d9a3b97 beginPixelsOp/endPixelsOp are probably not needed when reading a depth
or stencil buffer in PGL.readPixels()
2013-06-23 21:33:47 -04:00
codeanticode
4b0f0b2922 Some notes 2013-06-03 15:31:57 -04:00
codeanticode
5e8f7eae65 removed debug printouts 2013-06-03 15:07:31 -04:00
codeanticode
dd298b67cd Added requestFocusInWindow to NEWT as well 2013-06-03 14:58:24 -04:00
Ben Fry
1cf486de50 attempting other focus solutions 2013-06-03 14:44:27 -04:00
codeanticode
0f35afcb27 added requestFocus() to PGraphicsOpenGL, PGL 2013-06-03 13:44:22 -04:00
codeanticode
693004e798 never skip execution of listener's display(), it affects focus (?) 2013-06-03 00:52:01 -04:00
codeanticode
e25eb50c89 half of the target fps to use glFinish() seems better 2013-06-02 15:38:57 -04:00
codeanticode
d089ccbfd7 removed debug printlns 2013-06-02 15:17:16 -04:00
codeanticode
d5085d3254 better detection of number of samples 2013-06-02 15:03:06 -04:00
andres
fefaaf4f62 working on a fix for issue #1648 2013-06-02 13:55:09 -04:00
codeanticode
1bb36b1db1 some code cleanup of the recent changes 2013-06-02 11:18:10 -04:00
codeanticode
f9741dd1e2 renamed front tex flag 2013-06-02 03:33:03 -04:00
codeanticode
66d040df15 create separate front and back textures only when calling to
syncBackTexture and the front texture is being used.
2013-06-02 03:32:12 -04:00
codeanticode
b4720178aa simplified font/back texture wrap logic 2013-06-02 02:59:43 -04:00
codeanticode
53b83da595 Renamed bind/unbind BackTexture to FrontTexture 2013-06-02 02:38:40 -04:00
codeanticode
f18cffa09c Added version of PGL.initSurface() that allows to set requested caps and
shared context
2013-06-02 01:37:42 -04:00
codeanticode
f7b6e85f7c request focus in initSurface(), fixes #1700 2013-06-01 17:54:03 -04:00
codeanticode
629aa54fd0 fixed needFBOLayer() 2013-06-01 09:47:58 -04:00
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