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

Issue 2895273002: Unified the use of BufferToTextureTargetMap for all the Processes (Closed)

Created:
3 years, 7 months ago by sujith
Modified:
3 years, 5 months ago
CC:
cc-bugs_chromium.org, chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Unified the use of BufferToTextureTargetMap for all the Processes Currently BufferToTextureTargetMap is generated seperately for ui/renderer process. Now added forbrowser process as well and unified the use of it. BUG=725082 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2895273002 Cr-Commit-Position: refs/heads/master@{#484833} Committed: https://chromium.googlesource.com/chromium/src/+/c4b9cf2a67c8be392a878373d356a43ac4b3fe24

Patch Set 1 #

Patch Set 2 : BufferToTextureTargetMap for Browser Process #

Total comments: 2

Patch Set 3 : Adding BufferToTextureTargetMap for browser process #

Total comments: 1

Patch Set 4 : nit taken care #

Total comments: 5

Patch Set 5 : rebased #

Patch Set 6 : Unified BufferToTextureTargetMap #

Patch Set 7 : Unified BufferToTextureTargetMap for all the Processes #

Total comments: 8

Patch Set 8 : Unified the use of BufferToTextureTargetMap for all the Processes #

Patch Set 9 : Unified the use of BufferToTextureTargetMap for all the Processes #

Patch Set 10 : texture_targets as reference #

Total comments: 7

Patch Set 11 : Unified the use of BufferToTextureTargetMap for all the Processes #

Total comments: 14

Patch Set 12 : Unified the use of BufferToTextureTargetMap for all the Processes #

Patch Set 13 : c++ styling done #

Total comments: 4

Patch Set 14 : nit taken care #

Total comments: 2

Patch Set 15 : nit taken care #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -37 lines) Patch
M content/browser/compositor/gpu_process_transport_factory.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +2 lines, -1 line 0 comments Download
M content/browser/gpu/compositor_util.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +4 lines, -0 lines 0 comments Download
M content/browser/gpu/compositor_util.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +16 lines, -0 lines 0 comments Download
M content/browser/renderer_host/compositor_impl_android.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -13 lines 0 comments Download
M ui/aura/mus/mus_context_factory.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +20 lines, -5 lines 0 comments Download
M ui/compositor/compositor_util.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -3 lines 0 comments Download
M ui/compositor/compositor_util.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +5 lines, -15 lines 0 comments Download

Messages

Total messages: 57 (16 generated)
sujith
Hi All, PTAL
3 years, 7 months ago (2017-05-22 14:58:09 UTC) #3
reveman
Please explain why this is correct behavior. Function name CreateGpuMemoryBufferResource so it's not clear why ...
3 years, 7 months ago (2017-05-22 15:46:24 UTC) #4
sujith
On 2017/05/22 15:46:24, reveman wrote: > Please explain why this is correct behavior. Function name ...
3 years, 7 months ago (2017-05-23 14:30:24 UTC) #5
sujith
@reveman, as you suggested i have made changes to add BufferToTextureTargetMap for browser process as ...
3 years, 7 months ago (2017-05-25 14:04:38 UTC) #7
Ted C
+boliu
3 years, 7 months ago (2017-05-25 14:21:26 UTC) #10
reveman
https://codereview.chromium.org/2895273002/diff/20001/content/browser/renderer_host/compositor_impl_android.cc File content/browser/renderer_host/compositor_impl_android.cc (right): https://codereview.chromium.org/2895273002/diff/20001/content/browser/renderer_host/compositor_impl_android.cc#newcode532 content/browser/renderer_host/compositor_impl_android.cc:532: settings.renderer_settings.buffer_to_texture_target_map = why do we need a command line ...
3 years, 6 months ago (2017-05-31 15:06:09 UTC) #11
sujith
Hi All, PTAL https://codereview.chromium.org/2895273002/diff/20001/content/browser/renderer_host/compositor_impl_android.cc File content/browser/renderer_host/compositor_impl_android.cc (right): https://codereview.chromium.org/2895273002/diff/20001/content/browser/renderer_host/compositor_impl_android.cc#newcode532 content/browser/renderer_host/compositor_impl_android.cc:532: settings.renderer_settings.buffer_to_texture_target_map = On 2017/05/31 15:06:09, reveman ...
3 years, 6 months ago (2017-06-01 06:56:07 UTC) #13
reveman
lgtm with nit https://codereview.chromium.org/2895273002/diff/40001/content/browser/renderer_host/compositor_impl_android.cc File content/browser/renderer_host/compositor_impl_android.cc (right): https://codereview.chromium.org/2895273002/diff/40001/content/browser/renderer_host/compositor_impl_android.cc#newcode544 content/browser/renderer_host/compositor_impl_android.cc:544: settings.buffer_to_texture_target_map = image_targets; nit: avoid making ...
3 years, 6 months ago (2017-06-05 18:32:38 UTC) #14
kinuko
I'm not an expert in this area, but given that reveman's stamped lgtm (if no ...
3 years, 6 months ago (2017-06-06 04:29:44 UTC) #15
sujith
Hi ALL, PTAL
3 years, 6 months ago (2017-06-06 07:08:40 UTC) #16
boliu
https://codereview.chromium.org/2895273002/diff/60001/content/browser/renderer_host/compositor_impl_android.cc File content/browser/renderer_host/compositor_impl_android.cc (right): https://codereview.chromium.org/2895273002/diff/60001/content/browser/renderer_host/compositor_impl_android.cc#newcode533 content/browser/renderer_host/compositor_impl_android.cc:533: for (int usage_idx = 0; usage_idx <= static_cast<int>(gfx::BufferUsage::LAST); I ...
3 years, 6 months ago (2017-06-07 23:14:48 UTC) #17
sujith
Hi All, PTAL https://codereview.chromium.org/2895273002/diff/60001/content/browser/renderer_host/compositor_impl_android.cc File content/browser/renderer_host/compositor_impl_android.cc (right): https://codereview.chromium.org/2895273002/diff/60001/content/browser/renderer_host/compositor_impl_android.cc#newcode533 content/browser/renderer_host/compositor_impl_android.cc:533: for (int usage_idx = 0; usage_idx ...
3 years, 6 months ago (2017-06-08 10:40:30 UTC) #19
boliu
https://codereview.chromium.org/2895273002/diff/60001/content/browser/renderer_host/compositor_impl_android.cc File content/browser/renderer_host/compositor_impl_android.cc (right): https://codereview.chromium.org/2895273002/diff/60001/content/browser/renderer_host/compositor_impl_android.cc#newcode533 content/browser/renderer_host/compositor_impl_android.cc:533: for (int usage_idx = 0; usage_idx <= static_cast<int>(gfx::BufferUsage::LAST); On ...
3 years, 6 months ago (2017-06-08 17:00:01 UTC) #20
sujith
Changes done as suggested. PTAL
3 years, 6 months ago (2017-06-09 09:56:02 UTC) #22
reveman
https://codereview.chromium.org/2895273002/diff/120001/content/browser/gpu/compositor_util.h File content/browser/gpu/compositor_util.h (right): https://codereview.chromium.org/2895273002/diff/120001/content/browser/gpu/compositor_util.h#newcode51 content/browser/gpu/compositor_util.h:51: CONTENT_EXPORT cc::BufferToTextureTargetMap GetBufferToTextureTargetMap(); Can this be "void GetBufferToTextureTargetMap(cc::BufferToTextureTargetMap* texture_targets)" ...
3 years, 6 months ago (2017-06-09 14:28:46 UTC) #23
boliu
https://codereview.chromium.org/2895273002/diff/120001/ui/aura/mus/mus_context_factory.cc File ui/aura/mus/mus_context_factory.cc (right): https://codereview.chromium.org/2895273002/diff/120001/ui/aura/mus/mus_context_factory.cc#newcode24 ui/aura/mus/mus_context_factory.cc:24: content::GetBufferToTextureTargetMap()), ui can't depend on content. does this even ...
3 years, 6 months ago (2017-06-12 16:31:39 UTC) #24
sujith
Hi All, please check my comments and update your views. https://codereview.chromium.org/2895273002/diff/120001/content/browser/gpu/compositor_util.h File content/browser/gpu/compositor_util.h (right): https://codereview.chromium.org/2895273002/diff/120001/content/browser/gpu/compositor_util.h#newcode51 ...
3 years, 6 months ago (2017-06-14 10:30:19 UTC) #25
reveman
https://codereview.chromium.org/2895273002/diff/120001/content/browser/gpu/compositor_util.h File content/browser/gpu/compositor_util.h (right): https://codereview.chromium.org/2895273002/diff/120001/content/browser/gpu/compositor_util.h#newcode51 content/browser/gpu/compositor_util.h:51: CONTENT_EXPORT cc::BufferToTextureTargetMap GetBufferToTextureTargetMap(); On 2017/06/14 at 10:30:18, sujith wrote: ...
3 years, 6 months ago (2017-06-14 13:03:38 UTC) #26
sujith
Hi All, Changes done as suggested. PTAL
3 years, 6 months ago (2017-06-14 14:53:23 UTC) #27
boliu
https://codereview.chromium.org/2895273002/diff/180001/content/browser/gpu/compositor_util.h File content/browser/gpu/compositor_util.h (right): https://codereview.chromium.org/2895273002/diff/180001/content/browser/gpu/compositor_util.h#newcode11 content/browser/gpu/compositor_util.h:11: #include "cc/output/buffer_to_texture_target_map.h" you can forward declare the map here, ...
3 years, 6 months ago (2017-06-20 22:44:34 UTC) #28
sujith
https://codereview.chromium.org/2895273002/diff/180001/content/browser/gpu/compositor_util.h File content/browser/gpu/compositor_util.h (right): https://codereview.chromium.org/2895273002/diff/180001/content/browser/gpu/compositor_util.h#newcode11 content/browser/gpu/compositor_util.h:11: #include "cc/output/buffer_to_texture_target_map.h" On 2017/06/20 22:44:33, boliu wrote: > you ...
3 years, 6 months ago (2017-06-21 13:04:59 UTC) #29
boliu
https://codereview.chromium.org/2895273002/diff/180001/content/browser/gpu/compositor_util.h File content/browser/gpu/compositor_util.h (right): https://codereview.chromium.org/2895273002/diff/180001/content/browser/gpu/compositor_util.h#newcode11 content/browser/gpu/compositor_util.h:11: #include "cc/output/buffer_to_texture_target_map.h" On 2017/06/21 13:04:59, sujith wrote: > On ...
3 years, 6 months ago (2017-06-21 16:01:25 UTC) #30
sujith
Hi All, PTAL https://codereview.chromium.org/2895273002/diff/180001/content/browser/gpu/compositor_util.h File content/browser/gpu/compositor_util.h (right): https://codereview.chromium.org/2895273002/diff/180001/content/browser/gpu/compositor_util.h#newcode11 content/browser/gpu/compositor_util.h:11: #include "cc/output/buffer_to_texture_target_map.h" On 2017/06/21 16:01:25, boliu ...
3 years, 6 months ago (2017-06-22 07:30:36 UTC) #31
boliu
lgtm
3 years, 6 months ago (2017-06-23 00:45:47 UTC) #32
sujith
@sadrul, PTAL from aura side @danakj, PTAL from ui/compositor side.
3 years, 6 months ago (2017-06-23 04:05:17 UTC) #34
sujith
@sadrul, @danakj gentle ping. PTAL
3 years, 5 months ago (2017-06-28 05:56:18 UTC) #35
danakj
Seems good but some C++ style stuff, we can make use of map being a ...
3 years, 5 months ago (2017-06-28 17:00:20 UTC) #36
sujith
@danakj https://codereview.chromium.org/2895273002/diff/200001/content/browser/gpu/compositor_util.h File content/browser/gpu/compositor_util.h (right): https://codereview.chromium.org/2895273002/diff/200001/content/browser/gpu/compositor_util.h#newcode52 content/browser/gpu/compositor_util.h:52: // Populate buffer_to_texture_target_map for all buffer usage/formats. On ...
3 years, 5 months ago (2017-06-29 06:21:50 UTC) #37
sujith
@danakj, I have done similar changes in patch set 7. based on review comment i ...
3 years, 5 months ago (2017-06-29 06:22:38 UTC) #38
danakj
https://codereview.chromium.org/2895273002/diff/120001/content/browser/gpu/compositor_util.h File content/browser/gpu/compositor_util.h (right): https://codereview.chromium.org/2895273002/diff/120001/content/browser/gpu/compositor_util.h#newcode51 content/browser/gpu/compositor_util.h:51: CONTENT_EXPORT cc::BufferToTextureTargetMap GetBufferToTextureTargetMap(); On 2017/06/09 14:28:46, reveman wrote: > ...
3 years, 5 months ago (2017-06-29 16:06:54 UTC) #39
danakj
On Thu, Jun 29, 2017 at 2:22 AM, <sujiths.s@samsung.com> wrote: > @danakj, > I have ...
3 years, 5 months ago (2017-06-29 16:07:36 UTC) #40
sujith
Hi All, PTAL https://codereview.chromium.org/2895273002/diff/200001/content/browser/compositor/gpu_process_transport_factory.cc File content/browser/compositor/gpu_process_transport_factory.cc (right): https://codereview.chromium.org/2895273002/diff/200001/content/browser/compositor/gpu_process_transport_factory.cc#newcode204 content/browser/compositor/gpu_process_transport_factory.cc:204: GpuProcessTransportFactory::GetBufferToTextureTargetMap() { On 2017/06/28 17:00:19, danakj ...
3 years, 5 months ago (2017-06-30 07:49:04 UTC) #41
danakj
LGTM https://codereview.chromium.org/2895273002/diff/240001/content/browser/gpu/compositor_util.cc File content/browser/gpu/compositor_util.cc (right): https://codereview.chromium.org/2895273002/diff/240001/content/browser/gpu/compositor_util.cc#newcode401 content/browser/gpu/compositor_util.cc:401: cc::BufferToTextureTargetMap GetBufferToTextureTargetMap() { last nit: Create rather than ...
3 years, 5 months ago (2017-06-30 16:03:23 UTC) #42
sujith
Hi All, PTAL https://codereview.chromium.org/2895273002/diff/240001/content/browser/gpu/compositor_util.cc File content/browser/gpu/compositor_util.cc (right): https://codereview.chromium.org/2895273002/diff/240001/content/browser/gpu/compositor_util.cc#newcode401 content/browser/gpu/compositor_util.cc:401: cc::BufferToTextureTargetMap GetBufferToTextureTargetMap() { On 2017/06/30 16:03:23, ...
3 years, 5 months ago (2017-07-01 12:30:13 UTC) #43
danakj
On 2017/07/01 12:30:13, sujith wrote: > Hi All, > > PTAL > > https://codereview.chromium.org/2895273002/diff/240001/content/browser/gpu/compositor_util.cc > ...
3 years, 5 months ago (2017-07-04 15:33:21 UTC) #44
sujith
@sadrul, PTAL from ui/aura side
3 years, 5 months ago (2017-07-05 10:22:55 UTC) #45
sadrul
lgtm https://codereview.chromium.org/2895273002/diff/260001/ui/aura/mus/mus_context_factory.cc File ui/aura/mus/mus_context_factory.cc (right): https://codereview.chromium.org/2895273002/diff/260001/ui/aura/mus/mus_context_factory.cc#newcode21 ui/aura/mus/mus_context_factory.cc:21: cc::BufferToTextureTargetMap CreateBufferToTextureTargetMap() { Put in anon namespace.
3 years, 5 months ago (2017-07-05 15:21:36 UTC) #46
sadrul
side note: consider updating the CL description to follow https://chris.beams.io/posts/git-commit/#separate. (and also note that the ...
3 years, 5 months ago (2017-07-05 15:28:39 UTC) #47
sujith
changes done https://codereview.chromium.org/2895273002/diff/260001/ui/aura/mus/mus_context_factory.cc File ui/aura/mus/mus_context_factory.cc (right): https://codereview.chromium.org/2895273002/diff/260001/ui/aura/mus/mus_context_factory.cc#newcode21 ui/aura/mus/mus_context_factory.cc:21: cc::BufferToTextureTargetMap CreateBufferToTextureTargetMap() { On 2017/07/05 15:21:36, sadrul ...
3 years, 5 months ago (2017-07-06 09:11:30 UTC) #50
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/2895273002/280001
3 years, 5 months ago (2017-07-07 03:27:38 UTC) #53
commit-bot: I haz the power
3 years, 5 months ago (2017-07-07 04:32:34 UTC) #57
Message was sent while issue was closed.
Committed patchset #15 (id:280001) as
https://chromium.googlesource.com/chromium/src/+/c4b9cf2a67c8be392a878373d356...

Powered by Google App Engine
This is Rietveld 408576698