From c01b1be5a0d9147183d21c67e06b32e61c8b059a Mon Sep 17 00:00:00 2001 From: shadow303 Date: Thu, 16 Oct 2003 22:21:19 +0000 Subject: [PATCH] Add visible region to layerdata git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5059 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/private/servers/app/LayerData.h | 2 ++ headers/private/servers/app/ServerConfig.h | 7 ++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/headers/private/servers/app/LayerData.h b/headers/private/servers/app/LayerData.h index 505fc77007..0e28799bff 100644 --- a/headers/private/servers/app/LayerData.h +++ b/headers/private/servers/app/LayerData.h @@ -54,6 +54,7 @@ public: prevState = NULL; clippPicture = NULL; clippInverse = false; + fVisibleRegion = NULL; } ~LayerData(void) { @@ -117,6 +118,7 @@ public: ServerPicture *clippPicture; bool clippInverse; + BRegion *fVisibleRegion; }; #endif diff --git a/headers/private/servers/app/ServerConfig.h b/headers/private/servers/app/ServerConfig.h index d5a1b6bcf8..140a61b93f 100644 --- a/headers/private/servers/app/ServerConfig.h +++ b/headers/private/servers/app/ServerConfig.h @@ -4,7 +4,7 @@ // This is defined to place the server in test mode, which modifies certain things like // system keyboard shortcuts. Note that it is possible, though senseless, to place it in // regular mode and still use a display driver which depends on the R5 app_server -#define TEST_MODE +//#define TEST_MODE // The ViewDriver is a BView/BWindow combination. Plenty of functionality, // but dog-slow. @@ -26,7 +26,8 @@ #define HWDRIVER 3 // Display driver to be used by the server. -#define DISPLAYDRIVER VIEWDRIVER +//#define DISPLAYDRIVER VIEWDRIVER +#define DISPLAYDRIVER HWDRIVER // Uncomment this if the DisplayDriver should only rely on drawing functions implemented // in software even though hardware-accelerated functions are available @@ -37,7 +38,7 @@ // Define this if you want the display driver to emulate the input server. // Comment this out if DISPLAYDRIVER is defined as HWDRIVER. -#define ENABLE_INPUT_SERVER_EMULATION +//#define ENABLE_INPUT_SERVER_EMULATION // This is the application signature of our app_server when running as a // regular application. When running as the app_server, this is not used.