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

Issue 1920163005: Split //ui/gl into //ui/gl + //ui/gi/init. (Closed)

Created:
4 years, 7 months ago by kylechar
Modified:
4 years, 7 months ago
CC:
chromium-reviews, sadrul, posciak+watch_chromium.org, sievers+watch_chromium.org, nyquist+watch-blimp_chromium.org, kmarshall+watch-blimp_chromium.org, ozone-reviews_chromium.org, maniscalco+watch-blimp_chromium.org, lcwu+watch_chromium.org, jam, jbauman+watch_chromium.org, marcinjb+watch-blimp_chromium.org, jessicag+watch-blimp_chromium.org, darin-cc_chromium.org, halliwell+watch_chromium.org, kalyank, android-webview-reviews_chromium.org, extensions-reviews_chromium.org, feature-media-reviews_chromium.org, chromium-apps-reviews_chromium.org, piman+watch_chromium.org, cc-bugs_chromium.org, rjkroege, anandc+watch-blimp_chromium.org, sriramsr+watch-blimp_chromium.org, Ian Vollick, tfarina, danakj+watch_chromium.org, dtrainor+watch-blimp_chromium.org, wolenetz
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Split //ui/gl into //ui/gl + //ui/gi/init. Refactor //ui/gl to fix Ozone dep problem. This CL is step 1 described in the associated bug. BUG=611142 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/5b9dec1e9e9a86bf5d5c2acbbfc32597fac300a5 Cr-Commit-Position: refs/heads/master@{#393838}

Patch Set 1 #

Patch Set 2 : Rebase/fixes. #

Patch Set 3 : Rebase. #

Patch Set 4 : Missing include. #

Patch Set 5 : Fix win/android. #

Patch Set 6 : Another fix. #

Patch Set 7 : Change to //ui/gl/init #

Total comments: 2

Patch Set 8 : Rebase/fix for comment. #

