Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8725e81d authored by David Sodman's avatar David Sodman
Browse files

SF: Add GL composition state to CompositionInfo

Add GL state to compositionInfo

Merged-in: Iac5a62b8d5858c4b26b03f7ee50c507f0a5be76a
Test: Build/manually run

Change-Id: Iac5a62b8d5858c4b26b03f7ee50c507f0a5be76a
parent 6c4b556d
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -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 @@ struct CompositionInfo {
    } hwc;
    struct {
        Mesh* mesh;
        bool blackoutLayer = false;
        bool clearArea = false;
        bool preMultipliedAlpha = false;
        bool opaque = false;
        half4 color;
        Texture texture;
        bool useIdentityTransform = false;
    } re;
};