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

Side by Side Diff: src/gpu/gl/SkNullGLContext.cpp

Issue 1731333002: Revert of Include glGetMultisamplefv API (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 10 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 unified diff | Download patch
« no previous file with comments | « src/gpu/gl/GrGLNoOpInterface.cpp ('k') | src/gpu/gl/debug/GrGLCreateDebugInterface.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 /* 2 /*
3 * Copyright 2011 Google Inc. 3 * Copyright 2011 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 #include "gl/SkNullGLContext.h" 9 #include "gl/SkNullGLContext.h"
10 #include "gl/GrGLInterface.h" 10 #include "gl/GrGLInterface.h"
(...skipping 433 matching lines...) Expand 10 before | Expand all | Expand 10 after
444 functions->fFlushMappedBufferRange = nullGLFlushMappedBufferRange; 444 functions->fFlushMappedBufferRange = nullGLFlushMappedBufferRange;
445 functions->fFrontFace = noOpGLFrontFace; 445 functions->fFrontFace = noOpGLFrontFace;
446 functions->fGenBuffers = nullGLGenBuffers; 446 functions->fGenBuffers = nullGLGenBuffers;
447 functions->fGenerateMipmap = nullGLGenerateMipmap; 447 functions->fGenerateMipmap = nullGLGenerateMipmap;
448 functions->fGenQueries = noOpGLGenIds; 448 functions->fGenQueries = noOpGLGenIds;
449 functions->fGenTextures = noOpGLGenIds; 449 functions->fGenTextures = noOpGLGenIds;
450 functions->fGenVertexArrays = noOpGLGenIds; 450 functions->fGenVertexArrays = noOpGLGenIds;
451 functions->fGetBufferParameteriv = nullGLGetBufferParameteriv; 451 functions->fGetBufferParameteriv = nullGLGetBufferParameteriv;
452 functions->fGetError = noOpGLGetError; 452 functions->fGetError = noOpGLGetError;
453 functions->fGetIntegerv = noOpGLGetIntegerv; 453 functions->fGetIntegerv = noOpGLGetIntegerv;
454 functions->fGetMultisamplefv = noOpGLGetMultisamplefv;
455 functions->fGetQueryObjecti64v = noOpGLGetQueryObjecti64v; 454 functions->fGetQueryObjecti64v = noOpGLGetQueryObjecti64v;
456 functions->fGetQueryObjectiv = noOpGLGetQueryObjectiv; 455 functions->fGetQueryObjectiv = noOpGLGetQueryObjectiv;
457 functions->fGetQueryObjectui64v = noOpGLGetQueryObjectui64v; 456 functions->fGetQueryObjectui64v = noOpGLGetQueryObjectui64v;
458 functions->fGetQueryObjectuiv = noOpGLGetQueryObjectuiv; 457 functions->fGetQueryObjectuiv = noOpGLGetQueryObjectuiv;
459 functions->fGetQueryiv = noOpGLGetQueryiv; 458 functions->fGetQueryiv = noOpGLGetQueryiv;
460 functions->fGetProgramInfoLog = noOpGLGetInfoLog; 459 functions->fGetProgramInfoLog = noOpGLGetInfoLog;
461 functions->fGetProgramiv = noOpGLGetShaderOrProgramiv; 460 functions->fGetProgramiv = noOpGLGetShaderOrProgramiv;
462 functions->fGetShaderInfoLog = noOpGLGetInfoLog; 461 functions->fGetShaderInfoLog = noOpGLGetInfoLog;
463 functions->fGetShaderiv = noOpGLGetShaderOrProgramiv; 462 functions->fGetShaderiv = noOpGLGetShaderOrProgramiv;
464 functions->fGetString = noOpGLGetString; 463 functions->fGetString = noOpGLGetString;
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
598 interface->fCallbackData = reinterpret_cast<GrGLInterfaceCallbackData>(fStat e); 597 interface->fCallbackData = reinterpret_cast<GrGLInterfaceCallbackData>(fStat e);
599 #endif 598 #endif
600 } 599 }
601 600
602 SkNullGLContext::~SkNullGLContext() { 601 SkNullGLContext::~SkNullGLContext() {
603 this->teardown(); 602 this->teardown();
604 fState->unref(); 603 fState->unref();
605 } 604 }
606 605
607 void SkNullGLContext::onPlatformMakeCurrent() const { set_current_context(fState ); } 606 void SkNullGLContext::onPlatformMakeCurrent() const { set_current_context(fState ); }
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLNoOpInterface.cpp ('k') | src/gpu/gl/debug/GrGLCreateDebugInterface.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698