diff options
Diffstat (limited to 'services/surfaceflinger/LayerBase.h')
| -rw-r--r-- | services/surfaceflinger/LayerBase.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/services/surfaceflinger/LayerBase.h b/services/surfaceflinger/LayerBase.h index 633df96..3ec8ac3 100644 --- a/services/surfaceflinger/LayerBase.h +++ b/services/surfaceflinger/LayerBase.h @@ -35,6 +35,7 @@ #include <pixelflinger/pixelflinger.h> +#include "DisplayHardware/DisplayHardware.h" #include "Transform.h" namespace android { @@ -118,6 +119,11 @@ public: virtual void drawForSreenShot() const; /** + * bypass mode + */ + virtual bool setBypass(bool enable) { return false; } + + /** * onDraw - draws the surface. */ virtual void onDraw(const Region& clip) const = 0; |
