fix PImage drawing regression

This commit is contained in:
benfry
2007-01-24 01:43:36 +00:00
parent 02b75f3aa0
commit 24d0c559c7
3 changed files with 38 additions and 5 deletions
@@ -746,7 +746,7 @@ public class PGraphicsJava2D extends PGraphics {
// source.pixels, 0, source.width);
WritableRaster raster = ((BufferedImage) image).getRaster();
raster.setDataElements(0, 0, source.width, source.height,
tintedPixels);
source.pixels);
}
} else if (source.format == ALPHA) {
+7 -2
View File
@@ -12,6 +12,10 @@ X ambientLight(r,g,b) was still ambientLight(r,g,r)
X http://dev.processing.org/bugs/show_bug.cgi?id=465
X fix from dave bollinger for the POSTERIZE filter
X http://dev.processing.org/bugs/show_bug.cgi?id=399
X fix PImage regression in 0124 and the cache crap
_ modelX/Y/Z still not working
_ http://dev.processing.org/bugs/show_bug.cgi?id=486
_ no disk in drive error
_ was this something that changed with the java updates?
@@ -37,8 +41,6 @@ _ invaluable for tracking down memory leaks
_ an offscreen JAVA2D graphics needs loadPixels() before being drawn
_ i.e. offscreen JAVA2D, then image() with OPENGL renderer as main
_ P3D smooshes the top row of pixels when drawing text (or images)
_ http://dev.processing.org/bugs/show_bug.cgi?id=466
_ in opengl mode, use its tesselator
_ because the vertex calls can just come right back to regular vertex calls
@@ -460,9 +462,12 @@ _ maybe a hack where a new menubar is added?
CORE / PFont and text()
_ P3D smooshes the top row of pixels when drawing text (or images)
_ http://dev.processing.org/bugs/show_bug.cgi?id=466
_ some fonts broken in java 1.5 on osx have changed again
_ http://dev.processing.org/bugs/show_bug.cgi?id=407
_ filed as bug #4769141 with apple
_ http://bugreport.apple.com/
_ appears that asking for the postscript name no longer works
o fix "create font" and associated font stuff to straighten it out
X was grabbing the wrong native font with ico sketch
+30 -2
View File
@@ -7,6 +7,32 @@ X otherwise ask the user to select a folder
X fix QTSession.open/close problem in Capture.list()
X http://dev.processing.org/bugs/show_bug.cgi?id=472
_ add a timer("functionname", 45) method
_ this can be used to schedule something to happen at a specific time
_ or import the swing timer (for actionPerformed)
X look into javascript timers to see how they work
_ also add interval("functionname", 40)
_ and thread("functionname");
_ can draw() not be run on awt event thread?
_ look into opengl stuff for dealing with this
official instructions for removing winvdig
from http://www.videoscript.com/forum/viewtopic.php?t=21
First try to Uninstall WinVDIG from the Control Panel. Add/Remove Software.
If this does not work, or you wish to manually uninstall WinVDIG, try the following steps:
Remove VsVDIG.qtx (located in System32\QuickTime).
Remove VsDump.ax (located in System32).
Delete Program Files\WinVDIG
Restart you system
_ don't reload sketch on "save as"
_ this can result in loss of data
_ http://dev.processing.org/bugs/show_bug.cgi?id=433
_ put stdout/stderr into ~/Library/Logs
_ and have a .log extension so it can be browsed properly
_ 'code' folder being ignored on export to application
_ http://dev.processing.org/bugs/show_bug.cgi?id=469
@@ -416,6 +442,10 @@ _ http://dev.processing.org/bugs/show_bug.cgi?id=212
_ unspecified return type creates compile error
_ or maybe not? followup said maybe not
_ http://dev.processing.org/bugs/show_bug.cgi?id=379
_ Blah.class will confuse the preproc
_ http://dev.processing.org/bugs/show_bug.cgi?id=481
_ http://dev.processing.org/bugs/show_bug.cgi?id=492
_ http://dev.processing.org/bugs/show_bug.cgi?id=492
hacked for fix, needs real fix
_ NullPointerException on unterminated comment at end of code
@@ -670,8 +700,6 @@ _ only rebuild sketchbook on "save as" or "rename" of sketch
_ currently it's rebuilding whenever "save" called too
_ http://dev.processing.org/bugs/show_bug.cgi?id=357
_ even more of a problem becase set modified set true all the time
_ don't reload sketch on "save as"
_ http://dev.processing.org/bugs/show_bug.cgi?id=433
_ in rebuild sketch menu - disable subfolders working as libraries
_ if a sketch, don't allow subfolders
o or maybe just that libraries must be in the root?