Commit Graph

2303 Commits

Author SHA1 Message Date
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
Ben Fry
334965f764 Merge pull request #2236 from boubpopsyteam/patch-6
Make sure alpha param is used with color(gray, alpha) and 'g' is null
2014-01-21 16:44:12 -08:00
Ben Fry
70c90e5c9c Merge branch 'master' of github.com:processing/processing 2014-01-21 18:26:36 -05:00
Ben Fry
fd57fac8b6 added print() method 2014-01-21 18:26:28 -05:00
Ben Fry
2c02301f9a attempt to fix text issues, other notes 2014-01-21 18:25:52 -05:00
Ben Fry
f1fa2f3a03 add special case for null in println(), remove println() from dataPath() 2014-01-21 18:21:46 -05:00
codeanticode
66118b56ef added checks for null framebuffers (useful to allow for "dummy"
renderers such as GLW)
2014-01-21 16:29:37 -05:00
codeanticode
5628631f95 added public constructors to the NEWT event listeners in PJOGL 2014-01-21 15:46:10 -05:00
codeanticode
c27d1bf72c added JOGL.getGL() utility function, restore original USE_JOGL_FBOLAYER
value (true for OSX)
2014-01-21 15:36:12 -05:00
codeanticode
adb0f431a8 making sure that backing textures are reset when surface is resized 2014-01-21 11:23:03 -05:00
codeanticode
a0731dd3d7 testing/debugging, context sharing 2014-01-21 01:02:08 -05:00
codeanticode
5d713058b8 texture shaders in PGL are initialized only in the primary interface. 2014-01-20 17:10:18 -05:00
codeanticode
9110cebd0d more refactoring/testing with non-static fields in PGL 2014-01-20 16:48:19 -05:00
codeanticode
9aef0a1426 default shaders are not static, but only initialized in the primary
renderer
2014-01-20 12:40:45 -05:00
codeanticode
f2c730b58f continues the removal of static references 2014-01-20 12:14:35 -05:00
codeanticode
a8a15d112e making pgl non-static member of PGraphicsOpenGL 2014-01-19 01:56:55 -05:00
codeanticode
376bbb1938 removed commented out method 2014-01-16 18:17:40 -05:00
codeanticode
cf8e03ff70 fix #2202 2014-01-16 18:04:15 -05:00
codeanticode
5be1f11145 call setLoaded() in PImage.loadPixels() 2014-01-16 16:21:10 -05:00
codeanticode
1cd4c57ec8 don't set pgl to null for offscreen surfaces. 2014-01-06 13:43:12 -05:00
codeanticode
df0efa540f fix #2193 2014-01-05 16:39:29 -05:00
codeanticode
2193ef87a4 some commented code to handle #2296 2014-01-05 16:01:31 -05:00
codeanticode
ce5ead73ee fix #1900 2014-01-05 15:36:07 -05:00
codeanticode
ac3248ca33 fix #2171 2014-01-05 15:20:58 -05:00