mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
Bug 959154 - Part 3: Deprecate naming of gl::UploadTextureForSurface for thebes. r=nical
This commit is contained in:
parent
c03e76eba6
commit
5a8c7a12da
@ -184,7 +184,7 @@ BasicTextureImage::EndUpdate()
|
||||
bool relative = FinishedSurfaceUpdate();
|
||||
|
||||
mTextureFormat =
|
||||
UploadSurfaceToTexture(mGLContext,
|
||||
DeprecatedUploadSurfaceToTexture(mGLContext,
|
||||
mUpdateSurface,
|
||||
mUpdateRegion,
|
||||
mTexture,
|
||||
@ -237,7 +237,7 @@ BasicTextureImage::DirectUpdate(gfxASurface* aSurf, const nsIntRegion& aRegion,
|
||||
}
|
||||
|
||||
mTextureFormat =
|
||||
UploadSurfaceToTexture(mGLContext,
|
||||
DeprecatedUploadSurfaceToTexture(mGLContext,
|
||||
aSurf,
|
||||
region,
|
||||
mTexture,
|
||||
|
@ -495,7 +495,7 @@ UploadImageDataToTexture(GLContext* gl,
|
||||
}
|
||||
|
||||
SurfaceFormat
|
||||
UploadSurfaceToTexture(GLContext* gl,
|
||||
DeprecatedUploadSurfaceToTexture(GLContext* gl,
|
||||
gfxASurface *aSurface,
|
||||
const nsIntRegion& aDstRegion,
|
||||
GLuint& aTexture,
|
||||
|
@ -71,7 +71,7 @@ UploadImageDataToTexture(GLContext* gl,
|
||||
* Convenience wrapper around UploadImageDataToTexture for gfxASurfaces.
|
||||
*/
|
||||
gfx::SurfaceFormat
|
||||
UploadSurfaceToTexture(GLContext* gl,
|
||||
DeprecatedUploadSurfaceToTexture(GLContext* gl,
|
||||
gfxASurface *aSurface,
|
||||
const nsIntRegion& aDstRegion,
|
||||
GLuint& aTexture,
|
||||
|
@ -217,7 +217,7 @@ TextureImageEGL::DirectUpdate(gfxASurface* aSurf, const nsIntRegion& aRegion, co
|
||||
}
|
||||
|
||||
mTextureFormat =
|
||||
UploadSurfaceToTexture(mGLContext,
|
||||
DeprecatedUploadSurfaceToTexture(mGLContext,
|
||||
aSurf,
|
||||
region,
|
||||
mTexture,
|
||||
|
Loading…
Reference in New Issue
Block a user