| Index: src/gpu/gl/GrGLGpu.cpp
|
| diff --git a/src/gpu/gl/GrGLGpu.cpp b/src/gpu/gl/GrGLGpu.cpp
|
| index 07aaaae26b5c1b4288bb6f0c1a985f8268f436ce..3a3b833a8f6f741067913f245f4e7848df2bb308 100644
|
| --- a/src/gpu/gl/GrGLGpu.cpp
|
| +++ b/src/gpu/gl/GrGLGpu.cpp
|
| @@ -157,7 +157,8 @@ bool GrGLGpu::BlendCoeffReferencesConstant(GrBlendCoeff coeff) {
|
|
|
| ///////////////////////////////////////////////////////////////////////////////
|
|
|
| -GrGpu* GrGLGpu::Create(GrBackendContext backendContext, GrContext* context) {
|
| +GrGpu* GrGLGpu::Create(GrBackendContext backendContext, const GrContextOptions& options,
|
| + GrContext* context) {
|
| SkAutoTUnref<const GrGLInterface> glInterface(
|
| reinterpret_cast<const GrGLInterface*>(backendContext));
|
| if (!glInterface) {
|
| @@ -168,7 +169,7 @@ GrGpu* GrGLGpu::Create(GrBackendContext backendContext, GrContext* context) {
|
| if (!glInterface) {
|
| return NULL;
|
| }
|
| - GrGLContext* glContext = GrGLContext::Create(glInterface);
|
| + GrGLContext* glContext = GrGLContext::Create(glInterface, options);
|
| if (glContext) {
|
| return SkNEW_ARGS(GrGLGpu, (glContext, context));
|
| }
|
| @@ -1436,7 +1437,7 @@ bool GrGLGpu::flushGLState(const DrawArgs& args) {
|
|
|
| fCurrentProgram.reset(fProgramCache->getProgram(args));
|
| if (NULL == fCurrentProgram.get()) {
|
| - GrContextDebugf(this->getContext(), "Failed to create program!\n");
|
| + GrCapsDebugf(this->caps(), "Failed to create program!\n");
|
| return false;
|
| }
|
|
|
|
|