Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(269)

Unified Diff: include/gpu/GrContext.h

Issue 1132813002: remove legacy Gr things (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | include/gpu/GrTypes.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/GrContext.h
diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h
index 24b1d51471b8647e03adb3fb884600e11a260382..77aef60d8d972694182a620ca39c95ba184c8180 100644
--- a/include/gpu/GrContext.h
+++ b/include/gpu/GrContext.h
@@ -518,23 +518,6 @@ public:
uint32_t uniqueID() { return fUniqueID; }
///////////////////////////////////////////////////////////////////////////
- // Legacy functions, to be removed once Chromium stops using them.
-
- enum ScratchTexMatch {
- kExact_ScratchTexMatch = GrTextureProvider::kExact_ScratchTexMatch,
- kApprox_ScratchTexMatch = GrTextureProvider::kApprox_ScratchTexMatch
- };
-
- GrTexture* refScratchTexture(const GrSurfaceDesc& desc, ScratchTexMatch match) {
- return this->textureProvider()->refScratchTexture(
- desc, (GrTextureProvider::ScratchTexMatch) match);
- }
-
- GrTexture* wrapBackendTexture(const GrBackendTextureDesc& desc) {
- return this->textureProvider()->wrapBackendTexture(desc);
- }
-
- ///////////////////////////////////////////////////////////////////////////
// Functions intended for internal use only.
GrGpu* getGpu() { return fGpu; }
const GrGpu* getGpu() const { return fGpu; }
« no previous file with comments | « no previous file | include/gpu/GrTypes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698