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

Unified Diff: src/gpu/gl/GrGLGpu.h

Issue 1232173002: Remove GL-specific code from GMs and tests (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Get rid of warning 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/GrTest.cpp ('k') | src/gpu/gl/GrGLGpu.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/gl/GrGLGpu.h
diff --git a/src/gpu/gl/GrGLGpu.h b/src/gpu/gl/GrGLGpu.h
index e5cd7a9a9d1de3c1edf7723de98628eaa2880fef..eeddcd75227146568826457a06e1d99133720a84 100644
--- a/src/gpu/gl/GrGLGpu.h
+++ b/src/gpu/gl/GrGLGpu.h
@@ -108,10 +108,15 @@ public:
const GrPipeline&,
const GrBatchTracker&) const override;
- const GrGLContext* glContextForTesting() const override {
- return &this->glContext();
+ const GrGLContext* glContextForTesting() const override {
+ return &this->glContext();
}
+ GrBackendObject createBackendTexture(void* pixels, int w, int h,
+ GrPixelConfig config) const override;
+ bool isBackendTexture(GrBackendObject id) const override;
+ void deleteBackendTexture(GrBackendObject id) const override;
+
private:
GrGLGpu(GrGLContext* ctx, GrContext* context);
@@ -265,7 +270,7 @@ private:
bool getSizedInternal,
GrGLenum* internalFormat,
GrGLenum* externalFormat,
- GrGLenum* externalType);
+ GrGLenum* externalType) const;
// helper for onCreateTexture and writeTexturePixels
bool uploadTexData(const GrSurfaceDesc& desc,
bool isNewTexture,
« no previous file with comments | « src/gpu/GrTest.cpp ('k') | src/gpu/gl/GrGLGpu.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698