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

2483 Коммитов

Автор SHA1 Сообщение Дата
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
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