Chromium Code Reviews
DescriptionCache render targets that render to wrapped textures
Store render targets to the cache if they are created with
SkSurface:wrapBackendTextureAsRenderTarget(). This avoids expensive
creation and deletion of FBO objects (FBOs, renderbuffers) on
cache hit.
Leaves the wrapped texture bound to the FBO when the surface is
destroyed. The texture will not be used, rather the FBO will be
re-assigned when new surface needs it. NOTE: if some drivers have
problems with textures bound to FBOs, then this will happen here.
Speeds up cases where MSAA SkSurface is created
for rendering and then destroyed in repeated manner. Mostly benefits
HW which uses renderbuffers.
WIP: Vulkan parts missing.
BUG=594928
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1810323002
Patch Set 1 #
Total comments: 1
Patch Set 2 : #Patch Set 3 : moved the refactoring to another patch #
Depends on Patchset: Messages
Total messages: 20 (4 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||