Граф коммитов

21 Коммитов

Автор SHA1 Сообщение Дата
sotaro 4468bf18dd Bug 1428272 - Handle ExternalImage lock failure r=nical 2018-01-11 21:20:53 +09:00
sotaro 9de91656bc Bug 1424747 - Call eglDestroyStreamKHR during deleting EGLStreamKHR r=jgilbert 2018-01-10 14:11:03 +09:00
Kartikaya Gupta 0e8b7ffc89 Bug 1423205 - Fix typo causing leaks to be reported. r=jerry
MozReview-Commit-ID: 8wJNEwFEur0

--HG--
extra : rebase_source : 84def2f9a958a97bc876eda6bacd494a80ac0aba
2017-12-05 11:27:27 -05:00
sotaro 5988aed34a Bug 1421939 - Fix RenderDXGIYCbCrTextureHostOGL::GetSize() r=nical 2017-11-30 21:30:35 +09:00
JerryShih 81f7ebd06b Bug 1415754 - try to use egl stream instead of CreatePbufferFromClientBuffer() for d3d rgb format texture. r=jgilbert
MozReview-Commit-ID: Bydbxtx3oGU
2017-11-28 20:04:00 +08:00
JerryShih f0fef8ac17 Bug 1415754 - check the mHandle status before using in RenderDXGITextureHostOGL::EnsureLockable(). r=jgilbert
MozReview-Commit-ID: AkyStTSjS8F
2017-11-28 20:04:00 +08:00
JerryShih de06fec4cc Bug 1415754 - check the surface status before use in RenderDXGITextureHostOGL::EnsureLockable(). r=jgilbert
MozReview-Commit-ID: 4e0lyXsVOgT
2017-11-28 20:04:00 +08:00
Sebastian Hengst f07fc93141 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 4PW6ESqLL73
2017-10-30 23:52:23 +01:00
Andrew Osmond 2f8b457e1e Bug 1331944 - Part 3. Refactor mozilla::wr::LockExternalImage to make it easier to add new types. r=jrmuizel 2017-10-30 13:10:29 -04:00
Daniel Holbert 126bd9e1a4 Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel
This patch was generated automatically by the "modeline.py" script, available
here: https://github.com/amccreight/moz-source-tools/blob/master/modeline.py

For every file that is modified in this patch, the changes are as follows:
 (1) The patch changes the file to use the exact C++ mode lines from the
     Mozilla coding style guide, available here:
https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Coding_Style#Mode_Line

 (2) The patch deletes any blank lines between the mode line & the MPL
     boilerplate comment.

 (3) If the file previously had the mode lines and MPL boilerplate in a
     single contiguous C++ comment, then the patch splits them into
     separate C++ comments, to match the boilerplate in the coding style.

MozReview-Commit-ID: 77D61xpSmIl

--HG--
extra : rebase_source : c6162fa3cf539a07177a19838324bf368faa162b
2017-10-27 16:10:06 -07:00
Coroiu Cristina dfaf24241e Backed out changeset 7e1da430d9f9::7c56a10468d7 (bug 1331944) for bustage on Android at gfx/layers/ipc/SharedSurfacesParent.cpp r=backout on a CLOSED TREE
Backed out changeset 7c56a10468d7 (bug 1331944)
Backed out changeset b77eb1c48b73 (bug 1331944)
Backed out changeset 50b1fcf13fba (bug 1331944)
Backed out changeset 56e6ab347bae (bug 1331944)
Backed out changeset 5bdfda0b0b3a (bug 1331944)
Backed out changeset 40ec55507394 (bug 1331944)
Backed out changeset 83cc1f67e9f7 (bug 1331944)
Backed out changeset 7e1da430d9f9 (bug 1331944)
2017-10-30 15:52:07 +02:00
Andrew Osmond c69759053e Bug 1331944 - Part 3. Refactor mozilla::wr::LockExternalImage to make it easier to add new types. r=jrmuizel 2017-10-30 09:10:44 -04:00
Sylvestre Ledru d60d69e2cb Bug 1411001 - Remove the +x permissions on cpp & h files r=froydnj
MozReview-Commit-ID: DjDkL20wRg0

--HG--
extra : rebase_source : a343d83d1f4e97e4ba56d0f57fec93079df0b5ea
2017-10-23 20:59:55 +02:00
JerryShih 8080b60c82 Bug 1407618 - add more gl texture creation checking for RenderDXGITexture. r=jgilbert
1. dxgi shared texture handle.
2. ANGLE_d3d_share_handle_client_buffer ext.

MozReview-Commit-ID: 5rl44QOvW4r
2017-10-20 08:45:55 -04:00
sotaro 2c90b0f880 Bug 1404232 - Add mGL->MakeCurrent() calling in SetGLContext() r=jrmuizel 2017-10-19 13:03:28 +09:00
Tom Ritter f49999833d Bug 1406380 Fix -Wreorder warnings r=njn
MozReview-Commit-ID: 7Zh2pvAMpXR

--HG--
extra : rebase_source : 5052112ad66a66cd2974c4140c3fd430dcaa3adc
2017-10-09 01:36:36 -05:00
JerryShih b28fabcbf6 Bug 1388240 - use EGL stream to support d3d11 A8 format texture. r=jgilbert
For DXGIYCbCrTextureHostD3D11, gecko use 3 separated d3d11 A8 textures
to represent the Y, Cb and Cr data. This patch try to use EGL stream to
convert the d3d11 texture to gl handle. Then, WR could use the converted
gl handle to show the video data without buffer copy operation.

MozReview-Commit-ID: C9w9rzufTOj
2017-09-28 21:43:01 +08:00
JerryShih 39ce3036af Bug 1388240 - turn to use TextureExternalHandle in DXGIYCbCrTextureHostD3D11. r=nical
Create a new type RenderDXGIYCbCrTextureHostOGL for planar-ycbcr format in WR.
That type could convert the 3 d3d11-a8 textures into gl handles. Then, WR could
draw the gl handles directly.

MozReview-Commit-ID: 1CIQO4p8u30
2017-09-28 21:43:01 +08:00
sotaro ac34705d9c Bug 1395110 - Remove ScopedBindTextureUnit from RenderDXGITextureHostOGL::EnsureLockable() r=nical 2017-08-30 21:29:48 +09:00
JerryShih 54c85f4bbb Bug 1357299 - P4: Get the gl handle from d3d shared texture handle. v2. r=jgilbert
MozReview-Commit-ID: F4mPCALj1OY
2017-08-07 18:15:22 +08:00
JerryShih f488575a07 Bug 1357299 - P3: Support DXGI texture type for WR. v2. r=nical
Create the corresponding RenderTextureHost type and WR commands for DXGI texture type.

The DXGITextureHostD3D11 will use 1 or 2 image keys for non-nv12 and nv12 texture format.

The DXGIYCbCrTextureHostD3D11 is a special case. The WR uses ANGLE in windows platform,
but the ANGLE doesn't support A8 format directx texture directly. So, we use libyuv to
convert the DXGIYCbCrTextureHostD3D11 texture buffer into RGBA format buffer and use
WR::AddImage() for that image. This is a slow code path. We will refine this case later.

The whole RenderD3D11TextureHostOGL implementation is in the next patch.

MozReview-Commit-ID: F4mPCALj1OY
2017-08-07 18:15:22 +08:00