Commit Graph

51 Commits

Author SHA1 Message Date
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
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
Jeff Gilbert
f4818203be 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
e124794eb8 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
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
Nicolas Silva
c124279742 Bug 1382185 - Check the status of GLContext::MakeCurrent in TexUnpackBlob.cpp. r=jgilber 2017-07-24 12:24:25 +02: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
Chih-Yi Leu
8be833fada Bug 1355430 - Part2: Implement Require Fastpath for texture copy; r=baku,jgilbert
MozReview-Commit-ID: EPNSJbbJHP4
2017-04-11 17:15:25 +08:00
Sebastian Hengst
7c06dca231 Backed out changeset 661144609b7a (bug 1355430) 2017-04-18 21:08:22 +02:00
Chih-Yi Leu
dc8aeb77ac Bug 1355430 - Part2: Implement Require Fastpath for texture copy; r=baku,jgilbert
MozReview-Commit-ID: EPNSJbbJHP4
2017-04-11 17:15:25 +08:00
Jeff Gilbert
30d770bc0e 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
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
Iris Hsiao
191fdd1b09 Backed out changeset f97fd860c168 (bug 1355763) 2017-04-13 14:46:43 +08:00
Iris Hsiao
eef7fefae8 Backed out changeset f71e84602f68 (bug 1355763) for assertion failures at ImageBitmap.cpp 2017-04-13 14:46:38 +08:00
Jeff Gilbert
aa4e4e34d9 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
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
d6cb7f4364 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
fc838242fe 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
3b7c8c14e5 Bug 1060419 - make WebGLContextUtils.cpp use VsprintfLiteral, r=froydnj
MozReview-Commit-ID: JhwopeIpUMo
2016-12-09 13:48:22 -10:00
Jeff Gilbert
c3af19ce38 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
4c8c9730e3 Bug 1329044 - Avoid taking const references to fields behind accessors. r=jgilbert 2017-01-09 10:16:00 -05:00
Jeff Gilbert
20896986a0 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
3b2365ee47 Bug 1323363 - Fix non-paranoid PBO uploads. - r=ethlin
MozReview-Commit-ID: L0nCELNAmBc
2016-12-16 15:00:55 -08:00
Jeff Gilbert
0bac563dac Bug 1323617 - Fix canvas_sub_rectangle tests. - r=ethlin
MozReview-Commit-ID: 8wWDiiyp7ZS
2016-12-16 15:00:50 -08:00
Chih-Yi Leu
cace6cc910 Bug 1300549 - Bail out if we have already generated exceptions. r=jgilbert 2016-11-24 01:55:00 +01:00
Jeff Gilbert (:jgilbert)
7af28c0a31 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)
36edecdc98 Bug 1313541 - Rewrite TexImageSource glue. - r=ethlin
MozReview-Commit-ID: 4zwNrobTcUf
2016-10-31 15:03:24 -07:00
Jeff Gilbert (:jgilbert)
1b8947ea4f Bug 1305540 - Lazily bind PBO targets. - r=ethlin
MozReview-Commit-ID: B9WiCNfNsfY
2016-09-28 12:45:39 -07:00
Jeff Gilbert
344346e300 Bug 1288649 - Fix non-unified-build errors. - r=ethlin
MozReview-Commit-ID: EI7FtmuEBl7
2016-07-25 14:46:20 -07:00
Jeff Gilbert
a2d71f54b6 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
320678562f Bug 1280499 - Support paranoid uploading for nVidia. - r=jrmuizel
MozReview-Commit-ID: 3CMNoHiBACT
2016-07-25 13:52:41 -07:00
Jeff Gilbert
24e48f93c0 Bug 1280499 - Implement PBOs for textures. - r=jrmuizel
MozReview-Commit-ID: 3FCinT9hS8j
2016-07-25 13:52:41 -07:00
Ethan Lin
ea77bcca5c Bug 1279997 - Improve the check of alpha premult in TexOrSubImage. r=jgilbert 2016-07-18 19:37:00 +02:00
Jeff Gilbert
eb819d8e15 Bug 1286758 - Handle y-flip for unconvertable types. - r=mtseng
MozReview-Commit-ID: 2zK3qzUtHQx
2016-07-17 21:58:40 -07:00
Jeff Gilbert
926be79e30 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
1f5d46e29c 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
de4d7598a5 Bug 1281098 - Fix failure case.
MozReview-Commit-ID: 1EfPP6kN6dK
2016-07-07 09:13:45 -07:00
Jeff Gilbert
1a4c0b9c77 Bug 1281098 - Fix UNPACK_ handling. - r=jrmuizel
MozReview-Commit-ID: Au9eiKSxquJ
2016-07-07 09:13:45 -07:00
Jeff Gilbert
c71d656a43 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
641ca371b3 Bug 1276093 - Warn on slow CPU format conversions. - r=jrmuizel 2016-05-31 19:33:22 -07:00
Morris Tseng
d657bae427 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
3cd5e8710a Bug 1261320 - Check DataSurface is vaild before using, r=milan
MozReview-Commit-ID: 1uhNttyNAiq
2016-04-11 17:45:09 +08:00
Ethan Lin
e453903ae6 Bug 1205168 - Part 6: Fix TexImage2D and TexSubImage2D with texture conversion. r=jgilbert 2015-12-29 18:37:00 +01:00
Jeff Gilbert
8e3693460c Bug 1231040 - Check for premulting better. - r=jrmuizel 2015-12-16 14:35:17 -08:00
Wes Kocher
986be0748d Backed out changeset 495ff1195591 (bug 1231040) for build failures in TexUnpackBlob.cpp 2015-12-15 17:53:00 -08:00
Jeff Gilbert
c2c1f1a1f6 Bug 1231040 - Take fast path if not alpha-premulting. - r=jrmuizel 2015-12-15 17:45:03 -08:00
Jeff Gilbert
d658f53faf Bug 1221822 - Finish the WebGL texture refactor. r=kamidphish,mattwoodrow,bz 2015-11-24 20:15:29 -08:00
Phil Ringnalda
80310b6e5c 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