mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-02 13:58:40 +09:00
Issue #1442 - Part 5: Implement WebIDL bindings for Streams. https://bugzilla.mozilla.org/show_bug.cgi?id=1128959
This commit is contained in:
parent
9b9075eef6
commit
0701dccaca
14 changed files with 255 additions and 157 deletions
|
|
@ -475,7 +475,7 @@ WebGLTexture::TexImage(const char* funcName, TexImageTarget target, GLint level,
|
|||
GLsizei depth, GLint border, const webgl::PackingInfo& pi,
|
||||
const TexImageSource& src)
|
||||
{
|
||||
dom::RootedTypedArray<dom::Uint8ClampedArray> scopedArr(dom::RootingCx());
|
||||
dom::RootedSpiderMonkeyInterface<dom::Uint8ClampedArray> scopedArr(dom::RootingCx());
|
||||
const auto blob = ValidateTexOrSubImage(mContext, funcName, target, width, height,
|
||||
depth, border, pi, src, &scopedArr);
|
||||
if (!blob)
|
||||
|
|
@ -491,7 +491,7 @@ WebGLTexture::TexSubImage(const char* funcName, TexImageTarget target, GLint lev
|
|||
const webgl::PackingInfo& pi, const TexImageSource& src)
|
||||
{
|
||||
const GLint border = 0;
|
||||
dom::RootedTypedArray<dom::Uint8ClampedArray> scopedArr(dom::RootingCx());
|
||||
dom::RootedSpiderMonkeyInterface<dom::Uint8ClampedArray> scopedArr(dom::RootingCx());
|
||||
const auto blob = ValidateTexOrSubImage(mContext, funcName, target, width, height,
|
||||
depth, border, pi, src, &scopedArr);
|
||||
if (!blob)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue