Commit Graph

50 Commits

Author SHA1 Message Date
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
Jeff Gilbert
407bc3c38c Bug 1288649 - Fix non-unified-build errors. - r=ethlin
MozReview-Commit-ID: EI7FtmuEBl7
2016-07-25 14:46:20 -07:00
Jeff Gilbert
ff9844ee32 Bug 1280499 - Allow SKIP_ROWS+height>IMAGE_HEIGHT and fix paranoid uploading. - r=jrmuizel
Top-of-tree test is green now.

MozReview-Commit-ID: IbCTHK62qGT
2016-07-25 13:52:41 -07:00
Jeff Gilbert
3740e5150b Bug 1280499 - Support paranoid uploading for nVidia. - r=jrmuizel
MozReview-Commit-ID: 3CMNoHiBACT
2016-07-25 13:52:41 -07:00
Jeff Gilbert
41c0b57871 Bug 1280499 - Implement PBOs for textures. - r=jrmuizel
MozReview-Commit-ID: 3FCinT9hS8j
2016-07-25 13:52:41 -07:00
Ethan Lin
0334d84e82 Bug 1279997 - Improve the check of alpha premult in TexOrSubImage. r=jgilbert 2016-07-18 19:37:00 +02:00
Jeff Gilbert
7c0e8458c0 Bug 1286758 - Handle y-flip for unconvertable types. - r=mtseng
MozReview-Commit-ID: 2zK3qzUtHQx
2016-07-17 21:58:40 -07:00
Jeff Gilbert
21644b0588 Bug 1286348 - Only set ROW_LENGTH if it's different. - r=mtseng
MozReview-Commit-ID: 6Wl9iKeYudg
2016-07-13 02:16:17 -07:00
Jeff Gilbert
9e7f59719d Bug 1286348 - Reintroduce support for UNPACK_{FLIP_Y,PREMULTIPLY_ALPHA}. - r=mtseng
MozReview-Commit-ID: 2KGHc3I2HzT
2016-07-13 02:16:14 -07:00
Jeff Gilbert
be283d9539 Bug 1281098 - Fix failure case.
MozReview-Commit-ID: 1EfPP6kN6dK
2016-07-07 09:13:45 -07:00
Jeff Gilbert
8a6d29efd0 Bug 1281098 - Fix UNPACK_ handling. - r=jrmuizel
MozReview-Commit-ID: Au9eiKSxquJ
2016-07-07 09:13:45 -07:00
Jeff Gilbert
cb9b33550e Bug 1276093 - Warn when we fail to hit the GPU-copy fast-path. - r=jrmuizel 2016-05-31 19:33:22 -07:00
Jeff Gilbert
20401f453e Bug 1276093 - Warn on slow CPU format conversions. - r=jrmuizel 2016-05-31 19:33:22 -07:00
Morris Tseng
8d74a6e68f Bug 1268155 - GetAsSourceSurface might return nullptr, let's handle it. r=jgilbert
MozReview-Commit-ID: 6uH9esA2PqC
2016-05-12 14:08:24 +08:00
Peter Chang
67129f0c74 Bug 1261320 - Check DataSurface is vaild before using, r=milan
MozReview-Commit-ID: 1uhNttyNAiq

--HG--
extra : rebase_source : 610106be8768e04460f6adf920f1b0f0ef0e2276
2016-04-11 17:45:09 +08:00
Ethan Lin
fcfe0c61e6 Bug 1205168 - Part 6: Fix TexImage2D and TexSubImage2D with texture conversion. r=jgilbert 2015-12-29 18:37:00 +01:00
Jeff Gilbert
aa928a99a3 Bug 1231040 - Check for premulting better. - r=jrmuizel 2015-12-16 14:35:17 -08:00
Wes Kocher
4b84f553c1 Backed out changeset 495ff1195591 (bug 1231040) for build failures in TexUnpackBlob.cpp
--HG--
extra : commitid : B2HulRlJFhE
2015-12-15 17:53:00 -08:00
Jeff Gilbert
7dd12ef863 Bug 1231040 - Take fast path if not alpha-premulting. - r=jrmuizel 2015-12-15 17:45:03 -08:00
Jeff Gilbert
19d84fb0fe Bug 1221822 - Finish the WebGL texture refactor. r=kamidphish,mattwoodrow,bz 2015-11-24 20:15:29 -08:00
Phil Ringnalda
71a6f5da62 Back out changeset 2f614bcd9405 (bug 1221822) for test_conformance__extensions__ext-sRGB.html and test_webgl2_alpha_luminance.html failures 2015-11-23 21:55:59 -08:00
Jeff Gilbert
87397c265b Bug 1221822 - Finish the WebGL texture refactor. r=kamidphish,mattwoodrow,bz 2015-11-23 19:27:13 -08:00