mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 21:28:55 +00:00
Bug 1021614 - [Moz2Dification] Remove the constructors that use thebes sizes in GLTextureImage.h. r=nical
This commit is contained in:
parent
482f418214
commit
fc90d0ec6a
@ -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,
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user