Commit Graph

2776 Commits

Author SHA1 Message Date
codeanticode
115b579bb1 removed a couple of unneeded removeListeners() calls in PJOGL 2014-04-10 11:20:00 -04:00
Scott Murray
a6c01affe9 Added related links to lerp() and PVector.lerp() 2014-04-08 08:54:57 -07:00
codeanticode
7c23d482b7 some cleaner logic to allow for #2424, which should also work when video
buffers start accumulating in the cache on slower machines.
2014-04-06 10:07:54 -04:00
codeanticode
c7c20f0183 getBufferPixels() removes the buffers from the cache, fixes the #2424 2014-04-05 00:11:34 -04:00
Ben Fry
1e63889060 Merge pull request #2425 from jdf/master
Fix NPE in PDE, affecting color picker and other Tools.
2014-04-03 16:52:08 -04:00
codeanticode
a9023be06a don't delete any gl resources in dispose 2014-04-03 11:59:41 -04:00
Jonathan Feinberg
5ffe70516b Fix NPE in PDE, affecting color picker and other Tools. 2014-04-03 10:46:43 -04:00
Jonathan Feinberg
f493e04687 Permit Mode developers to run their Modes in Eclipse (or however they like) during development. 2014-04-02 16:09:04 -04:00
Jonathan Feinberg
f1a8639e1a Merge remote-tracking branch 'upstream/master' 2014-04-01 15:30:10 -04:00
Jonathan Feinberg
8e6dc95ef0 Make it possible for PApplet subclasses to override exitActual. 2014-04-01 15:28:47 -04:00
codeanticode
dcf344eab5 check that backFBO and frontFBO are not null 2014-04-01 15:28:46 -04:00
codeanticode
ce8eddff15 request draw in PGraphicsOpenGL only if the parent PApplet can draw,
solves #2416
2014-04-01 14:55:20 -04:00
codeanticode
d8dacf8ede don't delete opengl resources in the PGraphicsOpenGL finalizer 2014-04-01 14:16:40 -04:00
codeanticode
cd8666ca2b removed GLProfile.shutdown() call, JOGL does it automatically 2014-04-01 11:33:27 -04:00
codeanticode
c5dca8b660 renamed bufferUnit to ppixelsUnit 2014-03-31 15:20:23 -04:00
Ben Fry
0d4d0eac91 Merge branch 'master' of github.com:processing/processing 2014-03-31 11:31:24 -04:00
Ben Fry
e073d0c583 wrong 'this' being passed into method invocation 2014-03-31 11:31:20 -04:00
codeanticode
8a203e93f9 renamed buffer uniform to ppixels, fix #2325 2014-03-31 09:40:53 -04:00
codeanticode
3acd891ef1 fix #2363 2014-03-30 21:20:17 -04:00
codeanticode
bc4d9b605c disable experimental depth sorting code for raw triangles, fix #2404 2014-03-30 16:02:34 -04:00
codeanticode
ec95cf257c TODO note 2014-03-12 18:56:33 -04:00
codeanticode
8f4021afc7 get the current FBO from the primary surface, fixes #2391 2014-03-12 18:41:33 -04:00
codeanticode
b409759e9c handle framebuffer set to 0 2014-03-12 18:24:42 -04:00
codeanticode
61334d46eb corrected ortho() params in P2D 2014-03-04 16:32:00 -05:00
codeanticode
7576859457 should take care of #1278 2014-03-04 15:22:44 -05:00
codeanticode
a0e117981d fixes #2345, and also a bug in the coordinates passed to drawTexture()
in the Texture class.
2014-03-03 15:45:21 -05:00
codeanticode
27d002c9de fixes #2375 2014-03-03 14:04:29 -05:00
Ben Fry
86139f848c misc changes/notes 2014-02-27 07:24:49 -08:00
Ben Fry
12bdaa21fe attempts to improve images 2014-02-09 11:02:51 -05:00
Ben Fry
434d8138cc remove a handful of warnings 2014-02-06 23:31:58 -05:00
Ben Fry
9803d7958a remove unused var to prevent warning 2014-02-06 22:33:14 -05:00
Ben Fry
206d489b3c check display size 2014-02-06 22:32:59 -05:00
Ben Fry
3fa176cc64 tweaks to improve text appearance 2014-02-06 22:05:20 -05:00
Ben Fry
719565eb30 Merge branch 'master' of github.com:processing/processing 2014-02-06 22:02:36 -05:00
Jordan Orelli
6f2b4ce9a9 fixes #2341 - inconsistent bounds checks
The core datastructure IntLost, FloatList, and StringList all have
unsafe .get methods that do not perform bounds checking. This is in
contrast to their .remove methods, which do perform bounds checking.
Prior to this patch, the following would print 0:

    IntList il = new IntList();
    println(il.get(5));

But if we tried to *remove* that element, we would get an
ArrayIndexOutOfBoundException:

    il.remove(5);

This patch causes calls to .get to throw exceptions instead of returning
0 (or null in the case of StringList) for uninitialized values.
2014-02-02 22:27:02 -05:00
Ben Fry
62a85815f6 call revalidate() with reflection to allow for 1.6 builds 2014-01-31 11:28:02 -05:00
George Bateman
c3e7042fe3 PGraphicsJava2D.java - textWidthImpl
* `textWidthImpl(char[],int,int)` can now use the default font.
* `textDescent()` and `textSize()` identify themselves correctly to `defaultFontOrDeath`.
2014-01-29 14:49:37 +00:00
codeanticode
1257292ea0 Merge branch 'master' of https://github.com/processing/processing.git 2014-01-27 09:49:53 -05:00
codeanticode
7f7da83272 disabled context sharing 2014-01-27 09:49:38 -05:00
Ben Fry
40170baa91 fix for indices not set properly with StringDict(Reader) 2014-01-26 17:29:38 -05:00
codeanticode
fd61142a1f fix #2296 2014-01-26 09:34:27 -05:00
codeanticode
35ae97f712 fix #1844 2014-01-26 09:27:12 -05:00
codeanticode
146364f046 fix #2207 2014-01-26 09:05:15 -05:00
codeanticode
f95461c575 add offset when calculating poly normals, fix #2314 2014-01-25 19:10:48 -05:00
Scott Murray
b48c661c21 Adding some related reference items, per processing/processing-web#336 2014-01-24 12:30:37 -08:00
codeanticode
b552b2ec24 don't need null check 2014-01-23 16:46:11 -05:00
codeanticode
26ca041f86 testing a couple of library methods to access the contents of the
offscreen FrameBuffers
2014-01-23 15:30:06 -05:00
codeanticode
aa2fe6ccf1 make sure to recreate texture rendering VBO when context changes, fix
#2322
2014-01-23 13:09:31 -05:00
AmnonOwed
645068ddf6 Ensure RGB pixels are fully opaque 2014-01-22 21:14:11 +01:00
codeanticode
bf88aab7ad fixed restart condition 2014-01-21 23:42:29 -05:00