Bug 1053563 - Use a static create function to replace InitWith for TextureClient. r=nical

This commit is contained in:
Ethan Lin
2015-04-29 19:34:00 +02:00
parent da7ee8e57b
commit c5cd30776e
12 changed files with 149 additions and 83 deletions

View File

@@ -60,8 +60,6 @@ public:
virtual void WaitForBufferOwnership(bool aWaitReleaseFence = true) override;
void InitWith(MaybeMagicGrallocBufferHandle aDesc, gfx::IntSize aSize);
void SetTextureFlags(TextureFlags aFlags) { AddFlags(aFlags); }
gfx::IntSize GetSize() const override { return mSize; }