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

Issue 1872663002: Enable TexStorage on Desktop GL lower than 4.2 (Closed)

Created:
4 years, 8 months ago by Zhenyao Mo
Modified:
4 years, 8 months ago
CC:
chromium-reviews, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Enable TexStorage on Desktop GL lower than 4.2 On MacOSX core profile, the highest GL supported is 4.1. However, TexStorage functions are only included in 4.2 or higher. However, it seems that most (if not all) mac drivers expose ARB_texture_storage extension, so we simply expose the GL binding when the extension exists. This CL also consolidate similar code in handling TexStorage2D and 3D. BUG=601513 TEST=gpu_unittests R=piman@chromium.org,kbr@chromium.org CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel;tryserver.chromium.win:win_optional_gpu_tests_rel Committed: https://crrev.com/8edf606b24fe8f69becdbf0afe8ae69c16375482 Cr-Commit-Position: refs/heads/master@{#386586}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 4

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+138 lines, -156 lines) Patch
M content/test/gpu/gpu_tests/webgl2_conformance_expectations.py View 1 2 3 4 3 chunks +2 lines, -6 lines 0 comments Download
M gpu/command_buffer/service/feature_info.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 3 4 5 chunks +126 lines, -140 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc View 4 chunks +5 lines, -3 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_textures.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M ui/gl/generate_bindings.py View 1 1 chunk +2 lines, -1 line 0 comments Download
M ui/gl/gl_bindings_autogen_gl.cc View 1 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 31 (13 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1872663002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1872663002/1
4 years, 8 months ago (2016-04-08 00:19:55 UTC) #3
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_optional_gpu_tests_rel on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_optional_gpu_tests_rel/builds/477)
4 years, 8 months ago (2016-04-08 03:37:49 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1872663002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1872663002/20001
4 years, 8 months ago (2016-04-11 18:09:14 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1872663002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1872663002/40001
4 years, 8 months ago (2016-04-11 18:18:53 UTC) #9
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-11 20:04:49 UTC) #11
Zhenyao Mo
piman: PTAL
4 years, 8 months ago (2016-04-11 21:38:14 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1872663002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1872663002/60001
4 years, 8 months ago (2016-04-11 21:38:30 UTC) #14
piman
https://codereview.chromium.org/1872663002/diff/60001/gpu/command_buffer/service/feature_info.cc File gpu/command_buffer/service/feature_info.cc (right): https://codereview.chromium.org/1872663002/diff/60001/gpu/command_buffer/service/feature_info.cc#newcode1037 gpu/command_buffer/service/feature_info.cc:1037: gl_version_info_->IsAtLeastGL(4, 2))) { I'm a bit confused... Is the ...
4 years, 8 months ago (2016-04-11 22:59:32 UTC) #15
Zhenyao Mo
Please take another look. https://codereview.chromium.org/1872663002/diff/60001/gpu/command_buffer/service/feature_info.cc File gpu/command_buffer/service/feature_info.cc (right): https://codereview.chromium.org/1872663002/diff/60001/gpu/command_buffer/service/feature_info.cc#newcode1037 gpu/command_buffer/service/feature_info.cc:1037: gl_version_info_->IsAtLeastGL(4, 2))) { On 2016/04/11 ...
4 years, 8 months ago (2016-04-11 23:17:19 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1872663002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1872663002/80001
4 years, 8 months ago (2016-04-11 23:18:12 UTC) #18
Zhenyao Mo
If you agree with going down this path, I'll update the CL subject and description ...
4 years, 8 months ago (2016-04-11 23:22:30 UTC) #19
piman
On Mon, Apr 11, 2016 at 4:22 PM, <zmo@chromium.org> wrote: > If you agree with ...
4 years, 8 months ago (2016-04-11 23:37:19 UTC) #20
Zhenyao Mo
Updated. PTAL.
4 years, 8 months ago (2016-04-11 23:42:05 UTC) #22
piman
lgtm
4 years, 8 months ago (2016-04-12 01:48:59 UTC) #23
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/209382)
4 years, 8 months ago (2016-04-12 02:38:25 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1872663002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1872663002/80001
4 years, 8 months ago (2016-04-12 03:31:07 UTC) #27
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 8 months ago (2016-04-12 04:33:24 UTC) #29
commit-bot: I haz the power
4 years, 8 months ago (2016-04-12 04:35:07 UTC) #31
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/8edf606b24fe8f69becdbf0afe8ae69c16375482
Cr-Commit-Position: refs/heads/master@{#386586}

Powered by Google App Engine
This is Rietveld 408576698