DescriptionRevert of Optimize render passes with single quads (patchset #13 id:240001 of https://codereview.chromium.org/1960543002/ )
Reason for revert:
Context menu is broken on Linux:
https://drive.google.com/file/d/0B7RLEApsOKBLNGZDai1JT0kwR2M/view?usp=sharing
BUG=619185
Original issue's description:
> Optimize render passes with single quads
>
> Many effects (masks, replicas, filters) generate render passes for
> simplicity in the code. However, in the cases where the pass contains a
> single quad with a texture, that resulting texture could just be used as
> the input texture instead of the render pass itself.
>
> The complication is mostly that render passes and tile textures are
> flipped relative to each other (oops) and so some knowledge of this has
> to leak into drawing render passes.
>
> This is done by detecting such render passes inside of DirectRenderer,
> storing the TileQuad that would have been drawn, skipping allocating the
> pass and rendering it, and then calling a slightly modified version of
> DrawRenderPassQuad with the TileQuad's resource. The check for which
> render passes can be supported is conservative to start.
>
> This optimization usually will not be supported on mac because skia
> does not support textures with texture rectangle targets as input.
>
> BUG=254639, 606672
> CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
>
> Committed: https://crrev.com/ff3dc65b0f7845184458fb25b3d566fa079cd232
> Cr-Commit-Position: refs/heads/master@{#399060}
TBR=ericrk@chromium.org,senorblanco@chromium.org,enne@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=254639, 606672
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Committed: https://crrev.com/95a0c4522dbb71c522c09798e7dbc77a7285d1ea
Cr-Commit-Position: refs/heads/master@{#399308}
Patch Set 1 #Patch Set 2 : Added tests #Patch Set 3 : Revert "Optimize render passes with single quads" #Depends on Patchset: Messages
Total messages: 27 (11 generated)
|