Jeff Gilbert
62f6cc5d9c
Bug 1659225 - Apply UNPACK_ params only after init. r=lsalzman
...
+ Add asserts that we are infact in the default state.
Differential Revision: https://phabricator.services.mozilla.com/D87964
2020-08-23 06:09:33 +00:00
Jeff Gilbert
7488d11570
Bug 1659874 - Remove unused `dummy` stack var in TexUnpackBytes::TexOrSubImage. r=lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D87526
2020-08-19 02:01:00 +00:00
Jeff Gilbert
f25a4cdbe8
Bug 1607940 - IPC TexImage. r=lsalzman,nika,handyman
...
Differential Revision: https://phabricator.services.mozilla.com/D83291
2020-07-21 22:57:01 +00:00
Dorel Luca
4681060e62
Backed out 3 changesets (bug 1367251) for Mda failures in /test_background_video_tainted_by_createimagebitmap.html. CLOSED TREE
...
Backed out changeset 871379f9b194 (bug 1367251)
Backed out changeset a76c2c98b33c (bug 1367251)
Backed out changeset a55cda2431fc (bug 1367251)
2020-07-15 16:37:32 +03:00
aardgoose
10c1acf825
Bug 1367251 - ignore gl.UNPACK_FLIP_Y_WEBGL & UNPACK_PREMULTIPLY_ALPHA for textures uploading ImageBitmap data as per spec. r=jgilbert
...
Differential Revision: https://phabricator.services.mozilla.com/D29469
2020-07-15 11:02:28 +00:00
Simon Giesecke
723b05dfb6
Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/canvas. r=jgilbert
...
Differential Revision: https://phabricator.services.mozilla.com/D63142
--HG--
extra : moz-landing-system : lando
2020-02-18 21:08:00 +00:00
Jeff Gilbert
e1d0fe64bb
Bug 1477756 - Client-side bindings mirror for precise CC, and merge similar codepaths. r=handyman
...
* Context loss using RAII
* Move Program reflection Client-side
Depends on D54018
Differential Revision: https://phabricator.services.mozilla.com/D54019
--HG--
extra : moz-landing-system : lando
2020-01-08 22:19:16 +00:00
David Parks
198fa063c2
Bug 1477756 - Initial out-of-process WebGL implementation. r=mccr8,handyman
...
Splits WebGLContext into ClientWebGLContext and HostWebGLContext. The Client enables the JS-control of a WebGL context in a content procecss while the Host executes the WebGL graphics operations (via a WebGLContext that maintains much of the existing code) in the compositor process. At this point, the cross-process behavior is disabled -- this series of patches is an incremental step toward that final goal.
Differential Revision: https://phabricator.services.mozilla.com/D54018
--HG--
extra : moz-landing-system : lando
2020-01-08 22:19:14 +00:00
Jeff Gilbert
52d58f2a74
Bug 1533527 - Forbid non-size_t calls to malloc and calloc. r=lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D22627
2019-03-18 13:47:18 -07:00
Andreea Pavel
5a60df453a
Backed out changeset 5f7ea2187fa6 (bug 1533527) for build bustages on a CLOSED TREE
2019-03-10 03:50:15 +02:00
Jeff Gilbert
8235aa9f56
Bug 1533527 - Forbid non-size_t calls to malloc and calloc. r=lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D22627
--HG--
extra : moz-landing-system : lando
2019-03-09 17:40:54 +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
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
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
Jeff Gilbert
e4fcfa0ef8
Bug 1494809 - Don't include WebGLFormats.h in WebGLContext.h. - r=kvark
2018-10-10 18:13:13 -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
f4f78de480
Bug 1494809 - Don't include WebGLFormats.h in WebGLContext.h. - r=kvark
2018-10-09 21:39:16 -07: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
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
Jeff Gilbert
ff584c03d1
Bug 1426280 - Remove explicit MakeCurrents from WebGL now that we use implicit MakeCurrent. - r=lenzak
...
MozReview-Commit-ID: HxWWPmD1Yzu
2017-12-19 22:28:49 -08:00
Jeff Gilbert
1f167472bf
Bug 1404536 - Use mat3s to transform tex coords in GLBlitHelper. - r=daoshengmu
...
MozReview-Commit-ID: 9LxsSJF1ggN
2017-10-26 18:43:24 -07:00
Jeff Gilbert
dc78acfe2b
Bug 1322746 - No fast uploads for x/y/zOffset!=0 yet. - r=daoshengmu
...
MozReview-Commit-ID: CVq6TYhg9FP
2017-09-02 21:52:39 -07:00
Jeff Gilbert
8a890b29aa
Bug 1322746 - Support PLANAR_YCBCR, GPU_VIDEO, and D3D11_YCBCR_IMAGE in GLBlitHelper. - r=jerry
...
MozReview-Commit-ID: FNsmq0RPvYB
2017-09-02 21:52:16 -07:00
Nicolas Silva
4c59337e27
Bug 1382185 - Check the status of GLContext::MakeCurrent in TexUnpackBlob.cpp. r=jgilber
2017-07-24 12:24:25 +02:00
Samuel Vargas
69f9ce7cef
Bug 1372385 - Fix premultiplication for LUMINANCE / LUMINANCE_ALPHA on WebGL2 conformance test. r=jgilbert
...
--HG--
extra : rebase_source : 6b81a5a3f6d1b5e0692813f7e8b9b3cb13e7a9c0
2017-06-15 15:29:00 -04:00
Phil Ringnalda
a53a350cd6
Backed out changeset 91f89d105e2f (bug 1372385) for unexpected passes of test_2_conformance__textures__misc__tex-image-with-format-and-type.html on OS X
...
MozReview-Commit-ID: 5GpTjEQ8zjQ
2017-06-22 22:23:59 -07:00
Samuel Vargas
b2d3e3f7f6
Bug 1372385 - Fix premultiplication for LUMINANCE / LUMINANCE_ALPHA on WebGL2 conformance test - r=jgilbert
2017-06-22 14:03:45 -07:00
Chih-Yi Leu
69868ff3ef
Bug 1355430 - Part2: Implement Require Fastpath for texture copy; r=baku,jgilbert
...
MozReview-Commit-ID: EPNSJbbJHP4
--HG--
extra : rebase_source : 588225a4113010964341d5cbbefefa06e0c48056
2017-04-11 17:15:25 +08:00
Sebastian Hengst
e4c87ce902
Backed out changeset 661144609b7a (bug 1355430)
2017-04-18 21:08:22 +02:00
Chih-Yi Leu
ca2cb984d5
Bug 1355430 - Part2: Implement Require Fastpath for texture copy; r=baku,jgilbert
...
MozReview-Commit-ID: EPNSJbbJHP4
--HG--
extra : rebase_source : b27a254e247a40285873b53edb036b5b97d4e0d8
2017-04-11 17:15:25 +08:00
Jeff Gilbert
a48eb3d523
Bug 1355763 - Handle UNPACK_ state for ConvertPlanarYCbCr, and reject blits with _SKIP_* for now. - r=daoshengmu
...
MozReview-Commit-ID: JsDF66DwTfZ
2017-04-13 09:14:38 -07:00
Jeff Gilbert
326703ec04
Bug 1355763 - Add gfxAlphaType for specifying opaque/premult/non-premult. - r=daoshengmu
...
MozReview-Commit-ID: Jzr8aPYlEcO
2017-04-13 09:14:34 -07:00
Iris Hsiao
bf9a6182a2
Backed out changeset f97fd860c168 (bug 1355763)
2017-04-13 14:46:43 +08:00
Iris Hsiao
d9a7bab6de
Backed out changeset f71e84602f68 (bug 1355763) for assertion failures at ImageBitmap.cpp
2017-04-13 14:46:38 +08:00
Jeff Gilbert
3ab253476f
Bug 1355763 - Handle UNPACK_ state for ConvertPlanarYCbCr, and reject blits with _SKIP_* for now. - r=daoshengmu
...
MozReview-Commit-ID: JsDF66DwTfZ
2017-04-12 22:03:45 -07:00
Jeff Gilbert
95c5ba8077
Bug 1355763 - Add gfxAlphaType for specifying opaque/premult/non-premult. - r=daoshengmu
...
MozReview-Commit-ID: Jzr8aPYlEcO
2017-04-12 22:03:43 -07:00
Jeff Gilbert
fef06cd120
Bug 1350107 - Detail fallback reason when we fail to do a GPU DOM upload. - r=ethlin
...
MozReview-Commit-ID: EVdu3LUIrxQ
2017-03-29 15:06:57 -07:00
Jeff Gilbert
758c9e3124
Bug 1350066 - Skip premult if src is missing color or alpha, and spew formats on reformat. - r=ethlin
...
MozReview-Commit-ID: JeoTq9EX9Rx
2017-03-29 15:06:51 -07:00
Tom Tromey
9b663e797b
Bug 1060419 - make WebGLContextUtils.cpp use VsprintfLiteral, r=froydnj
...
MozReview-Commit-ID: JhwopeIpUMo
--HG--
extra : rebase_source : 8540864ed969ad038e996b22d78ec3b4f1ba3cb8
2016-12-09 13:48:22 -10:00
Jeff Gilbert
0ac27eb8c5
Bug 1338429 - Convert texture upload conversion warnings to perf-warnings. - r=daoshengmu
...
MozReview-Commit-ID: 49nxQY6rQDY
2017-02-10 13:23:56 -08:00
kvark
bf329478e1
Bug 1329044 - Avoid taking const references to fields behind accessors. r=jgilbert
2017-01-09 10:16:00 -05:00
Jeff Gilbert
a2f7e49912
Bug 1324727 - Check for invalid DOM upload format/type. - r=daoshengmu
...
MozReview-Commit-ID: 2uZi1ILyMIM
2016-12-25 13:44:22 -08:00
Jeff Gilbert
a33624e1d6
Bug 1323363 - Fix non-paranoid PBO uploads. - r=ethlin
...
MozReview-Commit-ID: L0nCELNAmBc
2016-12-16 15:00:55 -08:00
Jeff Gilbert
7eee1ae7b9
Bug 1323617 - Fix canvas_sub_rectangle tests. - r=ethlin
...
MozReview-Commit-ID: 8wWDiiyp7ZS
2016-12-16 15:00:50 -08:00
Chih-Yi Leu
cd70af2e05
Bug 1300549 - Bail out if we have already generated exceptions. r=jgilbert
...
--HG--
extra : rebase_source : b3744a5a6ffb59c63acfff5b292d40d4c23ed206
2016-11-24 01:55:00 +01:00
Jeff Gilbert (:jgilbert)
34864e743e
Bug 1290831 - Clarify TexUnpackBlob::TexOrSubImage's fallibility and update callers. - r=cleu
...
MozReview-Commit-ID: EmkzXwek8JW
2016-11-16 20:44:30 -08:00
Jeff Gilbert (:jgilbert)
cafb4ccac4
Bug 1313541 - Rewrite TexImageSource glue. - r=ethlin
...
MozReview-Commit-ID: 4zwNrobTcUf
2016-10-31 15:03:24 -07:00
Jeff Gilbert (:jgilbert)
d74696d42b
Bug 1305540 - Lazily bind PBO targets. - r=ethlin
...
MozReview-Commit-ID: B9WiCNfNsfY
2016-09-28 12:45:39 -07:00