Bug 1021614 - [Moz2Dification] Remove the constructors that use thebes sizes in GLTextureImage.h. r=nical

This commit is contained in:
Gautam Akiwate 2014-07-23 21:13:00 +02:00
parent 482f418214
commit fc90d0ec6a
2 changed files with 0 additions and 18 deletions

View File

@ -63,17 +63,6 @@ TileGenFunc(GLContext* gl,
}
}
already_AddRefed<TextureImage>
TextureImage::Create(GLContext* gl,
const nsIntSize& size,
TextureImage::ContentType contentType,
GLenum wrapMode,
TextureImage::Flags flags)
{
return Create(gl, size.ToIntSize(), contentType, wrapMode, flags);
}
// Moz2D equivalent...
already_AddRefed<TextureImage>
TextureImage::Create(GLContext* gl,
const gfx::IntSize& size,

View File

@ -65,13 +65,6 @@ public:
typedef gfxContentType ContentType;
typedef gfxImageFormat ImageFormat;
static already_AddRefed<TextureImage> Create(
GLContext* gl,
const nsIntSize& aSize,
TextureImage::ContentType aContentType,
GLenum aWrapMode,
TextureImage::Flags aFlags = TextureImage::NoFlags);
// Moz2D equivalent...
static already_AddRefed<TextureImage> Create(
GLContext* gl,
const gfx::IntSize& aSize,