summaryrefslogtreecommitdiffstats
path: root/libs/hwui/renderstate
diff options
context:
space:
mode:
authorChris Craik <ccraik@google.com>2015-02-09 18:58:32 -0800
committerChris Craik <ccraik@google.com>2015-02-09 19:08:02 -0800
commit08fa43fdeb646f56edcd8b33d06ee7d79b203426 (patch)
tree1daac9af26a7cba89763cd9c3e76beed8903753c /libs/hwui/renderstate
parent2ab95d780b023152556d9f8659de734ec7b55047 (diff)
downloadframeworks_base-08fa43fdeb646f56edcd8b33d06ee7d79b203426.zip
frameworks_base-08fa43fdeb646f56edcd8b33d06ee7d79b203426.tar.gz
frameworks_base-08fa43fdeb646f56edcd8b33d06ee7d79b203426.tar.bz2
Fix Glop vertex alpha blending
Need to force blending if vertices have alpha attribute Change-Id: I821792db6b613b4d0243cf9c7a045cba014acdc1
Diffstat (limited to 'libs/hwui/renderstate')
-rw-r--r--libs/hwui/renderstate/MeshState.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/libs/hwui/renderstate/MeshState.cpp b/libs/hwui/renderstate/MeshState.cpp
index 5efac0e..585fb86 100644
--- a/libs/hwui/renderstate/MeshState.cpp
+++ b/libs/hwui/renderstate/MeshState.cpp
@@ -67,7 +67,11 @@ MeshState::~MeshState() {
}
void MeshState::dump() {
- ALOGD("MeshState vertices: unitQuad %d, current %d", mUnitQuadBuffer, mCurrentBuffer);
+ ALOGD("MeshState VBOs: unitQuad %d, current %d", mUnitQuadBuffer, mCurrentBuffer);
+ ALOGD("MeshState vertices: vertex data %p, stride %d",
+ mCurrentPositionPointer, mCurrentPositionStride);
+ ALOGD("MeshState texCoord: data %p, stride %d",
+ mCurrentTexCoordsPointer, mCurrentTexCoordsStride);
}
///////////////////////////////////////////////////////////////////////////////