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

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: fix android compile error sigh 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 | « components/mus/gles2/command_buffer_local.cc ('k') | content/common/gpu/gpu_channel.cc » ('j') | no next file with comments »
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 d2ed46c65f6a02739859dedd0c1bdf879176a23a..e111924cd931d3c905c4430eb69530b83e8e2bf5 100644
--- a/content/common/gpu/gpu_channel.h
+++ b/content/common/gpu/gpu_channel.h
@@ -108,16 +108,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 | « components/mus/gles2/command_buffer_local.cc ('k') | content/common/gpu/gpu_channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698