mirror of
https://github.com/processing/processing4.git
synced 2026-02-04 06:09:17 +01:00
Commented out GL debugging messages
This commit is contained in:
@@ -149,7 +149,7 @@ public class FrameBuffer implements PConstants {
|
||||
@Override
|
||||
protected void finalize() throws Throwable {
|
||||
try {
|
||||
PApplet.println("finalize FBO");
|
||||
// PApplet.println("finalize FBO");
|
||||
if (!screenFb) {
|
||||
if (glFbo != 0) {
|
||||
PGraphicsOpenGL.finalizeFrameBufferObject(glFbo, context);
|
||||
|
||||
@@ -667,7 +667,7 @@ public class PGraphicsOpenGL extends PGraphics {
|
||||
@Override
|
||||
protected void finalize() throws Throwable {
|
||||
try {
|
||||
PApplet.println("finalize surface");
|
||||
// PApplet.println("finalize surface");
|
||||
|
||||
deletePolyBuffers();
|
||||
deleteLineBuffers();
|
||||
@@ -797,7 +797,7 @@ public class PGraphicsOpenGL extends PGraphics {
|
||||
for (GLResource res : finalized) {
|
||||
glTextureObjects.remove(res);
|
||||
}
|
||||
PApplet.println("Deleted " + finalized.size() + " texture objects, " + glTextureObjects.size() + " remaining");
|
||||
// PApplet.println("Deleted " + finalized.size() + " texture objects, " + glTextureObjects.size() + " remaining");
|
||||
}
|
||||
|
||||
protected static void removeTextureObject(int id, int context) {
|
||||
@@ -929,7 +929,7 @@ public class PGraphicsOpenGL extends PGraphics {
|
||||
for (GLResource res : finalized) {
|
||||
glFrameBuffers.remove(res);
|
||||
}
|
||||
PApplet.println("Deleted " + finalized.size() + " framebuffer objects, " + glFrameBuffers.size() + " remaining");
|
||||
// PApplet.println("Deleted " + finalized.size() + " framebuffer objects, " + glFrameBuffers.size() + " remaining");
|
||||
}
|
||||
|
||||
protected static void removeFrameBufferObject(int id, int context) {
|
||||
@@ -994,7 +994,7 @@ public class PGraphicsOpenGL extends PGraphics {
|
||||
for (GLResource res : finalized) {
|
||||
glRenderBuffers.remove(res);
|
||||
}
|
||||
PApplet.println("Deleted " + finalized.size() + " renderbuffer objects, " + glRenderBuffers.size() + " remaining");
|
||||
// PApplet.println("Deleted " + finalized.size() + " renderbuffer objects, " + glRenderBuffers.size() + " remaining");
|
||||
}
|
||||
|
||||
protected static void removeRenderBufferObject(int id, int context) {
|
||||
|
||||
@@ -153,7 +153,7 @@ public class Texture implements PConstants {
|
||||
@Override
|
||||
protected void finalize() throws Throwable {
|
||||
try {
|
||||
PApplet.println("finalize texture");
|
||||
// PApplet.println("finalize texture");
|
||||
if (glName != 0) {
|
||||
PGraphicsOpenGL.finalizeTextureObject(glName, context);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user