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

Issue 1268383003: Sync compositor: Ignore command buffer memory callback (Closed)

Created:
5 years, 4 months ago by boliu
Modified:
5 years, 4 months ago
Reviewers:
no sievers
CC:
chromium-reviews, jam, sievers+watch_chromium.org, jbauman+watch_chromium.org, darin-cc_chromium.org, kalyank, piman+watch_chromium.org, danakj+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Sync compositor: Ignore command buffer memory callback Synchronous compositor client directly controls memory allocation. After switching to ipc-based command buffer, this conflicts the memory allocation callbacks from the command buffer. Note in-process command buffer never supposed memory callbacks. BUG=509702 Committed: https://crrev.com/ec1476c26c6602c80cc8131cd507c250f6150652 Cr-Commit-Position: refs/heads/master@{#342267}

Patch Set 1 #

Total comments: 2

Patch Set 2 : remove override #

Total comments: 3

Patch Set 3 : review #

Total comments: 1

Patch Set 4 : don't touch remove #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -5 lines) Patch
A content/browser/android/in_process/synchronous_compositor_context_provider.h View 2 1 chunk +31 lines, -0 lines 0 comments Download
A content/browser/android/in_process/synchronous_compositor_context_provider.cc View 1 2 1 chunk +21 lines, -0 lines 0 comments Download
M content/browser/android/in_process/synchronous_compositor_factory_impl.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M content/common/gpu/client/context_provider_command_buffer.cc View 1 2 3 2 chunks +7 lines, -3 lines 0 comments Download
M content/content_browser.gypi View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 39 (12 generated)
boliu
ptal Lease hacky solution I thought of..
5 years, 4 months ago (2015-08-05 19:55:11 UTC) #2
no sievers
Can we override the policy either further down, where it originates, or further up (in ...
5 years, 4 months ago (2015-08-05 20:23:06 UTC) #3
boliu
On 2015/08/05 20:23:06, sievers wrote: > Can we override the policy either further down, where ...
5 years, 4 months ago (2015-08-05 20:31:56 UTC) #4
boliu
On 2015/08/05 20:31:56, boliu wrote: > On 2015/08/05 20:23:06, sievers wrote: > > Can we ...
5 years, 4 months ago (2015-08-05 20:47:27 UTC) #5
no sievers
https://codereview.chromium.org/1268383003/diff/1/content/browser/android/in_process/synchronous_compositor_context_provider.cc File content/browser/android/in_process/synchronous_compositor_context_provider.cc (right): https://codereview.chromium.org/1268383003/diff/1/content/browser/android/in_process/synchronous_compositor_context_provider.cc#newcode18 content/browser/android/in_process/synchronous_compositor_context_provider.cc:18: // Intentional no-op. But this can be NOTREACHED() then?
5 years, 4 months ago (2015-08-05 22:31:27 UTC) #6
boliu
https://codereview.chromium.org/1268383003/diff/1/content/browser/android/in_process/synchronous_compositor_context_provider.cc File content/browser/android/in_process/synchronous_compositor_context_provider.cc (right): https://codereview.chromium.org/1268383003/diff/1/content/browser/android/in_process/synchronous_compositor_context_provider.cc#newcode18 content/browser/android/in_process/synchronous_compositor_context_provider.cc:18: // Intentional no-op. On 2015/08/05 22:31:27, sievers wrote: > ...
5 years, 4 months ago (2015-08-05 22:35:05 UTC) #7
no sievers
https://codereview.chromium.org/1268383003/diff/20001/content/common/gpu/client/context_provider_command_buffer.cc File content/common/gpu/client/context_provider_command_buffer.cc (right): https://codereview.chromium.org/1268383003/diff/20001/content/common/gpu/client/context_provider_command_buffer.cc#newcode114 content/common/gpu/client/context_provider_command_buffer.cc:114: context3d_->GetCommandBufferProxy()->SetMemoryAllocationChangedCallback( Wait, can you just move this code to ...
5 years, 4 months ago (2015-08-05 22:50:32 UTC) #8
boliu
https://codereview.chromium.org/1268383003/diff/20001/content/common/gpu/client/context_provider_command_buffer.cc File content/common/gpu/client/context_provider_command_buffer.cc (right): https://codereview.chromium.org/1268383003/diff/20001/content/common/gpu/client/context_provider_command_buffer.cc#newcode114 content/common/gpu/client/context_provider_command_buffer.cc:114: context3d_->GetCommandBufferProxy()->SetMemoryAllocationChangedCallback( On 2015/08/05 22:50:32, sievers wrote: > Wait, can ...
5 years, 4 months ago (2015-08-06 01:30:34 UTC) #9
boliu
https://codereview.chromium.org/1268383003/diff/20001/content/common/gpu/client/context_provider_command_buffer.cc File content/common/gpu/client/context_provider_command_buffer.cc (right): https://codereview.chromium.org/1268383003/diff/20001/content/common/gpu/client/context_provider_command_buffer.cc#newcode114 content/common/gpu/client/context_provider_command_buffer.cc:114: context3d_->GetCommandBufferProxy()->SetMemoryAllocationChangedCallback( On 2015/08/06 01:30:33, boliu wrote: > On 2015/08/05 ...
5 years, 4 months ago (2015-08-06 01:41:37 UTC) #10
no sievers
lgtm
5 years, 4 months ago (2015-08-06 18:54:17 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1268383003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1268383003/40001
5 years, 4 months ago (2015-08-06 18:59:46 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_rel/builds/118458) linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, ...
5 years, 4 months ago (2015-08-06 19:41:21 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1268383003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1268383003/40001
5 years, 4 months ago (2015-08-06 19:44:03 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/87488)
5 years, 4 months ago (2015-08-06 19:52:52 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1268383003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1268383003/40001
5 years, 4 months ago (2015-08-06 19:56:46 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/89928)
5 years, 4 months ago (2015-08-06 20:16:52 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1268383003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1268383003/40001
5 years, 4 months ago (2015-08-06 20:18:44 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/47410)
5 years, 4 months ago (2015-08-06 20:45:40 UTC) #27
boliu
On 2015/08/06 20:45:40, commit-bot: I haz the power wrote: > Try jobs failed on following ...
5 years, 4 months ago (2015-08-06 20:58:26 UTC) #28
boliu
https://codereview.chromium.org/1268383003/diff/40001/content/common/gpu/client/context_provider_command_buffer.cc File content/common/gpu/client/context_provider_command_buffer.cc (right): https://codereview.chromium.org/1268383003/diff/40001/content/common/gpu/client/context_provider_command_buffer.cc#newcode246 content/common/gpu/client/context_provider_command_buffer.cc:246: context3d_->GetCommandBufferProxy()->SetMemoryAllocationChangedCallback( Oh I bet this needs a null check. ...
5 years, 4 months ago (2015-08-06 21:13:50 UTC) #29
boliu
On 2015/08/06 21:13:50, boliu wrote: > https://codereview.chromium.org/1268383003/diff/40001/content/common/gpu/client/context_provider_command_buffer.cc > File content/common/gpu/client/context_provider_command_buffer.cc (right): > > https://codereview.chromium.org/1268383003/diff/40001/content/common/gpu/client/context_provider_command_buffer.cc#newcode246 > ...
5 years, 4 months ago (2015-08-06 21:27:02 UTC) #30
no sievers
lgtm
5 years, 4 months ago (2015-08-06 22:03:21 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1268383003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1268383003/60001
5 years, 4 months ago (2015-08-06 22:05:56 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/90020)
5 years, 4 months ago (2015-08-06 22:44:48 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1268383003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1268383003/60001
5 years, 4 months ago (2015-08-06 22:46:36 UTC) #37
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 4 months ago (2015-08-07 02:17:04 UTC) #38
commit-bot: I haz the power
5 years, 4 months ago (2015-08-07 02:17:41 UTC) #39
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/ec1476c26c6602c80cc8131cd507c250f6150652
Cr-Commit-Position: refs/heads/master@{#342267}

Powered by Google App Engine
This is Rietveld 408576698