Граф коммитов

2711 Коммитов

Автор SHA1 Сообщение Дата
Jeff Gilbert c3c790c48b Bug 1371694 - Strip `invariant` on Mac. r=lsalzman
MozReview-Commit-ID: 5thQThRUBOY

Differential Revision: https://phabricator.services.mozilla.com/D18902

--HG--
extra : moz-landing-system : lando
2019-02-07 18:02:54 +00:00
Jeff Gilbert a14d2bd45e No bug - clang-format -p dom/canvas.
MozReview-Commit-ID: 2xylmA1yFvi
2019-02-07 14:50:14 -08:00
Emilio Cobos Álvarez 15e84a4c1c Bug 1525371 - Kill ComputedStyle::ComputedData. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D18733
2019-02-07 11:15:33 +01:00
Jeff Gilbert 63503d995b Bug 1525480 - Don't mark RGB16F renderable in EXT_color_buffer_half_float. r=lsalzman
There's a crazy driver bug here on Mac+Intel, but if we're forbidding it
there, why not everywhere.
It's optional in EXT_color_buffer_half_float for webgl1, and no allowed by
EXT_color_buffer_float for webgl2 anyway.

MozReview-Commit-ID: kI9DUj8TU8

Differential Revision: https://phabricator.services.mozilla.com/D18769
2019-02-06 12:56:57 -08:00
Liang-Heng Chen bd2504a471 Bug 1485266 - Use stand-ins for native colors when RFP is enabled r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D17755

--HG--
extra : moz-landing-system : lando
2019-02-06 08:45:44 +00:00
Razvan Maries f86459d5dc Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-02-05 18:59:13 +02:00
Andrea Marchesini 4b2bf1d443 Bug 1525275 - improve test_invalid_mime_type_blob.html, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D18677
2019-02-05 15:04:13 +01:00
Emilio Cobos Álvarez 0ebf739646 Bug 1523181 - Don't implicitly flush the user font set.
Summary:
Flushing it at a bad time can cancel loads whose timer / completion
handler is in progress, which makes no sense.

Reviewers: jfkthame, jwatt, heycam

Tags: #secure-revision

Bug #: 1523181

Differential Revision: https://phabricator.services.mozilla.com/D17856
2019-02-05 13:30:13 +01:00
Jeff Gilbert 8ec455686e Bug 1290774 - Validate frag shader output types match draw buffer types. r=lsalzman
MozReview-Commit-ID: FXQaUzJ0fDy

Differential Revision: https://phabricator.services.mozilla.com/D18611
2019-02-04 14:34:59 -08:00
jgilbert@mozilla.com a5ef1cc2e1 Bug 1372177 - ArrayBufferView error enum depends on func. r=lsalzman
MozReview-Commit-ID: 34X7yTEE3Ia

Differential Revision: https://phabricator.services.mozilla.com/D18482

--HG--
extra : moz-landing-system : lando
2019-02-02 10:04:43 +00:00
jgilbert@mozilla.com 87e485d6b5 Bug 1372193 - Format/types invalid for DOM uploads are INVALID_VALUE. r=lsalzman
MozReview-Commit-ID: IdSHKBdyqxA

Differential Revision: https://phabricator.services.mozilla.com/D18484

--HG--
extra : moz-landing-system : lando
2019-02-02 10:02:23 +00:00
jgilbert@mozilla.com 667842907d Bug 1524748 - SNORM format enums are never valid for CopyTexImage. r=lsalzman
MozReview-Commit-ID: 6EDpI5hFwpu

Differential Revision: https://phabricator.services.mozilla.com/D18483

--HG--
extra : moz-landing-system : lando
2019-02-02 08:37:22 +00:00
jgilbert@mozilla.com a735e760d0 Bug 1372160 - Supply shader translator with es3 limits. r=lsalzman
MozReview-Commit-ID: CDeoT7UOWdB

Differential Revision: https://phabricator.services.mozilla.com/D18637

--HG--
extra : moz-landing-system : lando
2019-02-05 03:36:03 +00:00
Jeff Gilbert 8139182468 Bug 1524713 - Allow EXT_float_blend for webgl1. r=lsalzman
Also make each extension track whether it works with webgl 1 and/or 2,
instead of embedding it in the IsExtensionSupported code.

Also, improve mochitest so that it fails if we encounter an unexpected
supported extension.

Differential Revision: https://phabricator.services.mozilla.com/D18614

--HG--
extra : moz-landing-system : lando
2019-02-05 03:34:49 +00:00
Cosmin Sabou 5a2318f064 Backed out changeset 58fe5a3d3c40 (bug 1290774) for causing build bustages on WebGLContextDraw. CLOSED TREE 2019-02-01 05:58:38 +02:00
Jeff Gilbert be41632dd0 Bug 1290774 - Validate frag shader output types match draw buffer types. r=lsalzman
MozReview-Commit-ID: HhGKDVWXR1A

Differential Revision: https://phabricator.services.mozilla.com/D18302

--HG--
extra : moz-landing-system : lando
2019-02-01 03:33:02 +00:00
Jeff Gilbert ac012b5064 Bug 1522018 - Implement webgl draft ext EXT_float_blend. r=lsalzman,qdot
Differential Revision: https://phabricator.services.mozilla.com/D17336

--HG--
rename : dom/canvas/WebGLExtensionBase.cpp => dom/canvas/WebGLExtensions.cpp
extra : moz-landing-system : lando
2019-01-31 23:39:12 +00:00
Jeff Gilbert aed7c05c6c Bug 1521994 - ReadPixels with half-float ext should support FLOAT. r=lsalzman
MozReview-Commit-ID: ZjVnkJLJrl

Differential Revision: https://phabricator.services.mozilla.com/D17307

--HG--
extra : moz-landing-system : lando
2019-01-31 19:18:09 +00:00
Jeff Gilbert b03f03b25b Bug 1523030 - glClear after glBlitFramebuffer with mNeedsFakeNoAlpha. r=lsalzman
glBlitFramebuffer ignores glColorMask, unlike glClear, so we have to do
a fix-up.

Eventually we should drop mNeedsFakeNoAlpha, though.

Differential Revision: https://phabricator.services.mozilla.com/D17717

--HG--
extra : moz-landing-system : lando
2019-01-26 00:55:57 +00:00
Jeff Gilbert 428268f544 Bug 1301803 - Handle context loss during QueryProgramInfo. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D17998

--HG--
extra : moz-landing-system : lando
2019-01-30 03:24:04 +00:00
Jeff Gilbert bb98ec056b Bug 1521992 - Fix incomplete-fb error for webgl.getParameter. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D17306

--HG--
extra : moz-landing-system : lando
2019-01-23 17:53:43 +00:00
Jeff Gilbert 4e6082275f Bug 1503813 - RefreshSwizzle must rebind its texture. r=lsalzman
MozReview-Commit-ID: Ek1UIJjwQFH

Differential Revision: https://phabricator.services.mozilla.com/D17035

--HG--
extra : moz-landing-system : lando
2019-01-22 22:17:56 +00:00
Ehsan Akhgari e5e885ae31 Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre
# ignore-this-changeset

--HG--
extra : amend_source : 7221c8d15a765df71171099468e7c7faa648f37c
extra : histedit_source : a0cce6015636202bff09e35a13f72e03257a7695
2019-01-18 10:16:18 +01:00
Bob Owen 387477fb68 Bug 1464032 Part 12: Add CanvasParent, CanvasChild and RecordedTextureData. r=mattwoodrow, jld
RecordedTextureData records TextureData calls for play back in the GPU process.
CanvasChild and CanvasParent set up the recorder and translator.
They also help to manage the starting of translation and co-ordinating the
translation with the frame transactions.
This patch also includes other changes to wire up recording and playback.
2018-12-02 14:19:11 +00:00
Jeff Gilbert 092d1d6c89 Bug 1523728 - Add gl.allow-high-power:true, webgl.default-low-power:false. r=lsalzman
Also, if "Use hardware acceleration when available" is disabled, restrict webgl to the igpu.

Differential Revision: https://phabricator.services.mozilla.com/D19059

--HG--
extra : moz-landing-system : lando
2019-02-07 22:35:50 +00:00
Bob Owen e25e5074c1 Bug 1464032 Part 6: Add remote canvas pref and refactor TextuteData creation to use it. r=mattwoodrow
This is ground work for when we will be returning a recording TextureData for
certain types in subsequent patches.
2018-11-28 20:44:27 +00:00
Emilio Cobos Álvarez d2ed260822 Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug
Summary: Really sorry for the size of the patch. It's mostly automatic
s/nsIDocument/Document/ but I had to fix up in a bunch of places manually to
add the right namespacing and such.

Overall it's not a very interesting patch I think.

nsDocument.cpp turns into Document.cpp, nsIDocument.h into Document.h and
nsIDocumentInlines.h into DocumentInlines.h.

I also changed a bunch of nsCOMPtr usage to RefPtr, but not all of it.

While fixing up some of the bits I also removed some unneeded OwnerDoc() null
checks and such, but I didn't do anything riskier than that.
2019-01-03 17:48:33 +01:00
longsonr d03099b507 Bug 1516921 - export things in the mozilla namespace properly r=jwatt 2018-12-31 11:56:52 +00:00
James Willcox 5f8a4871dd Bug 1514349 - Skip WebGL conformance tests on Android emulators when using e10s r=jgilbert
It looks like the emulator has a bug here causing eglSwapBuffers() to
hang. We'll need to run this on a real machine.

