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

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

Issue 1720963002: Include glGetMultisamplefv API (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: bug Created 4 years, 9 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;
454 functions->fGetQueryObjecti64v = noOpGLGetQueryObjecti64v; 455 functions->fGetQueryObjecti64v = noOpGLGetQueryObjecti64v;
455 functions->fGetQueryObjectiv = noOpGLGetQueryObjectiv; 456 functions->fGetQueryObjectiv = noOpGLGetQueryObjectiv;
456 functions->fGetQueryObjectui64v = noOpGLGetQueryObjectui64v; 457 functions->fGetQueryObjectui64v = noOpGLGetQueryObjectui64v;
457 functions->fGetQueryObjectuiv = noOpGLGetQueryObjectuiv; 458 functions->fGetQueryObjectuiv = noOpGLGetQueryObjectuiv;
458 functions->fGetQueryiv = noOpGLGetQueryiv; 459 functions->fGetQueryiv = noOpGLGetQueryiv;
459 functions->fGetProgramInfoLog = noOpGLGetInfoLog; 460 functions->fGetProgramInfoLog = noOpGLGetInfoLog;
460 functions->fGetProgramiv = noOpGLGetShaderOrProgramiv; 461 functions->fGetProgramiv = noOpGLGetShaderOrProgramiv;
461 functions->fGetShaderInfoLog = noOpGLGetInfoLog; 462 functions->fGetShaderInfoLog = noOpGLGetInfoLog;
462 functions->fGetShaderiv = noOpGLGetShaderOrProgramiv; 463 functions->fGetShaderiv = noOpGLGetShaderOrProgramiv;
463 functions->fGetString = noOpGLGetString; 464 functions->fGetString = noOpGLGetString;
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
597 interface->fCallbackData = reinterpret_cast<GrGLInterfaceCallbackData>(fStat e); 598 interface->fCallbackData = reinterpret_cast<GrGLInterfaceCallbackData>(fStat e);
598 #endif 599 #endif
599 } 600 }
600 601
601 SkNullGLContext::~SkNullGLContext() { 602 SkNullGLContext::~SkNullGLContext() {
602 this->teardown(); 603 this->teardown();
603 fState->unref(); 604 fState->unref();
604 } 605 }
605 606
606 void SkNullGLContext::onPlatformMakeCurrent() const { set_current_context(fState ); } 607 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