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

Unified Diff: src/gpu/GrTest.cpp

Issue 1230193006: Rename backing texture testing routines (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 5 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 | « src/gpu/GrGpu.h ('k') | src/gpu/gl/GrGLGpu.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrTest.cpp
diff --git a/src/gpu/GrTest.cpp b/src/gpu/GrTest.cpp
index b070d8412a2cdfb5302d8628b5e941ee3d44baea..34d75a84f51a07eaf26d77b07a4e07fe07bc7190 100644
--- a/src/gpu/GrTest.cpp
+++ b/src/gpu/GrTest.cpp
@@ -235,10 +235,12 @@ private:
void didRemoveGpuTraceMarker() override {}
- GrBackendObject createBackendTexture(void* pixels, int w, int h,
- GrPixelConfig config) const override { return 0; }
- bool isBackendTexture(GrBackendObject id) const override { return false; }
- void deleteBackendTexture(GrBackendObject id) const override {}
+ GrBackendObject createTestingOnlyBackendTexture(void* pixels, int w, int h,
+ GrPixelConfig config) const override {
+ return 0;
+ }
+ bool isTestingOnlyBackendTexture(GrBackendObject id) const override { return false; }
+ void deleteTestingOnlyBackendTexture(GrBackendObject id) const override {}
typedef GrGpu INHERITED;
};
« no previous file with comments | « src/gpu/GrGpu.h ('k') | src/gpu/gl/GrGLGpu.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698