Commit Graph

656 Commits

Author SHA1 Message Date
benfry
6b522f31ce finish removing OpenGL as a separate library 2012-07-20 20:29:02 +00:00
benfry
b4587fdfbc moving the location of the OpenGL library JARs 2012-07-20 20:27:44 +00:00
benfry
40ecd562e3 moving the OpenGL examples to the core 2012-07-20 20:24:58 +00:00
benfry
b30328bb66 moving opengl into the core 2012-07-20 20:18:20 +00:00
codeanticode
083ab11af9 fixed texture unbind error 2012-07-20 18:00:32 +00:00
codeanticode
92cdd9221f Added BlurFilter and EdgeFilter examples 2012-07-20 17:40:33 +00:00
codeanticode
6aab3afd58 add filter(PShader) function 2012-07-20 17:07:29 +00:00
codeanticode
629e7a6dbb Some cleanup in Texture, PGraphicsOpenGL.loadTexture() works in all situations and faster in non-FBO-backed surfaces. 2012-07-19 17:37:04 +00:00
codeanticode
309d95b0cb PShader updates 2012-07-18 20:27:29 +00:00
codeanticode
87b57b9258 handling of lack of packed depth+stencil extension for screen FBO 2012-07-16 20:24:11 +00:00
codeanticode
ea77f538c4 renamed setUniform() to set() 2012-07-16 19:29:35 +00:00
codeanticode
9c4195c3e4 completed new implementation of image cache handling 2012-07-16 19:12:13 +00:00
codeanticode
0562ca3420 flush before changing projection matrix, fixed load pixels in GL 2012-07-16 06:30:06 +00:00
codeanticode
03beee8abc Added new shader examples 2012-07-12 03:14:36 +00:00
codeanticode
209de03dbb Updates in the PShader API 2012-07-12 03:00:57 +00:00
codeanticode
dfaeaf7dcb disabling use of multisampled FBO when numSamples == 1 2012-07-11 09:07:04 +00:00
codeanticode
b1630310f0 temporary workaround to handle very long beveled edge paths, prints warning. 2012-07-11 08:30:12 +00:00
codeanticode
37e387c02a Simpler code to add stroke edges to a polygon shape 2012-07-11 05:09:16 +00:00
codeanticode
e539355f2b Disable blend when rendering color buffer to screen 2012-07-11 01:18:54 +00:00
codeanticode
d8cf549ddc P2D uses simpler orthographic projection (z between -1 and +1) and affine camera transformation 2012-07-07 23:30:23 +00:00
codeanticode
f28d246362 Added missing offset in partitionRawIndices() 2012-07-05 20:04:38 +00:00
codeanticode
370fbd6637 Making sure that all shaders can access the projection, modelview and projmodelview matrices 2012-07-03 23:08:56 +00:00
codeanticode
d41fd94172 Shader loading doesn't recreate shader objects when context changes, that's taken care by the init() method in PShader 2012-07-03 18:26:59 +00:00
codeanticode
a671e5eb38 Restoring clip configuration when drawing starts/ends. 2012-06-29 18:52:42 +00:00
codeanticode
47b597889b AWT again... 2012-06-29 15:07:04 +00:00
codeanticode
65c8c60fe6 cleaning up PShader methods some more 2012-06-29 15:04:48 +00:00
codeanticode
b84e2cc3f0 testing NEWT 2012-06-29 13:25:19 +00:00
codeanticode
ba57434e3c simpler API for setting uniform values in PShader 2012-06-28 21:14:22 +00:00
codeanticode
fed3562cc7 added missing glUniformNi functions to PGL 2012-06-28 17:28:13 +00:00
codeanticode
9ccaa0d9f5 don't call releaseScreenFBO 2012-06-25 21:10:51 +00:00
codeanticode
c18cfb233b using screen FBO also when quality < 2 2012-06-25 20:25:40 +00:00
codeanticode
d048ff78d1 Renamed the smooth hack variables 2012-06-25 19:11:00 +00:00
codeanticode
d6984326d0 calling showDepthWarningXYZ in translate(tx, ty, tz) in PGraphics2D 2012-06-25 18:56:49 +00:00
codeanticode
4c23a2576f blit multiFBO into colorFBO in bindPrimaryColorFBO(), can use smooth hack in any version of OSX, as it also solves screen flickering when calling glReadPixels 2012-06-25 18:55:29 +00:00
codeanticode
016047d337 disable depth test in PGL.drawTexture method 2012-06-25 15:55:53 +00:00
codeanticode
9ad3fdd351 added check for continuous use of smooth/noSmooth 2012-06-25 14:02:10 +00:00
codeanticode
583a40bfba some cleanup of color conversion methods in PGL 2012-06-23 19:57:00 +00:00
codeanticode
8d3c01495a resize pixels in setSize() if they are being used 2012-06-22 18:30:39 +00:00
codeanticode
c9980a27c2 try-catch block for glBlendEquation handles any exception 2012-06-22 16:30:54 +00:00
codeanticode
4571c14256 added flush to beginPGL() 2012-06-22 15:16:54 +00:00
codeanticode
7e39482aff handle frame resize when using the Lion hack for antialiasing 2012-06-21 22:30:40 +00:00
codeanticode
ef2181839d Removed references to P3D in warning, error messages 2012-06-21 20:52:09 +00:00
codeanticode
1710965a7c adjusted size initialization in font textures 2012-06-21 20:37:05 +00:00
codeanticode
56b4b47236 clear buffers in screen FBO, some minor tweaks 2012-06-21 20:15:17 +00:00
codeanticode
bdacb6cfae framebuffer stack made into an array as well 2012-06-21 19:30:20 +00:00
codeanticode
cddc162e3c switching back to float arrays to store the matrix stacks 2012-06-21 19:18:21 +00:00
codeanticode
9ca0a4aa08 re-enabling clearing of alpha channel for offscreen surfaces 2012-06-21 18:13:19 +00:00
codeanticode
548e795cdf some minor fixes in the handling of FBOs 2012-06-21 16:51:32 +00:00
codeanticode
80ac5f856c Recalculate projmodelview matrix at the end of flush. 2012-06-21 14:17:36 +00:00
codeanticode
baecfffc7e moving alpha-clear up 2012-06-21 13:58:59 +00:00