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

Unified Diff: cc/trees/thread_proxy.h

Issue 14772021: cc::OutputSurfaceClient::InitializeForGL (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Dedup and refactor code 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/trees/thread_proxy.h
diff --git a/cc/trees/thread_proxy.h b/cc/trees/thread_proxy.h
index f41d0c45789df55411511ba4a36ebdf4bb29585a..7e730ffd1f774bed9720d558903c2525daa59e12 100644
--- a/cc/trees/thread_proxy.h
+++ b/cc/trees/thread_proxy.h
@@ -61,6 +61,7 @@ class ThreadProxy : public Proxy,
virtual bool CommitPendingForTesting() OVERRIDE;
// LayerTreeHostImplClient implementation
+ virtual void DidUpdateCapabilitiesOnImplThread() OVERRIDE;
virtual void DidLoseOutputSurfaceOnImplThread() OVERRIDE;
virtual void OnSwapBuffersCompleteOnImplThread() OVERRIDE;
virtual void OnVSyncParametersChanged(base::TimeTicks timebase,
@@ -139,6 +140,7 @@ class ThreadProxy : public Proxy,
void OnOutputSurfaceInitializeAttempted(
bool success,
const RendererCapabilities& capabilities);
+ void DidUpdateCapabilities(const RendererCapabilities& capabilities);
// Called on impl thread.
struct ReadbackRequest {
@@ -151,6 +153,7 @@ class ThreadProxy : public Proxy,
CompletionEvent completion;
bool commit_pending;
};
+ void UpdateCapabilitiesOnImplThread();
void ForceBeginFrameOnImplThread(CompletionEvent* completion);
void BeginFrameCompleteOnImplThread(
CompletionEvent* completion,

Powered by Google App Engine
This is Rietveld 408576698