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

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

Issue 1348363003: content/gpu: Simplify stub scheduling. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gpu_channel_stream
Patch Set: 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
« no previous file with comments | « no previous file | content/common/gpu/gpu_channel.cc » ('j') | content/common/gpu/gpu_command_buffer_stub.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/gpu_channel.h
diff --git a/content/common/gpu/gpu_channel.h b/content/common/gpu/gpu_channel.h
index 14fce544a947f41a6f9a8effd88529409a72884d..05e024125e1ca9501837ded9861be8fd50ef4455 100644
--- a/content/common/gpu/gpu_channel.h
+++ b/content/common/gpu/gpu_channel.h
@@ -110,16 +110,10 @@ class CONTENT_EXPORT GpuChannel
void OnAddSubscription(unsigned int target) override;
void OnRemoveSubscription(unsigned int target) override;
- // This is called when a command buffer transitions from the unscheduled
- // state to the scheduled state, which potentially means the channel
- // transitions from the unscheduled to the scheduled state. When this occurs
- // deferred IPC messaged are handled.
- void OnScheduled();
-
// This is called when a command buffer transitions between scheduled and
// descheduled states. When any stub is descheduled, we stop preempting
// other channels.
- void StubSchedulingChanged(bool scheduled);
+ void OnStubSchedulingChanged(GpuCommandBufferStub* stub, bool scheduled);
CreateCommandBufferResult CreateViewCommandBuffer(
const gfx::GLSurfaceHandle& window,
« no previous file with comments | « no previous file | content/common/gpu/gpu_channel.cc » ('j') | content/common/gpu/gpu_command_buffer_stub.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698