Make mixed samples contingent on auxiliary extensions
authorcdalton <cdalton@nvidia.com>
Thu, 21 May 2015 15:27:44 +0000 (08:27 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 21 May 2015 15:27:44 +0000 (08:27 -0700)
commit0edea2c8e76a9f5340a7a4960193757c4a5fb227
tree56e4904b0531aa1d4d6c26f804132b88cfcea6f3
parente797d0de67a5dd4b7b0b66dbb8b33be46b74240e
Make mixed samples contingent on auxiliary extensions

Moves the cap for mixed samples into GrShaderCaps and does not enable
it unless we have support for both dual source blending and
multisample disable.

Creates a dedicated cap for multisample disable.

Reconfigures the mixed samples cap to indicate the collective
capability of three different extensions:

  GL_NV_framebuffer_mixed_samples
  GL_NV_sample_mask_override_coverage
  GL_EXT_raster_multisample

Imports tokens and procedures for GL_EXT_raster_multisample.

BUG=skia:

Review URL: https://codereview.chromium.org/1151793002
include/gpu/gl/GrGLFunctions.h
include/gpu/gl/GrGLInterface.h
src/gpu/GrDrawTarget.cpp
src/gpu/GrDrawTargetCaps.h
src/gpu/gl/GrGLAssembleInterface.cpp
src/gpu/gl/GrGLCaps.cpp
src/gpu/gl/GrGLCaps.h
src/gpu/gl/GrGLDefines.h
src/gpu/gl/GrGLGpu.cpp
src/gpu/gl/GrGLInterface.cpp