From 79fccd5ea04aca8e4e13c5798bde29f2e158d8d4 Mon Sep 17 00:00:00 2001 From: benfry Date: Mon, 20 Dec 2004 02:18:51 +0000 Subject: [PATCH] texture drawing fixes and fix for noLoop() in gl mode --- core/PApplet.java | 4 ++-- core/todo.txt | 12 ++++++++---- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/core/PApplet.java b/core/PApplet.java index cefab911d..03be9bc84 100644 --- a/core/PApplet.java +++ b/core/PApplet.java @@ -4112,10 +4112,10 @@ public class PApplet extends Applet applet.args = new String[argc]; System.arraycopy(args, argc, applet.args, 0, argc); - System.out.println("calling applet.init"); + //System.out.println("calling applet.init"); applet.init(); //applet.start(); - System.out.println("done calling applet.init"); + //System.out.println("done calling applet.init"); Dimension screen = Toolkit.getDefaultToolkit().getScreenSize(); diff --git a/core/todo.txt b/core/todo.txt index fabcb77c9..55968ef4e 100644 --- a/core/todo.txt +++ b/core/todo.txt @@ -15,8 +15,16 @@ opengl X why is the thing hanging until 'stop' is hit? X what happens when stop is hit that sets it free? X (at what point does it start working properly?) +X cache needs to also make things a power of 2 +X if images are already a power of 2, then needn't re-alloc +X cacheIndex needs to be set to -1 when the image is modified +X or maybe have a modified() function? X debug why certain spots are having errors (see 'problem here' notes) X INVALID_OPERATION after drawing lines for cube +X fix noLoop bug +X remove errors when drawing textures + +_ fix the usual nasty texture bug found in every acu app _ resolve ARGB versus RGBA versus just A issues for fonts _ make sure that current scenario works identically on mac _ if so, just switch the image code to expect alpha in the high bits @@ -28,10 +36,6 @@ _ why is the first one failing? / reverse y coordinates _ minimum texture size may be 64x64 _ might need to enforce it as a minimum -X cache needs to also make things a power of 2 -X if images are already a power of 2, then needn't re-alloc -X cacheIndex needs to be set to -1 when the image is modified -X or maybe have a modified() function? _ implement size(0, 0) -> just doesn't bother doing a frame.show(); _ implement fullscreen().. this takes over the screen as best it can