The LayerTiler already knows not to turn on GL_BLEND for opaque layers. However, it only ever sets the opaque flag for image layers and color layers, never for content layers. This was no big deal, because content layers are never opaque, except for the root layer, which we always drew using the BlackBerry::WebKit::BackingStore anyway. Now, we're going to start using RenderLayerBacking::m_usingTiledCacheLayer = true on the root layer in some situations to make the root layer draw using the LayerRenderer instead of the BackingStore (specifically, in situations where the BackingStore is inactive). So make sure we plumb through the GraphicsLayer::contentsOpaque() flag all the way to LayerTiler and on to Texture.
No new tests, this stuff is currently not testable in the BlackBerry DRT infrastructure.
Created attachment 134281 [details] Patch
Comment on attachment 134281 [details] Patch Looks fine.
Comment on attachment 134281 [details] Patch Clearing flags on attachment: 134281 Committed r112407: <http://trac.webkit.org/changeset/112407>
All reviewed patches have been landed. Closing bug.