Differential Revision: https://phabricator.services.mozilla.com/D14610

--HG--
extra : moz-landing-system : lando
2018-12-19 22:22:22 +00:00
Tim Huang 1e2c28f939 Bug 1446472 - Part 1: Showing the identity block icon for canvas permission without the doorhanger when canvas extraction is auto detected. r=baku,Gijs
For a better user experience of auto-blocking canvas extraction, this
patch changes the behavior when detecting a canvas extraction without
user interaction. It will show a canvas identity block icon with a
hidden doorhanger when auto-blocking the canvas extraction. Users can
make their choice to either block or allow the canvas extraction by
clicking the identity block icon and then refresh the page to make
the canvas permission taking effect.

Differential Revision: https://phabricator.services.mozilla.com/D14259

--HG--
extra : moz-landing-system : lando
2018-12-16 21:30:59 +00:00
sotaro ba323650b7 Bug 1513699 - Disable SkiaGL on WebRender r=jrmuizel
Disable SkiaGL on WebRender, since there is a case that R8G8B8X8 is used, but WebRender does not support R8G8B8X8 yet. And SkiaGL is already disabled by Bug 1468801.

Differential Revision: https://phabricator.services.mozilla.com/D14366
2018-12-13 18:01:16 +09:00
Jon Coppeard 2674733d06 Bug 1536154 - Update JS_updateMallocCounter callers to use the new API r=bzbarsky
This updates existing callers to use the new JS::AddAssociatedMemory API and adds calls to RemoveAssociatedMemory in finalizers.

The associated memory doesn't need to be exact, so some simplifiations are made, e.g. in CanvasRenderingContext2D where we don't wait for memory to be allocated but update the number of bytes when the dimensions change, and for stream blobs where the value returned by SizeOfIncludingThis changes over the lifetime of the object.

Differential Revision: https://phabricator.services.mozilla.com/D28692
2019-04-24 15:58:42 +01:00
Tooru Fujisawa 7983faeb5d Bug 1511393 - Use c-basic-offset: 2 in Emacs mode line for C/C++ code. r=nbp 2018-12-01 04:52:05 +09:00
Benjamin Bouvier a7f1d173a0 Bug 1511383: Update vim modelines after clang-format; r=sylvestre
- modify line wrap up to 80 chars; (tw=80)
- modify size of tab to 2 chars everywhere; (sts=2, sw=2)

--HG--
extra : rebase_source : 7eedce0311b340c9a5a1265dc42d3121cc0f32a0
extra : amend_source : 9cb4ffdd5005f5c4c14172390dd00b04b2066cd7
2018-11-30 16:39:55 +01:00
Sylvestre Ledru 265e672179 Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
# ignore-this-changeset

--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Gabriele Svelto 19e52bebd4 Bug 1510582 - Remove useless inclusions of Services.h r=erahm
Differential Revision: https://phabricator.services.mozilla.com/D13240

--HG--
extra : moz-landing-system : lando
2018-11-28 17:25:23 +00:00
Cosmin Sabou e1e8f2ea69 Merge mozilla-inbound to mozilla-central. a=merge 2018-11-28 06:08:19 +02:00
Jeff Gilbert 1690a0092c Bug 1510467 - Preserve purposely-formatted code from clang-format. (webgl, gfx/gl)
MozReview-Commit-ID: 2U2oqQ53nTZ
2018-11-27 15:26:46 -08:00
Jeff Gilbert 96d23dfcb7 Bug 1467406 - Remove broken default-fb invalidation path. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D13047

--HG--
extra : moz-landing-system : lando
2018-11-27 15:49:21 +00:00
Gabriele Svelto 566f669d07 Bug 1509450 - Remove unnecessary inclusions of ContentParent.h and ContentChild.h r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D12728

--HG--
extra : moz-landing-system : lando
2018-11-26 14:49:44 +00:00
Ehsan Akhgari 6099c9f67b Bug 1508472 - Part 1: First batch of comment fix-ups in preparation for the tree reformat r=sylvestre
This is a best effort attempt at ensuring that the adverse impact of
reformatting the entire tree over the comments would be minimal.  I've used a
combination of strategies including disabling of formatting, some manual
formatting and some changes to formatting to work around some clang-format
limitations.

Differential Revision: https://phabricator.services.mozilla.com/D13046

--HG--
extra : moz-landing-system : lando
2018-11-27 10:08:58 +00:00
Jeff Gilbert 13e2d73059 Bug 1492580 - Repair CONTEXT_LOST handling. r=lsalzman
Simplify error handling in GLContext.
Modernize context loss handling in GLContext.
Remove various unused parts.
Fix WebGLContext's context loss/restoration.

MozReview-Commit-ID: Lu2hi5HnP8x

Differential Revision: https://phabricator.services.mozilla.com/D12496

--HG--
extra : moz-landing-system : lando
2018-11-27 04:23:19 +00:00
Andreas Pehrson 6d2721e35a Bug 1423241 - Remove drawImage exception handling from captureStream_common.js. r=jib
This can conceal real bugs. Tests should be fixed so they don't risk calling
getPixel in invalid states instead.

Differential Revision: https://phabricator.services.mozilla.com/D9100

--HG--
extra : moz-landing-system : lando
2018-11-23 15:01:07 +00:00
Imanol Fernandez 5eb9ef2267 Bug 1499758 - Fix potential null pointer deref in WebGLContext::GetVRFrame r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D12480

--HG--
extra : moz-landing-system : lando
2018-11-21 10:34:52 +00:00
Boris Zbarsky 71db58cf83 Bug 1507540 part 2. Use more notxpcom attributes in docshell/. r=smaug 2018-11-19 20:17:53 -05:00
Jeff Gilbert b3f2222751 Bug 1507263 - Expose BPTC and RGTC WebGL exts. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D11970
2018-11-15 23:51:05 -08:00
Brian Hackett 1b3775d3b2 Bug 1506467 - Don't initialize WebGLContext when recording/replaying, r=kvark.
--HG--
extra : rebase_source : 4129b7d80b4fd2e40eaa1dbdb490089dbc19c94d
2018-11-11 07:44:13 -10:00
Cosmin Sabou 1b7e778d69 Merge mozilla-central to mozilla-inbound. 2018-11-28 00:04:55 +02:00
Lee Salzman 84189c4dd8 Bug 1120371 - remove obsolete drawCustomFocusRing from Canvas2D. r=jrmuizel, r=bholley 2018-11-27 15:57:54 -05:00
Razvan Maries a6f88b57a1 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-11-27 19:38:10 +02:00
Geoff Brown 172d5d491d Bug 1507207 - Skip some tests on Android/e10s; r=snorp
When the Android harness e10s support was fixed, a few crashtests started failing.
2018-11-27 09:41:13 -07:00
Alex Gaynor 6a9c2e7073 Bug 1506179 - rename webgl::AttribBaseType::Bool to Boolean; r=jgilbert
X11.h defines a macro named "Bool", which can cause surprising compile errors due to include order.

Differential Revision: https://phabricator.services.mozilla.com/D11494

--HG--
extra : moz-landing-system : lando
2018-11-09 21:38:31 +00:00
Andrea Marchesini 531924a924 Bug 1502799 - Implement origin-clean algorithm for ImageBitmap, r=aosmond 2018-11-06 23:31:34 +01:00
Andrew McCreight a7e95660f2 Bug 1503082 - Clear CanvasShutdownObserver::mCanvas when the canvas goes away. r=nical
It is possible for the CanvasRenderingContext2D to be destroyed while
we're in the middle of the call to nsObserverService::NotifyObservers()
for shutdown. This leaves the shutdown observer with a dangling pointer
to the canvas, so this patch explicitly clears the pointer when the
context goes away.

Differential Revision: https://phabricator.services.mozilla.com/D10777
2018-11-05 21:35:44 -05:00
Jeff Gilbert 7abb408ffd Bug 1503458 - Remove unused GetParameterIndexed. r=kvark
GetIndexedParameter is the real function.

Differential Revision: https://phabricator.services.mozilla.com/D10324

--HG--
extra : moz-landing-system : lando
2018-10-31 02:10:04 +00:00
Cosmin Sabou 125a3ce9d8 Merge mozilla-central to autoland. a=merge
--HG--
extra : rebase_source : 24058e51e8b2f1c418e99b65a7ffb81209700389
2018-10-27 01:50:33 +03:00
Cosmin Sabou 6a034485b2 Merge mozilla-inbound to mozilla-central. a=merge 2018-10-27 00:55:47 +03:00
Noemi Erli e52f6d8610 Backed out 4 changesets (bug 1399501) per developer's request for causing Bug 1502286 on Android,Bug 1502305 and Bug 1502292 a=backout
Backed out changeset 7f1abf24702d (bug 1399501)
Backed out changeset 5cb0aeccd4cc (bug 1399501)
Backed out changeset 7b88a6284d31 (bug 1399501)
Backed out changeset c498bd18345d (bug 1399501)
2018-10-26 19:30:48 +03:00
Jeff Gilbert f95f851da5 Bug 1502278 - Merge WebGLContextUnchecked back into WebGLContext. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D9893

