[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog gui/gui.cpp
From: |
Udo Giacomozzi |
Subject: |
[Gnash-commit] gnash ChangeLog gui/gui.cpp |
Date: |
Tue, 13 Feb 2007 09:27:33 +0000 |
CVSROOT: /cvsroot/gnash
Module name: gnash
Changes by: Udo Giacomozzi <udog> 07/02/13 09:27:33
Modified files:
. : ChangeLog
gui : gui.cpp
Log message:
gui/gui.cpp: Make full redraw on ENABLE_REGION_UPDATES_DEBUGGING
configurable
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.2334&r2=1.2335
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gui.cpp?cvsroot=gnash&r1=1.59&r2=1.60
Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/gnash/gnash/ChangeLog,v
retrieving revision 1.2334
retrieving revision 1.2335
diff -u -b -r1.2334 -r1.2335
--- ChangeLog 13 Feb 2007 07:21:03 -0000 1.2334
+++ ChangeLog 13 Feb 2007 09:27:33 -0000 1.2335
@@ -1,3 +1,8 @@
+2007-02-13 Udo Giacomozzi <address@hidden>
+
+ * gui/gui.cpp: Make full redraw on ENABLE_REGION_UPDATES_DEBUGGING
+ configurable
+
2007-02-13 Rob Savoye <address@hidden>
* extensions/fileio/Makefile.am, fileio.cpp, fileio.h, test.as:
Index: gui/gui.cpp
===================================================================
RCS file: /cvsroot/gnash/gnash/gui/gui.cpp,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -b -r1.59 -r1.60
--- gui/gui.cpp 31 Jan 2007 15:24:13 -0000 1.59
+++ gui/gui.cpp 13 Feb 2007 09:27:33 -0000 1.60
@@ -37,6 +37,14 @@
///
//#define ENABLE_REGION_UPDATES_DEBUGGING 1
+/// Define this if you want to debug the *detection* of region updates only.
+/// This will disable region updates for the backend (GUI+renderer) completely
+/// so that only the last region (red frame) will be visible. However, this
+/// slows down rendering as each frame is fully re-rendered. If you want to
+/// debug the GUI part, however (see if blitting the region works), then you
+/// probably won't define this.
+#define REGION_UPDATES_DEBUGGING_FULL_REDRAW 1
+
#ifdef ENABLE_REGION_UPDATES_DEBUGGING
// a runtime check would make the { x; } block conditionally executed
#define IF_DEBUG_REGION_UPDATES(x) { x; }
@@ -297,7 +305,7 @@
// or it may extend or shrink the bounds as it likes. So,
// by calling set_invalidated_bounds we have no guarantee
// that only this part of the stage is rendered again.
-#ifdef ENABLE_REGION_UPDATES_DEBUGGING
+#ifdef REGION_UPDATES_DEBUGGING_FULL_REDRAW
// redraw the full screen so that only the
// *new* invalidated region is visible
// (helps debugging)
- [Gnash-commit] gnash ChangeLog gui/gui.cpp,
Udo Giacomozzi <=