Patch Set 9 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+374 lines, -121 lines) Patch
M android_webview/BUILD.gn View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M android_webview/android_webview.gyp View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M android_webview/android_webview_tests.gypi View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M android_webview/browser/aw_gl_surface.h View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M android_webview/browser/scoped_app_gl_state_restore.cc View 1 2 3 4 5 6 2 chunks +4 lines, -3 lines 0 comments Download
M android_webview/browser/test/fake_window.cc View 1 2 3 4 5 6 7 2 chunks +4 lines, -3 lines 0 comments Download
M blimp/client/BUILD.gn View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M blimp/client/app/blimp_startup.cc View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M components/mus/gles2/BUILD.gn View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M components/mus/gles2/command_buffer_driver.cc View 1 2 3 4 5 6 7 8 3 chunks +6 lines, -5 lines 0 comments Download
M components/mus/gles2/gpu_state.cc View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M content/common/sandbox_mac.mm View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M content/content_common.gypi View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M content/content_gpu.gypi View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M content/gpu/BUILD.gn View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M content/gpu/gpu_child_thread.cc View 1 2 3 4 5 6 2 chunks +3 lines, -2 lines 0 comments Download
M content/gpu/gpu_main.cc View 1 2 3 4 5 6 6 chunks +11 lines, -10 lines 0 comments Download
M gpu/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/service/BUILD.gn View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/service/in_process_command_buffer.cc View 1 2 3 4 5 6 7 4 chunks +6 lines, -5 lines 0 comments Download
M gpu/command_buffer/tests/gl_manager.cc View 1 2 3 4 5 6 4 chunks +8 lines, -9 lines 0 comments Download
M gpu/command_buffer/tests/gl_tests_main.cc View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M gpu/command_buffer/tests/gl_unittests_android.cc View 1 2 3 4 5 6 2 chunks +2 lines, -1 line 0 comments Download
M gpu/command_buffer_service.gypi View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M gpu/config/BUILD.gn View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M gpu/config/gpu_info_collector.cc View 1 2 3 4 5 6 2 chunks +4 lines, -6 lines 0 comments Download
M gpu/gles2_conform_support/egl/context.cc View 1 2 3 4 5 6 2 chunks +3 lines, -2 lines 0 comments Download
M gpu/gles2_conform_support/egl/display.cc View 1 2 3 4 5 6 3 chunks +3 lines, -3 lines 0 comments Download
M gpu/gles2_conform_support/egl/thread_state.cc View 1 2 3 4 5 6 2 chunks +2 lines, -1 line 0 comments Download
M gpu/gles2_conform_support/gles2_conform_support.gyp View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M gpu/gpu.gyp View 1 2 3 4 5 6 7 7 chunks +7 lines, -0 lines 0 comments Download
M gpu/gpu_config.gypi View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M gpu/gpu_ipc_client.gypi View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M gpu/gpu_ipc_common.gypi View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M gpu/gpu_ipc_service.gypi View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M gpu/ipc/service/BUILD.gn View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M gpu/ipc/service/gpu_channel_manager.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -1 line 0 comments Download
M gpu/ipc/service/gpu_command_buffer_stub.cc View 1 2 3 4 5 6 7 3 chunks +6 lines, -4 lines 0 comments Download
M gpu/ipc/service/image_transport_surface_linux.cc View 1 2 3 4 5 6 2 chunks +3 lines, -2 lines 0 comments Download
M gpu/ipc/service/image_transport_surface_win.cc View 1 2 3 4 5 6 2 chunks +2 lines, -1 line 0 comments Download
M gpu/perftests/texture_upload_perftest.cc View 1 2 3 4 5 6 2 chunks +6 lines, -5 lines 0 comments Download
M gpu/tools/compositor_model_bench/BUILD.gn View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M gpu/tools/compositor_model_bench/compositor_model_bench.cc View 1 2 3 4 5 6 7 2 chunks +3 lines, -3 lines 0 comments Download
M gpu/tools/tools.gyp View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M media/gpu/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M media/gpu/rendering_helper.cc View 1 2 3 4 5 6 3 chunks +5 lines, -4 lines 0 comments Download
M media/media_gpu.gypi View 1 2 3 4 5 6 2 chunks +2 lines, -0 lines 0 comments Download
M ui/aura/BUILD.gn View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M ui/aura/aura.gyp View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M ui/aura/demo/DEPS View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M ui/aura/demo/demo_main.cc View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M ui/gl/BUILD.gn View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -0 lines 0 comments Download
M ui/gl/generate_bindings.py View 1 2 3 4 5 6 2 chunks +3 lines, -3 lines 0 comments Download
M ui/gl/gl.gyp View 1 2 3 4 5 6 2 chunks +2 lines, -0 lines 0 comments Download
M ui/gl/gl_bindings_autogen_egl.h View 1 2 3 4 5 6 2 chunks +3 lines, -3 lines 0 comments Download
M ui/gl/gl_bindings_autogen_gl.h View 1 2 3 4 5 6 2 chunks +3 lines, -3 lines 0 comments Download
M ui/gl/gl_bindings_autogen_glx.h View 1 2 3 4 5 6 2 chunks +3 lines, -3 lines 0 comments Download
M ui/gl/gl_bindings_autogen_osmesa.h View 1 2 3 4 5 6 2 chunks +3 lines, -3 lines 0 comments Download
M ui/gl/gl_bindings_autogen_wgl.h View 1 2 3 4 5 6 2 chunks +3 lines, -3 lines 0 comments Download
M ui/gl/gl_context.h View 1 2 3 4 5 6 2 chunks +2 lines, -0 lines 0 comments Download
M ui/gl/gl_context_osmesa.h View 1 2 3 4 5 6 2 chunks +2 lines, -1 line 0 comments Download
M ui/gl/gl_context_stub.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M ui/gl/gl_context_stub_with_extensions.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M ui/gl/gl_egl_api_implementation.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M ui/gl/gl_fence_apple.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M ui/gl/gl_fence_arb.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M ui/gl/gl_fence_egl.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M ui/gl/gl_fence_nv.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M ui/gl/gl_image_egl.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M ui/gl/gl_image_io_surface.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M ui/gl/gl_image_memory.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M ui/gl/gl_image_ozone_native_pixmap.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M ui/gl/gl_image_ref_counted_memory.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M ui/gl/gl_image_shared_memory.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M ui/gl/gl_image_stub.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M ui/gl/gl_image_surface_texture.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M ui/gl/gl_surface.h View 1 2 3 4 5 6 3 chunks +6 lines, -0 lines 0 comments Download
M ui/gl/gl_surface_egl.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M ui/gl/gl_surface_egl_x11.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M ui/gl/gl_surface_mac.cc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M ui/gl/gl_surface_osmesa.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M ui/gl/gl_surface_stub.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M ui/gl/gl_surface_wgl.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M ui/gl/gl_tests.gyp View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
A + ui/gl/init/BUILD.gn View 1 2 3 4 5 6 1 chunk +13 lines, -5 lines 0 comments Download
A ui/gl/init/gl_factory.h View 1 2 3 4 5 6 1 chunk +54 lines, -0 lines 0 comments Download
A ui/gl/init/gl_factory.cc View 1 2 3 4 5 6 1 chunk +49 lines, -0 lines 0 comments Download
A ui/gl/init/gl_init.gyp View 1 2 3 4 5 6 1 chunk +30 lines, -0 lines 0 comments Download
A ui/gl/init/gl_init_export.h View 1 2 3 4 5 6 1 chunk +29 lines, -0 lines 0 comments Download
M ui/gl/test/gl_image_test_template.h View 1 2 3 4 5 6 2 chunks +4 lines, -3 lines 0 comments Download
M ui/ozone/demo/BUILD.gn View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M ui/ozone/demo/gl_renderer.cc View 1 2 3 4 5 6 7 2 chunks +3 lines, -2 lines 0 comments Download
M ui/ozone/demo/ozone_demo.cc View 1 2 3 4 5 6 7 3 chunks +4 lines, -4 lines 0 comments Download
M ui/ozone/demo/ozone_demos.gyp View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M ui/surface/surface.gyp View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/examples/BUILD.gn View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M ui/views/examples/DEPS View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M ui/views/examples/examples_main.cc View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 47 (26 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/1920163005/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1920163005/60001
4 years, 7 months ago (2016-05-03 15:59:50 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_clang_dbg_recipe on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_clang_dbg_recipe/builds/60352)
4 years, 7 months ago (2016-05-03 16:18:54 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1920163005/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1920163005/100001
4 years, 7 months ago (2016-05-04 17:16:16 UTC) #8
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-04 19:04:27 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1920163005/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1920163005/160001
4 years, 7 months ago (2016-05-11 17:54:41 UTC) #14
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/220035)
4 years, 7 months ago (2016-05-11 22:27:06 UTC) #17
kylechar
4 years, 7 months ago (2016-05-11 22:30:34 UTC) #19
piman
lgtm https://codereview.chromium.org/1920163005/diff/160001/android_webview/browser/aw_gl_surface.h File android_webview/browser/aw_gl_surface.h (right): https://codereview.chromium.org/1920163005/diff/160001/android_webview/browser/aw_gl_surface.h#newcode17 android_webview/browser/aw_gl_surface.h:17: class GL_EXPORT AwGLSurface : public gfx::GLSurface { huh... ...
4 years, 7 months ago (2016-05-11 23:14:57 UTC) #21
rjkroege
fwiw ui/ozone lgtm
4 years, 7 months ago (2016-05-11 23:58:30 UTC) #23
Pawel Osciak
media/gpu lgtm
4 years, 7 months ago (2016-05-12 00:04:41 UTC) #25
kylechar
Thanks! Adding sgurun for android_webview/*, wolenetz for media/media_gpu.gypi and sadrul for remaining ui/*. https://codereview.chromium.org/1920163005/diff/160001/android_webview/browser/aw_gl_surface.h File ...
4 years, 7 months ago (2016-05-12 14:47:30 UTC) #28
nyquist
blimp lgtm
4 years, 7 months ago (2016-05-12 18:03:07 UTC) #29
wolenetz
Over to watk@ for media/media_gpu.gypi CR
4 years, 7 months ago (2016-05-12 20:12:52 UTC) #31
watk
media/media_gpu.gypi lgtm
4 years, 7 months ago (2016-05-12 20:19:44 UTC) #33
sgurun-gerrit only
lgtm
4 years, 7 months ago (2016-05-12 23:13:39 UTC) #34
sadrul
lgtm
4 years, 7 months ago (2016-05-13 16:26:27 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1920163005/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1920163005/200001
4 years, 7 months ago (2016-05-13 17:46:11 UTC) #38
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/221376)
4 years, 7 months ago (2016-05-13 22:59:14 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1920163005/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1920163005/220001
4 years, 7 months ago (2016-05-16 14:08:52 UTC) #43
commit-bot: I haz the power
Committed patchset #9 (id:220001)
4 years, 7 months ago (2016-05-16 15:41:09 UTC) #45
commit-bot: I haz the power
4 years, 7 months ago (2016-05-16 15:42:47 UTC) #47
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/5b9dec1e9e9a86bf5d5c2acbbfc32597fac300a5
Cr-Commit-Position: refs/heads/master@{#393838}

Powered by Google App Engine
This is Rietveld 408576698