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

Issue 817133006: Support different formats in the same resource pool. (Closed)

Created:
5 years, 11 months ago by peterp
Modified:
5 years, 11 months ago
Reviewers:
reveman
CC:
chromium-reviews, cc-bugs_chromium.org, auygun, christiank
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Support different formats in the same resource pool. This allows us to use different formats for tiles with opaque or translucent content for better memory savings or quality. BUG=434699 Committed: https://crrev.com/8bde4e839b4c55733b730a71cd9beaff95e01fe4 Cr-Commit-Position: refs/heads/master@{#312090}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Don't use map for unused resources #

Patch Set 3 : Remove ResourceFormatUsage #

Total comments: 4

Patch Set 4 : Leave all format decisions to the client and store a default format in the pool. #

Total comments: 1

Patch Set 5 : Add a TODO about removing the default format. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -16 lines) Patch
M cc/resources/gpu_rasterizer.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M cc/resources/one_copy_tile_task_worker_pool.cc View 1 2 3 2 chunks +4 lines, -2 lines 0 comments Download
M cc/resources/resource_pool.h View 1 2 3 4 3 chunks +11 lines, -6 lines 0 comments Download
M cc/resources/resource_pool.cc View 1 2 3 3 chunks +6 lines, -4 lines 0 comments Download
M cc/resources/tile_manager.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M cc/resources/tile_manager.cc View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 16 (2 generated)
peterp
@reveman: This is another part of the tile compression patch. Does it look OK to ...
5 years, 11 months ago (2015-01-12 14:06:58 UTC) #2
reveman
Looks OK in general but I'm failing to see the need for adding ResourceFormatUsage. Can ...
5 years, 11 months ago (2015-01-13 16:25:56 UTC) #3
peterp
On 2015/01/13 16:25:56, reveman wrote: > Looks OK in general but I'm failing to see ...
5 years, 11 months ago (2015-01-14 12:33:14 UTC) #4
peterp
https://codereview.chromium.org/817133006/diff/1/cc/resources/resource_format.h File cc/resources/resource_format.h (right): https://codereview.chromium.org/817133006/diff/1/cc/resources/resource_format.h#newcode30 cc/resources/resource_format.h:30: enum ResourceFormatUsage { On 2015/01/13 16:25:55, reveman wrote: > ...
5 years, 11 months ago (2015-01-14 12:33:36 UTC) #5
reveman
On 2015/01/14 12:33:14, peterp wrote: > On 2015/01/13 16:25:56, reveman wrote: > > Looks OK ...
5 years, 11 months ago (2015-01-14 13:46:03 UTC) #6
peterp
On 2015/01/14 13:46:03, reveman wrote: > On 2015/01/14 12:33:14, peterp wrote: > > On 2015/01/13 ...
5 years, 11 months ago (2015-01-15 09:51:49 UTC) #7
reveman
https://codereview.chromium.org/817133006/diff/40001/cc/resources/resource_pool.cc File cc/resources/resource_pool.cc (right): https://codereview.chromium.org/817133006/diff/40001/cc/resources/resource_pool.cc#newcode116 cc/resources/resource_pool.cc:116: if (use_memory_efficient_format_) { I would prefer if all format ...
5 years, 11 months ago (2015-01-15 16:33:11 UTC) #8
peterp
https://codereview.chromium.org/817133006/diff/40001/cc/resources/resource_pool.cc File cc/resources/resource_pool.cc (right): https://codereview.chromium.org/817133006/diff/40001/cc/resources/resource_pool.cc#newcode116 cc/resources/resource_pool.cc:116: if (use_memory_efficient_format_) { On 2015/01/15 16:33:11, reveman wrote: > ...
5 years, 11 months ago (2015-01-16 12:10:11 UTC) #9
reveman
https://codereview.chromium.org/817133006/diff/60001/cc/resources/resource_pool.h File cc/resources/resource_pool.h (right): https://codereview.chromium.org/817133006/diff/60001/cc/resources/resource_pool.h#newcode23 cc/resources/resource_pool.h:23: ResourceFormat default_format) { I think it would be nice ...
5 years, 11 months ago (2015-01-16 13:40:01 UTC) #10
peterp
On 2015/01/16 13:40:01, reveman wrote: > https://codereview.chromium.org/817133006/diff/60001/cc/resources/resource_pool.h > File cc/resources/resource_pool.h (right): > > https://codereview.chromium.org/817133006/diff/60001/cc/resources/resource_pool.h#newcode23 > ...
5 years, 11 months ago (2015-01-16 14:31:52 UTC) #11
reveman
On 2015/01/16 14:31:52, peterp wrote: > On 2015/01/16 13:40:01, reveman wrote: > > > https://codereview.chromium.org/817133006/diff/60001/cc/resources/resource_pool.h ...
5 years, 11 months ago (2015-01-16 15:02:53 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/817133006/80001
5 years, 11 months ago (2015-01-19 09:24:36 UTC) #14
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 11 months ago (2015-01-19 10:21:36 UTC) #15
commit-bot: I haz the power
5 years, 11 months ago (2015-01-19 10:22:39 UTC) #16
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/8bde4e839b4c55733b730a71cd9beaff95e01fe4
Cr-Commit-Position: refs/heads/master@{#312090}

Powered by Google App Engine
This is Rietveld 408576698