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

Issue 2752833002: cc: Use gpu raster in HUD. (Closed)

Created:
3 years, 9 months ago by sohan
Modified:
3 years, 6 months ago
Reviewers:
danakj, sohanjg_, ericrk
CC:
chromium-reviews, cc-bugs_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Use gpu raster in HUD. This changes the SW back-end for drawing HUD to use Ganesh backed canvas and texture for drawing FPS, raster and gpu memory info. If gpu is not available it falls back to old SW canvas implementation. BUG=345416 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2752833002 Cr-Commit-Position: refs/heads/master@{#477845} Committed: https://chromium.googlesource.com/chromium/src/+/bdc4a31b6e88e8a12b0b7bb298a03b020b1c61de

Patch Set 1 #

Patch Set 2 : show up! #

Patch Set 3 : avoid context lock crash. #

Patch Set 4 : create new surface for each tex #

Total comments: 28

Patch Set 5 : comments updated. #

Patch Set 6 : keep SW raster path. #

Patch Set 7 : rebase #

Patch Set 8 : update tests. #

Patch Set 9 : fix failing test. #

Total comments: 7

Patch Set 10 : review comments updated. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+119 lines, -48 lines) Patch
M cc/layers/heads_up_display_layer_impl.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M cc/layers/heads_up_display_layer_impl.cc View 1 2 3 4 5 6 7 8 9 6 chunks +73 lines, -38 lines 1 comment Download
M cc/layers/heads_up_display_layer_impl_unittest.cc View 1 2 3 4 5 6 7 2 chunks +34 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_context.cc View 1 2 3 4 5 6 7 8 9 2 chunks +7 lines, -5 lines 0 comments Download

Messages

