Fix problem where plugins were not drawn due to an incorrect clip.
bug:
3451982
Change-Id: I9eaaa218afa1a386dcb89d1d7845f80b0b180959
bool MediaLayer::drawGL(SkMatrix& matrix)
{
+ TilesManager::instance()->shader()->clip(drawClip());
+
// check to see if we need to create a video texture
m_videoTexture->initNativeWindowIfNeeded();
// draw any video content if present
ANPTextureInfo anpInfo;
anpInfo.textureId = info->m_textureId;
- anpInfo.width = info->m_width;
- anpInfo.height = info->m_height;
+ anpInfo.width = (int32_t) info->m_width;
+ anpInfo.height = (int32_t) info->m_height;
anpInfo.internalFormat = info->m_internalFormat;
return anpInfo;
}