Commit Graph

104 Commits

Author SHA1 Message Date
Andrea Marchesini
a05e6d1af4 Bug 1502799 - Implement origin-clean algorithm for ImageBitmap, r=aosmond 2018-11-06 23:31:34 +01:00
Jeff Gilbert
50d2567bb5 Bug 1501134 - Don't consider snorm compatible with unorm for CopyTexImage. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D9464
2018-10-24 15:31:43 +00:00
Jeff Gilbert
bfbc190604 Bug 1499580 - Check enum in CompressedTexSubImage. r=kvark
Also skip some redundent `compression` checks.

Differential Revision: https://phabricator.services.mozilla.com/D8938
2018-10-17 19:13:14 +00:00
Jeff Gilbert
a8ce1aa6f1 Bug 1498070 - Simplify and cache framebuffer and texture completeness. - r=kvark
Net-removes 700LOC, too!

Differential Revision: https://phabricator.services.mozilla.com/D8325
2018-10-17 04:18:15 +00:00
Jeff Gilbert
f33f5c19c8 Bug 1494809 - Remove WebGL ATC support. - r=kvark,qdot
The WG rejected this extension.
2018-10-10 18:13:14 -07:00
Jeff Gilbert
3a84422702 Bug 1494809 - Support WebGL exts for BPTC and RGTC. - r=kvark,qdot 2018-10-10 18:13:11 -07:00
Coroiu Cristina
86f1e385de 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)
2018-10-10 08:15:09 +03:00
Jeff Gilbert
48d9c15902 Bug 1494809 - Remove WebGL ATC support. - r=kvark,qdot
The WG rejected this extension.
2018-10-09 21:39:17 -07:00
Jeff Gilbert
346e5a1f53 Bug 1494809 - Support WebGL exts for BPTC and RGTC. - r=kvark,qdot 2018-10-09 21:39:14 -07:00
Jeff Gilbert
8b724921f4 Bug 1478909 - Make funcName implicit for WebGL calls. - r=kvark
MozReview-Commit-ID: Gv77SnHZcGb
2018-08-09 14:35:01 -07:00
Dorel Luca
68edc212ae Backed out changeset e8023a02b6c2 (bug 1478909) on dev's request 2018-08-09 04:58:04 +03:00
Jeff Gilbert
c164f419ac Bug 1478909 - Make funcName implicit for WebGL calls. - r=kvark
MozReview-Commit-ID: Gv77SnHZcGb
2018-08-08 16:15:12 -07:00
Miko Mynttinen
3df26bc8a5 Bug 1465060 - Part 1: Fix warnings for std::move() use r=froydnj
MozReview-Commit-ID: HpdFXqQdIOO
2018-06-01 17:59:07 +02:00
arthur.iakab
9588ba6d78 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
5afe37aefc Bug 1465060 - Part 1: Fix warnings for std::move() use r=froydnj
MozReview-Commit-ID: HpdFXqQdIOO
2018-06-01 17:59:07 +02:00
Emilio Cobos Álvarez
4b8b5e1717 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
717c24a813 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
Jeff Gilbert
c0f4fa9042 Bug 1449264 - Handle texStorage3D's levels better. - r=kvark
MozReview-Commit-ID: G6ubd4iR67s
2018-04-03 16:28:41 -07:00
Jeff Gilbert
5f7203d82a Bug 1445980 - TexStorage should validate both highest and lowest levels. - r=kvark
MozReview-Commit-ID: 3MtNEAtuadY
2018-03-26 20:37:13 -07:00
Andrea Marchesini
df1536a320 Bug 1445590 - ImageBitmap cannot be cloned/transferred if already closed, r=smaug 2018-03-14 17:37:34 +01:00
Jeff Gilbert
683e75beaf Bug 1427668 - Move the webgl backbuffer into webgl. - r=daoshengmu
MozReview-Commit-ID: 2WpG7mfMRQ8
2018-01-05 15:27:30 -08:00
Jeff Gilbert
acda6087b5 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
Jonathan Watt
711f1d78b4 Bug 1406819 - Remove various bits of dead code from dom/. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D109
2017-10-11 10:09:13 +01:00
dmu@mozilla.com
ba8830fa55 Bug 1359055 - Part 1: PBO offset for WebGL compressedTexImage; r=baku,jgilbert
MozReview-Commit-ID: LN2diy41A2Z
2017-07-18 18:02:57 +00:00
Jeff Gilbert
e8ec6e7769 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
Chung-Sheng Fu
47e83a94ee Bug 1217290 - Remove WebGLContext impl members r=daoshengmu,jgilbert
MozReview-Commit-ID: DPrjaf9QHfP
2017-07-27 15:48:58 +08:00
Andrea Marchesini
87a82ac67c Bug 1128959 - Implement the WHATWG Streams spec - part 1 - WebIDL Bindings, r=bz 2017-08-10 18:04:54 -07:00
Kartikaya Gupta
14424677af Bug 1384233 - Remove SizePrintfMacros.h. r=froydnj
We have a minimum requirement of VS 2015 for Windows builds, which supports
the z length modifier for format specifiers. So we don't need SizePrintfMacros.h
any more, and can just use %zu and friends directly everywhere.

