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

Issue 2129043003: Make dynamic mock bindings initialization consistent with other GL implementations (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, ozone-reviews_chromium.org, kalyank
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make dynamic mock bindings initialization consistent with other GL implementations Various cleanup: - Every context type except GLContextStub calls InitializeDynamicBindings in MakeCurrent. Make it consistent. - In turn, it means we don't need an explicit InitializeDynamicMockBindings, so remove it. - In some tests, we were creating a context just to be able to call InitializeDynamicMockBindings. This is not necessary any more - dynamic bindings will be initalized as the first useful context is made current - Realizing that InitializeDynamicGLBindings is always called with a real context, remove the special cases for mock bindings. This makes it consistent with other GL implementations - In turn InitializeDynamicGLBindings always does exactly InitializeDynamicGLBindingsGL for valid GLImplementations, and is only called with a valid GLImplementation, simplify. It also means it can't fail. BUG=None 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/608429d9968aa471d128c74628d345c10fa8cf08 Cr-Commit-Position: refs/heads/master@{#404548}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -175 lines) Patch
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc View 1 chunk +0 lines, -1 line 0 comments Download
M gpu/command_buffer/service/gpu_service_test.cc View 1 chunk +0 lines, -1 line 0 comments Download
M gpu/ipc/service/gpu_channel_unittest.cc View 2 chunks +0 lines, -13 lines 0 comments Download
M ui/gl/gl_context.h View 1 chunk +1 line, -1 line 0 comments Download
M ui/gl/gl_context.cc View 1 chunk +2 lines, -5 lines 0 comments Download
M ui/gl/gl_context_cgl.cc View 1 chunk +1 line, -3 lines 0 comments Download
M ui/gl/gl_context_egl.cc View 1 chunk +1 line, -3 lines 0 comments Download
M ui/gl/gl_context_glx.cc View 1 chunk +1 line, -4 lines 0 comments Download
M ui/gl/gl_context_osmesa.cc View 1 chunk +1 line, -3 lines 0 comments Download
M ui/gl/gl_context_stub.cc View 1 chunk +2 lines, -1 line 0 comments Download
M ui/gl/gl_context_wgl.cc View 1 chunk +1 line, -3 lines 0 comments Download
M ui/gl/gl_implementation.h View 1 chunk +0 lines, -5 lines 0 comments Download
M ui/gl/gl_implementation_android.cc View 1 chunk +0 lines, -25 lines 0 comments Download
M ui/gl/gl_implementation_mac.cc View 1 chunk +0 lines, -26 lines 0 comments Download
M ui/gl/gl_implementation_ozone.cc View 1 chunk +0 lines, -24 lines 0 comments Download
M ui/gl/gl_implementation_win.cc View 1 chunk +0 lines, -25 lines 0 comments Download
M ui/gl/gl_implementation_x11.cc View 1 chunk +0 lines, -25 lines 0 comments Download
M ui/gl/gpu_timing_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M ui/gl/test/gl_surface_test_support.h View 1 chunk +0 lines, -1 line 0 comments Download
M ui/gl/test/gl_surface_test_support.cc View 1 chunk +0 lines, -5 lines 0 comments Download

Messages

Total messages: 13 (8 generated)
piman
Another cleanup...
4 years, 5 months ago (2016-07-08 21:39:08 UTC) #3
no sievers
lgtm
4 years, 5 months ago (2016-07-09 00:12:02 UTC) #8
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/2129043003/1
4 years, 5 months ago (2016-07-09 00:33:46 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 5 months ago (2016-07-09 00:42:29 UTC) #11
commit-bot: I haz the power
4 years, 5 months ago (2016-07-09 00:45:02 UTC) #13
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/608429d9968aa471d128c74628d345c10fa8cf08
Cr-Commit-Position: refs/heads/master@{#404548}

Powered by Google App Engine
This is Rietveld 408576698