mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-25 18:07:31 +09:00
Bug 1388020. r=nical, a=RyanVM
This commit is contained in:
parent
55bde34653
commit
e3e79721f6
6 changed files with 41 additions and 6 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue