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

Unified Diff: content/common/gpu/gpu_command_buffer_stub.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
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 932a0ce6dc0315e7ac0600755c9f57cb12829e88..defe1ba39289b4886707ea9f36240784c7f9ab09 100644
--- a/content/common/gpu/gpu_command_buffer_stub.h
+++ b/content/common/gpu/gpu_command_buffer_stub.h
@@ -212,11 +212,13 @@ class GpuCommandBufferStub
gfx::BufferFormat format,
uint32 internalformat);
void OnDestroyImage(int32 id);
+ void OnCreateStreamTexture(uint32 texture_id,
+ int32 stream_id,
+ bool* succeeded);
void OnCommandProcessed();
void OnParseError();
- void OnCreateStreamTexture(
- uint32 texture_id, int32 stream_id, bool* succeeded);
+ void OnSchedulingChanged(bool scheduled);
void ReportState();
@@ -276,7 +278,7 @@ class GpuCommandBufferStub
// A queue of sync points associated with this stub.
std::deque<uint32> sync_points_;
- int sync_point_wait_count_;
+ bool waiting_for_sync_point_;
bool delayed_work_scheduled_;
uint32_t previous_processed_num_;

Powered by Google App Engine
This is Rietveld 408576698