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

Issue 22900018: cc: Set the mapped memory reclaim limit for the renderer compositor on Android (Closed)

Created:
7 years, 4 months ago by kaanb
Modified:
7 years, 3 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, cc-bugs_chromium.org, jam, apatrick_chromium, klobag.chromium
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Sets the mapped memory reclaim limit for the renderer compositor on Android. Also moves the max_bytes_pending_upload limit of the PixelBufferRasterWorkerPool to the RenderWidgetCompositor since the mapped memory reclaim limit depends on it. BUG=272591 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=222158

Patch Set 1 #

Patch Set 2 : fixes #

Patch Set 3 : Fix unittests #

Patch Set 4 : Add comment #

Total comments: 3

Patch Set 5 : unittest fixes first part #

Patch Set 6 : Second part of test cleanup #

Patch Set 7 : More test cleanup #

Patch Set 8 : Fix ImplSidePaintingSettings #

Patch Set 9 : Set MappedMemoryReclaimLimit to be the same as MaxBytesPendingUpload #

Patch Set 10 : s/max_bytes_pending_upload/max_transfer_buffer_usage_bytes/ #

Total comments: 9

Patch Set 11 : incorporate code reviews #

Patch Set 12 : Add a default for max_transfer_buffer_usage_bytes #

Patch Set 13 : IWYU #

Total comments: 7

Patch Set 14 : Code review feedback #

Total comments: 2

Patch Set 15 : Move max_transfer_buffer_usage_bytes to OutputSurface::Capabilities #

Total comments: 2

Patch Set 16 : move to using contextprovider capabilities #

Patch Set 17 : cleanup #

Patch Set 18 : rebase #

Patch Set 19 : rebase #

Total comments: 19

Patch Set 20 : Incorporate code reviews #

Total comments: 1

Patch Set 21 : feedback #

Total comments: 14

Patch Set 22 : IWYU #

Total comments: 28

Patch Set 23 : More code reviews #

Patch Set 24 : more code review comments #

Patch Set 25 : Add a unittest #

Patch Set 26 : Fixed the unittest #

Total comments: 9

Patch Set 27 : Set the limit in the unittest #

Total comments: 4

Patch Set 28 : Incorporate code reviews #

Total comments: 6

Patch Set 29 : rename constants #

Patch Set 30 : rebase #

Patch Set 31 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+190 lines, -46 lines) Patch
cc/debug/test_context_provider.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +2 lines, -0 lines 0 comments Download
cc/debug/test_context_provider.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +5 lines, -0 lines 0 comments Download
cc/debug/test_web_graphics_context_3d.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 2 chunks +4 lines, -0 lines 0 comments Download
cc/debug/test_web_graphics_context_3d.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 2 chunks +25 lines, -4 lines 0 comments Download
cc/output/context_provider.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 1 chunk +1 line, -0 lines 0 comments Download
cc/output/context_provider.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 2 chunks +4 lines, -1 line 0 comments Download
cc/resources/pixel_buffer_raster_worker_pool.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 2 chunks +8 lines, -3 lines 0 comments Download
cc/resources/pixel_buffer_raster_worker_pool.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +3 lines, -20 lines 0 comments Download
cc/resources/raster_worker_pool_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 2 chunks +2 lines, -1 line 0 comments Download
cc/resources/tile_manager.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 1 chunk +2 lines, -1 line 0 comments Download
cc/resources/tile_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 2 chunks +5 lines, -2 lines 0 comments Download
cc/trees/layer_tree_host_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 1 chunk +1 line, -0 lines 0 comments Download
cc/trees/layer_tree_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 5 chunks +33 lines, -5 lines 0 comments Download
cc/trees/layer_tree_host_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 2 chunks +49 lines, -2 lines 0 comments Download
content/common/gpu/client/context_provider_command_buffer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 1 chunk +4 lines, -0 lines 0 comments Download
content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 1 chunk +4 lines, -0 lines 0 comments Download
content/renderer/render_widget.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 4 chunks +38 lines, -7 lines 0 comments Download

Messages

