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

Issue 2170293002: Use GLVersionInfo instead of gl::GetGLImplementation() to decide GL paths (Closed)

Created:
4 years, 5 months ago by piman
Modified:
4 years, 5 months ago
Reviewers:
no sievers
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

Use GLVersionInfo instead of gl::GetGLImplementation() to decide GL paths This is more consistent overall, GetGLImplementation() doesn't tell exactly whether we're using the core profile, or which version of ES etc. It also helps testing & fuzzing, because mocks/stubs may implement ES2 but don't report kGLImplementationEGLGLES2, causing inconsistencies. BUG=None CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Committed: https://crrev.com/9b0c43932354d90f3d5e4882695f442bbbb4708c Cr-Commit-Position: refs/heads/master@{#407276}

Patch Set 1 #

Total comments: 3

Patch Set 2 : add comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+114 lines, -104 lines) Patch
M gpu/command_buffer/service/buffer_manager.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.cc View 5 chunks +13 lines, -10 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.h View 2 chunks +2 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 38 chunks +62 lines, -53 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_mock.h View 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_passthrough.h View 1 chunk +2 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_passthrough.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc View 3 chunks +7 lines, -3 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_programs.cc View 1 chunk +8 lines, -2 lines 0 comments Download
M gpu/command_buffer/service/test_helper.h View 1 chunk +0 lines, -12 lines 0 comments Download
M gpu/command_buffer/service/test_helper.cc View 1 chunk +0 lines, -10 lines 0 comments Download
M gpu/perftests/texture_upload_perftest.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/gl/gl_context_cgl.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/gl/gl_fence.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ui/gl/gl_gl_api_implementation.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/gl/test/gl_image_test_template.h View 2 chunks +2 lines, -2 lines 0 comments Download
M ui/gl/yuv_to_rgb_converter.h View 1 chunk +3 lines, -1 line 0 comments Download
M ui/gl/yuv_to_rgb_converter.cc View 2 chunks +3 lines, -4 lines 0 comments Download

Messages

Total messages: 16 (9 generated)
piman
4 years, 5 months ago (2016-07-22 04:14:13 UTC) #5
no sievers
lgtm https://codereview.chromium.org/2170293002/diff/1/gpu/command_buffer/service/buffer_manager.cc File gpu/command_buffer/service/buffer_manager.cc (right): https://codereview.chromium.org/2170293002/diff/1/gpu/command_buffer/service/buffer_manager.cc#newcode362 gpu/command_buffer/service/buffer_manager.cc:362: !feature_info_ || feature_info_->gl_version_info().is_es; |!feature_info_| is for some unit ...
4 years, 5 months ago (2016-07-22 17:26:18 UTC) #8
piman
Thanks! https://codereview.chromium.org/2170293002/diff/1/gpu/command_buffer/service/buffer_manager.cc File gpu/command_buffer/service/buffer_manager.cc (right): https://codereview.chromium.org/2170293002/diff/1/gpu/command_buffer/service/buffer_manager.cc#newcode362 gpu/command_buffer/service/buffer_manager.cc:362: !feature_info_ || feature_info_->gl_version_info().is_es; On 2016/07/22 17:26:17, sievers wrote: ...
4 years, 5 months ago (2016-07-22 17:30:03 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2170293002/20001
4 years, 5 months ago (2016-07-22 19:09:17 UTC) #12
piman
https://codereview.chromium.org/2170293002/diff/1/gpu/command_buffer/service/buffer_manager.cc File gpu/command_buffer/service/buffer_manager.cc (right): https://codereview.chromium.org/2170293002/diff/1/gpu/command_buffer/service/buffer_manager.cc#newcode362 gpu/command_buffer/service/buffer_manager.cc:362: !feature_info_ || feature_info_->gl_version_info().is_es; On 2016/07/22 17:26:17, sievers wrote: > ...
4 years, 5 months ago (2016-07-22 19:25:37 UTC) #13
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 5 months ago (2016-07-22 21:58:13 UTC) #14
commit-bot: I haz the power
4 years, 5 months ago (2016-07-22 22:00:10 UTC) #16
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/9b0c43932354d90f3d5e4882695f442bbbb4708c
Cr-Commit-Position: refs/heads/master@{#407276}

Powered by Google App Engine
This is Rietveld 408576698