Update clearOp for split-OpList world
authorRobert Phillips <robertphillips@google.com>
Thu, 18 May 2017 18:38:55 +0000 (14:38 -0400)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Thu, 18 May 2017 19:43:55 +0000 (19:43 +0000)
commit7f1ce29c9bb9be8b2d8dbf9a99f14f74d5dc6d80
treed27215fedb9dd88f0742a3171448870979d959ad
parent72f4891bf8e11fed52cb4e524a537f8c8625f093
Update clearOp for split-OpList world

It would reduce a lot of noise if the GrRenderTargetOpList kept a pointer to the GrCaps but, for now, I'm trying to shrink the GrRTOpList, not expand it.

Change-Id: Ieed56fa2a41a3fb20234e26552ae2d301147e4f2
Reviewed-on: https://skia-review.googlesource.com/17323
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
src/gpu/GrRenderTargetContext.cpp
src/gpu/GrRenderTargetOpList.cpp
src/gpu/GrRenderTargetOpList.h
src/gpu/ops/GrClearOp.h