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

Unified Diff: content/gpu/gpu_child_thread.cc

Issue 1844053002: Add detached mode plumbing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: And target Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/gpu/gpu_child_thread.h ('k') | content/public/browser/render_widget_host_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/gpu/gpu_child_thread.cc
diff --git a/content/gpu/gpu_child_thread.cc b/content/gpu/gpu_child_thread.cc
index 6eee7220acd55d4fc2c1bbc1916e39f4a11e0a58..5af504b942fa0b984fd720c78d9626d9b6095eb3 100644
--- a/content/gpu/gpu_child_thread.cc
+++ b/content/gpu/gpu_child_thread.cc
@@ -332,6 +332,8 @@ void GpuChildThread::SendAcceleratedSurfaceBuffersSwapped(
int32_t surface_id,
CAContextID ca_context_id,
const gfx::ScopedRefCountedIOSurfaceMachPort& io_surface,
+ bool use_detached,
+ CAContextID detached_ca_context_id,
const gfx::Size& size,
float scale_factor,
std::vector<ui::LatencyInfo> latency_info) {
@@ -339,6 +341,8 @@ void GpuChildThread::SendAcceleratedSurfaceBuffersSwapped(
params.surface_id = surface_id;
params.ca_context_id = ca_context_id;
params.io_surface = io_surface;
+ params.use_detached = use_detached;
+ params.detached_ca_context_id = detached_ca_context_id;
params.size = size;
params.scale_factor = scale_factor;
params.latency_info = std::move(latency_info);
« no previous file with comments | « content/gpu/gpu_child_thread.h ('k') | content/public/browser/render_widget_host_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698