diff options
Diffstat (limited to 'src/gpu/gl/GrGLContext.cpp')
-rw-r--r-- | src/gpu/gl/GrGLContext.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/gpu/gl/GrGLContext.cpp b/src/gpu/gl/GrGLContext.cpp index 2126314a7b..9e70b472c5 100644 --- a/src/gpu/gl/GrGLContext.cpp +++ b/src/gpu/gl/GrGLContext.cpp @@ -7,7 +7,6 @@ #include "GrGLContext.h" #include "GrGLGLSL.h" -#include "SkSLCompiler.h" //////////////////////////////////////////////////////////////////////////////// @@ -64,17 +63,6 @@ GrGLContext* GrGLContext::Create(const GrGLInterface* interface, const GrContext return new GrGLContext(args); } -GrGLContext::~GrGLContext() { - delete fCompiler; -} - -SkSL::Compiler* GrGLContext::compiler() const { - if (!fCompiler) { - fCompiler = new SkSL::Compiler(); - } - return fCompiler; -} - GrGLContextInfo::GrGLContextInfo(const ConstructorArgs& args) { fInterface.reset(SkRef(args.fInterface)); fGLVersion = args.fGLVersion; |