Gnash  0.8.11dev
Namespaces | Macros
gui.cpp File Reference
#include "gui.h"
#include <vector>
#include <algorithm>
#include "MovieClip.h"
#include "Renderer.h"
#include "sound_handler.h"
#include "movie_root.h"
#include "VM.h"
#include "DisplayObject.h"
#include "GnashEnums.h"
#include "RunResources.h"
#include "StreamProvider.h"
#include "ScreenShotter.h"
#include "Movie.h"

Namespaces

 gnash
 Anonymous namespace for callbacks, local functions, event handlers etc.
 

Macros

#define IF_DEBUG_REGION_UPDATES(...)   do { if (_showUpdatedRegions) { __VA_ARGS__; } } while(0);
 

Macro Definition Documentation

ยง IF_DEBUG_REGION_UPDATES

#define IF_DEBUG_REGION_UPDATES (   ...)    do { if (_showUpdatedRegions) { __VA_ARGS__; } } while(0);

Define this to make sure each frame is fully rendered from ground up even if no motion has been detected in the movie. 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.

Referenced by gnash::Gui::notify_key_event().