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

Unified Diff: cc/resources/tile_manager.h

Issue 14409006: cc: Changes to use GL API for GpuMemoryBuffers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@glapi
Patch Set: Cosmetic fixes Created 7 years, 7 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: cc/resources/tile_manager.h
diff --git a/cc/resources/tile_manager.h b/cc/resources/tile_manager.h
index eb62ba42a3e998f1673f7d85457e38bb85e594b4..18b9379af335dc5b785137419a2191b2b250a3fc 100644
--- a/cc/resources/tile_manager.h
+++ b/cc/resources/tile_manager.h
@@ -89,6 +89,8 @@ class CC_EXPORT TileManager : public WorkerPoolClient {
return memory_stats_from_last_assign_;
}
+ void SetUseGpuMemoryBuffers(bool use_gpu_memory_buffers);
reveman 2013/05/20 23:16:01 can we pass this to ctor instead?
kaanb 2013/05/21 00:52:29 Done.
+
// Overridden from WorkerPoolClient:
virtual void DidFinishDispatchingWorkerPoolCompletionCallbacks() OVERRIDE;
@@ -210,6 +212,8 @@ class CC_EXPORT TileManager : public WorkerPoolClient {
size_t pending_tasks_;
size_t max_pending_tasks_;
+ bool use_gpu_memory_buffers_;
reveman 2013/05/20 23:16:01 No need to add this. Just pass the setting to the
kaanb 2013/05/21 00:52:29 Done.
+
DISALLOW_COPY_AND_ASSIGN(TileManager);
};

Powered by Google App Engine
This is Rietveld 408576698