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

Unified Diff: src/gpu/GrGpu.h

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 | « gm/imagefromyuvtextures.cpp ('k') | src/gpu/GrTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrGpu.h
diff --git a/src/gpu/GrGpu.h b/src/gpu/GrGpu.h
index b8bec3a6096cccf635d48eeca2cc443024d67904..9365d8927f650d4da1e75635c6359207b99974a0 100644
--- a/src/gpu/GrGpu.h
+++ b/src/gpu/GrGpu.h
@@ -363,10 +363,11 @@ public:
void restoreActiveTraceMarkers();
// creation and deletion of raw texture for testing
- virtual GrBackendObject createBackendTexture(void* pixels, int w, int h,
- GrPixelConfig config) const = 0;
- virtual bool isBackendTexture(GrBackendObject id) const = 0;
- virtual void deleteBackendTexture(GrBackendObject id) const = 0;
+ // only to be used in GPU-specific tests
+ virtual GrBackendObject createTestingOnlyBackendTexture(void* pixels, int w, int h,
+ GrPixelConfig config) const = 0;
+ virtual bool isTestingOnlyBackendTexture(GrBackendObject id) const = 0;
+ virtual void deleteTestingOnlyBackendTexture(GrBackendObject id) const = 0;
// Given a rt, find or create a stencil buffer and attach it
bool attachStencilAttachmentToRenderTarget(GrRenderTarget* target);
« no previous file with comments | « gm/imagefromyuvtextures.cpp ('k') | src/gpu/GrTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698