--HG--
extra : moz-landing-system : lando
2018-10-26 14:54:38 +00:00
Andrea Marchesini a6e388e171 Bug 1500768 - Support SVG images in HTMLImageElements, r=jwatt 2018-10-25 14:55:06 +02:00
Andrea Marchesini 25bff22bd6 Bug 1500768 - Implement SVGImageElement support for createImageBitmap, r=jwatt 2018-10-25 14:55:06 +02:00
Jeff Gilbert d568b44c3c Bug 1478216 - Don't init tex images in FBAttachment::IsComplete. r=kvark
Also:
- Only init the base tex level for GenerateMipmap.
- Change ZeroTextureData warning into a perf warning.

Differential Revision: https://phabricator.services.mozilla.com/D9177
2018-10-24 15:59:11 -07:00
Gurzau Raul 08de11aa7a Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-10-25 01:04:19 +03:00
Gurzau Raul 2a5fa0a706 Merge autoland to mozilla-central. a=merge 2018-10-25 01:00:19 +03:00
Gurzau Raul ff2bc5ca0b Backed out changeset 4b5b1ff23dd7 (bug 1372157) for failing at webgl-conf/generated/test_2_conformance2__vertex_arrays__vertex-array-object.html on a CLOSED TREE 2018-10-24 22:46:34 +03:00
Mark Banner a26105ff45 Bug 1501662 - Add more .eslintrc.js files for test directories (dom, modules, netwerk and parser). r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D9661

--HG--
extra : moz-landing-system : lando
2018-10-24 19:11:17 +00:00
Jeff Gilbert 1514c1a9f2 Bug 1399501 - MakeCurrent again in InitAndValidateGL. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D9290
2018-10-24 11:36:02 -07:00
Jeff Gilbert e6ec78d63c Bug 1399501 - Don't allow glsl[130,400) unless we have gpu_shader5. - r=kvark
MozReview-Commit-ID: EUk2uc64Tok

Differential Revision: https://phabricator.services.mozilla.com/D9288
2018-10-24 11:35:58 -07:00
Jeff Gilbert 4f57ad7f07 Bug 1372157 - Fix IsFoo results in WebGL. r=kvark
Passes deqp/functional/gles3/lifetime.html.

Differential Revision: https://phabricator.services.mozilla.com/D8956
2018-10-24 11:30:58 -07:00
Jeff Gilbert 7ec52f3de0 Bug 1501134 - Don't consider snorm compatible with unorm for CopyTexImage. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D9464

--HG--
extra : moz-landing-system : lando
2018-10-24 15:31:43 +00:00
Jeff Gilbert 68b0ccbab3 Bug 1372157 - Fix IsFoo results in WebGL. r=kvark
Passes deqp/functional/gles3/lifetime.html.

Differential Revision: https://phabricator.services.mozilla.com/D8956
2018-10-24 13:52:16 -07:00
Andrea Marchesini 581091e733 Bug 1500733 - Remove tests, r=aosmond 2018-10-23 23:35:44 +02:00
Andrea Marchesini b8f3de6ba0 Bug 1500733 - Remove ImageBitmap.findOptimalFormat, r=aosmond 2018-10-23 23:35:44 +02:00
Andrea Marchesini be09783aca Bug 1500733 - Remove ImageBitmap.mappedDataLength, r=aosmond 2018-10-23 23:35:44 +02:00
Andrea Marchesini 39a76c5462 Bug 1500733 - Remove ImageBitmap.mapDataInto, r=aosmond 2018-10-23 23:35:44 +02:00
Andrea Marchesini e4a7eded18 Bug 1500733 - Remove the support for BufferSource in createImageBitmap, r=aosmond 2018-10-23 23:35:43 +02:00
Andrea Marchesini 4b02de9de7 Bug 1497925 - CreateImageBitmap must ignore the Blob.type value, r=aosmond 2018-10-23 23:35:43 +02:00
Andrea Marchesini 595a1dde91 Bug 1500786 - createImageBitmap should throw InvalidStateError with already closed imageBitmap as input, r=aosmond 2018-10-23 23:35:43 +02:00
Andrea Marchesini ff2c1dfc45 Bug 1500780 - CreateImageBitmap should handle OOM as InvalidState error, r=aosmond 2018-10-23 23:35:43 +02:00
Andrea Marchesini e7af025911 Bug 1500736 - CreateImageBitmap should throw InvalidStateError when the allocation fails, r=aosmond 2018-10-23 23:35:43 +02:00
Cosmin Sabou 72ce9165c6 Backed out 3 changesets (bug 1399501) for aseertions failures on GLContextProviderEGL.
Backed out changeset 7c110571ab1a (bug 1399501)
Backed out changeset b7e7638dbfd1 (bug 1399501)
Backed out changeset b4c2cdd8d03b (bug 1399501)
2018-10-23 23:38:21 +03:00
Jeff Gilbert e8b7e3b6fd Bug 1399501 - MakeCurrent again in InitAndValidateGL. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D9290
2018-10-23 13:07:53 -07:00
Jeff Gilbert 41a2268594 Bug 1399501 - Don't allow glsl[130,400) unless we have gpu_shader5. - r=kvark
MozReview-Commit-ID: EUk2uc64Tok

Differential Revision: https://phabricator.services.mozilla.com/D9288
2018-10-23 13:07:51 -07:00
Andrea Marchesini 17f8a25e39 Bug 1500734 - createImageBitmap should throw RangeError if sw or sh is 0 - r=aosmond 2018-10-23 08:17:28 +02:00
Jeff Gilbert fbfee407a0 Bug 1499580 - Check enum in CompressedTexSubImage. r=kvark
Also skip some redundent `compression` checks.

Differential Revision: https://phabricator.services.mozilla.com/D8938

--HG--
extra : moz-landing-system : lando
2018-10-17 19:13:14 +00:00
Jeff Gilbert 4098f41704 Bug 1498070 - Simplify and cache framebuffer and texture completeness. - r=kvark
Net-removes 700LOC, too!

Differential Revision: https://phabricator.services.mozilla.com/D8325

--HG--
extra : moz-landing-system : lando
2018-10-17 04:18:15 +00:00
Jean-Yves Avenard 103efd79bc Bug 1497294 - P7. Add P016 and P010 surface format support. r=jgilbert
This is only used with DXVA decoder. P016 and P010 are just like NV12 but with 16 bits data..

Depends on D8246

Differential Revision: https://phabricator.services.mozilla.com/D8136

--HG--
extra : moz-landing-system : lando
2018-10-10 22:21:53 +00:00
Jean-Yves Avenard 786dffc1c6 Bug 1497294 - P1. Remove duplicated method. r=nical
Additionally, add info for the following type:
    R8G8B8
    B8G8R8
    R8G8
    HSV
    Lab
    DEPTH

Differential Revision: https://phabricator.services.mozilla.com/D8065

--HG--
extra : moz-landing-system : lando
2018-10-09 13:07:58 +00:00
Jeff Gilbert cf84a14cbe Bug 1494809 - Also remove now-useless #ifdef FOO\n#error.
Warnings should handle this for us.
2018-10-10 18:13:18 -07:00
Jeff Gilbert 2724c063c3 Bug 1494809 - Mark test failures. 2018-10-10 18:13:16 -07:00
Jeff Gilbert dd4766f2a3 Bug 1494809 - Remove WebGL ATC support. - r=kvark,qdot
The WG rejected this extension.


--HG--
rename : dom/canvas/test/webgl-mochitest/ensure-exts/test_WEBGL_compressed_texture_es3.html => dom/canvas/test/webgl-mochitest/ensure-exts/test_WEBGL_compressed_texture_etc.html
2018-10-10 18:13:14 -07:00
Jeff Gilbert e4fcfa0ef8 Bug 1494809 - Don't include WebGLFormats.h in WebGLContext.h. - r=kvark 2018-10-10 18:13:13 -07:00
Jeff Gilbert f7941731a5 Bug 1494809 - Support WebGL exts for BPTC and RGTC. - r=kvark,qdot 2018-10-10 18:13:11 -07:00
Coroiu Cristina 9a1a60c7fb Backed out 7 changesets (bug 1494809) for build bustage at build/src/dom/canvas/WebGLTextureUpload.cpp on a CLOSED TREE
Backed out changeset 89e092c992ae (bug 1494809)
Backed out changeset 076aed819da6 (bug 1494809)
Backed out changeset 101b4c98aad8 (bug 1494809)
Backed out changeset a2612f006753 (bug 1494809)
Backed out changeset be2ec3c05d10 (bug 1494809)
Backed out changeset 6106836daf58 (bug 1494809)
Backed out changeset e98c2a51aa8f (bug 1494809)

--HG--
rename : dom/canvas/test/webgl-mochitest/ensure-exts/test_WEBGL_compressed_texture_etc.html => dom/canvas/test/webgl-mochitest/ensure-exts/test_WEBGL_compressed_texture_es3.html
2018-10-10 08:15:09 +03:00
Jeff Gilbert 971fa9730f Bug 1494809 - Also remove now-useless #ifdef FOO\n#error.
Warnings should handle this for us.
2018-10-09 21:39:21 -07:00
Jeff Gilbert 8f0af9b333 Bug 1494809 - Mark test failures. 2018-10-09 21:39:19 -07:00
Jeff Gilbert 1e459429ff Bug 1494809 - Remove WebGL ATC support. - r=kvark,qdot
The WG rejected this extension.


