diff options
author | Andrew Osmond <aosmond@mozilla.com> | 2018-04-10 09:40:02 -0400 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-04-19 11:58:39 +0200 |
commit | e7189e33f533f9b974b22c2110b522a13bc4c7f6 (patch) | |
tree | 8e6b6f1e0929d73f3b0568c30b99415e825866a6 /gfx/gl/GLUploadHelpers.h | |
parent | d66d343e1b6a5c3be08f82a0ac2489a91c647d65 (diff) | |
download | UXP-e7189e33f533f9b974b22c2110b522a13bc4c7f6.tar UXP-e7189e33f533f9b974b22c2110b522a13bc4c7f6.tar.gz UXP-e7189e33f533f9b974b22c2110b522a13bc4c7f6.tar.lz UXP-e7189e33f533f9b974b22c2110b522a13bc4c7f6.tar.xz UXP-e7189e33f533f9b974b22c2110b522a13bc4c7f6.zip |
Bug 1388020. r=nical, a=RyanVM
Diffstat (limited to 'gfx/gl/GLUploadHelpers.h')
-rw-r--r-- | gfx/gl/GLUploadHelpers.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gfx/gl/GLUploadHelpers.h b/gfx/gl/GLUploadHelpers.h index 866d44adb..f732d2b38 100644 --- a/gfx/gl/GLUploadHelpers.h +++ b/gfx/gl/GLUploadHelpers.h @@ -28,6 +28,7 @@ class GLContext; * \param gl The GL Context to use. * \param aData Start of image data of surface to upload. * Corresponds to the first pixel of the texture. + * \param aDataSize The image data's size. * \param aStride The image data's stride. * \param aFormat The image data's format. * \param aDstRegion Region of the texture to upload. @@ -46,6 +47,7 @@ class GLContext; gfx::SurfaceFormat UploadImageDataToTexture(GLContext* gl, unsigned char* aData, + const gfx::IntSize& aDataSize, int32_t aStride, gfx::SurfaceFormat aFormat, const nsIntRegion& aDstRegion, |