diff options
author | jin.a.yang <jin.a.yang@intel.com> | 2015-09-11 09:46:46 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-09-11 16:47:21 +0000 |
commit | f23471c866d7d3334d61538eb738d494542b5cac (patch) | |
tree | 42ecce69e86019b5924a7e7ceeff171c501b864a /mojo | |
parent | 2adba8ab46d4c242b94f433bfe873026b6f1cdd4 (diff) | |
download | chromium_src-f23471c866d7d3334d61538eb738d494542b5cac.zip chromium_src-f23471c866d7d3334d61538eb738d494542b5cac.tar.gz chromium_src-f23471c866d7d3334d61538eb738d494542b5cac.tar.bz2 |
Add GL_CHROMIUM_screen_space_antialiasing to support alternative AA
MSAA is very expensive on some platforms. We introduce extention
GL_CHROMIUM_screen_space_antialiasing to support other antialiasing
approach. It will perform antialiasing to the color attachments of
the currently bound draw framebuffer. As an example, we implement it
using GL_INTEL_framebuffer_CMAA which results in similar quality of
MSAA at better performance.
The blink side change is in below link:
https://codereview.chromium.org/1301923002
BUG=524285
Review URL: https://codereview.chromium.org/1298523003
Cr-Commit-Position: refs/heads/master@{#348412}
Diffstat (limited to 'mojo')
-rw-r--r-- | mojo/gpu/mojo_gles2_impl_autogen.cc | 3 | ||||
-rw-r--r-- | mojo/gpu/mojo_gles2_impl_autogen.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/mojo/gpu/mojo_gles2_impl_autogen.cc b/mojo/gpu/mojo_gles2_impl_autogen.cc index 55e8ba6..d706d62 100644 --- a/mojo/gpu/mojo_gles2_impl_autogen.cc +++ b/mojo/gpu/mojo_gles2_impl_autogen.cc @@ -1721,5 +1721,8 @@ GLenum MojoGLES2Impl::GetGraphicsResetStatusKHR() { void MojoGLES2Impl::BlendBarrierKHR() { NOTREACHED() << "Unimplemented BlendBarrierKHR."; } +void MojoGLES2Impl::ApplyScreenSpaceAntialiasingCHROMIUM() { + NOTREACHED() << "Unimplemented ApplyScreenSpaceAntialiasingCHROMIUM."; +} } // namespace mojo diff --git a/mojo/gpu/mojo_gles2_impl_autogen.h b/mojo/gpu/mojo_gles2_impl_autogen.h index 0d1047b..f5f8b75 100644 --- a/mojo/gpu/mojo_gles2_impl_autogen.h +++ b/mojo/gpu/mojo_gles2_impl_autogen.h @@ -815,6 +815,7 @@ class MojoGLES2Impl : public gpu::gles2::GLES2Interface { GLenum coverMode) override; GLenum GetGraphicsResetStatusKHR() override; void BlendBarrierKHR() override; + void ApplyScreenSpaceAntialiasingCHROMIUM() override; private: MojoGLES2Context context_; |