Add visible region to layerdata
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5059 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -54,6 +54,7 @@ public:
|
|||||||
prevState = NULL;
|
prevState = NULL;
|
||||||
clippPicture = NULL;
|
clippPicture = NULL;
|
||||||
clippInverse = false;
|
clippInverse = false;
|
||||||
|
fVisibleRegion = NULL;
|
||||||
}
|
}
|
||||||
~LayerData(void)
|
~LayerData(void)
|
||||||
{
|
{
|
||||||
@@ -117,6 +118,7 @@ public:
|
|||||||
|
|
||||||
ServerPicture *clippPicture;
|
ServerPicture *clippPicture;
|
||||||
bool clippInverse;
|
bool clippInverse;
|
||||||
|
BRegion *fVisibleRegion;
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
// This is defined to place the server in test mode, which modifies certain things like
|
// 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
|
// 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
|
// 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,
|
// The ViewDriver is a BView/BWindow combination. Plenty of functionality,
|
||||||
// but dog-slow.
|
// but dog-slow.
|
||||||
@@ -26,7 +26,8 @@
|
|||||||
#define HWDRIVER 3
|
#define HWDRIVER 3
|
||||||
|
|
||||||
// Display driver to be used by the server.
|
// 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
|
// Uncomment this if the DisplayDriver should only rely on drawing functions implemented
|
||||||
// in software even though hardware-accelerated functions are available
|
// 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.
|
// Define this if you want the display driver to emulate the input server.
|
||||||
// Comment this out if DISPLAYDRIVER is defined as HWDRIVER.
|
// 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
|
// 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.
|
// regular application. When running as the app_server, this is not used.
|
||||||
|
|||||||
Reference in New Issue
Block a user