Index: Source/WebCore/platform/graphics/chromium/cc/CCThreadProxy.h |
=================================================================== |
--- Source/WebCore/platform/graphics/chromium/cc/CCThreadProxy.h (revision 122257) |
+++ Source/WebCore/platform/graphics/chromium/cc/CCThreadProxy.h (working copy) |
@@ -58,6 +58,7 @@ |
virtual bool isStarted() const OVERRIDE; |
virtual bool initializeContext() OVERRIDE; |
virtual void setSurfaceReady() OVERRIDE; |
+ virtual void setVisible(bool) OVERRIDE; |
virtual bool initializeLayerRenderer() OVERRIDE; |
virtual bool recreateContext() OVERRIDE; |
virtual int compositorIdentifier() const OVERRIDE; |
@@ -65,7 +66,6 @@ |
virtual void loseContext() OVERRIDE; |
virtual void setNeedsAnimate() OVERRIDE; |
virtual void setNeedsCommit() OVERRIDE; |
- virtual void setNeedsForcedCommit() OVERRIDE; |
virtual void setNeedsRedraw() OVERRIDE; |
virtual bool commitRequested() const OVERRIDE; |
virtual void didAddAnimation() OVERRIDE { } |
@@ -82,7 +82,6 @@ |
virtual void setNeedsRedrawOnImplThread() OVERRIDE; |
virtual void setNeedsCommitOnImplThread() OVERRIDE; |
virtual void postAnimationEventsToMainThreadOnImplThread(PassOwnPtr<CCAnimationEventsVector>, double wallClockTime) OVERRIDE; |
- virtual void postSetContentsMemoryAllocationLimitBytesToMainThreadOnImplThread(size_t) OVERRIDE; |
// CCSchedulerClient implementation |
virtual bool canDraw() OVERRIDE; |
@@ -110,6 +109,8 @@ |
double monotonicFrameBeginTime; |
OwnPtr<CCScrollAndScaleSet> scrollInfo; |
CCTextureUpdater* updater; |
+ bool contentsTexturesWereDeleted; |
+ size_t memoryAllocationLimitBytes; |
}; |
OwnPtr<BeginFrameAndCommitState> m_pendingBeginFrameRequest; |
@@ -118,7 +119,6 @@ |
void didCommitAndDrawFrame(); |
void didCompleteSwapBuffers(); |
void setAnimationEvents(PassOwnPtr<CCAnimationEventsVector>, double wallClockTime); |
- void setContentsMemoryAllocationLimitBytes(size_t); |
void beginContextRecreation(); |
void tryToRecreateContext(); |
@@ -131,11 +131,13 @@ |
}; |
void forceBeginFrameOnImplThread(CCCompletionEvent*); |
void beginFrameCompleteOnImplThread(CCCompletionEvent*); |
+ void beginFrameAbortedOnImplThread(); |
void requestReadbackOnImplThread(ReadbackRequest*); |
void requestStartPageScaleAnimationOnImplThread(IntSize targetPosition, bool useAnchor, float scale, double durationSec); |
void finishAllRenderingOnImplThread(CCCompletionEvent*); |
void initializeImplOnImplThread(CCCompletionEvent*); |
void setSurfaceReadyOnImplThread(); |
+ void setVisibleOnImplThread(CCCompletionEvent*, bool); |
void initializeContextOnImplThread(CCGraphicsContext*); |
void initializeLayerRendererOnImplThread(CCCompletionEvent*, bool* initializeSucceeded, LayerRendererCapabilities*); |
void layerTreeHostClosedOnImplThread(CCCompletionEvent*); |
@@ -159,6 +161,7 @@ |
LayerRendererCapabilities m_layerRendererCapabilitiesMainThreadCopy; |
bool m_started; |
bool m_texturesAcquired; |
+ bool m_inCompositeAndReadback; |
OwnPtr<CCLayerTreeHostImpl> m_layerTreeHostImpl; |