Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(153)

Issue 1298523003: Add GL_CHROMIUM_screen_space_antialiasing to support alternative AA (Closed)

Created:
5 years, 4 months ago by Jin Yang
Modified:
5 years, 3 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, kalyank, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, chromium-apps-reviews_chromium.org, piman+watch_chromium.org, darin (slow to review), ben+mojo_chromium.org, ozone-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

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 Committed: https://crrev.com/f23471c866d7d3334d61538eb738d494542b5cac Cr-Commit-Position: refs/heads/master@{#348412}

Patch Set 1 #

Patch Set 2 : modify according to comments #

Patch Set 3 : add extension #

Total comments: 8

Patch Set 4 : fix naming #

Total comments: 1

Patch Set 5 : fix nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+252 lines, -1 line) Patch
A gpu/GLES2/extensions/CHROMIUM/CHROMIUM_screen_space_antialiasing.txt View 1 2 1 chunk +48 lines, -0 lines 0 comments Download
M gpu/GLES2/gl2chromium_autogen.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M gpu/GLES2/gl2extchromium.h View 1 2 3 4 1 chunk +9 lines, -0 lines 0 comments Download
M gpu/blink/webgraphicscontext3d_impl.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M gpu/blink/webgraphicscontext3d_impl.cc View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M gpu/command_buffer/build_gles2_cmd_buffer.py View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_c_lib_autogen.h View 1 2 3 4 2 chunks +8 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_cmd_helper_autogen.h View 1 2 3 4 1 chunk +8 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation_autogen.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation_impl_autogen.h View 1 2 3 1 chunk +9 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_interface_autogen.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_interface_stub_autogen.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_interface_stub_impl_autogen.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_trace_implementation_autogen.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M gpu/command_buffer/cmd_buffer_functions.txt View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_format_autogen.h View 1 2 3 4 1 chunk +28 lines, -0 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_format_test_autogen.h View 1 2 3 4 1 chunk +11 lines, -0 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_ids_autogen.h View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M gpu/command_buffer/service/feature_info.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/service/feature_info.cc View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 3 4 2 chunks +8 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_autogen.h View 1 2 3 4 1 chunk +18 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_extensions_autogen.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M mojo/gpu/mojo_gles2_impl_autogen.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M mojo/gpu/mojo_gles2_impl_autogen.cc View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M ui/gl/generate_bindings.py View 1 chunk +5 lines, -0 lines 0 comments Download
M ui/gl/gl_bindings_api_autogen_gl.h View 1 chunk +1 line, -0 lines 0 comments Download
M ui/gl/gl_bindings_autogen_gl.h View 5 chunks +7 lines, -0 lines 0 comments Download
M ui/gl/gl_bindings_autogen_gl.cc View 1 8 chunks +41 lines, -0 lines 0 comments Download
M ui/gl/gl_bindings_autogen_mock.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M ui/gl/gl_bindings_autogen_mock.cc View 1 2 chunks +8 lines, -0 lines 0 comments Download
M ui/gl/gl_mock_autogen_gl.h View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 21 (3 generated)
bajones
gpu/command_buffer/ LGTM.
5 years, 4 months ago (2015-08-19 16:32:16 UTC) #2
Ken Russell (switch to Gerrit)
There are a huge number of whitespace changes under ui/gl that are unrelated to this ...
5 years, 4 months ago (2015-08-19 17:49:35 UTC) #3
piman
As I understand from the sample linked to in https://software.intel.com/en-us/articles/conservative-morphological-anti-aliasing-cmaa, it seems like the CMAA ...
5 years, 4 months ago (2015-08-19 22:31:30 UTC) #4
Jin Yang
On 2015/08/19 17:49:35, Ken Russell wrote: > There are a huge number of whitespace changes ...
5 years, 4 months ago (2015-08-21 06:01:34 UTC) #5
Jin Yang
On 2015/08/19 22:31:30, piman (slow to review) wrote: > As I understand from the sample ...
5 years, 4 months ago (2015-08-21 06:02:52 UTC) #6
Ken Russell (switch to Gerrit)
On 2015/08/21 06:02:52, Jin Yang wrote: > On 2015/08/19 22:31:30, piman (slow to review) wrote: ...
5 years, 4 months ago (2015-08-25 01:13:14 UTC) #7
Jin Yang
On 2015/08/25 01:13:14, Ken Russell wrote: > On 2015/08/21 06:02:52, Jin Yang wrote: > > ...
5 years, 3 months ago (2015-08-28 00:58:50 UTC) #8
Ken Russell (switch to Gerrit)
Thank you. Looks good overall. One naming issue in several places in the patch. Also, ...
5 years, 3 months ago (2015-08-28 02:34:03 UTC) #9
Jin Yang
On 2015/08/28 02:34:03, Ken Russell wrote: > Thank you. Looks good overall. One naming issue ...
5 years, 3 months ago (2015-08-28 05:53:07 UTC) #10
Ken Russell (switch to Gerrit)
This LGTM from my standpoint. I'd like to know how we're going to test this ...
5 years, 3 months ago (2015-08-28 20:27:34 UTC) #11
Jin Yang
On 2015/08/28 20:27:34, Ken Russell wrote: > This LGTM from my standpoint. > > I'd ...
5 years, 3 months ago (2015-08-31 09:28:32 UTC) #12
Ken Russell (switch to Gerrit)
On 2015/08/31 09:28:32, Jin Yang wrote: > On 2015/08/28 20:27:34, Ken Russell wrote: > > ...
5 years, 3 months ago (2015-09-01 01:18:05 UTC) #13
Jin Yang
On 2015/09/01 01:18:05, Ken Russell wrote: > On 2015/08/31 09:28:32, Jin Yang wrote: > > ...
5 years, 3 months ago (2015-09-07 02:08:25 UTC) #14
piman
LGTM+nit https://codereview.chromium.org/1298523003/diff/60001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/1298523003/diff/60001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode13471 gpu/command_buffer/service/gles2_cmd_decoder.cc:13471: glApplyFramebufferAttachmentCMAAINTEL(); nit: indent looks wrong. Apply 'git cl ...
5 years, 3 months ago (2015-09-09 01:37:52 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1298523003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1298523003/80001
5 years, 3 months ago (2015-09-11 15:36:57 UTC) #18
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 3 months ago (2015-09-11 16:46:54 UTC) #19
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/f23471c866d7d3334d61538eb738d494542b5cac Cr-Commit-Position: refs/heads/master@{#348412}
5 years, 3 months ago (2015-09-11 16:47:40 UTC) #20
commit-bot: I haz the power
5 years, 3 months ago (2015-09-23 12:23:08 UTC) #21
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/f23471c866d7d3334d61538eb738d494542b5cac
Cr-Commit-Position: refs/heads/master@{#348412}

Powered by Google App Engine
This is Rietveld 408576698