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

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

Issue 1151793002: Make mixed samples contingent on auxiliary extensions (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 7 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
« src/gpu/gl/GrGLCaps.cpp ('K') | « src/gpu/gl/GrGLGpu.cpp ('k') | no next file » | 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 * Copyright 2011 Google Inc. 2 * Copyright 2011 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 8
9 #include "gl/GrGLInterface.h" 9 #include "gl/GrGLInterface.h"
10 #include "gl/GrGLExtensions.h" 10 #include "gl/GrGLExtensions.h"
(...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after
521 NULL == fFunctions.fStencilThenCoverStrokePath || 521 NULL == fFunctions.fStencilThenCoverStrokePath ||
522 NULL == fFunctions.fStencilThenCoverFillPathInstanced || 522 NULL == fFunctions.fStencilThenCoverFillPathInstanced ||
523 NULL == fFunctions.fStencilThenCoverStrokePathInstanced || 523 NULL == fFunctions.fStencilThenCoverStrokePathInstanced ||
524 NULL == fFunctions.fProgramPathFragmentInputGen || 524 NULL == fFunctions.fProgramPathFragmentInputGen ||
525 NULL == fFunctions.fPathMemoryGlyphIndexArray) { 525 NULL == fFunctions.fPathMemoryGlyphIndexArray) {
526 RETURN_FALSE_INTERFACE 526 RETURN_FALSE_INTERFACE
527 } 527 }
528 } 528 }
529 } 529 }
530 530
531 if (fExtensions.has("GL_EXT_raster_multisample")) {
532 if (NULL == fFunctions.fRasterSamples) {
533 RETURN_FALSE_INTERFACE
534 }
535 }
536
531 if (fExtensions.has("GL_NV_framebuffer_mixed_samples")) { 537 if (fExtensions.has("GL_NV_framebuffer_mixed_samples")) {
532 if (NULL == fFunctions.fCoverageModulation) { 538 if (NULL == fFunctions.fCoverageModulation) {
533 RETURN_FALSE_INTERFACE 539 RETURN_FALSE_INTERFACE
534 } 540 }
535 } 541 }
536 542
537 return true; 543 return true;
538 } 544 }
OLDNEW
« src/gpu/gl/GrGLCaps.cpp ('K') | « src/gpu/gl/GrGLGpu.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698