--HG--
rename : dom/canvas/test/webgl-mochitest/ensure-exts/test_WEBGL_compressed_texture_es3.html => dom/canvas/test/webgl-mochitest/ensure-exts/test_WEBGL_compressed_texture_etc.html
2018-10-09 21:39:17 -07:00
Jeff Gilbert f4f78de480 Bug 1494809 - Don't include WebGLFormats.h in WebGLContext.h. - r=kvark 2018-10-09 21:39:16 -07:00
Jeff Gilbert 3cbaf8002c Bug 1494809 - Support WebGL exts for BPTC and RGTC. - r=kvark,qdot 2018-10-09 21:39:14 -07:00
Jeff Gilbert eed72a31cc Bug 1497439 - Revendor ANGLE with cherry-pick for large vert attrib divisors.
Re-enable the test.

MozReview-Commit-ID: Jh2ekEXkit3
2018-10-09 18:27:09 -07:00
Jeff Gilbert 32f1a0d3e4 Bug 1497440 - Mark and regenerate webgl-conf mochitests. 2018-10-09 02:41:54 -07:00
Jeff Gilbert fd1ba97374 Bug 1497440 - Revendor webgl-conf from upstream/master. 2018-10-09 02:41:53 -07:00
Jeff Gilbert 17d752bf1d Bug 1497440 - Allow specifying a merge_base origin for record_cherry_picks.
Update webgl-conf/import.py accordingly.
2018-10-09 02:41:51 -07:00
Noemi Erli 31184dddce Merge inbound to mozilla-central. a=merge 2018-10-09 00:52:28 +03:00
Jamie Nicol 68b88d754b Bug 1495857 - Ensure correct vertex attrib array index is output in error message r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D7868

--HG--
extra : moz-landing-system : lando
2018-10-05 19:03:46 +00:00
Ryan Hunt 454819897e Bug 1475139 part 10 - Add method to create ImageBitmap from SourceSurface. r=jrmuizel
This commit adds a method to create an ImageBitmap from a SourceSurface, for use
by the new drawSnapshot API.

Differential Revision: https://phabricator.services.mozilla.com/D6789

--HG--
extra : rebase_source : bf0f804194f5a36f5dc805333eaf85b55be50012
2018-09-24 21:47:14 -05:00
Tomislav Jovanovic 7cb46fea7c Bug 1484980 - Add selective canvas tainting for content scripts r=bzbarsky
Reviewers: bzbarsky

Bug #: 1484980

Differential Revision: https://phabricator.services.mozilla.com/D6999
2018-09-26 20:29:36 +02:00
Imanol Fernandez 22cdf4b044 Bug 1492554 - Make not composited WebGL canvas work with WebVR r=kip,jgilbert
WebGL canvases not composited (e.g. not added to the DOM) don't work in WebVR. WebGLContext::InitializeCanvasRenderer is only called when 2D compositor renders a WebGL canvas for the first time. I tried to mimic what InitializeCanvasRenderer does internally as a workaround.

Differential Revision: https://phabricator.services.mozilla.com/D6921

--HG--
extra : moz-landing-system : lando
2018-09-28 19:25:21 +00:00
Jonathan Watt 61bcaa65a9 Bug 1494820. Stop leaking SVGObserverUtils implementation details into CanvasRenderingContext2D. r=longsonr
Differential Revision: https://phabricator.services.mozilla.com/D7148

--HG--
extra : rebase_source : 95ff24bd2a5656fc4d6708a515f9a869370bd338
2018-09-03 11:24:27 +01:00
Daosheng Mu 23b34066f6 Bug 1491221 - Mark EXT_shader_texture_lod feature unsupported for OpenGL ES3 and above. r=jgilbert
MozReview-Commit-ID: G51cg7pqvBb

Differential Revision: https://phabricator.services.mozilla.com/D6863

--HG--
extra : moz-landing-system : lando
2018-09-26 04:48:17 +00:00
Chris Peterson 611a064090 Bug 1336712 - dom/canvas: Remove test checks for Android ICS (API Level 10). r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D6582

--HG--
extra : source : 536600d55374ec3940ea1b5d4da1c1dbebea55e5
extra : histedit_source : a2288cc63bfe8de672682315105860dc61540d58
2018-09-13 23:30:39 -07:00
Chris Peterson 867866d2d3 Bug 1336712 - dom: Drop test checks for OS X 10.5 and Windows XP. r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D6578

--HG--
extra : source : 682a1bfda27c8e82aea0d86f256d5dee3ff5c2a0
extra : histedit_source : 2e60b58780900e879177542c5e32a27c805e8f67
2018-09-13 23:30:12 -07:00
Nathan Froyd 0bd6a5e5e4 Bug 1492894 - part 4 - eliminate already_AddRefed variables in dom/; r=mccr8
We need to disallow these to fix our static analysis, which should have
already been disallowing them.
2018-09-21 16:45:49 -04:00
Jeff Gilbert 64f13cba7f Bug 1489279 - Re-mark test failures. 2018-09-19 15:38:59 -07:00
Chris Peterson 174ab56914 Bug 1472894 - Part 2: Regenerate webgl-conf/generated-mochitest.ini. r=jgilbert
Bug 1472894 modified mochitest-errata.ini but didn't regenerate generated-mochitest.ini to actually un-skip the test_2_conformance2__rendering__blitframebuffer-size-overflow.html test.

Differential Revision: https://phabricator.services.mozilla.com/D6119

--HG--
extra : moz-landing-system : lando
2018-09-19 19:11:49 +00:00
Thomas Nguyen 02f4dbbbf9 Bug 1330487 - Part 3: Propagate referrer policy from doc/sheet to URLExtraData r=heycam
Referrer policy argurment is passed from sheet/doc to URLExtraData, default
value is RP_Unset. We use default value in some cases, particularly when there's
no certain spec talks about that (svg for example)

MozReview-Commit-ID: 5VAX1ZUXD3i

Differential Revision: https://phabricator.services.mozilla.com/D1922

--HG--
extra : moz-landing-system : lando
2018-09-17 05:36:45 +00:00
Jonathan Watt 245517eba7 Bug 1488700 p8. Rename CanvasFilterChainObserver to SVGFilterObserverListForCanvas. r=longsonr
Differential Revision: https://phabricator.services.mozilla.com/D5620

--HG--
extra : rebase_source : be77b64ac95430c723af3016dabcd2b0258f3eeb
2018-08-13 12:06:39 +02:00
Jonathan Watt 0d7aef1b78 Bug 1488700 p7. Rename nsSVGFilterChainObserver to SVGFilterObserverList. r=longsonr
Differential Revision: https://phabricator.services.mozilla.com/D5619

--HG--
extra : rebase_source : 57f4bf14b801b4d723969843e7d54a86f97917ab
2018-08-13 11:38:11 +02:00
Andrea Marchesini 3b92b0dd3c Bug 1502304 - Deprecated CanvasRenderingContext2D in CreateImageBitmap, r=aosmond 2018-10-26 19:10:35 +02:00
Andrea Marchesini 7de64f2060 Bug 1489844 - Port DOMPrefs to StaticPrefs - part 19 - privacy.resistFingerprinting.autoDeclineNoUserInputCanvasPrompts, r=ehsan 2018-09-10 20:36:17 +02:00
Andrea Marchesini 7a7da121dc Bug 1489844 - Port DOMPrefs to StaticPrefs - part 14 - gfx.offscreencanvas.enabled, r=ehsan 2018-09-10 20:36:16 +02:00
Mike Hommey 32627430f6 Bug 1489363 - Replace some string.Append* with AppendLiteral. r=froydnj
Depends on D5224

Differential Revision: https://phabricator.services.mozilla.com/D5225

--HG--
extra : moz-landing-system : lando
2018-09-07 22:12:04 +00:00
Sylvestre Ledru aa37bde79b Bug 1489454 - Remove all trailing whitespaces (again) r=Ehsan
This also includes moving some files to the regular format.

Differential Revision: https://phabricator.services.mozilla.com/D5249

--HG--
extra : moz-landing-system : lando
2018-09-07 14:47:51 +00:00
Daosheng Mu 40b783b88f Bug 1489022 - Avoid be overwritten when WEBGL_MSAA is in the blacklist. r=jgilbert
MozReview-Commit-ID: 3HVTu2UQcFX

Differential Revision: https://phabricator.services.mozilla.com/D5126

--HG--
extra : moz-landing-system : lando
2018-09-06 20:17:26 +00:00
Andrew Osmond 9322f6a4fb Bug 1486318 - Actually apply transform from canvas pattern when drawing text to a canvas. r=lsalzman 2018-08-30 09:09:06 -04:00
Imanol Fernandez 2072f84821 Bug 1482613 - Make WebVR work with multiprocess enabled on Android r=kip,rbarker,kvark
MozReview-Commit-ID: G9aHbp0G7DK

Differential Revision: https://phabricator.services.mozilla.com/D3152

--HG--
extra : moz-landing-system : lando
2018-08-24 15:32:12 +00:00
Cosmin Sabou 164891642a Backed out changeset 1eb34707779f (bug 1482613) for causing android crashes in test_vrDisplay_canvas2d.
--HG--
extra : amend_source : f97559dc9494fbe0120035381d8903cfc62d2830
2018-08-24 00:10:57 +03:00
Imanol Fernandez 4ee978a82d Bug 1482613 - Make WebVR work with multiprocess enabled on Android r=kip,rbarker,kvark
MozReview-Commit-ID: G9aHbp0G7DK

