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

Issue 2903363002: VR: Split off UI code into a library to ease future unit testing. (Closed)

Created:
3 years, 7 months ago by cjgrant
Modified:
3 years, 6 months ago
CC:
chromium-reviews, feature-vr-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

VR: Split off UI code into a library to ease future unit testing. This new library contains most "utility" and UI code, which is platform independent and easily testable. The original library contains core, Android, threading, etc. This is a step towards being able to build a small unit test binary, and run it on Linux. To allow the split, add a GL renderer interface to hide the GL thread from UI elements. BUG=727396 Review-Url: https://codereview.chromium.org/2903363002 Cr-Commit-Position: refs/heads/master@{#475516} Committed: https://chromium.googlesource.com/chromium/src/+/18addc1ee2e63344ce882005e48c2e509a7402b5

Patch Set 1 #

Patch Set 2 : Clean up and rebase. #

Patch Set 3 : More tweaks. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+115 lines, -40 lines) Patch
M chrome/browser/android/vr_shell/BUILD.gn View 1 2 6 chunks +40 lines, -23 lines 0 comments Download
A chrome/browser/android/vr_shell/ui_element_renderer.h View 1 2 1 chunk +31 lines, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/ui_elements/screen_dimmer.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/android/vr_shell/ui_elements/screen_dimmer.cc View 1 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/android/vr_shell/ui_elements/textured_element.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/android/vr_shell/ui_elements/textured_element.cc View 1 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/android/vr_shell/ui_elements/ui_element.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/android/vr_shell/ui_elements/ui_element.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/android/vr_shell/ui_scene_manager.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/android/vr_shell/vr_shell_renderer.h View 1 2 chunks +15 lines, -3 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_shell_renderer.cc View 1 1 chunk +16 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (10 generated)
cjgrant
Folks, a bit of a side work here en route to less painful unit test ...
3 years, 7 months ago (2017-05-25 22:47:48 UTC) #2
cjgrant
On 2017/05/25 22:47:48, cjgrant wrote: > Folks, a bit of a side work here en ...
3 years, 7 months ago (2017-05-25 22:49:10 UTC) #3
amp
Looks like a good improvement and separation. Glad to see something that can start to ...
3 years, 7 months ago (2017-05-25 23:21:47 UTC) #4
mthiesse
lgtm In a follow-up we should probably make our build target names more sensible. vr_common ...
3 years, 6 months ago (2017-05-29 17:00:59 UTC) #5
mthiesse
Might want to hold off on landing this one though until we've finished the stuff ...
3 years, 6 months ago (2017-05-29 17:01:31 UTC) #6
cjgrant
On 2017/05/29 17:01:31, mthiesse wrote: > Might want to hold off on landing this one ...
3 years, 6 months ago (2017-05-29 17:13:11 UTC) #7
Ian Vollick
On 2017/05/29 17:13:11, cjgrant wrote: > On 2017/05/29 17:01:31, mthiesse wrote: > > Might want ...
3 years, 6 months ago (2017-05-30 13:08:58 UTC) #13
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/2903363002/40001
3 years, 6 months ago (2017-05-30 13:41:29 UTC) #16
commit-bot: I haz the power
3 years, 6 months ago (2017-05-30 13:44:40 UTC) #19
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/18addc1ee2e63344ce882005e48c...

Powered by Google App Engine
This is Rietveld 408576698