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

Issue 555953007: Fixes for surfaces bindings exposed by wm_flow app (Closed)

Created:
6 years, 3 months ago by jamesr
Modified:
6 years, 3 months ago
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Fixes for surfaces bindings exposed by wm_flow app DisplayManager wasn't handling multiply nested things correctly and the client library wasn't handling uploading to multiple views from the same application. This fixes those. There's still some z-ordering issues that show up pretty visibly. This hacks up texture alpha so you can see partially through views to try to debug. BUG= Committed: https://crrev.com/048f8474044145b282f61d780817002df9137b78 Cr-Commit-Position: refs/heads/master@{#294866}

Patch Set 1 #

Total comments: 3

Patch Set 2 : View owns BitmapUploader, fix nesting draw order #

Patch Set 3 : #

Total comments: 1

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+209 lines, -187 lines) Patch
M mojo/examples/window_manager/window_manager.cc View 1 2 2 chunks +0 lines, -4 lines 0 comments Download
M mojo/examples/wm_flow/embedded/embedded.cc View 1 2 2 chunks +4 lines, -6 lines 0 comments Download
M mojo/services/public/cpp/view_manager/lib/bitmap_uploader.h View 2 chunks +15 lines, -4 lines 0 comments Download
M mojo/services/public/cpp/view_manager/lib/bitmap_uploader.cc View 1 2 3 4 chunks +139 lines, -101 lines 0 comments Download
M mojo/services/public/cpp/view_manager/lib/view.cc View 1 2 3 3 chunks +31 lines, -5 lines 0 comments Download
M mojo/services/public/cpp/view_manager/lib/view_manager_client_impl.h View 1 5 chunks +4 lines, -5 lines 0 comments Download
M mojo/services/public/cpp/view_manager/lib/view_manager_client_impl.cc View 1 4 chunks +1 line, -52 lines 0 comments Download
M mojo/services/public/cpp/view_manager/view.h View 1 2 3 3 chunks +5 lines, -0 lines 0 comments Download
M mojo/services/view_manager/display_manager.cc View 1 3 chunks +10 lines, -10 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
jamesr
This doesn't totally fix things but makes wm_flow a bit more usable. The z-order seems ...
6 years, 3 months ago (2014-09-13 01:10:40 UTC) #2
jamesr
https://codereview.chromium.org/555953007/diff/1/mojo/services/public/cpp/view_manager/lib/bitmap_uploader.cc File mojo/services/public/cpp/view_manager/lib/bitmap_uploader.cc (right): https://codereview.chromium.org/555953007/diff/1/mojo/services/public/cpp/view_manager/lib/bitmap_uploader.cc#newcode157 mojo/services/public/cpp/view_manager/lib/bitmap_uploader.cc:157: texture_state->vertex_opacity.push_back(0.25f * i); don't want to land this since ...
6 years, 3 months ago (2014-09-13 01:13:55 UTC) #3
Ben Goodger (Google)
https://codereview.chromium.org/555953007/diff/1/mojo/services/public/cpp/view_manager/lib/view.cc File mojo/services/public/cpp/view_manager/lib/view.cc (right): https://codereview.chromium.org/555953007/diff/1/mojo/services/public/cpp/view_manager/lib/view.cc#newcode308 mojo/services/public/cpp/view_manager/lib/view.cc:308: if (manager_) { nit: no braces https://codereview.chromium.org/555953007/diff/1/mojo/services/public/cpp/view_manager/lib/view_manager_client_impl.cc File mojo/services/public/cpp/view_manager/lib/view_manager_client_impl.cc ...
6 years, 3 months ago (2014-09-13 01:22:22 UTC) #4
jamesr
Oh, I probably do need to iterate backwards (since the quad list goes that way) ...
6 years, 3 months ago (2014-09-13 04:12:57 UTC) #5
Ben Goodger (Google)
lgtm https://codereview.chromium.org/555953007/diff/40001/mojo/services/public/cpp/view_manager/lib/view.cc File mojo/services/public/cpp/view_manager/lib/view.cc (right): https://codereview.chromium.org/555953007/diff/40001/mojo/services/public/cpp/view_manager/lib/view.cc#newcode403 mojo/services/public/cpp/view_manager/lib/view.cc:403: void View::LocalCreateBitmapUploader() { don't need the prefix "Local" ...
6 years, 3 months ago (2014-09-15 17:36:51 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/555953007/60001
6 years, 3 months ago (2014-09-15 18:02:11 UTC) #8
commit-bot: I haz the power
Committed patchset #4 (id:60001) as 9cf469ee282cc9a8a9792fc12bf7eb3ab3e942e8
6 years, 3 months ago (2014-09-15 19:28:40 UTC) #9
commit-bot: I haz the power
6 years, 3 months ago (2014-09-15 19:30:54 UTC) #10
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/048f8474044145b282f61d780817002df9137b78
Cr-Commit-Position: refs/heads/master@{#294866}

Powered by Google App Engine
This is Rietveld 408576698