MozReview-Commit-ID: 6s78RvPFMzv
2017-07-26 16:03:57 -04:00
Samuel Vargas
1095089470 Bug 1367919 - Add tracking for data allocation calls in WebGL. r=jgilbert 2017-06-22 14:32:00 -04:00
Samuel Vargas
75915f9043 Bug 1372385 - Fix premultiplication for LUMINANCE / LUMINANCE_ALPHA on WebGL2 conformance test. r=jgilbert 2017-06-15 15:29:00 -04:00
Phil Ringnalda
2e8403de68 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
a127d7e9c8 Bug 1372385 - Fix premultiplication for LUMINANCE / LUMINANCE_ALPHA on WebGL2 conformance test - r=jgilbert 2017-06-22 14:03:45 -07:00
Jeff Gilbert
ef8acdb9c3 Bug 1355763 - Add gfxAlphaType for specifying opaque/premult/non-premult. - r=daoshengmu
MozReview-Commit-ID: Jzr8aPYlEcO
2017-04-13 09:14:34 -07:00
Timothy Nikkel
f045de8a28 Bug 1355898. Use the first frame of animated images for texImage2d. r=jgilbert
The spec for canvas drawImage says to use the first frame. I can't find anything spec related at all referencing the issue for webgl (except bug 666855). So do the same as drawImage.
2017-04-13 03:40:45 -05:00
Iris Hsiao
191fdd1b09 Backed out changeset f97fd860c168 (bug 1355763) 2017-04-13 14:46:43 +08:00
Jeff Gilbert
37d512e4b7 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
52c8736666 Bug 1333858 - Intersect should be fallible on overflow. - r=daoshengmu
MozReview-Commit-ID: 6lmIKKyXXah
2017-04-04 12:56:21 -07:00
Tom Tromey
3b7c8c14e5 Bug 1060419 - make WebGLContextUtils.cpp use VsprintfLiteral, r=froydnj
MozReview-Commit-ID: JhwopeIpUMo
2016-12-09 13:48:22 -10:00
Jeff Gilbert
182a6c0469 Bug 1329815 - GeneratePerfWarning and warn on completed-FB invalidation. - r=kvark
MozReview-Commit-ID: C9J3qdnsaZF
2017-01-17 17:44:56 -08:00
Jeff Gilbert
7c6005d828 Bug 1328539 - writeX/Y should be relative to x/yOffset. - r=daoshengmu
MozReview-Commit-ID: KKstUheoSrJ
2017-01-04 23:13:49 -08:00
Jeff Gilbert
272b8cf5da Bug 1316546 - CopyTexImage can convert unsigned fixed-point to signed fixed-point. - r=lenzak800
MozReview-Commit-ID: FrdNXH84KMD
2017-01-02 15:19:24 -08:00
Jeff Gilbert
081f8eb935 Bug 1325733 (flattened) - Mark read/draw calls better. - r=daoshengmu
Includes:
* ANGLE needs to call clear twice even on larger targets. - r=daoshengmu
2016-12-29 02:45:13 -08:00
Jeff Gilbert
b60abdac0e Bug 1324924 - Support ImageBitmap for Tex*Image*. (flattened) - r=bz,daoshengmu,mtseng
MozReview-Commit-ID: JzcbzeFHyHn
2016-12-20 19:24:25 -08:00
Jeff Gilbert
a84485f103 Bug 1305864 - Catch INVALID_OP from bad-format CopyTexSubImage in ANGLE for now. - r=daoshengmu
MozReview-Commit-ID: 9Hq0pW4xwRN
2016-12-20 13:20:03 -08:00
Jeff Gilbert
5ae1b625de Bug 1316539 - Do null TexSubImage check with blob->HasData(). - r=lenzak800
MozReview-Commit-ID: LwRZQI2dcKO
2016-12-20 13:20:01 -08:00
Jeff Gilbert
4d68853486 Bug 1315866 - Always-too-large level during tex image specification is INVALID_VALUE. - r=ethlin
MozReview-Commit-ID: 9fBznguuq1l
2016-12-16 15:00:57 -08:00
Jeff Gilbert
7c7bb540ef Bug 1305832 - Only glClear for ANGLE's ANGLE_depth_texture textures. - r=ethlin
MozReview-Commit-ID: H6yE1ib2TRI
2016-12-14 20:16:57 -08:00
Jeff Gilbert
5272e137e3 Bug 1305832 - CopyTex[Sub]Image should specify using TexImage to convince the driver to use the right internal format. - r=ethlin
MozReview-Commit-ID: JmhmNtqeA9V
2016-12-14 20:16:55 -08:00
Jeff Gilbert
e04fdd0d6d Bug 1305832 - ZeroTextureData doesn't need x/y/zOffset, so remove those args. - r=ethlin 2016-12-14 20:16:53 -08:00
Jeff Gilbert (:jgilbert)
8f0b095b8c Bug 1250077 - Implement WEBGL_compressed_texture_astc. - r=ethlin
MozReview-Commit-ID: J2jB4tOJrTs
2016-11-28 18:12:32 -08:00