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

Issue 2802663002: GpuProcessHost: setup ipc to propagate supported GpuMemoryBufferAttribs

Created:
3 years, 8 months ago by varad
Modified:
3 years, 7 months ago
Reviewers:
reveman, sadrul
CC:
chromium-reviews, Daniele Castagna, hoegsberg, Julien Isorce, piman+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

GpuProcessHost: setup ipc to propagate supported GpuMemoryBufferAttribs probe the supported GpuMemoryBufferAttribs from GpuService. this is used by GpuMemoryBufferManager instance later to query the platform supported attribs in both mus as well as non-mus environments. the GpuService call is made only when there are no pending requests, and all the incoming requests are served with the same data as received for the first call, since we are dealing with non-changing GpuMemoryBufferAttribs. BUG=708947

Patch Set 1 #

Patch Set 2 : GpuProcessHost: setup ipc to propagate supported GpuMemoryBufferAttribs #

Total comments: 6

Patch Set 3 : check for pending calls, rename get_supported_gpu_memory_buffer_attribs_requests_ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -1 line) Patch
M content/browser/gpu/gpu_process_host.h View 1 2 4 chunks +10 lines, -1 line 0 comments Download
M content/browser/gpu/gpu_process_host.cc View 1 2 3 chunks +33 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 10 (4 generated)
varad
[WIP 6/8] for GMB format/modifier communication, PTAL
3 years, 8 months ago (2017-04-06 14:16:03 UTC) #3
sadrul
https://codereview.chromium.org/2802663002/diff/20001/content/browser/gpu/gpu_process_host.cc File content/browser/gpu/gpu_process_host.cc (right): https://codereview.chromium.org/2802663002/diff/20001/content/browser/gpu/gpu_process_host.cc#newcode727 content/browser/gpu/gpu_process_host.cc:727: gpu_service_ptr_->GetGpuMemoryBufferAttribs( Maybe not make another request when a request ...
3 years, 8 months ago (2017-04-19 21:45:46 UTC) #5
varad
https://codereview.chromium.org/2802663002/diff/20001/content/browser/gpu/gpu_process_host.cc File content/browser/gpu/gpu_process_host.cc (right): https://codereview.chromium.org/2802663002/diff/20001/content/browser/gpu/gpu_process_host.cc#newcode727 content/browser/gpu/gpu_process_host.cc:727: gpu_service_ptr_->GetGpuMemoryBufferAttribs( On 2017/04/19 21:45:46, sadrul wrote: > Maybe not ...
3 years, 8 months ago (2017-04-21 13:04:00 UTC) #7
varad
3 years, 8 months ago (2017-04-25 06:11:33 UTC) #8
sadrul
The change looks good. reveman@ should be the main reviewer though.
3 years, 8 months ago (2017-04-26 02:46:07 UTC) #9
reveman
3 years, 7 months ago (2017-05-10 17:53:21 UTC) #10
Don't we have some initial ipc that comes from the gpu process that can deliver
this already? E.g. could it be part of gpu::Capabilities?

Powered by Google App Engine
This is Rietveld 408576698