Bug 753784; allow access to the max texture size from FrameLayerBuilder. r=roc

This commit is contained in:
Nicholas Cameron
2012-05-22 19:15:16 -04:00
parent 4ffe1932d5
commit 189d6e2368
20 changed files with 64 additions and 14 deletions

View File

@@ -146,6 +146,7 @@ public:
virtual bool IsCompositingCheap() { return false; }
virtual bool HasShadowManagerInternal() const { return false; }
bool HasShadowManager() const { return HasShadowManagerInternal(); }
virtual PRInt32 GetMaxTextureSize() const { return PR_INT32_MAX; }
protected:
#ifdef DEBUG
@@ -207,6 +208,8 @@ public:
return this;
}
virtual PRInt32 GetMaxTextureSize() const;
virtual void BeginTransactionWithTarget(gfxContext* aTarget);
virtual bool EndEmptyTransaction();
virtual void EndTransaction(DrawThebesLayerCallback aCallback,