diff options
| author | 2015-10-28 16:50:44 -0700 | |
|---|---|---|
| committer | 2015-11-02 12:59:38 -0800 | |
| commit | 0b7e8245db728d127ada698be63d78b33fc6e4da (patch) | |
| tree | b7138962e159b3359cb08735098d34779a5ce78e /libs/hwui/TreeInfo.h | |
| parent | 8462bad554c2c0f5639c00dd7f1f32e9567c8e04 (diff) | |
Initial HW layer support in new reorderer/renderer
Shares vast majority of clipped savelayer code, with only minor
differences in lifecycle.
Doesn't yet handle fill region, resize, or window transform.
Change-Id: Iabdd71811590d2b937eb11e1b01ce556ade54a5a
Diffstat (limited to 'libs/hwui/TreeInfo.h')
| -rw-r--r-- | libs/hwui/TreeInfo.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/libs/hwui/TreeInfo.h b/libs/hwui/TreeInfo.h index 1c3148726b63..be25516c587a 100644 --- a/libs/hwui/TreeInfo.h +++ b/libs/hwui/TreeInfo.h @@ -16,11 +16,11 @@ #ifndef TREEINFO_H #define TREEINFO_H -#include <string> +#include "utils/Macros.h" #include <utils/Timers.h> -#include "utils/Macros.h" +#include <string> namespace android { namespace uirenderer { @@ -30,6 +30,7 @@ class CanvasContext; } class DamageAccumulator; +class LayerUpdateQueue; class OpenGLRenderer; class RenderState; @@ -75,9 +76,14 @@ public: // Must not be null during actual usage DamageAccumulator* damageAccumulator = nullptr; + +#if HWUI_NEW_OPS + LayerUpdateQueue* layerUpdateQueue = nullptr; +#else // The renderer that will be drawing the next frame. Use this to push any // layer updates or similar. May be NULL. OpenGLRenderer* renderer = nullptr; +#endif ErrorHandler* errorHandler = nullptr; struct Out { |