Iulian Moraru
27d760c7c2
Backed out 9 changesets (bug 1771374) for causing mochitest-webgl failures. CLOSED TREE
...
Backed out changeset ded977dd1896 (bug 1771374)
Backed out changeset adeb8b7d48f9 (bug 1771374)
Backed out changeset 7767340872c5 (bug 1771374)
Backed out changeset 33282b4ffaae (bug 1771374)
Backed out changeset 75db498cd0e7 (bug 1771374)
Backed out changeset 70035903ea37 (bug 1771374)
Backed out changeset 7c7de0fb66e1 (bug 1771374)
Backed out changeset 615df05e016f (bug 1771374)
Backed out changeset ac3411d21928 (bug 1771374)
2022-08-02 03:38:09 +03:00
Kelsey Gilbert
fa6e66aedd
Bug 1771374 - Support display-p3 output via DirectComposition on Windows. r=sotaro,lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D150275
2022-08-01 19:49:26 +00:00
Narcis Beleuzu
a9e7761934
Backed out 4 changesets (bug 1771374) for causing Google docs and maps rendering regressions. a=backout
...
Backed out changeset 9c65411d1843 (bug 1771374)
Backed out changeset 9f5cf953fcc8 (bug 1771374)
Backed out changeset 8b39f60971e4 (bug 1771374)
Backed out changeset ef52a6c462b6 (bug 1771374)
2022-07-14 00:43:56 +03:00
Kelsey Gilbert
8eb05ff04b
Bug 1771374 - Support display-p3 output via DirectComposition on Windows. r=sotaro,lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D150275
2022-07-12 23:55:50 +00:00
smolnar
3fa084ce2f
Backed out 3 changesets (bug 1771374) for causing build bustage in gfx/gl/gtest/TestColorspaces.cpp CLOSED TREE
...
Backed out changeset 4d01f260c43a (bug 1771374)
Backed out changeset fc62679f0a6c (bug 1771374)
Backed out changeset f4f12470f8b7 (bug 1771374)
2022-06-30 21:19:17 +03:00
Kelsey Gilbert
bb48a57a8a
Bug 1771374 - Support display-p3 output via DirectComposition on Windows. r=sotaro,lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D150275
2022-06-30 17:56:26 +00:00
criss
d5ece910a9
Backed out 3 changesets (bug 1771374) for causing bustages on Colorspaces.h. CLOSED TREE
...
Backed out changeset 498c27656dc3 (bug 1771374)
Backed out changeset 6f97bc39643f (bug 1771374)
Backed out changeset b4fdb70808b6 (bug 1771374)
2022-06-30 05:28:11 +03:00
Kelsey Gilbert
c4f86e2e33
Bug 1771374 - Support display-p3 output via DirectComposition on Windows. r=sotaro,lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D150275
2022-06-29 23:38:22 +00:00
criss
efb5f18b59
Backed out 3 changesets (bug 1771374) for causing build bustages on GLBlitHelper.cpp. CLOSED TREE
...
Backed out changeset 71d40a0a3c9c (bug 1771374)
Backed out changeset 6a42df6834fe (bug 1771374)
Backed out changeset be888d0fd0bf (bug 1771374)
2022-06-30 01:12:46 +03:00
Kelsey Gilbert
bad5d9146c
Bug 1771374 - Support display-p3 output via DirectComposition on Windows. r=sotaro,lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D150275
2022-06-29 21:48:52 +00:00
sotaro
4f8549101c
Bug 1766282 - Do not use SharedHandle of ID3D11Texture2D of hardware decoded video during no video copy r=jgilbert,jrmuizel,gfx-reviewers
...
With CI's NVIDIA GPU, SharedHandle of ID3D11Texture2D of hardware decoded video during no video copy caused rendering problem. When SharedHandle is not used, the rendering problem did not happen. But when video is rendered to WebGL texture, SharedHandle need to be used.
In this case, D3D11TextureIMFSampleImage copies original ID3D11Texture2D to a new ID3D11Texture2D and use a shared handled of the copied texture. And no video copy of future video frames are disabled.
NoCopyNV12Texture is renamed to ZeroCopyNV12Texture to clarify its meaning.
Differential Revision: https://phabricator.services.mozilla.com/D144598
2022-05-20 04:37:53 +00:00
sotaro
33ec38c192
Bug 1757698 - Add D3D11TextureIMFSampleImage and array index handling to D3D11TextureData r=jgilbert,gfx-reviewers,jrmuizel
...
This is a preparation of Bug 1723207.
D3D11TextureIMFSampleImage is used for storing ID3D11Texture2D of IMFSample. Array index handling is added, since there are cases that hardware decoder uses array texture. D3D11TextureIMFSampleImage is expected to be used in GPU process.
Differential Revision: https://phabricator.services.mozilla.com/D140017
2022-03-03 02:30:28 +00:00
Jeff Gilbert
d517313a40
Bug 1697670 - Remove gfx::YUVColorSpace::UNKNOWN. r=mstange
...
Replace with Maybe<YUVColorSpace> where still needed.
Differential Revision: https://phabricator.services.mozilla.com/D107938
2021-03-19 00:58:23 +00:00
Csoregi Natalia
e0c536d241
Backed out changeset f155cf6af343 (bug 1697670) for bustage on gfxUtils.cpp. CLOSED TREE
2021-03-17 02:41:15 +02:00
Jeff Gilbert
7d9b571b77
Bug 1697670 - Remove gfx::YUVColorSpace::UNKNOWN. r=mstange
...
Replace with Maybe<YUVColorSpace> where still needed.
Differential Revision: https://phabricator.services.mozilla.com/D107938
2021-03-16 23:25:54 +00:00
Jeff Gilbert
a824ab4d81
Bug 1656034 - Support multiple EglDisplays per GLLibraryEGL. r=lsalzman,sotaro,stransky
...
Have webrender use its own EGLDisplay, letting WebGL use a different
one.
Differential Revision: https://phabricator.services.mozilla.com/D85496
2020-08-07 07:14:46 +00:00
Mihai Alexandru Michis
639b2bd075
Backed out changeset f1f10f791e99 (bug 1656034) for causing bustages in DMABufSurface.cpp
...
CLOSED TREE
2020-08-07 02:36:33 +03:00
Jeff Gilbert
b5d6906473
Bug 1656034 - Support multiple EglDisplays per GLLibraryEGL. r=lsalzman,sotaro,stransky
...
Have webrender use its own EGLDisplay, letting WebGL use a different
one.
Differential Revision: https://phabricator.services.mozilla.com/D85496
2020-08-06 22:53:53 +00:00
Mihai Alexandru Michis
4719cf3e7d
Backed out changeset 06538f141210 (bug 1656034) for causing bustages in GLContextProviderEGL.cpp
...
CLOSED TREE
2020-08-07 00:19:32 +03:00
Jeff Gilbert
78c66237bb
Bug 1656034 - Support multiple EglDisplays per GLLibraryEGL. r=lsalzman,sotaro,stransky
...
Have webrender use its own EGLDisplay, letting WebGL use a different
one.
Differential Revision: https://phabricator.services.mozilla.com/D85496
2020-08-06 19:56:43 +00:00
Jeff Gilbert
a97c615de2
Bug 1632249 - Support compositing out-of-process WebGL. r=handyman,lsalzman,nical,geckoview-reviewers,agi,imanol
...
* Majorly simplity CanvasRenderer
* Replace GLScreenBuffer with trivial GLSwapChain
* Use descriptor structs so that future SharedSurface changes aren't so painful
to propagate
* Mortgage/strip out more OffscreenCanvas code for now
Differential Revision: https://phabricator.services.mozilla.com/D75055
2020-06-15 18:25:55 +00:00
Dorel Luca
255f146f14
Backed out 7 changesets (bug 1632249) for Gtest perma chrash in [@ mozilla::BlockingResourceBase::CheckAcquire()]. CLOSED TREE
...
Backed out changeset 4ff99aab3ee8 (bug 1632249)
Backed out changeset d5b7fe789001 (bug 1632249)
Backed out changeset 64fbb616a0f3 (bug 1632249)
Backed out changeset 6f19f43e0a0b (bug 1632249)
Backed out changeset 073302d26c5e (bug 1632249)
Backed out changeset 7c94d37c446e (bug 1632249)
Backed out changeset 204b899f436d (bug 1632249)
2020-06-11 19:44:20 +03:00
Jeff Gilbert
cf3c8fedea
Bug 1632249 - Support compositing out-of-process WebGL. r=handyman,lsalzman,nical,geckoview-reviewers,agi,imanol
...
* Majorly simplity CanvasRenderer
* Replace GLScreenBuffer with trivial GLSwapChain
* Use descriptor structs so that future SharedSurface changes aren't so painful
to propagate
* Mortgage/strip out more OffscreenCanvas code for now
Differential Revision: https://phabricator.services.mozilla.com/D75055
2020-06-11 06:37:35 +00:00
Mihai Alexandru Michis
59ad7ed333
Backed out 6 changesets (bug 1632249) for causing bustages in CanvasRenderingContext2D.cpp
...
CLOSED TREE
Backed out changeset c93972b05d4f (bug 1632249)
Backed out changeset 04f5127c85d5 (bug 1632249)
Backed out changeset b15d91e64a25 (bug 1632249)
Backed out changeset 71ad2ed8e9ba (bug 1632249)
Backed out changeset 6e9a89ead3a5 (bug 1632249)
Backed out changeset dd00e2da3a0f (bug 1632249)
2020-06-11 02:43:35 +03:00
Jeff Gilbert
9b09e54345
Bug 1632249 - Support compositing out-of-process WebGL. r=handyman,lsalzman,nical,geckoview-reviewers,agi,imanol
...
* Majorly simplity CanvasRenderer
* Replace GLScreenBuffer with trivial GLSwapChain
* Use descriptor structs so that future SharedSurface changes aren't so painful
to propagate
* Mortgage/strip out more OffscreenCanvas code for now
Differential Revision: https://phabricator.services.mozilla.com/D75055
2020-06-10 22:21:02 +00:00
Dorel Luca
7289b66d6f
Backed out 4 changesets (bug 1632249) for Build bustages and mda failures. CLOSED TREE
...
Backed out changeset cdaa8a4e9e36 (bug 1632249)
Backed out changeset 9ff26bcc580c (bug 1632249)
Backed out changeset 16d84439756f (bug 1632249)
Backed out changeset bbfe23c61add (bug 1632249)
2020-06-09 03:19:48 +03:00
Jeff Gilbert
de6377896c
Bug 1632249 - Support compositing out-of-process WebGL. r=handyman,lsalzman,nical,geckoview-reviewers,agi,imanol
...
* Majorly simplity CanvasRenderer
* Replace GLScreenBuffer with trivial GLSwapChain
* Use descriptor structs so that future SharedSurface changes aren't so painful
to propagate
* Mortgage/strip out more OffscreenCanvas code for now
Differential Revision: https://phabricator.services.mozilla.com/D75055
2020-06-08 20:34:15 +00:00
Jean-Yves Avenard
c4def0fb6f
Bug 1543359 - P7. Plumb YUV Color Range info in Windows' Image types. r=mattwoodrow
...
Still non-functional.
Differential Revision: https://phabricator.services.mozilla.com/D27214
--HG--
extra : moz-landing-system : lando
2019-07-26 08:45:30 +00:00
Narcis Beleuzu
e84980d8b1
Backed out 15 changesets (bug 1543359) for wrench bustages on image.rs . CLOSED TREE
...
Backed out changeset 548006270186 (bug 1543359)
Backed out changeset c9585e9d9f3c (bug 1543359)
Backed out changeset 1c7ca95a2a9b (bug 1543359)
Backed out changeset d742d80b892f (bug 1543359)
Backed out changeset 210eee703fd9 (bug 1543359)
Backed out changeset 4eb933d55d88 (bug 1543359)
Backed out changeset fb9b71ed9f4b (bug 1543359)
Backed out changeset 98b968443458 (bug 1543359)
Backed out changeset a85bd4691bea (bug 1543359)
Backed out changeset b576317853e9 (bug 1543359)
Backed out changeset 095bca5c9b1a (bug 1543359)
Backed out changeset 48eb0ebf9f2e (bug 1543359)
Backed out changeset b22b0eb708b8 (bug 1543359)
Backed out changeset 52187d9320b1 (bug 1543359)
Backed out changeset fa6792c1c2e8 (bug 1543359)
2019-07-26 11:40:33 +03:00
Jean-Yves Avenard
e6eb3464df
Bug 1543359 - P7. Plumb YUV Color Range info in Windows' Image types. r=mattwoodrow
...
Still non-functional.
Differential Revision: https://phabricator.services.mozilla.com/D27214
--HG--
extra : moz-landing-system : lando
2019-07-26 06:13:44 +00:00
Cosmin Sabou
ae7e8fbf55
Backed out 14 changesets (bug 1543359) for causing build bustages. CLOSED TREE
...
Backed out changeset 87c99ef85813 (bug 1543359)
Backed out changeset cd0afc5758ba (bug 1543359)
Backed out changeset 101ac87ff017 (bug 1543359)
Backed out changeset 348e748e3451 (bug 1543359)
Backed out changeset d9e937f5caf4 (bug 1543359)
Backed out changeset 2f4eb6501552 (bug 1543359)
Backed out changeset 0d316ef8c668 (bug 1543359)
Backed out changeset bf238b58c694 (bug 1543359)
Backed out changeset 496f206d03d6 (bug 1543359)
Backed out changeset 7c3a1f23baa8 (bug 1543359)
Backed out changeset 90fff717198b (bug 1543359)
Backed out changeset b2ce591ca398 (bug 1543359)
Backed out changeset a63968f077e3 (bug 1543359)
Backed out changeset ca660ab1e0c1 (bug 1543359)
2019-07-26 07:39:11 +03:00
Jean-Yves Avenard
9d741696fe
Bug 1543359 - P7. Plumb YUV Color Range info in Windows' Image types. r=mattwoodrow
...
Still non-functional.
Differential Revision: https://phabricator.services.mozilla.com/D27214
--HG--
extra : moz-landing-system : lando
2019-07-22 08:04:54 +00:00
Jeff Gilbert
98d7f04ed2
Bug 1559524 - Reduce calls to GLLibraryEGL::Get(). r=lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D35103
--HG--
extra : moz-landing-system : lando
2019-06-15 05:21:12 +00:00
Jean-Yves Avenard
1dc7e8e498
Bug 1540581 - P11. Handle colorspace correctly with D3D11 images. r=mattwoodrow,nical
...
Differential Revision: https://phabricator.services.mozilla.com/D26466
--HG--
extra : moz-landing-system : lando
2019-04-11 12:38:49 +00:00
Ryan Hunt
85ff4bdc33
Bug 1523969 part 8 - Move method definition inline comments to new line in 'gfx/'. r=kats
...
Differential Revision: https://phabricator.services.mozilla.com/D21108
--HG--
extra : rebase_source : 48a4586f507891f3a2f0f970e9b9a0b15f0f3d61
2019-02-25 16:07:19 -06:00
sotaro
d85d8a3b57
Bug 1516787 - Add GLContextEGL::OnMarkDestroyed() r=jgilbert
2019-01-11 09:04:26 +09:00
sotaro
48c2b78e0f
Bug 1493497 - Clear EGLSurfaceOverride correctly in SharedSurface_ANGLEShareHandle r=jgilbert
2018-12-27 17:00:59 +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
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
Ehsan Akhgari
ca162bee20
Bug 1508472 - Part 4: Fourth 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/D13193
--HG--
extra : moz-landing-system : lando
2018-11-28 09:16:55 +00:00
Gerald Squelart
3627ef71ac
Bug 1488701 - Remove misleading std::move's - r=froydnj
...
Doing std::move when returning/assigning a local or temporary object is
preventing the compiler from performing copy elision.
Differential Revision: https://phabricator.services.mozilla.com/D5019
--HG--
extra : moz-landing-system : lando
2018-09-06 08:28:34 +00:00
Dorel Luca
bfb495d592
Backed out changeset 2e439c0a6934 (bug 1488701) for build bustage. CLOSED TREE
2018-09-05 15:09:37 +03:00
Gerald Squelart
87eed890a4
Bug 1488701 - Remove misleading std::move's - r=froydnj
...
Doing std::move when returning/assigning a local or temporary object is
preventing the compiler from performing copy elision.
In the case of UniquePtr, it's easier to `return MakeUnique<T>(...)` instead of
the move verbose `UniquePtr<T> r(new T(...)); return r;`
Differential Revision: https://phabricator.services.mozilla.com/D5019
--HG--
extra : moz-landing-system : lando
2018-09-05 11:41:07 +00:00
Jeff Gilbert
6089f7eebc
Bug 1475010 - Also, assert in DEBUG if we don't get a KeyedMutex. - r=kvark
...
Disableable via env var.
Differential Revision: https://phabricator.services.mozilla.com/D2276
--HG--
extra : moz-landing-system : lando
2018-07-23 20:48:51 +00:00
sotaro
623f090649
Bug 1451183 - Make EGLLibrary destroyable r=jgilbert
2018-06-04 11:09:29 +09: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
sotaro
f2f0ff199d
Bug 1463340 - Add error log to CreatePBufferSurface() r=jrmuizel
2018-05-23 10:27:43 +09:00
Matt Woodrow
55f506db9f
Bug 1281456 - Decouple TextureForwarder and CompositableForwarder. r=gw280
2016-09-27 16:22:20 +13:00
Sotaro Ikeda
1ff245b181
Bug 1259571 - Reduce tearing with basic layers on Windows r=dvander
...
--HG--
rename : gfx/thebes/DeviceManagerD3D11.cpp => gfx/thebes/DeviceManagerDx.cpp
rename : gfx/thebes/DeviceManagerD3D11.h => gfx/thebes/DeviceManagerDx.h
2016-08-23 15:18:55 -07:00
Carsten "Tomcat" Book
90f6c2d3fd
Backed out changeset 02d76f158f3d (bug 1259571) for talos xperf regressions
...
--HG--
rename : gfx/thebes/DeviceManagerDx.cpp => gfx/thebes/DeviceManagerD3D11.cpp
rename : gfx/thebes/DeviceManagerDx.h => gfx/thebes/DeviceManagerD3D11.h
2016-08-08 11:53:51 +02:00