OLD | NEW |
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 Loading... |
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 } |
OLD | NEW |