diff options
author | cdalton <cdalton@nvidia.com> | 2015-03-16 17:19:58 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-03-16 17:19:58 -0700 |
commit | d0a840d4d8bb6ebc9981cc331b1b231a6c6e0928 (patch) | |
tree | 44cb2a51ac5386fd05f8f3af07ae11083ea2a8f5 /samplecode/SampleFilter2.cpp | |
parent | 18ef5ebf3b1bab01167c34bac09bb2a1a40d5c8e (diff) |
Disable GL_MULTISAMPLE when it's not being used
Updates Gr to disable GL_MULTISAMPLE when drawing to an aliased render
target. This is an important step for NV_framebuffer_mixed_samples,
where just because the color buffer isn't multisampled doesn't mean
other stages in the graphics pipeline aren't. It also removes the need
for the "isLineDraw" workaround that was in GrGLGpu::flushHWAAState.
BUG=skia:
Review URL: https://codereview.chromium.org/1002013006
Diffstat (limited to 'samplecode/SampleFilter2.cpp')
0 files changed, 0 insertions, 0 deletions