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

Issue 2024953002: Move GL one-off initialization code. (Closed)

Created:
4 years, 6 months ago by kylechar
Modified:
4 years, 6 months ago
Reviewers:
piman
CC:
chromium-reviews, kalyank, ozone-reviews_chromium.org, halliwell
Base URL:
https://chromium.googlesource.com/chromium/src.git@split_x11
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move GL one-off initialization code. Move GL one-off initialization from //ui/gl to //ui/gl/init. Create a new class GLInitializer to contain the platform specific initialization methods and add platform specific implementation in a conditionally included file per platform. Remove the existing one-off initialization code in GLSurface and from platform specific GLSurface files. This change is part of step two from the associated bug. BUG=611142 Committed: https://crrev.com/7cf286c8a63e8f4146d9d63144dfec321a0108b2 Cr-Commit-Position: refs/heads/master@{#397839}

Patch Set 1 #

Patch Set 2 : Rebase/fix GYP. #

Patch Set 3 : Mac symbols? #

Patch Set 4 : Rebase/cleanup. #

Patch Set 5 : Fix windows compile. #

Total comments: 2

Patch Set 6 : Delete GLInitializer class. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+372 lines, -247 lines) Patch
M ui/gl/gl_implementation.h View 3 chunks +6 lines, -6 lines 0 comments Download
M ui/gl/gl_surface.h View 3 chunks +1 line, -10 lines 0 comments Download
M ui/gl/gl_surface.cc View 1 chunk +0 lines, -69 lines 0 comments Download
M ui/gl/gl_surface_android.cc View 1 chunk +0 lines, -14 lines 0 comments Download
M ui/gl/gl_surface_mac.cc View 3 chunks +0 lines, -59 lines 0 comments Download
M ui/gl/gl_surface_ozone.cc View 1 chunk +0 lines, -18 lines 0 comments Download
M ui/gl/gl_surface_win.cc View 1 chunk +0 lines, -29 lines 0 comments Download
M ui/gl/gl_surface_x11.cc View 1 chunk +0 lines, -31 lines 0 comments Download
M ui/gl/init/BUILD.gn View 1 2 3 4 5 2 chunks +21 lines, -1 line 0 comments Download
M ui/gl/init/gl_factory.h View 1 2 3 4 5 2 chunks +8 lines, -0 lines 0 comments Download
M ui/gl/init/gl_factory.cc View 1 2 3 4 5 1 chunk +75 lines, -7 lines 0 comments Download
M ui/gl/init/gl_init.gyp View 1 2 3 4 5 1 chunk +15 lines, -0 lines 0 comments Download
A ui/gl/init/gl_initializer.h View 1 2 3 4 5 1 chunk +20 lines, -0 lines 0 comments Download
A ui/gl/init/gl_initializer_android.cc View 1 2 3 4 5 1 chunk +28 lines, -0 lines 0 comments Download
A ui/gl/init/gl_initializer_mac.cc View 1 2 3 4 5 1 chunk +78 lines, -0 lines 0 comments Download
A ui/gl/init/gl_initializer_ozone.cc View 1 2 3 4 5 1 chunk +31 lines, -0 lines 0 comments Download
A ui/gl/init/gl_initializer_win.cc View 1 2 3 4 5 1 chunk +42 lines, -0 lines 0 comments Download
A ui/gl/init/gl_initializer_x11.cc View 1 2 3 4 5 1 chunk +42 lines, -0 lines 0 comments Download
M ui/gl/test/gl_surface_test_support.cc View 1 2 3 4 5 3 chunks +5 lines, -3 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 18 (9 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/2024953002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2024953002/60001
4 years, 6 months ago (2016-06-01 20:49:07 UTC) #3
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_compile_dbg_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/199470)
4 years, 6 months ago (2016-06-01 21:41:03 UTC) #5
kylechar
4 years, 6 months ago (2016-06-02 14:16:37 UTC) #8
piman
https://codereview.chromium.org/2024953002/diff/80001/ui/gl/init/gl_initializer.h File ui/gl/init/gl_initializer.h (right): https://codereview.chromium.org/2024953002/diff/80001/ui/gl/init/gl_initializer.h#newcode18 ui/gl/init/gl_initializer.h:18: class GL_INIT_EXPORT GLInitializer { nit: is a class needed ...
4 years, 6 months ago (2016-06-03 00:47:05 UTC) #10
kylechar
https://codereview.chromium.org/2024953002/diff/80001/ui/gl/init/gl_initializer.h File ui/gl/init/gl_initializer.h (right): https://codereview.chromium.org/2024953002/diff/80001/ui/gl/init/gl_initializer.h#newcode18 ui/gl/init/gl_initializer.h:18: class GL_INIT_EXPORT GLInitializer { On 2016/06/03 00:47:05, piman OOO ...
4 years, 6 months ago (2016-06-03 13:41:21 UTC) #11
piman
Excellent. Thanks and LGTM.
4 years, 6 months ago (2016-06-03 19:57:16 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2024953002/100001
4 years, 6 months ago (2016-06-03 20:23:36 UTC) #14
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 6 months ago (2016-06-03 23:27:54 UTC) #16
commit-bot: I haz the power
4 years, 6 months ago (2016-06-03 23:29:50 UTC) #18
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/7cf286c8a63e8f4146d9d63144dfec321a0108b2
Cr-Commit-Position: refs/heads/master@{#397839}

Powered by Google App Engine
This is Rietveld 408576698