Differential Revision: https://phabricator.services.mozilla.com/D3152

--HG--
extra : moz-landing-system : lando
2018-08-23 18:35:15 +00:00
Ting-Yu Lin 48d02834a5 Bug 1482665 Part 2 - Remove nsPresContext::AppUnitsPerCSSPixel() and replace it with mozilla::AppUnitsPerCSSPixel(). r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D3155
2018-08-13 14:29:28 -07:00
Bogdan Tara dfe849c923 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-11 06:46:31 +03:00
Jeff Gilbert 8042ec3150 Bug 1482301 - Remove webgl.webgl2-compat-mode. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D3070

--HG--
extra : moz-landing-system : lando
2018-08-10 12:51:22 +00:00
Margareta Eliza Balazs f617807241 Merge inbound to mozilla-central. a=merge 2018-08-10 12:17:09 +03:00
L. David Baron 1e88f0f003 Bug 1369941: Replace single integers N in fuzzy() and fuzzy-if() with 0-N ranges. r=dholbert
This patch was written entirely by the following script:

  #!/bin/bash

  if [ ! -d "./.hg" ]
  then
    echo "Not in a source tree." 1>&2
    exit 1
  fi

  find . -regex '.*\(ref\|crash\)test.*\.list' | while read FILENAME
  do
    echo "Processing ${FILENAME}."
    # The following has four substitutions:
    # * The first one replaces the *first* argument to fuzzy() when it doesn't
    #   have a - in it, by replacing it with an explicit 0-N range.
    # * The second one does the same for the *second* argument to fuzzy().
    # * The third does the same for the *second* argument to fuzzy-if().
    # * The fourth does the same for the *third* argument to fuzzy-if().
    #
    # Note that this is using perl rather than sed because perl doesn't
    # support non-greedy matching, which is needed for the first argument to
    # fuzzy-if.
    perl -pi -e 's/(fuzzy\()([^ ,()-]*)(,[^ ,()]*\))/${1}0-${2}${3}/g;s/(fuzzy\([^ ,()]*,)([^ ,()-]*)(\))/${1}0-${2}${3}/g;s/(fuzzy-if\([^ ]*?,)([^ ,()-]*)(,[^ ,()]*\))/${1}0-${2}${3}/g;s/(fuzzy-if\([^ ]*?,[^ ,()]*,)([^ ,()-]*)(\))/${1}0-${2}${3}/g' "${FILENAME}"
  done

Differential Revision: https://phabricator.services.mozilla.com/D2974

--HG--
extra : moz-landing-system : lando
2018-08-09 20:10:21 +00:00
Jeff Gilbert b5299cdebb Bug 1478909 - Make funcName implicit for WebGL calls. - r=kvark
MozReview-Commit-ID: Gv77SnHZcGb
2018-08-09 14:35:01 -07:00
Dorel Luca 5ef9c6f716 Backed out changeset e8023a02b6c2 (bug 1478909) on dev's request 2018-08-09 04:58:04 +03:00
Jeff Gilbert 8e0436b208 Bug 1478909 - Make funcName implicit for WebGL calls. - r=kvark
MozReview-Commit-ID: Gv77SnHZcGb
2018-08-08 16:15:12 -07:00
Brindusan Cristian 381e833a9d Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-08-08 00:58:40 +03:00
Jeff Gilbert c95b959d03 Bug 1481283 - Use SamplingState for both WebGLTexture and WebGLSampler state. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D2795

--HG--
extra : moz-landing-system : lando
2018-08-07 19:12:09 +00:00
Jeff Gilbert ccc6711643 Bug 1477817 - Add test_has_rbab to guarantee we can skip index validation where available. - r=kvark,qdot 2018-08-07 12:24:55 -07:00
Geoff Brown 11f0d46c60 Bug 1481587 - Skip a few mochitests on Android x86 7.0 only; r=snorp
Skip a few failing tests on Android 7, to enable green runs of mochitest-cl
and mochitest-gpu on packet.net.
2018-08-10 07:54:41 -06:00
Jan de Mooij e0ef865217 Bug 1479363 part 5 - Use JSAutoRealm instead of JSAutoRealmAllowCCW in remaining dom/ directories. r=mccr8 2018-08-02 08:49:00 +02:00
Jeff Gilbert 42df5c9dde Bug 1476327 - Test global upper bound for index buffer maxVertId. r=kvark
Particularly in CAD applications, it's common to call drawElements many times on small
ranges of indices. This causes our naive maxVertId range cache to degenerate.

In most cases, the index buffer won't actually contain any indices outside the associated
VAO buffers' ranges. We should test first against this global upper-bound, only testing
for an exact maxVertId for the subrange if the upper-bound test fails.

Differential Revision: https://phabricator.services.mozilla.com/D2488

--HG--
extra : moz-landing-system : lando
2018-07-30 15:33:10 +00:00
Jan de Mooij 80adc67aba Bug 1478955 part 1 - Rename JSAutoRealm to JSAutoRealmAllowCCW. r=luke 2018-07-28 12:12:26 +02:00
Jeff Gilbert 8d570896cd Bug 1479078 - Update webgl-mochitest subsuite to new webgl job name.
Differential Revision: https://phabricator.services.mozilla.com/D2476

--HG--
extra : moz-landing-system : lando
2018-07-27 19:18:09 +00:00
Boris Zbarsky 1312fcd10f Bug 1476145 part 5. Stop using getInterface(nsIDOMWindowUtils) in DOM code. r=mccr8 2018-07-24 19:47:41 -04:00
Andrea Marchesini bc5414c5f3 Bug 1471189 - Removing 'Terminating' state in workers, r=mrbkap 2018-07-12 19:33:41 +02:00
Kearwood Gilbert 04e66eb0c1 Bug 1470348 - Enable gfxVRExternal for Android; r=kip
MozReview-Commit-ID: 4XMdLLoedIh

--HG--
extra : rebase_source : b71d5d73b832f1f16ae261463860b4f60b38c559
2018-07-10 17:41:58 -07:00
Brendan Dahl 133e16ecf4 Bug 1449791 - Remove platform support of overlays. r=bz
The following was removed:
- the main meat of the overlays and interface in XULDocument
- all overlay observers and forward references
- the notion of a master document
- XUL overlay provider
- manifest parsing of overlay attribute
- references to "overlay" atom
- restrictions on persistence (only need because of overlays)
- unused code that the above referenced

I also attempted to update comments that referenced overlays, but there is still
some work to be done here.


MozReview-Commit-ID: 8lrirzcgSuJ

--HG--
extra : rebase_source : 25b4e1d3fb2af6f02d894887271fd345c9c2083b
2018-03-28 18:20:04 -07:00
Andi-Bogdan Postelnicu 0a0c20c544 Bug 1453795 - GFX - Initialize member fields in classes/ structures. r=jgilbert
--HG--
extra : rebase_source : 4cd1872292439fbcc68c7739e5ef768eb3966c91
2018-07-06 10:56:24 +03:00
jgilbert@mozilla.com 62d2e8890c Bug 1472894 - Forbid too-large ranges in BlitFramebuffer. - r=kvark
MozReview-Commit-ID: DL0HSrG8wJC

--HG--
extra : rebase_source : 6985e6cc0ca0e33dfe810637d12bad190d20e1a4
2018-07-02 19:20:47 -07:00
Cosmin Sabou 61c9ccc152 Backed out changeset 781e6389661e (bug 1399501) for assertion failures on gfx/gl/GLContext. CLOSED TREE 2018-07-06 01:49:06 +03:00
Jeff Gilbert 696257d1a6 Bug 1399501 - Don't allow glsl[130,400) unless we have gpu_shader5. - r=kvark
MozReview-Commit-ID: EUk2uc64Tok

--HG--
extra : rebase_source : 9f3617244cf42d24cdc4da4ac5a708fcdb5c1e57
2018-04-04 17:11:42 -07:00
jgilbert@mozilla.com 9130f40b1b Bug 1473169 - Support KHR_create_context_no_error in EGL. - r=kvark
MozReview-Commit-ID: 3hOIgDuvRNd

--HG--
extra : rebase_source : cdc9aa85aa9054b0ffb5eca3112bdc68a60fa187
2018-07-03 15:40:58 -07:00
jgilbert@mozilla.com 8732380db5 Bug 1472851 - Mark test failures. r=jgilbert
MozReview-Commit-ID: 36waWrdZwKk

--HG--
extra : rebase_source : b2f58b1108051df90ff89ab32821da7f5a5417df
2018-07-02 18:19:34 -07:00
Jeff Gilbert 52a050c9e3 Bug 1471991 - Remove PopulateCapFallbackQueue from WebGLContext creation. - r=kvark
MozReview-Commit-ID: GCYgU8IiFpi

--HG--
extra : rebase_source : 468bbd280e07c71d8d0d8727f1768dc8cdb2b2e4
2018-06-28 13:09:16 -07:00
Jeff Gilbert 4bd9b396fb Bug 1471112 - Update manifest generation and regenerate. r=jgilbert
MozReview-Commit-ID: LvCzwVwYZh0

