SF: Add GL composition state to CompositionInfo
Add GL state to compositionInfo
Merged-in: Iac5a62b8d5858c4b26b03f7ee50c507f0a5be76a
Test: Build/manually run
Change-Id: Iac5a62b8d5858c4b26b03f7ee50c507f0a5be76a
diff --git a/services/surfaceflinger/LayerBE.h b/services/surfaceflinger/LayerBE.h
index 3affdb7..14619f6 100644
--- a/services/surfaceflinger/LayerBE.h
+++ b/services/surfaceflinger/LayerBE.h
@@ -26,6 +26,7 @@
#include "DisplayHardware/HWComposer.h"
#include "DisplayHardware/HWComposerBufferCache.h"
#include "RenderEngine/Mesh.h"
+#include "RenderEngine/Texture.h"
namespace android {
@@ -78,6 +79,13 @@
} hwc;
struct {
Mesh* mesh;
+ bool blackoutLayer = false;
+ bool clearArea = false;
+ bool preMultipliedAlpha = false;
+ bool opaque = false;
+ half4 color;
+ Texture texture;
+ bool useIdentityTransform = false;
} re;
};