Total messages: 82 (0 generated)
kaanb
7 years, 4 months ago (2013-08-22 04:36:55 UTC) #1
reveman
https://codereview.chromium.org/22900018/diff/9001/cc/trees/layer_tree_settings.h File cc/trees/layer_tree_settings.h (right): https://codereview.chromium.org/22900018/diff/9001/cc/trees/layer_tree_settings.h#newcode67 cc/trees/layer_tree_settings.h:67: size_t max_bytes_pending_upload; how about we rename this to something ...
7 years, 4 months ago (2013-08-22 15:32:33 UTC) #2
epenner
Needing the InitializeSettings override everywhere seems tedious. Can it not be a default that works ...
7 years, 4 months ago (2013-08-22 18:41:11 UTC) #3
kaanb
On 2013/08/22 18:41:11, epenner wrote: > Needing the InitializeSettings override everywhere seems tedious. Can it ...
7 years, 4 months ago (2013-08-22 18:42:29 UTC) #4
epenner
On 2013/08/22 18:42:29, kaanb wrote: > On 2013/08/22 18:41:11, epenner wrote: > > Needing the ...
7 years, 4 months ago (2013-08-22 18:54:03 UTC) #5
reveman
On 2013/08/22 18:42:29, kaanb wrote: > On 2013/08/22 18:41:11, epenner wrote: > > Needing the ...
7 years, 4 months ago (2013-08-22 19:18:07 UTC) #6
danakj
https://codereview.chromium.org/22900018/diff/9001/cc/trees/layer_tree_host_unittest_context.cc File cc/trees/layer_tree_host_unittest_context.cc (right): https://codereview.chromium.org/22900018/diff/9001/cc/trees/layer_tree_host_unittest_context.cc#newcode223 cc/trees/layer_tree_host_unittest_context.cc:223: settings->max_bytes_pending_upload = 16 * 1024 * 1024; Ya, why ...
7 years, 4 months ago (2013-08-22 19:41:19 UTC) #7
kaanb
On 2013/08/22 18:54:03, epenner wrote: > On 2013/08/22 18:42:29, kaanb wrote: > > On 2013/08/22 ...
7 years, 4 months ago (2013-08-22 20:33:19 UTC) #8
kaanb
On 2013/08/22 19:41:19, danakj wrote: > https://codereview.chromium.org/22900018/diff/9001/cc/trees/layer_tree_host_unittest_context.cc > File cc/trees/layer_tree_host_unittest_context.cc (right): > > https://codereview.chromium.org/22900018/diff/9001/cc/trees/layer_tree_host_unittest_context.cc#newcode223 > ...
7 years, 4 months ago (2013-08-22 20:34:55 UTC) #9
danakj
On 2013/08/22 20:34:55, kaanb wrote: > On 2013/08/22 19:41:19, danakj wrote: > > > https://codereview.chromium.org/22900018/diff/9001/cc/trees/layer_tree_host_unittest_context.cc ...
7 years, 4 months ago (2013-08-22 20:38:07 UTC) #10
reveman
On 2013/08/22 20:38:07, danakj wrote: > On 2013/08/22 20:34:55, kaanb wrote: > > On 2013/08/22 ...
7 years, 4 months ago (2013-08-22 20:41:43 UTC) #11
kaanb
On 2013/08/22 20:41:43, David Reveman wrote: > On 2013/08/22 20:38:07, danakj wrote: > > On ...
7 years, 4 months ago (2013-08-23 01:18:52 UTC) #12
danakj
https://codereview.chromium.org/22900018/diff/30001/cc/test/impl_side_painting_settings.h File cc/test/impl_side_painting_settings.h (right): https://codereview.chromium.org/22900018/diff/30001/cc/test/impl_side_painting_settings.h#newcode18 cc/test/impl_side_painting_settings.h:18: max_transfer_buffer_usage_bytes = std::numeric_limits<size_t>::max(); needed? this is awkward cuz this ...
7 years, 4 months ago (2013-08-23 01:21:45 UTC) #13
kaanb
https://codereview.chromium.org/22900018/diff/30001/cc/test/impl_side_painting_settings.h File cc/test/impl_side_painting_settings.h (right): https://codereview.chromium.org/22900018/diff/30001/cc/test/impl_side_painting_settings.h#newcode18 cc/test/impl_side_painting_settings.h:18: max_transfer_buffer_usage_bytes = std::numeric_limits<size_t>::max(); On 2013/08/23 01:21:46, danakj wrote: > ...
7 years, 4 months ago (2013-08-23 01:37:30 UTC) #14
danakj
https://codereview.chromium.org/22900018/diff/30001/cc/trees/layer_tree_settings.cc File cc/trees/layer_tree_settings.cc (right): https://codereview.chromium.org/22900018/diff/30001/cc/trees/layer_tree_settings.cc#newcode61 cc/trees/layer_tree_settings.cc:61: max_transfer_buffer_usage_bytes(0) { On 2013/08/23 01:37:31, kaanb wrote: > On ...
7 years, 4 months ago (2013-08-23 01:53:06 UTC) #15
kaanb
Exactly, if I initialize to 0 here then I can DCHECK to ensure it's being ...
7 years, 4 months ago (2013-08-23 03:23:17 UTC) #16
epenner
On 2013/08/23 03:23:17, kaanb wrote: > Exactly, if I initialize to 0 here then I ...
7 years, 4 months ago (2013-08-23 18:24:11 UTC) #17
epenner
On 2013/08/23 18:24:11, epenner wrote: > On 2013/08/23 03:23:17, kaanb wrote: > > Exactly, if ...
7 years, 4 months ago (2013-08-23 18:56:00 UTC) #18
kaanb
On 2013/08/23 18:56:00, epenner wrote: > On 2013/08/23 18:24:11, epenner wrote: > > On 2013/08/23 ...
7 years, 4 months ago (2013-08-23 23:00:11 UTC) #19
danakj
https://codereview.chromium.org/22900018/diff/38001/cc/resources/raster_worker_pool_unittest.cc File cc/resources/raster_worker_pool_unittest.cc (right): https://codereview.chromium.org/22900018/diff/38001/cc/resources/raster_worker_pool_unittest.cc#newcode18 cc/resources/raster_worker_pool_unittest.cc:18: #include "cc/trees/layer_tree_settings.h" not needed? https://codereview.chromium.org/22900018/diff/38001/cc/trees/layer_tree_settings.h File cc/trees/layer_tree_settings.h (right): https://codereview.chromium.org/22900018/diff/38001/cc/trees/layer_tree_settings.h#newcode19 ...
7 years, 4 months ago (2013-08-23 23:25:39 UTC) #20
kaanb
https://codereview.chromium.org/22900018/diff/38001/cc/resources/raster_worker_pool_unittest.cc File cc/resources/raster_worker_pool_unittest.cc (right): https://codereview.chromium.org/22900018/diff/38001/cc/resources/raster_worker_pool_unittest.cc#newcode18 cc/resources/raster_worker_pool_unittest.cc:18: #include "cc/trees/layer_tree_settings.h" On 2013/08/23 23:25:39, danakj wrote: > not ...
7 years, 4 months ago (2013-08-24 00:25:00 UTC) #21
danakj
https://codereview.chromium.org/22900018/diff/38001/content/renderer/gpu/render_widget_compositor.cc File content/renderer/gpu/render_widget_compositor.cc (right): https://codereview.chromium.org/22900018/diff/38001/content/renderer/gpu/render_widget_compositor.cc#newcode585 content/renderer/gpu/render_widget_compositor.cc:585: max_transfer_buffer_usage_bytes_); On 2013/08/24 00:25:01, kaanb wrote: > On 2013/08/23 ...
7 years, 4 months ago (2013-08-24 00:25:52 UTC) #22
kaanb
Stack Trace: RELADDR FUNCTION FILE:LINE 00021e90 tgkill+12 /system/lib/libc.so 00012ef1 pthread_kill+48 /system/lib/libc.so 00013105 raise+10 /system/lib/libc.so 00011e3b ...
7 years, 4 months ago (2013-08-24 00:29:39 UTC) #23
danakj
Oh, it's called synchronously from inside LTH::Create() so we can't have a pointer in the ...
7 years, 4 months ago (2013-08-24 00:41:06 UTC) #24
danakj
https://codereview.chromium.org/22900018/diff/44001/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/22900018/diff/44001/cc/trees/layer_tree_host_impl.cc#newcode1618 cc/trees/layer_tree_host_impl.cc:1618: settings_.max_transfer_buffer_usage_bytes); So, after going through all of that.. I ...
7 years, 4 months ago (2013-08-24 00:46:22 UTC) #25
kaanb
https://codereview.chromium.org/22900018/diff/44001/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/22900018/diff/44001/cc/trees/layer_tree_host_impl.cc#newcode1618 cc/trees/layer_tree_host_impl.cc:1618: settings_.max_transfer_buffer_usage_bytes); On 2013/08/24 00:46:22, danakj wrote: > So, after ...
7 years, 4 months ago (2013-08-24 01:12:54 UTC) #26
kaanb
On 2013/08/24 01:12:54, kaanb wrote: > https://codereview.chromium.org/22900018/diff/44001/cc/trees/layer_tree_host_impl.cc > File cc/trees/layer_tree_host_impl.cc (right): > > https://codereview.chromium.org/22900018/diff/44001/cc/trees/layer_tree_host_impl.cc#newcode1618 > ...
7 years, 3 months ago (2013-08-27 01:31:54 UTC) #27
danakj
https://codereview.chromium.org/22900018/diff/52001/cc/output/output_surface.h File cc/output/output_surface.h (right): https://codereview.chromium.org/22900018/diff/52001/cc/output/output_surface.h#newcode50 cc/output/output_surface.h:50: size_t max_transfer_buffer_usage_bytes); Since there is only one subclass of ...
7 years, 3 months ago (2013-08-27 16:55:38 UTC) #28
kaanb
On 2013/08/27 16:55:38, danakj wrote: > https://codereview.chromium.org/22900018/diff/52001/cc/output/output_surface.h > File cc/output/output_surface.h (right): > > https://codereview.chromium.org/22900018/diff/52001/cc/output/output_surface.h#newcode50 > ...
7 years, 3 months ago (2013-08-29 20:00:56 UTC) #29
danakj
Thanks Kaan. I'm immensely happy with this CL. I've leave final review of cc/ to ...
7 years, 3 months ago (2013-08-29 20:10:28 UTC) #30
danakj
+piman for content/common/
7 years, 3 months ago (2013-08-29 20:11:54 UTC) #31
reveman
https://codereview.chromium.org/22900018/diff/65001/cc/resources/tile_manager.h File cc/resources/tile_manager.h (right): https://codereview.chromium.org/22900018/diff/65001/cc/resources/tile_manager.h#newcode56 cc/resources/tile_manager.h:56: ContextProvider* context_provider); hm, I find it awkward that we ...
7 years, 3 months ago (2013-08-29 21:06:35 UTC) #32
piman
https://codereview.chromium.org/22900018/diff/65001/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): https://codereview.chromium.org/22900018/diff/65001/content/renderer/render_widget.cc#newcode695 content/renderer/render_widget.cc:695: // For reference Chromebook Pixel can upload 1MB in ...
7 years, 3 months ago (2013-08-29 21:58:18 UTC) #33
kaanb
https://codereview.chromium.org/22900018/diff/65001/cc/resources/pixel_buffer_raster_worker_pool.cc File cc/resources/pixel_buffer_raster_worker_pool.cc (right): https://codereview.chromium.org/22900018/diff/65001/cc/resources/pixel_buffer_raster_worker_pool.cc#newcode114 cc/resources/pixel_buffer_raster_worker_pool.cc:114: // For unit tests: On 2013/08/29 20:10:28, danakj wrote: ...
7 years, 3 months ago (2013-08-30 01:11:35 UTC) #34
piman
https://codereview.chromium.org/22900018/diff/75001/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc File content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc (right): https://codereview.chromium.org/22900018/diff/75001/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc#newcode487 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc:487: #endif noooo! This is taking the problem upside down. ...
7 years, 3 months ago (2013-08-30 03:31:06 UTC) #35
kaanb
Ok, does the following make sense to everyone: I pass the amount of uploads per ...
7 years, 3 months ago (2013-08-30 18:58:10 UTC) #36
danakj
On Fri, Aug 30, 2013 at 2:58 PM, Kaan Baloglu <kaanb@chromium.org> wrote: > Ok, does ...
7 years, 3 months ago (2013-08-30 19:09:10 UTC) #37
kaanb
I meant a byte limit similar to max_transfer_buffer_usage_bytes. On Fri, Aug 30, 2013 at 12:08 ...
7 years, 3 months ago (2013-08-30 20:19:13 UTC) #38
danakj
On Thu, Aug 29, 2013 at 11:31 PM, <piman@chromium.org> wrote: > > https://codereview.chromium.**org/22900018/diff/75001/** > content/common/gpu/client/**webgraphicscontext3d_command_**buffer_impl.cc<https://codereview.chromium.org/22900018/diff/75001/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc> ...
7 years, 3 months ago (2013-08-30 20:24:32 UTC) #39
danakj
From offline convo with piman@, how about this: The context has a default with no ...
7 years, 3 months ago (2013-08-30 20:42:01 UTC) #40
piman
On Fri, Aug 30, 2013 at 1:41 PM, Dana Jansens <danakj@chromium.org> wrote: > From offline ...
7 years, 3 months ago (2013-08-30 21:46:51 UTC) #41
danakj
On Fri, Aug 30, 2013 at 5:46 PM, Antoine Labour <piman@chromium.org> wrote: > > > ...
7 years, 3 months ago (2013-08-30 21:48:48 UTC) #42
kaanb
Done, PTAL. On Fri, Aug 30, 2013 at 2:48 PM, Dana Jansens <danakj@chromium.org> wrote: > ...
7 years, 3 months ago (2013-08-31 20:26:53 UTC) #43
danakj
Just nits from me. -> reveman@,piman@ https://codereview.chromium.org/22900018/diff/73001/cc/resources/pixel_buffer_raster_worker_pool.cc File cc/resources/pixel_buffer_raster_worker_pool.cc (right): https://codereview.chromium.org/22900018/diff/73001/cc/resources/pixel_buffer_raster_worker_pool.cc#newcode7 cc/resources/pixel_buffer_raster_worker_pool.cc:7: #include <limits> not ...
7 years, 3 months ago (2013-09-03 17:18:57 UTC) #44
reveman
https://codereview.chromium.org/22900018/diff/73001/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (right): https://codereview.chromium.org/22900018/diff/73001/cc/resources/tile_manager.cc#newcode861 cc/resources/tile_manager.cc:861: size_t TileManager::GetMaxBytesPendingUpload( Can we move this logic to the ...
7 years, 3 months ago (2013-09-03 18:02:02 UTC) #45
danakj
https://codereview.chromium.org/22900018/diff/73001/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (right): https://codereview.chromium.org/22900018/diff/73001/cc/resources/tile_manager.cc#newcode861 cc/resources/tile_manager.cc:861: size_t TileManager::GetMaxBytesPendingUpload( On 2013/09/03 18:02:03, David Reveman wrote: > ...
7 years, 3 months ago (2013-09-03 18:06:02 UTC) #46
reveman
https://codereview.chromium.org/22900018/diff/73001/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (right): https://codereview.chromium.org/22900018/diff/73001/cc/resources/tile_manager.cc#newcode861 cc/resources/tile_manager.cc:861: size_t TileManager::GetMaxBytesPendingUpload( On 2013/09/03 18:06:04, danakj wrote: > On ...
7 years, 3 months ago (2013-09-03 18:37:23 UTC) #47
danakj
https://codereview.chromium.org/22900018/diff/73001/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (right): https://codereview.chromium.org/22900018/diff/73001/cc/resources/tile_manager.cc#newcode861 cc/resources/tile_manager.cc:861: size_t TileManager::GetMaxBytesPendingUpload( On 2013/09/03 18:37:24, David Reveman wrote: > ...
7 years, 3 months ago (2013-09-03 19:06:30 UTC) #48
reveman
On 2013/09/03 19:06:30, danakj wrote: > https://codereview.chromium.org/22900018/diff/73001/cc/resources/tile_manager.cc > File cc/resources/tile_manager.cc (right): > > https://codereview.chromium.org/22900018/diff/73001/cc/resources/tile_manager.cc#newcode861 > ...
7 years, 3 months ago (2013-09-03 19:23:32 UTC) #49
kaanb
https://codereview.chromium.org/22900018/diff/73001/cc/resources/pixel_buffer_raster_worker_pool.cc File cc/resources/pixel_buffer_raster_worker_pool.cc (right): https://codereview.chromium.org/22900018/diff/73001/cc/resources/pixel_buffer_raster_worker_pool.cc#newcode7 cc/resources/pixel_buffer_raster_worker_pool.cc:7: #include <limits> On 2013/09/03 17:18:57, danakj wrote: > not ...
7 years, 3 months ago (2013-09-03 20:43:10 UTC) #50
danakj
Seems fine to me, the comment's not quite right anymore though. https://codereview.chromium.org/22900018/diff/105001/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): ...
7 years, 3 months ago (2013-09-03 21:48:28 UTC) #51
reveman
https://codereview.chromium.org/22900018/diff/105001/cc/resources/pixel_buffer_raster_worker_pool.cc File cc/resources/pixel_buffer_raster_worker_pool.cc (right): https://codereview.chromium.org/22900018/diff/105001/cc/resources/pixel_buffer_raster_worker_pool.cc#newcode98 cc/resources/pixel_buffer_raster_worker_pool.cc:98: size_t max_bytes_pending_upload) nit: max_transfer_buffer_usage_bytes https://codereview.chromium.org/22900018/diff/105001/cc/resources/pixel_buffer_raster_worker_pool.cc#newcode103 cc/resources/pixel_buffer_raster_worker_pool.cc:103: max_bytes_pending_upload_(max_bytes_pending_upload), I think ...
7 years, 3 months ago (2013-09-03 22:01:49 UTC) #52
danakj
https://codereview.chromium.org/22900018/diff/105001/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/22900018/diff/105001/cc/trees/layer_tree_host_impl.cc#newcode74 cc/trees/layer_tree_host_impl.cc:74: if (context_provider != NULL) { On 2013/09/03 22:01:50, David ...
7 years, 3 months ago (2013-09-03 22:19:24 UTC) #53
kaanb
m https://codereview.chromium.org/22900018/diff/105001/cc/resources/pixel_buffer_raster_worker_pool.cc File cc/resources/pixel_buffer_raster_worker_pool.cc (right): https://codereview.chromium.org/22900018/diff/105001/cc/resources/pixel_buffer_raster_worker_pool.cc#newcode98 cc/resources/pixel_buffer_raster_worker_pool.cc:98: size_t max_bytes_pending_upload) On 2013/09/03 22:01:50, David Reveman wrote: ...
7 years, 3 months ago (2013-09-03 23:09:28 UTC) #54
kaanb
ping! does the latest patch look good?
7 years, 3 months ago (2013-09-04 22:07:43 UTC) #55
reveman
https://codereview.chromium.org/22900018/diff/105001/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/22900018/diff/105001/cc/trees/layer_tree_host_impl.cc#newcode74 cc/trees/layer_tree_host_impl.cc:74: if (context_provider != NULL) { On 2013/09/03 22:19:25, danakj ...
7 years, 3 months ago (2013-09-04 23:22:14 UTC) #56
danakj
https://codereview.chromium.org/22900018/diff/105001/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/22900018/diff/105001/cc/trees/layer_tree_host_impl.cc#newcode74 cc/trees/layer_tree_host_impl.cc:74: if (context_provider != NULL) { On 2013/09/04 23:22:15, David ...
7 years, 3 months ago (2013-09-05 14:36:16 UTC) #57
danakj
kaan, how about a test for this? Like a layer tree host test that: 1) ...
7 years, 3 months ago (2013-09-05 14:45:12 UTC) #58
reveman
https://codereview.chromium.org/22900018/diff/105001/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/22900018/diff/105001/cc/trees/layer_tree_host_impl.cc#newcode74 cc/trees/layer_tree_host_impl.cc:74: if (context_provider != NULL) { On 2013/09/05 14:36:17, danakj ...
7 years, 3 months ago (2013-09-05 15:32:14 UTC) #59
danakj
https://codereview.chromium.org/22900018/diff/105001/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/22900018/diff/105001/cc/trees/layer_tree_host_impl.cc#newcode74 cc/trees/layer_tree_host_impl.cc:74: if (context_provider != NULL) { On 2013/09/05 15:32:14, David ...
7 years, 3 months ago (2013-09-05 15:35:06 UTC) #60
reveman
https://codereview.chromium.org/22900018/diff/105001/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/22900018/diff/105001/cc/trees/layer_tree_host_impl.cc#newcode73 cc/trees/layer_tree_host_impl.cc:73: size_t GetMaxBytesPendingUpload(cc::ContextProvider* context_provider) { GetMaxTransferBufferUsageBytes instead please and update ...
7 years, 3 months ago (2013-09-05 17:52:08 UTC) #61
kaanb
To add a unittest we'll need to change the RasterWorkerPool API to add a virtual ...
7 years, 3 months ago (2013-09-05 19:26:56 UTC) #62
reveman
On 2013/09/05 19:26:56, kaanb wrote: > To add a unittest we'll need to change the ...
7 years, 3 months ago (2013-09-05 19:51:39 UTC) #63
kaanb
How do we check if the impl stays within the transfer buffer memory limit? By ...
7 years, 3 months ago (2013-09-05 20:48:26 UTC) #64
reveman
On 2013/09/05 20:48:26, kaanb wrote: > How do we check if the impl stays within ...
7 years, 3 months ago (2013-09-05 21:08:06 UTC) #65
kaanb
On 2013/09/05 21:08:06, David Reveman wrote: > On 2013/09/05 20:48:26, kaanb wrote: > > How ...
7 years, 3 months ago (2013-09-06 21:44:58 UTC) #66
danakj
https://codereview.chromium.org/22900018/diff/130001/cc/trees/layer_tree_host_unittest.cc File cc/trees/layer_tree_host_unittest.cc (right): https://codereview.chromium.org/22900018/diff/130001/cc/trees/layer_tree_host_unittest.cc#newcode4489 cc/trees/layer_tree_host_unittest.cc:4489: // The default MaxTransferBufferUsageBytes value is 64MB. Can you ...
7 years, 3 months ago (2013-09-06 21:48:16 UTC) #67
kaanb
https://codereview.chromium.org/22900018/diff/130001/cc/trees/layer_tree_host_unittest.cc File cc/trees/layer_tree_host_unittest.cc (right): https://codereview.chromium.org/22900018/diff/130001/cc/trees/layer_tree_host_unittest.cc#newcode4489 cc/trees/layer_tree_host_unittest.cc:4489: // The default MaxTransferBufferUsageBytes value is 64MB. On 2013/09/06 ...
7 years, 3 months ago (2013-09-06 21:58:44 UTC) #68
danakj
https://codereview.chromium.org/22900018/diff/130001/cc/trees/layer_tree_host_unittest.cc File cc/trees/layer_tree_host_unittest.cc (right): https://codereview.chromium.org/22900018/diff/130001/cc/trees/layer_tree_host_unittest.cc#newcode4489 cc/trees/layer_tree_host_unittest.cc:4489: // The default MaxTransferBufferUsageBytes value is 64MB. On 2013/09/06 ...
7 years, 3 months ago (2013-09-06 22:01:12 UTC) #69
reveman
https://codereview.chromium.org/22900018/diff/130001/cc/debug/test_web_graphics_context_3d.cc File cc/debug/test_web_graphics_context_3d.cc (right): https://codereview.chromium.org/22900018/diff/130001/cc/debug/test_web_graphics_context_3d.cc#newcode490 cc/debug/test_web_graphics_context_3d.cc:490: transfer_buffer_memory_used_bytes_ += size; This is not going to do ...
7 years, 3 months ago (2013-09-06 22:28:26 UTC) #70
kaanb
https://codereview.chromium.org/22900018/diff/130001/cc/debug/test_web_graphics_context_3d.cc File cc/debug/test_web_graphics_context_3d.cc (right): https://codereview.chromium.org/22900018/diff/130001/cc/debug/test_web_graphics_context_3d.cc#newcode490 cc/debug/test_web_graphics_context_3d.cc:490: transfer_buffer_memory_used_bytes_ += size; On 2013/09/06 22:28:27, David Reveman wrote: ...
7 years, 3 months ago (2013-09-07 01:30:30 UTC) #71
reveman
cc/ lgtm https://codereview.chromium.org/22900018/diff/104013/cc/debug/test_web_graphics_context_3d.cc File cc/debug/test_web_graphics_context_3d.cc (right): https://codereview.chromium.org/22900018/diff/104013/cc/debug/test_web_graphics_context_3d.cc#newcode609 cc/debug/test_web_graphics_context_3d.cc:609: base::ScopedPtrHashMap<unsigned, Buffer>::iterator itr = buffers.begin(); nit: |it| ...
7 years, 3 months ago (2013-09-09 16:40:46 UTC) #72
kaanb
piman and jamesr, can you take a look for content/common/gpu and content/renderer respectively? https://codereview.chromium.org/22900018/diff/104013/cc/debug/test_web_graphics_context_3d.cc File ...
7 years, 3 months ago (2013-09-09 18:20:42 UTC) #73
jamesr
Given that this review is 70+ comments long I imagine this has been covered, but ...
7 years, 3 months ago (2013-09-09 18:34:09 UTC) #74
kaanb
On 2013/09/09 18:34:09, jamesr wrote: > Given that this review is 70+ comments long I ...
7 years, 3 months ago (2013-09-09 18:43:01 UTC) #75
jamesr
This seems very ugly but reluctantly lgtm once you fix the variable names https://codereview.chromium.org/22900018/diff/140001/content/renderer/render_widget.cc File ...
7 years, 3 months ago (2013-09-09 19:35:36 UTC) #76
reveman
https://codereview.chromium.org/22900018/diff/140001/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): https://codereview.chromium.org/22900018/diff/140001/content/renderer/render_widget.cc#newcode2550 content/renderer/render_widget.cc:2550: WebGraphicsContext3DCommandBufferImpl::kNoLimit; Oh, is this changing the behavior on non-Android?! ...
7 years, 3 months ago (2013-09-09 19:51:18 UTC) #77
piman
LGTM for content/common/gpu
7 years, 3 months ago (2013-09-09 20:59:15 UTC) #78
kaanb
https://codereview.chromium.org/22900018/diff/140001/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): https://codereview.chromium.org/22900018/diff/140001/content/renderer/render_widget.cc#newcode2539 content/renderer/render_widget.cc:2539: const size_t kMaxBytesUploadedPerMs = (2 * 1024 * 1024) ...
7 years, 3 months ago (2013-09-09 21:04:35 UTC) #79
reveman
On 2013/09/09 21:04:35, kaanb wrote: > https://codereview.chromium.org/22900018/diff/140001/content/renderer/render_widget.cc > File content/renderer/render_widget.cc (right): > > https://codereview.chromium.org/22900018/diff/140001/content/renderer/render_widget.cc#newcode2539 > ...
7 years, 3 months ago (2013-09-09 21:09:52 UTC) #80
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kaanb@chromium.org/22900018/94001
7 years, 3 months ago (2013-09-09 21:38:11 UTC) #81
commit-bot: I haz the power
7 years, 3 months ago (2013-09-10 00:51:03 UTC) #82
Message was sent while issue was closed.
Change committed as 222158

Powered by Google App Engine
This is Rietveld 408576698