--HG--
extra : rebase_source : a87a1cafe25b4e6e40c5dd90bd0fafe89edf2e75
2018-06-25 20:21:21 -07:00
Gurzau Raul 4074ba4032 Backed out 2 changesets (bug 1471112) for failing webgl2 tests on OSX
Backed out changeset 7f2d98706144 (bug 1471112)
Backed out changeset 1f26d0868935 (bug 1471112)
2018-06-29 18:20:55 +03:00
Jeff Gilbert 835bf141fe Bug 1471112 - Update manifest generation and regenerate. r=jgilbert
MozReview-Commit-ID: IVIiRtIEDvV

--HG--
extra : rebase_source : d162d726fee51a7098bd45e8314cdbf0c5b48bb7
2018-06-25 20:21:21 -07:00
Jeff Gilbert 5b753da289 Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot
MozReview-Commit-ID: JtTcLL5OPF0
2018-06-26 17:05:01 -07:00
Jeff Gilbert 3cdbe9fdb9 Bug 1349799 - Implement WebGLPowerPreference and gl::CreateContextFlags::HIGH_POWER. - r=kvark
Based on patches by :daoshengmu.

MozReview-Commit-ID: FSbJV8DLyJ4
2018-06-26 15:22:26 -07:00
Emilio Cobos Álvarez c7d35aa526 Bug 1470930: Use enums for passing arguments for event dispatch. r=smaug
MozReview-Commit-ID: DsNuF7GAflJ
2018-06-26 18:22:06 +02:00
Cosmin Sabou a2f9b1e3eb Backed out 2 changesets (bug 1349799) for build bustages on WebGLContext.cpp. CLOSED TREE
Backed out changeset ee86c06ef4cf (bug 1349799)
Backed out changeset c26fe9f3466f (bug 1349799)
2018-06-26 04:21:08 +03:00
Jeff Gilbert a98de2afca Bug 1349799 - Implement WebGLPowerPreference and gl::CreateContextFlags::HIGH_POWER. - r=kvark
Based on patches by :daoshengmu.

MozReview-Commit-ID: FSbJV8DLyJ4
2018-06-25 17:58:03 -07:00
Andrea Marchesini de57a3fc82 Bug 1455256 - Port more components to WorkerRef - part 6 - ImageCanvas, r=asuth 2018-06-18 16:37:21 -04:00
Noemi Erli 31fa4e1ccf Bug 1468200 - remove references to 'mulet' in manifest files. r=jmaher
--HG--
extra : rebase_source : d233138d248a4d3a826dc7666e13bd30ceafb496
2018-06-13 05:53:00 +03:00
Joel Maher 50b91c0a14 Bug 1405428 - skip-if = verify on mochitests which do not pass test-verify. r=gbrown 2018-06-10 05:01:47 -04:00
Emilio Cobos Álvarez 0fbd75e65f Bug 1466963: Provide a before-mutation closure to C++. r=xidorn,smaug
MozReview-Commit-ID: H2jwIeZoiBZ
2018-06-07 11:22:31 +02:00
Jeff Gilbert 9cfe5354c3 Bug 1459785 - Update test markings.
MozReview-Commit-ID: Lf0NwRin6sT
2018-06-04 20:08:20 -07:00
Jeff Gilbert 261d4ed101 Bug 1465964 - Add translated source to MOZ_WEBGL_DUMP_SHADER spew. - r=kvark
MozReview-Commit-ID: BDb64RqX537
2018-06-04 15:05:36 -07:00
Miko Mynttinen 4c85ef17cc Bug 1465060 - Part 1: Fix warnings for std::move() use r=froydnj
MozReview-Commit-ID: HpdFXqQdIOO

--HG--
extra : rebase_source : 1e7eea4f2d4ec16ec0c559a8afb26976ddbf4d07
2018-06-01 17:59:07 +02:00
arthur.iakab 7e765f798b Backed out 2 changesets (bug 1465060) for build bustages on security/sandbox/linux/reporter/SandboxReporter.cpp
Backed out changeset 7c8905b6b226 (bug 1465060)
Backed out changeset 10446073eca8 (bug 1465060)
2018-06-03 19:25:41 +03:00
Miko Mynttinen 8d9dc85cd4 Bug 1465060 - Part 1: Fix warnings for std::move() use r=froydnj
MozReview-Commit-ID: HpdFXqQdIOO

