Descriptioncc: Make one-copy tile
initialization mechanism use immutable textures.
Currently, one-copy doesn't use immutable texture while the compositor intends
to use immutable texture. It's because one-copy tries to copy source texture to
unallocated destination texture. In the case, GPU process allocates the
destination texture as normal texture.
In theory, it speeds up drawing speed, because immutable texture skips texture
validation on drawing call. However, I didn't see actual performance difference
in Linux and Android.
BUG=406404
Committed: https://crrev.com/eebda5986284b9fce42c2ab8de5d2686b079e52e
Cr-Commit-Position: refs/heads/master@{#305077}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Fix ResourceProviderTest.CopyResource_GLTexture #
Total comments: 1
Patch Set 3 : address style nits #
Messages
Total messages: 12 (2 generated)
|