Bug 793365: Make sure (again) that the entire buffer is valid when we might be asynchronously composited. r=roc

This commit is contained in:
Chris Jones
2012-09-24 21:15:18 -07:00
parent 152314f881
commit 30ee4bd1d9
5 changed files with 36 additions and 8 deletions

View File

@@ -153,6 +153,7 @@ public:
virtual bool IsCompositingCheap() { return false; }
virtual int32_t GetMaxTextureSize() const { return PR_INT32_MAX; }
bool CompositorMightResample() { return mCompositorMightResample; }
protected:
enum TransactionPhase {
@@ -200,10 +201,11 @@ protected:
// Cached surface for double buffering
gfxCachedTempSurface mCachedSurface;
BufferMode mDoubleBuffering;
BufferMode mDoubleBuffering;
bool mUsingDefaultTarget;
bool mCachedSurfaceInUse;
bool mTransactionIncomplete;
bool mTransactionIncomplete;
bool mCompositorMightResample;
};