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

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: 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 | « content/common/gpu/gpu_channel.cc ('k') | content/common/gpu/gpu_command_buffer_stub.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 d2c3f4fb6b4813dbe06239b15295916b7cd5cf5a..9e1e15c1d162fc78277d66d3e64b2dc04d17768c 100644
--- a/content/common/gpu/gpu_command_buffer_stub.h
+++ b/content/common/gpu/gpu_command_buffer_stub.h
@@ -216,11 +216,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();
@@ -283,7 +285,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_;
base::TimeTicks process_delayed_work_time_;
uint32_t previous_processed_num_;
« no previous file with comments | « content/common/gpu/gpu_channel.cc ('k') | content/common/gpu/gpu_command_buffer_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698