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

Issue 2040453002: views/mus: Create the BitmapUploader only when needed. (Closed)

Created:
4 years, 6 months ago by sadrul
Modified:
4 years, 6 months ago
Reviewers:
sky
CC:
chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

views/mus: Create the BitmapUploader only when needed. BitmapUploader is needed only for chrome when it uses software rendering. So instead of always creating a BitmapUploader (which creates an extra surface for the window) for every widget, create it only when needed. BUG=none Committed: https://crrev.com/8e4d2a3ced7db1869346023b6f75b19fa9b74d38 Cr-Commit-Position: refs/heads/master@{#398069}

Patch Set 1 #

Patch Set 2 : . #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -45 lines) Patch
M mash/test/mash_test_suite.cc View 1 3 chunks +0 lines, -8 lines 0 comments Download
M ui/views/mus/native_widget_mus.h View 3 chunks +10 lines, -0 lines 0 comments Download
M ui/views/mus/native_widget_mus.cc View 1 3 chunks +20 lines, -5 lines 2 comments Download
M ui/views/mus/surface_binding.cc View 1 2 chunks +4 lines, -1 line 0 comments Download
M ui/views/mus/window_tree_host_mus.h View 4 chunks +1 line, -15 lines 0 comments Download
M ui/views/mus/window_tree_host_mus.cc View 3 chunks +1 line, -16 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
sadrul
4 years, 6 months ago (2016-06-03 16:55:21 UTC) #2
sky
https://codereview.chromium.org/2040453002/diff/20001/ui/views/mus/native_widget_mus.cc File ui/views/mus/native_widget_mus.cc (left): https://codereview.chromium.org/2040453002/diff/20001/ui/views/mus/native_widget_mus.cc#oldcode504 ui/views/mus/native_widget_mus.cc:504: if (!default_context_factory && connector) { Why are you nuking ...
4 years, 6 months ago (2016-06-03 19:52:01 UTC) #3
sadrul
https://codereview.chromium.org/2040453002/diff/20001/ui/views/mus/native_widget_mus.cc File ui/views/mus/native_widget_mus.cc (left): https://codereview.chromium.org/2040453002/diff/20001/ui/views/mus/native_widget_mus.cc#oldcode504 ui/views/mus/native_widget_mus.cc:504: if (!default_context_factory && connector) { On 2016/06/03 19:52:01, sky ...
4 years, 6 months ago (2016-06-03 22:16:40 UTC) #4
sky
I'm pretty sure the mash unittests install a contextfactory on aura::Env. See https://chromium.googlesource.com/chromium/src/+/master/mash/test/mash_test_suite.cc#39 . On ...
4 years, 6 months ago (2016-06-03 22:40:27 UTC) #5
sadrul
On 2016/06/03 22:40:27, sky wrote: > I'm pretty sure the mash unittests install a contextfactory ...
4 years, 6 months ago (2016-06-04 03:30:45 UTC) #6
sky
My mistake, LGTM
4 years, 6 months ago (2016-06-06 17:00:46 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2040453002/20001
4 years, 6 months ago (2016-06-06 17:14:44 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 6 months ago (2016-06-06 18:23:17 UTC) #10
commit-bot: I haz the power
4 years, 6 months ago (2016-06-06 18:25:52 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/8e4d2a3ced7db1869346023b6f75b19fa9b74d38
Cr-Commit-Position: refs/heads/master@{#398069}

Powered by Google App Engine
This is Rietveld 408576698