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

Issue 640283003: Use NV_draw_buffers to implement EXT_draw_buffers (Closed)

Created:
6 years, 2 months ago by oetuaho-nv
Modified:
6 years, 2 months ago
CC:
chromium-reviews, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@lkgr
Project:
chromium
Visibility:
Public.

Description

Use NV_draw_buffers to implement EXT_draw_buffers NV_draw_buffers can be used in combination with GLES3.0 to emulate EXT_draw_buffers. When GLES3.0 and NV_draw_buffers are present, but native EXT_draw_buffers is not, the extension directive in shaders is changed in ANGLE to make ESSL 1.00 shaders able to refer to glFragData[n>0], and DrawBuffersEXT calls are directed to GLES3.0 core DrawBuffers. This enables the WEBGL_draw_buffers extension on Tegra K1. Performance benefits are in the 5-25% range in demos that are able to render both with and without the WebGL extension. BUG=421882 TEST=WebGL conformance tests, gpu_unittests Committed: https://crrev.com/0decd4403598013cb4313b120ad09b3674d7c4c7 Cr-Commit-Position: refs/heads/master@{#299272}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Added explanation of nv_draw_buffers flag to feature_info.cc #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -3 lines) Patch
M gpu/command_buffer/service/feature_info.h View 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/service/feature_info.cc View 1 2 chunks +16 lines, -2 lines 0 comments Download
M gpu/command_buffer/service/feature_info_unittest.cc View 2 chunks +15 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/test_helper.cc View 1 chunk +11 lines, -0 lines 0 comments Download
M ui/gl/generate_bindings.py View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (2 generated)
oetuaho-nv
Please review!
6 years, 2 months ago (2014-10-09 15:05:19 UTC) #2
Zhenyao Mo
https://codereview.chromium.org/640283003/diff/1/ui/gl/generate_bindings.py File ui/gl/generate_bindings.py (right): https://codereview.chromium.org/640283003/diff/1/ui/gl/generate_bindings.py#newcode219 ui/gl/generate_bindings.py:219: 'names': ['glDrawBuffersARB', 'glDrawBuffersEXT', 'glDrawBuffers'], I thought the NV extension ...
6 years, 2 months ago (2014-10-09 17:51:32 UTC) #3
oetuaho-nv
https://codereview.chromium.org/640283003/diff/1/ui/gl/generate_bindings.py File ui/gl/generate_bindings.py (right): https://codereview.chromium.org/640283003/diff/1/ui/gl/generate_bindings.py#newcode219 ui/gl/generate_bindings.py:219: 'names': ['glDrawBuffersARB', 'glDrawBuffersEXT', 'glDrawBuffers'], On 2014/10/09 17:51:32, Zhenyao Mo ...
6 years, 2 months ago (2014-10-10 07:42:15 UTC) #4
oetuaho-nv
I went ahead and added an explanatory comment in patch set 2. I tried to ...
6 years, 2 months ago (2014-10-10 13:50:20 UTC) #5
Zhenyao Mo
Thanks for the explanation and the added documentation. LGTM
6 years, 2 months ago (2014-10-10 16:13:17 UTC) #6
Ken Russell (switch to Gerrit)
LGTM though I'm not an OWNER.
6 years, 2 months ago (2014-10-10 22:21:43 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/640283003/50001
6 years, 2 months ago (2014-10-13 07:46:07 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:50001)
6 years, 2 months ago (2014-10-13 08:40:57 UTC) #10
commit-bot: I haz the power
6 years, 2 months ago (2014-10-13 08:41:46 UTC) #11
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/0decd4403598013cb4313b120ad09b3674d7c4c7
Cr-Commit-Position: refs/heads/master@{#299272}

Powered by Google App Engine
This is Rietveld 408576698