--HG--
extra : rebase_source : 619d0e0ff63a2453c80f0c4d9beb906d43fa9b01
2018-06-01 17:59:07 +02:00
Jeff Gilbert 373a1ed449 Bug 1466001 - Index buffer must be non-null. - r=kvark
MozReview-Commit-ID: ConbNwht4Pp
2018-06-01 14:11:02 -07:00
Andreea Pavel 237be9e246 Bug 1465373 - Remove reference to old winxp in manifest file. r=jmaher
--HG--
extra : amend_source : 67da1820e99848c108f24ec67dbb5755a708c205
2018-05-31 04:28:00 -04:00
Emilio Cobos Álvarez fffb25b74f Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj
This was done automatically replacing:

  s/mozilla::Move/std::move/
  s/ Move(/ std::move(/
  s/(Move(/(std::move(/

Removing the 'using mozilla::Move;' lines.

And then with a few manual fixups, see the bug for the split series..

MozReview-Commit-ID: Jxze3adipUh
2018-06-01 10:45:27 +02:00
jgilbert@mozilla.com caaa414096 Bug 1458264 - Reset UNPACK_SKIP vars when uploading zeros. - r=kvark
MozReview-Commit-ID: ILB6MqgnrXX
2018-05-31 14:43:31 -07:00
Emilio Cobos Álvarez aa934dea20 Bug 1465107: Remove isStyledByServo. r=xidorn
MozReview-Commit-ID: 8HWBH9kWyxV
2018-05-30 10:04:18 +02:00
Kearwood Gilbert 653742943d Bug 1462695 - Prevent crashing when context lost during WebVR presentation,r=jgilbert
--HG--
extra : rebase_source : c32d602256391866c7cbfc447d9e6f127a48313e
2018-05-25 14:10:47 -07:00
Bogdan Tara 597ad02dc7 Merge inbound to mozilla-central. a=merge
--HG--
rename : testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-circle-056-ref.html => layout/reftests/w3c-css/submitted/shapes1/shape-outside-circle-056-ref.html
rename : testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-circle-056.html => layout/reftests/w3c-css/submitted/shapes1/shape-outside-circle-056.html
rename : testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-ellipse-052-ref.html => layout/reftests/w3c-css/submitted/shapes1/shape-outside-ellipse-052-ref.html
rename : testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-ellipse-052.html => layout/reftests/w3c-css/submitted/shapes1/shape-outside-ellipse-052.html
rename : testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-polygon-032-ref.html => layout/reftests/w3c-css/submitted/shapes1/shape-outside-polygon-032-ref.html
rename : testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-polygon-032.html => layout/reftests/w3c-css/submitted/shapes1/shape-outside-polygon-032.html
2018-05-25 13:01:23 +03:00
Kartikaya Gupta c372c80afc Bug 1464181 - Enable mochitests on windows10-64-qr opt builds. r=jmaher
MozReview-Commit-ID: 5oerrEozVwd

--HG--
extra : rebase_source : ec1a900453d0d8682578004041fbb17e9ff322e9
2018-05-24 15:00:26 -04:00
Eliza Balazs e1fce902e9 Bug 1404234 - disable test_2_conformance__extensions__webgl-compressed-texture-size-limit.html on win7 for frequent failures. r=jmaher 2018-05-24 06:19:00 +03:00
Noemi Erli bf4def01bf Backed out 3 changesets (bug 1459785) for causing https://bugzilla.mozilla.org/show_bug.cgi?id=1464089 a=backout
Backed out changeset 88675b68241a (bug 1459785)
Backed out changeset b7c91a6f1b0a (bug 1459785)
Backed out changeset 21af8dc00aa8 (bug 1459785)
2018-05-24 18:46:25 +03:00
Raul Gurzau eee5dc6d69 Bug 1461960 - removed old references for OSX 10.6 and 10.8 r=jmaher 2018-05-22 18:06:00 +03:00
Jeff Gilbert b34b3dc1db Bug 1459785 - Update test markings.
MozReview-Commit-ID: Lf0NwRin6sT
2018-05-22 18:24:52 -07:00
Natalia Csoregi fc025a87cd Bug 1461962 - Removed OSX 10.6 references. r=jmaher 2018-05-22 13:39:00 +03:00
Tom Schuster c25af90ac1 Bug 1453916 - Fix bustage. r=me on CLOSED TREE
--HG--
extra : rebase_source : 6c823c29c324ef297ff0f28bdde9b40d3a8d7a36
2018-05-22 20:46:01 +02:00
Tom Schuster 937d9326cd Bug 1453916 - Allow canvas extraction from webextension content-script even with resistFingerprinting turned on. r=kmag,bz
--HG--
extra : rebase_source : d67c589e8819407bb5acc4378d029288dd9295be
2018-05-14 20:49:32 +02:00
Jonathan Kew b222e049c6 Bug 1459162 - Update dimensions early in ClearTarget. r=lsalzman 2018-05-17 09:49:58 +01:00
Jeff Gilbert d94ed3573f Bug 1461293 - TexStorage needs only one of w,h,d>>(levels-1) to be non-zero. - r=kvark
MozReview-Commit-ID: IUlrfWrLdUc
2018-05-16 16:53:36 -07:00
Jan de Mooij 80e44e8003 Bug 1461292 part 1 - Rename JSAutoCompartment to JSAutoRealm. r=bz,luke 2018-05-16 10:53:16 +02:00
Randell Jesup 809e9aa0d4 Bug 1346291: update code that accidentally assumed libyuv would define things like int32 r=sotaro,jib 2018-05-09 23:59:16 -04:00
Chris Peterson 71422dcaa9 Bug 1457813 - Part 2: Replace non-asserting NS_PRECONDITIONs with MOZ_ASSERTs. r=froydnj
s/NS_PRECONDITION/MOZ_ASSERT/ and reindent

MozReview-Commit-ID: KuUsnVe2h8L

--HG--
extra : source : c14655ab3df2c9b1465dd8102b9d25683359a37b
2018-04-28 12:50:58 -07:00
Markus Stange 90d2624508 Bug 1219985 - The canvas rendering context 2d should be opaque if either the moz-opaque attribute is set or if it has been initialized with alpha:false. r=jrmuizel
If the canvas is cleared by setting the width or height attributes, its
opaqueness should not be affected.

This patch keeps support for moz-opaque, and also keeps the behavior that
changing the moz-opaque attribute clears the canvas, even if this does not
affect the actual opaqueness of the canvas.

MozReview-Commit-ID: LOlsJxiP9kc

--HG--
extra : rebase_source : 8bb95b1d5932c39a8085e007f9fd1b88b97afe55
2018-05-02 11:23:53 -04:00
Boris Zbarsky ffa08d7425 Bug 1455674 part 9. Remove nsIDOMElement use from nsIFocusManager. r=qdot 2018-04-26 23:35:19 -04:00
Emilio Cobos Álvarez f8233b4454 Bug 1456471: Remove nsCSSParser.h. r=xidorn
MozReview-Commit-ID: 4qa7llzCXeR
2018-04-25 10:38:37 +02:00
Jeff Gilbert a3b83d8342 Bug 1450839 - Update expected failures.
MozReview-Commit-ID: 4gQMxMk6qYE
2018-04-20 16:20:18 -07:00
Jeff Gilbert 93660a3bb4 Bug 1450839 - Allow running generate-wrappers from any cwd. - r=kvark
MozReview-Commit-ID: JGpNmE9OQdC
2018-04-20 16:20:16 -07:00
Jeff Gilbert bef011bf99 Bug 1450839 - Update with cherry-pick to fix timeouts in rgb10_a2 tests.
MozReview-Commit-ID: KbJmXtRxN25
2018-04-20 16:20:13 -07:00
Jeff Gilbert 58ba37ffae Bug 1450839 - Centralize record_cherry_picks for reuse. - r=kvark
MozReview-Commit-ID: EdRewMsNCnG
2018-04-20 16:20:11 -07:00
Jeff Gilbert 71544a10d9 Bug 1450839 - Update webgl-conf/checkout.
MozReview-Commit-ID: LFEgeAgLn1m


--HG--
rename : dom/canvas/test/webgl-conf/checkout/conformance/textures/misc/copy-tex-sub-image-2d-partial-texture.html => dom/canvas/test/webgl-conf/checkout/conformance/textures/misc/copytexsubimage2d-subrects.html
2018-04-20 16:20:08 -07:00
Jeff Gilbert fe6d2e9633 Bug 1450839 - Skip deqp test files for now. - r=kvark
MozReview-Commit-ID: 5X1JRA1gd58
2018-04-20 16:20:05 -07:00
Jeff Gilbert 267d798f15 Bug 1450839 - Add webgl-conf/import.py for importing from KhronosGroup/WebGL. - r=kvark
+ Update generate-wrappers-and-manifest.py to python3.

MozReview-Commit-ID: EOqbmDSTQgs
2018-04-20 16:20:02 -07:00
Boris Zbarsky 0ba35d199f Bug 1455052 part 8. Stop using nsIDOMEvent in docshell and dom. r=masayuki
MozReview-Commit-ID: ASkuyN3xSwB
2018-04-20 12:55:30 -04:00
Andrea Marchesini a9de4f7371 Bug 1430215 - Check on the principal in mozilla::dom::CheckSecurityForHTMLElements in case SurfaceFromElement returns an incomplete result, r=aosmond 2018-04-20 07:29:12 +02:00
Jamie Nicol d27a81657e Bug 1443149 - Ensure WebGLFBAttachPoint::HasImage() before dereferencing Format(). r=jrmuizel
Previously we were checking IsDefined() rather than HasImage(), but
were hitting crashes. This was because Format() can return null if the
attach point is defined but the attached texture level or renderbuffer
aren't themselves defined. HasImage() checks for this case.

MozReview-Commit-ID: 8KY3zPXXAFv

--HG--
extra : rebase_source : 50706ae0903e15e8b299e7417e7e5d829b11aa79
2018-03-14 16:42:37 +00:00
Sebastian Hengst 0819f35e51 Backed out 4 changesets (bug 525063) on request from Andi. a=backout
Backed out changeset 516c4fb1e4b8 (bug 525063)
Backed out changeset 6ff8aaef2866 (bug 525063)
Backed out changeset bf13e4103150 (bug 525063)
Backed out changeset d7d2f08e051c (bug 525063)
2018-04-13 16:01:28 +03:00
Tristan Bourvon a3a77c0312 Bug 525063 - Initialize uninitialized class attributes in m-c. r=ehsan 2018-04-10 21:11:02 +02:00
Jeff Walden 4b9e315a13 Bug 1452754 - Handle promise rejection in cases of error or otherwise through RAII in MapDataIntoBufferSource::DoMapDataIntoBufferSource. r=jgilbert
--HG--
extra : rebase_source : 52341f938e87ab4fa35926494ed927fde8a2e744
2018-04-09 12:57:10 -07:00
Emilio Cobos Álvarez f39eaa5d48 Bug 1452080: Remove ComputedStyle::PresContext usage from layout and canvas code. r=xidorn
Couldn't find an easy way of splitting these up :(

MozReview-Commit-ID: 2kTZ5McREUT
2018-04-09 11:19:49 +02:00
Noemi Erli 5d9588e156 Backed out 3 changesets (bug 1452080) for bustage in /builds/worker/workspace/build/src/layout/base/nsCSSFrameConstructor.cpp on a CLOSED TREE
Backed out changeset 7f5104c7a242 (bug 1452080)
Backed out changeset 806a9c95a243 (bug 1452080)
Backed out changeset bffebe8aa254 (bug 1452080)
2018-04-09 11:18:12 +03:00
Emilio Cobos Álvarez 2a427429ff Bug 1452080: Remove ComputedStyle::PresContext usage from layout and canvas code. r=xidorn
Couldn't find an easy way of splitting these up :(

MozReview-Commit-ID: 2kTZ5McREUT
2018-04-09 09:57:55 +02:00
Kartikaya Gupta 2eefaf54ec Bug 1344350 - Mark reftests passing with webrender on Windows. r=jrmuizel
This covers all the reftests that have lower fuzz (or zero fuzz) and
were producing an UNEXPECTED-PASS result with webrender on windows. In
many cases I just adjusted the lower bound of the existing webrender
fuzz. In other cases existing fails-if conditions had to be tweaked to
exclude webrender.

MozReview-Commit-ID: 49LvS0vuYWR

--HG--
extra : rebase_source : d194e24affb87fe4560a127ff4016f9c38f414fd
2018-04-06 11:58:44 -04:00
Boris Zbarsky a0b6e32bba Bug 1449631 part 12. Remove the Nullable smuggling from nsIDOMEventTarget. r=smaug
MozReview-Commit-ID: 73qhRSCpr3S
2018-04-05 13:42:42 -04:00
Boris Zbarsky 4292bca4ee Bug 1449631 part 6. Remove nsIDOMEventTarget::DispatchEvent. r=smaug
MozReview-Commit-ID: 8YMgmMwZkAL
2018-04-05 13:42:41 -04:00
Jeff Gilbert 1a31f408ad Bug 1449264 - Handle texStorage3D's `levels` better. - r=kvark
MozReview-Commit-ID: G6ubd4iR67s
2018-04-03 16:28:41 -07:00
Jeff Gilbert ad64b41497 Bug 1450148 - Generic TF Buffer slot moved to Context from TFO. - r=kvark
MozReview-Commit-ID: C2YkjedeFTy
2018-04-03 16:25:21 -07:00
Jeff Gilbert e4dc10addd Bug 1446548 - Treat all GLSL versions >=450 as 450. - r=kvark
MozReview-Commit-ID: 4i5IAvWNZb
2018-04-03 16:19:09 -07:00
Cosmin Sabou 8b072224cb Bug 1362248 - Disable dom/canvas/test/reftest/webgl-color-test.html?native-gl == dom/canvas/test/reftest/wrapper.html?colors-no-alpha.png for frequent failures. r=jmaher 2018-04-03 17:48:22 +02:00
shindli 3bfd0c07fd Merge inbound to mozilla-central. a=merge 2018-03-30 12:56:21 +03:00
Jeff Gilbert 2cfd3869cf Bug 1446412 - Forbid implicit construction of WebGLFBAttachPoint. - r=kvark
MozReview-Commit-ID: AM7xfXwJxkV
2018-03-29 18:11:08 -07:00
Jeff Gilbert b21ff75bef Bug 1446412 - Don't query GL for RED_BITS and friends queries. - r=kvark
There's no reason to ask GL since we should know the answers.
Also GL is tricky on how it handles these semi-deprecated queries.
Official GL stance is "don't ask questions you know the answer to".

MozReview-Commit-ID: F7p73eSTrYw
2018-03-29 18:11:05 -07:00
Tom Ritter 9e3a59a98a Bug 1337157 Disable WEBGL_debug_renderer_info when Resist Fingerprinting is active r=jgilbert
MozReview-Commit-ID: F7LCweFIPtM

--HG--
extra : rebase_source : 35d2e1560ae131f66867a816196c4e96f4b7fe41
2018-03-26 23:48:35 -05:00
Xidorn Quan 4cf9aed667 Bug 1449400 part 5 - Remove StyleSetHandle. r=emilio
This patch basically does:
* remove StyleSetHandle and its corresponding files
* revisit #includes of related header files and change correspondingly
* change nsIPresShell::mStyleSet to be UniquePtr<ServoStyleSet>
* change the creating path of ServoStyleSet to pass UniquePtr
* change other mentions of StyleSetHandle to ServoStyleSet*
* remove AsServo() calls on ServoStyleSet

Some unfortunate bits:
* some methods of (Servo)StyleSet only accepts ServoStyleSheet while
  many places call into the methods with StyleSheet, so there are many
  ->AsServo() added to sheets

MozReview-Commit-ID: K4zYnuhOurA

--HG--
extra : rebase_source : 459e8efeb171adad089d94272e143e8c244bd279
extra : source : 65ba2f174fcf7dba4e59c00ee8908b1bd0820a48
2018-03-29 22:15:46 +11:00
Jonathan Watt 68e78b291f Bug 1449321 - Remove the IsServo and IsGecko methods from the style system code. r=emilio
--HG--
extra : source : 763277b299e42d8ee7eafede027ee690b66a7a2a
2018-03-23 16:01:34 +00:00
Tim Nguyen 5a60cbae7c Bug 1412961 - Make extension principals bypass canvas permission checks. r=ckerschb,johannh
MozReview-Commit-ID: 5vSW4zR3f36

--HG--
extra : rebase_source : 5b1942b221dd1470b853e3aca3c51c5e1a45e809
2018-03-27 11:23:59 +00:00
Jeff Gilbert e4e4683663 Bug 1445980 - TexStorage should validate both highest and lowest levels. - r=kvark
MozReview-Commit-ID: 3MtNEAtuadY
2018-03-26 20:37:13 -07:00
Jonathan Watt 82ebebe276 Bug 1448714 - Fix up comments referring to 'style context' after the rename of nsStyleContext. r=emilio 2018-03-23 13:49:21 +00:00
Jonathan Watt a50cb762aa Bug 1448702 - Remove ComputedStyle::AsServo(). r=emilio 2018-03-25 13:23:00 +03:00
Emilio Cobos Álvarez e341b20ec4 Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE
MozReview-Commit-ID: JPopq0LudD
2018-03-22 20:06:24 +01:00
Emilio Cobos Álvarez 5dd797f154 Back out changeset b683bb3f22a1 (Bug 1447483) for not landing with all the files. r=me on a CLOSED TREE
This reverts commit 1808914126bb9f9e4a82d2c3d7ac961885fe7d62.

MozReview-Commit-ID: 5skESBseEvo
2018-03-22 20:05:22 +01:00
Emilio Cobos Álvarez ca5ac79cca Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt
MozReview-Commit-ID: JPopq0LudD
2018-03-22 19:48:42 +01:00
arthur.iakab abcb47d8cc Merge inbound to mozilla-central. a=merge 2018-03-21 21:13:11 +02:00
Miko Mynttinen 65c6bee9d6 Bug 1445302 - Replace TArray.RemoveElementAt(TArray.Length() - 1) pattern with TArray.RemoveLastElement() or TArray.PopLastElement() r=froydnj
MozReview-Commit-ID: rGjabnP2iz

--HG--
extra : rebase_source : 1ef6c5ce028ac9ebd9f3176d57835c43fe46bada
2018-03-13 14:51:33 +01:00
sotaro 57a55d1c2d Bug 1411481- Enable SkiaGL canvas usage on Mac r=jrmuizel 2018-03-21 08:59:38 +09:00
Sylvestre Ledru 659b380e97 Bug 1446809 - Remove some b2g leftover in some webgl tests r=jgilbert
MozReview-Commit-ID: Etx3KYygQgl

--HG--
extra : rebase_source : 6483c7541ae2b4a26a1bcdbe26440bb64d599af5
extra : source : 643d30faeef8a451f23a5c66fc726120da21f213
2018-03-18 19:32:02 +01:00
Emilio Cobos Álvarez f7522ae728 Bug 1447358: Unifdef the old style system code. r=jwatt
Summary:
This has been automatically generated using:

  http://dotat.at/prog/unifdef/

And:

find $OBJDIR -type f -name '*.h' |
while read FILE; do
  echo "$FILE"
  unifdef -m -DMOZ_STYLO -UMOZ_OLD_STYLE "$FILE";
done

find $OBJDIR -type f -name '*.cpp' |
while read FILE; do
  echo "$FILE"
  unifdef -m -DMOZ_STYLO -UMOZ_OLD_STYLE "$FILE";
done

MozReview-Commit-ID: I4NdKqbMXzJ

Reviewers: jwatt

Bug #: 1447358

Differential Revision: https://phabricator.services.mozilla.com/D779
2018-03-21 10:20:34 +01:00
Csoregi Natalia fc0283f66c Backed out 10 changesets (bug 1446809) for failing on jsat/test_content_integration.html . CLOSED TREE
Backed out changeset 42146f3856d0 (bug 1446809)
Backed out changeset e6b888d19add (bug 1446809)
Backed out changeset 2293192557ef (bug 1446809)
Backed out changeset 643d30faeef8 (bug 1446809)
Backed out changeset 73639fbb3a61 (bug 1446809)
Backed out changeset df179cf0797d (bug 1446809)
Backed out changeset 04c46f107d24 (bug 1446809)
Backed out changeset 9b98c5aad44c (bug 1446809)
Backed out changeset 347d7259df0f (bug 1446809)
Backed out changeset 2a350e323713 (bug 1446809)
2018-03-21 11:17:38 +02:00
Sylvestre Ledru bbfb87fdfa Bug 1446809 - Remove some b2g leftover in some webgl tests r=jgilbert
MozReview-Commit-ID: Etx3KYygQgl

--HG--
extra : rebase_source : e7e2e24478fc74bb10251d6dca0f226e4a56141a
extra : histedit_source : 436d7e38b0fbc8cb03c212963c6c3fec2ade1ace
2018-03-18 19:32:02 +01:00
Emilio Cobos Álvarez 48957d62c0 Bug 1446954: Cleanup !stylo and styloVsGecko test expectations. r=xidorn
MozReview-Commit-ID: J2glxiCWBVn
2018-03-20 11:29:51 +01:00
sotaro 04da311500 Bug 1443671 - Add crashtest r=nical 2018-03-19 18:54:05 +09:00
Jeff Gilbert 2d543d4bc6 Bug 1444563 - Update stencil front/back mismatch validation. - r=kvark
Also update corresponding test to have a stencil buffer and enable
STENCIL_TEST.
MozReview-Commit-ID: GyCpJ0a1F9H
2018-03-16 13:35:03 -07:00
Sylvestre Ledru fa45a3c670 Bug 1443080 - Use the static call for static methods (not instance) r=Ehsan
MozReview-Commit-ID: JwHh4bzxuTR

--HG--
extra : rebase_source : 5f5e37517aa80c2e7b5933962178d761074886e7
2018-03-16 14:29:15 +01:00
Jeff Gilbert 027c306ce3 Bug 1445577 - Fix -Wmicrosoft-unqualified-friend in WebGLProgram.h. - r=kvark
"unqualified friend declaration referring to type outside of the nearest enclosing
namespace is a Microsoft extension; add a nested name specifier
[-Wmicrosoft-unqualified-friend]"
2018-03-15 22:35:50 -07:00
Brindusan Cristian cd3d3ade3d Backed out changeset 586d0eef1de5 (bug 1444563) for webgl failures on test_2_conformance__misc__webgl-specific.html CLOSED TREE 2018-03-15 23:22:10 +02:00
Jeff Gilbert 41d36258a3 Bug 1444563 - Update stencil front/back mismatch validation. - r=kvark
MozReview-Commit-ID: GyCpJ0a1F9H
2018-03-15 13:39:12 -07:00
Andrea Marchesini a1747f6179 Bug 1445590 - ImageBitmap cannot be cloned/transferred if already closed, r=smaug 2018-03-14 17:37:34 +01:00
Lee Salzman d3709cc4e9 Bug 1444506 - part 6 - fuzz for Skia m66 update. r=jrmuizel 2018-03-12 16:37:10 -04:00
Lee Salzman 88d1ad9491 Bug 1444506 - part 5 - don't attempt to draw an invalid video source in canvas. r=jrmuizel 2018-03-12 16:37:10 -04:00
Jeff Gilbert 3e66c7d171 Bug 1444252 - Check if program is linked in GetActiveUniforms. - r=kvark
MozReview-Commit-ID: EBbgWlzdC3A
2018-03-09 14:56:52 -08:00
Andreea Pavel 218233521a Backed out changeset 40063d96ba8e (bug 1444252)for build bustages at /builds/worker/workspace/build/src/dom/canvas/WebGL2ContextUniforms.cpp on a CLOSED TREE 2018-03-09 23:38:32 +02:00