Remove render target unique ID virtual from GrOp.
authorBrian Salomon <bsalomon@google.com>
Thu, 22 Dec 2016 20:42:51 +0000 (15:42 -0500)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Thu, 22 Dec 2016 21:10:48 +0000 (21:10 +0000)
commit69868af68403bd12aee040187347426affe41acc
tree5f8d998b6c1de3fb00c7dac89b16158988eb9bae
parent578f52c6cf6372b88a88a05dee0efc5b67aa9a9c
Remove render target unique ID virtual from GrOp.

GrRenderTargetOpList now stores the IDs along side each op.

This should put us closer to using proxy IDs and not forcing early render target instantiation as many comments point towards.

Change-Id: I1ee82b01a0818a80d2bcac39fdf3a4ee7dccecc9
Reviewed-on: https://skia-review.googlesource.com/6403
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
14 files changed:
include/private/GrAuditTrail.h
src/gpu/GrAuditTrail.cpp
src/gpu/GrRenderTargetContext.cpp
src/gpu/GrRenderTargetOpList.cpp
src/gpu/GrRenderTargetOpList.h
src/gpu/GrTextureOpList.cpp
src/gpu/GrTextureOpList.h
src/gpu/ops/GrClearOp.h
src/gpu/ops/GrClearStencilClipOp.h
src/gpu/ops/GrCopySurfaceOp.h
src/gpu/ops/GrDiscardOp.h
src/gpu/ops/GrDrawOp.h
src/gpu/ops/GrOp.h
src/gpu/ops/GrStencilPathOp.h