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

Unified Diff: content/common/gpu/gpu_command_buffer_stub.h

Issue 1365563002: Make channel preemption not require view contexts for hookup (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@wakeup_gpu
Patch Set: fix build and broken rebase Created 5 years, 3 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
Index: content/common/gpu/gpu_command_buffer_stub.h
diff --git a/content/common/gpu/gpu_command_buffer_stub.h b/content/common/gpu/gpu_command_buffer_stub.h
index eef49f20ec06a455a9d096f8ef548df91d66b06a..863965c94233b6e102145d0bd5b5922c194e17b0 100644
--- a/content/common/gpu/gpu_command_buffer_stub.h
+++ b/content/common/gpu/gpu_command_buffer_stub.h
@@ -82,9 +82,8 @@ class GpuCommandBufferStub
gfx::GpuPreference gpu_preference,
int32 stream_id,
int32 route_id,
- int32 surface_id,
+ bool offscreen,
GpuWatchdog* watchdog,
- bool software,
const GURL& active_url);
~GpuCommandBufferStub() override;
@@ -115,9 +114,6 @@ class GpuCommandBufferStub
// Unique command buffer ID for this command buffer stub.
uint64_t command_buffer_id() const { return command_buffer_id_; }
- // Identifies the target surface.
- int32 surface_id() const { return surface_id_; }
-
// Identifies the various GpuCommandBufferStubs in the GPU process belonging
// to the same renderer process.
int32 route_id() const { return route_id_; }
@@ -264,8 +260,7 @@ class GpuCommandBufferStub
const uint64_t command_buffer_id_;
const int32 stream_id_;
const int32 route_id_;
- const int32 surface_id_;
- bool software_;
+ const bool offscreen_;
uint32 last_flush_count_;
scoped_ptr<gpu::CommandBufferService> command_buffer_;

Powered by Google App Engine
This is Rietveld 408576698