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

Unified Diff: src/gpu/GrGpu.h

Issue 2123693002: Revert of Begin instanced rendering for simple shapes (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 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/GrDrawingManager.cpp ('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/GrGpu.h
diff --git a/src/gpu/GrGpu.h b/src/gpu/GrGpu.h
index 032edc3fc97f75e1ebe1eedb26267e43ff318dff..a733f45e3c12ef79239b64e82d00060e4cac196a 100644
--- a/src/gpu/GrGpu.h
+++ b/src/gpu/GrGpu.h
@@ -38,8 +38,6 @@
class GrSurface;
class GrTexture;
-namespace gr_instanced { class InstancedRendering; }
-
class GrGpu : public SkRefCnt {
public:
/**
@@ -147,13 +145,6 @@
*/
GrBuffer* createBuffer(size_t size, GrBufferType intendedType, GrAccessPattern accessPattern,
const void* data = nullptr);
-
- /**
- * Creates an instanced rendering object if it is supported on this platform.
- */
- virtual gr_instanced::InstancedRendering* createInstancedRenderingIfSupported() {
- return nullptr;
- }
/**
* Resolves MSAA.
@@ -588,7 +579,6 @@
GrContext* fContext;
friend class GrPathRendering;
- friend class gr_instanced::InstancedRendering;
typedef SkRefCnt INHERITED;
};
« no previous file with comments | « src/gpu/GrDrawingManager.cpp ('k') | src/gpu/gl/GrGLGpu.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698