aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/GrTypes.h
diff options
context:
space:
mode:
authorGravatar Brian Osman <brianosman@google.com>2017-03-10 20:14:05 +0000
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-03-10 20:14:19 +0000
commita6953f2a079a64848499709b9c635405f53566e3 (patch)
tree47b1bceee61925c448baa86ed95a4fd75275ca62 /include/gpu/GrTypes.h
parent4d1955c43aaab045511b74a495dfbea4ef0057c5 (diff)
Revert "Treat cross context images as Ganesh-created resources"
This reverts commit cccda60aca592d2320d79e2871e057778b2688ab. Reason for revert: Android and Windows bot failures. Original change's description: > Treat cross context images as Ganesh-created resources > > Always create them budgeted, and register them with the cache (not as > wrapped resources). > > BUG=skia: > > Change-Id: Id18ecf6e9e512db4be21b4f2bfd8e8c060bbe805 > Reviewed-on: https://skia-review.googlesource.com/9497 > Commit-Queue: Brian Osman <brianosman@google.com> > Reviewed-by: Brian Salomon <bsalomon@google.com> > TBR=bsalomon@google.com,robertphillips@google.com,brianosman@google.com,reviews@skia.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=skia: Change-Id: Ib7bebcad33037dd206c9b06b5cb6c503b00accba Reviewed-on: https://skia-review.googlesource.com/9541 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
Diffstat (limited to 'include/gpu/GrTypes.h')
-rw-r--r--include/gpu/GrTypes.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/gpu/GrTypes.h b/include/gpu/GrTypes.h
index 62e8a791b3..654febd3ca 100644
--- a/include/gpu/GrTypes.h
+++ b/include/gpu/GrTypes.h
@@ -676,9 +676,6 @@ enum GrWrapOwnership {
/** Skia will assume ownership of the resource and free it. */
kAdopt_GrWrapOwnership,
-
- /** Skia will assume ownership of the resource, free it, and reuse it within the cache. */
- kAdoptAndCache_GrWrapOwnership,
};
/**