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

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

Issue 993363002: GrGLInterface: Add support for NV_framebuffer_mixed_samples (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Rebase and missing validation Created 5 years, 8 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/GrGLCaps.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 487 matching lines...) Expand 10 before | Expand all | Expand 10 after
498 NULL == fFunctions.fStencilThenCoverStrokePath || 498 NULL == fFunctions.fStencilThenCoverStrokePath ||
499 NULL == fFunctions.fStencilThenCoverFillPathInstanced || 499 NULL == fFunctions.fStencilThenCoverFillPathInstanced ||
500 NULL == fFunctions.fStencilThenCoverStrokePathInstanced || 500 NULL == fFunctions.fStencilThenCoverStrokePathInstanced ||
501 NULL == fFunctions.fProgramPathFragmentInputGen || 501 NULL == fFunctions.fProgramPathFragmentInputGen ||
502 NULL == fFunctions.fPathMemoryGlyphIndexArray) { 502 NULL == fFunctions.fPathMemoryGlyphIndexArray) {
503 RETURN_FALSE_INTERFACE 503 RETURN_FALSE_INTERFACE
504 } 504 }
505 } 505 }
506 } 506 }
507 507
508 if (fExtensions.has("GL_NV_framebuffer_mixed_samples")) {
509 if (NULL == fFunctions.fCoverageModulation) {
510 RETURN_FALSE_INTERFACE
511 }
512 }
513
508 return true; 514 return true;
509 } 515 }
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLCaps.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698