| 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 510 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 } |
| OLD | NEW |