summaryrefslogtreecommitdiff
path: root/libs/hwui/GlopBuilder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libs/hwui/GlopBuilder.cpp')
-rw-r--r--libs/hwui/GlopBuilder.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/libs/hwui/GlopBuilder.cpp b/libs/hwui/GlopBuilder.cpp
index 5cf52c69f0fd..3e7a246bb281 100644
--- a/libs/hwui/GlopBuilder.cpp
+++ b/libs/hwui/GlopBuilder.cpp
@@ -605,7 +605,11 @@ void GlopBuilder::build() {
} else {
mDescription.hasExternalTexture = true;
}
- mDescription.hasLinearTexture = mOutGlop->fill.texture.texture->isLinear();
+ Texture* texture = mOutGlop->fill.texture.texture;
+ mDescription.hasLinearTexture = texture->isLinear();
+ mDescription.hasColorSpaceConversion = texture->hasColorSpaceConversion();
+ mDescription.transferFunction = texture->getTransferFunctionType();
+ mDescription.hasTranslucentConversion = texture->blend;
}
mDescription.hasColors = mOutGlop->mesh.vertices.attribFlags & VertexAttribFlags::Color;