diff options
Diffstat (limited to 'libs/hwui/GlLayer.cpp')
-rw-r--r-- | libs/hwui/GlLayer.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libs/hwui/GlLayer.cpp b/libs/hwui/GlLayer.cpp index c0ab895260ab..8174bcc35d97 100644 --- a/libs/hwui/GlLayer.cpp +++ b/libs/hwui/GlLayer.cpp @@ -32,12 +32,14 @@ namespace android { namespace uirenderer { -GlLayer::GlLayer(RenderState& renderState, uint32_t layerWidth, uint32_t layerHeight) - : Layer(renderState, Api::OpenGL) +GlLayer::GlLayer(RenderState& renderState, uint32_t layerWidth, uint32_t layerHeight, + SkColorFilter* colorFilter, int alpha, SkBlendMode mode, bool blend) + : Layer(renderState, Api::OpenGL, colorFilter, alpha, mode) , caches(Caches::getInstance()) , texture(caches) { texture.mWidth = layerWidth; texture.mHeight = layerHeight; + texture.blend = blend; } GlLayer::~GlLayer() { |