commit | d0a840d4d8bb6ebc9981cc331b1b231a6c6e0928 | [log] [tgz] |
---|---|---|
author | cdalton <cdalton@nvidia.com> | Mon Mar 16 17:19:58 2015 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Mon Mar 16 17:19:58 2015 -0700 |
tree | 44cb2a51ac5386fd05f8f3af07ae11083ea2a8f5 | |
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