Total messages: 63 (36 generated)
sohan
Looks like i maybe missing something here, i can see FrameBuffer errors like.. 03-28 21:09:43.191 ...
3 years, 8 months ago (2017-03-28 18:26:34 UTC) #4
sohan
On 2017/03/28 18:26:34, sohan wrote: > Looks like i maybe missing something here, i can ...
3 years, 8 months ago (2017-03-29 19:32:18 UTC) #6
danakj
On Wed, Mar 29, 2017 at 3:32 PM, <sohan.jyoti@huawei.com> wrote: > On 2017/03/28 18:26:34, sohan ...
3 years, 8 months ago (2017-03-29 19:42:11 UTC) #7
sohan
On 2017/03/29 19:42:11, danakj wrote: > On Wed, Mar 29, 2017 at 3:32 PM, <mailto:sohan.jyoti@huawei.com> ...
3 years, 8 months ago (2017-03-30 15:44:07 UTC) #8
danakj
On Thu, Mar 30, 2017 at 11:44 AM, <sohan.jyoti@huawei.com> wrote: > On 2017/03/29 19:42:11, danakj ...
3 years, 8 months ago (2017-03-30 18:12:30 UTC) #9
sohan
On 2017/03/30 18:12:30, danakj wrote: > On Thu, Mar 30, 2017 at 11:44 AM, <mailto:sohan.jyoti@huawei.com> ...
3 years, 8 months ago (2017-04-06 15:47:55 UTC) #10
sohan
Sorry for being late on this, it now looks stable, please take a look. Thanks.
3 years, 8 months ago (2017-04-18 17:56:55 UTC) #12
sohan
On 2017/04/18 17:56:55, sohan wrote: > Sorry for being late on this, it now looks ...
3 years, 8 months ago (2017-04-25 03:18:00 UTC) #13
danakj
https://codereview.chromium.org/2752833002/diff/80001/cc/layers/heads_up_display_layer_impl.cc File cc/layers/heads_up_display_layer_impl.cc (right): https://codereview.chromium.org/2752833002/diff/80001/cc/layers/heads_up_display_layer_impl.cc#newcode102 cc/layers/heads_up_display_layer_impl.cc:102: RGBA_8888, gfx::ColorSpace()); do you want best_render_buffer_format() instead of best_texture_format()? ...
3 years, 7 months ago (2017-05-01 22:57:33 UTC) #14
sohan
Thanks for the review. Please take a look, thanks. https://codereview.chromium.org/2752833002/diff/80001/cc/layers/heads_up_display_layer_impl.cc File cc/layers/heads_up_display_layer_impl.cc (right): https://codereview.chromium.org/2752833002/diff/80001/cc/layers/heads_up_display_layer_impl.cc#newcode102 cc/layers/heads_up_display_layer_impl.cc:102: ...
3 years, 7 months ago (2017-05-03 11:06:35 UTC) #16
danakj
https://codereview.chromium.org/2752833002/diff/80001/cc/layers/heads_up_display_layer_impl.cc File cc/layers/heads_up_display_layer_impl.cc (right): https://codereview.chromium.org/2752833002/diff/80001/cc/layers/heads_up_display_layer_impl.cc#newcode163 cc/layers/heads_up_display_layer_impl.cc:163: ContextProvider* context_provider) { On 2017/05/03 11:06:34, sohan wrote: > ...
3 years, 7 months ago (2017-05-03 14:44:51 UTC) #17
sohan
https://codereview.chromium.org/2752833002/diff/80001/cc/layers/heads_up_display_layer_impl.cc File cc/layers/heads_up_display_layer_impl.cc (right): https://codereview.chromium.org/2752833002/diff/80001/cc/layers/heads_up_display_layer_impl.cc#newcode163 cc/layers/heads_up_display_layer_impl.cc:163: ContextProvider* context_provider) { On 2017/05/03 14:44:51, danakj wrote: > ...
3 years, 7 months ago (2017-05-03 14:50:31 UTC) #18
danakj
https://codereview.chromium.org/2752833002/diff/80001/cc/layers/heads_up_display_layer_impl.cc File cc/layers/heads_up_display_layer_impl.cc (right): https://codereview.chromium.org/2752833002/diff/80001/cc/layers/heads_up_display_layer_impl.cc#newcode163 cc/layers/heads_up_display_layer_impl.cc:163: ContextProvider* context_provider) { On 2017/05/03 14:50:30, sohan wrote: > ...
3 years, 7 months ago (2017-05-03 14:52:08 UTC) #19
sohan
Please take a look, thanks. https://codereview.chromium.org/2752833002/diff/80001/cc/layers/heads_up_display_layer_impl.cc File cc/layers/heads_up_display_layer_impl.cc (right): https://codereview.chromium.org/2752833002/diff/80001/cc/layers/heads_up_display_layer_impl.cc#newcode163 cc/layers/heads_up_display_layer_impl.cc:163: ContextProvider* context_provider) { On ...
3 years, 7 months ago (2017-05-04 12:03:57 UTC) #22
sohanjg_
Please take a look, thanks! https://codereview.chromium.org/2752833002/diff/200001/cc/trees/layer_tree_host_unittest_context.cc File cc/trees/layer_tree_host_unittest_context.cc (left): https://codereview.chromium.org/2752833002/diff/200001/cc/trees/layer_tree_host_unittest_context.cc#oldcode1006 cc/trees/layer_tree_host_unittest_context.cc:1006: } This was causing ...
3 years, 7 months ago (2017-05-11 14:47:21 UTC) #37
sohan
On 2017/05/11 14:47:21, sohanjg_ wrote: > Please take a look, thanks! > > https://codereview.chromium.org/2752833002/diff/200001/cc/trees/layer_tree_host_unittest_context.cc > ...
3 years, 7 months ago (2017-05-17 17:16:33 UTC) #40
sohanjg_
ping ! :)
3 years, 6 months ago (2017-06-05 14:22:18 UTC) #41
sohan
PTAL. Thanks.
3 years, 6 months ago (2017-06-06 18:43:05 UTC) #47
ericrk
Thanks for taking a look at this. A few comments to start off. https://codereview.chromium.org/2752833002/diff/200001/cc/layers/heads_up_display_layer_impl.cc File ...
3 years, 6 months ago (2017-06-06 20:22:25 UTC) #48
sohan
https://codereview.chromium.org/2752833002/diff/200001/cc/layers/heads_up_display_layer_impl.cc File cc/layers/heads_up_display_layer_impl.cc (right): https://codereview.chromium.org/2752833002/diff/200001/cc/layers/heads_up_display_layer_impl.cc#newcode170 cc/layers/heads_up_display_layer_impl.cc:170: std::unique_ptr<ContextCacheController::ScopedBusy> busy = On 2017/06/06 20:22:25, ericrk wrote: > ...
3 years, 6 months ago (2017-06-07 13:31:11 UTC) #49
sohan
Thanks for checking this. PTAL. Thanks.
3 years, 6 months ago (2017-06-07 13:31:40 UTC) #50
ericrk
Seems OK to me at this point. LGTM % any further comments danakj@ might have. ...
3 years, 6 months ago (2017-06-07 20:50:18 UTC) #55
danakj
On Wed, Jun 7, 2017 at 4:50 PM, <ericrk@chromium.org> wrote: > Seems OK to me ...
3 years, 6 months ago (2017-06-08 00:15:15 UTC) #56
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/2752833002/220001
3 years, 6 months ago (2017-06-08 01:04:13 UTC) #58
commit-bot: I haz the power
Committed patchset #10 (id:220001) as https://chromium.googlesource.com/chromium/src/+/bdc4a31b6e88e8a12b0b7bb298a03b020b1c61de
3 years, 6 months ago (2017-06-08 01:10:09 UTC) #61
sohan
On 2017/06/08 01:10:09, commit-bot: I haz the power wrote: > Committed patchset #10 (id:220001) as ...
3 years, 6 months ago (2017-06-08 01:15:48 UTC) #62
sunnyps
3 years, 6 months ago (2017-06-10 01:01:38 UTC) #63
Message was sent while issue was closed.
On 2017/06/08 01:15:48, sohan wrote:
> On 2017/06/08 01:10:09, commit-bot: I haz the power wrote:
> > Committed patchset #10 (id:220001) as
> >
>
https://chromium.googlesource.com/chromium/src/+/bdc4a31b6e88e8a12b0b7bb298a0...
> 
> Thanks Eric, Dana!
> I will take up the scopedlockgl tocken thing seperately.

drive-by from merge conflict: I'll make ScopedWriteLockGL sync token API clearer
as a part of my CL (https://codereview.chromium.org/2885533002/) as I'm already
changing the lock to support worker context allocations there.

Powered by Google App Engine
This is Rietveld 408576698