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

1740 Коммитов

Автор SHA1 Сообщение Дата
Daosheng Mu d0d62fa8bb Bug 1404518 - Return when OpenSharedTexture is false; r=jgilbert
MozReview-Commit-ID: EIChMhAt5Hk

--HG--
extra : rebase_source : de17ac94919dc85bb0c0162c76b5103b87e73a4e
2017-10-02 14:32:07 +08:00
Jeff Gilbert c05dfaa988 Bug 1403798 - Fix EXT_sRGB activation, particularly on Windows+ANGLE+ES2. - r=daoshengmu
MozReview-Commit-ID: 9gC3B1jsX5I
2017-09-28 10:29:01 -07:00
sotaro afe9dcf6ff Bug 1403049 - Remove EGLImageImage r=snorp 2017-09-27 09:56:38 +09:00
Wes Kocher a341b32d06 Merge autoland to central, a=merge
MozReview-Commit-ID: 8B7y2ULc04
2017-09-26 17:11:14 -07:00
Tom Ritter b41a3f8520 Bug 1402370 _uuidof is a Microsoft specific extension while IID_* is a portable solution that will fix the MinGW build of GLBlitHelperD3D.cpp r=jrmuizel
MozReview-Commit-ID: 1FfQRZ5e5XG

--HG--
extra : rebase_source : 8e203dcadd5088687d62a16006d8fc3d7b781ec1
2017-09-22 11:10:43 -05:00
Tom Ritter e485aa7144 Bug 1402370 nullptr cannot be cast to bool, so return false instead of nullptr in GLBlitHelperD3D.cpp r=jrmuizel
MozReview-Commit-ID: EeboZBGD0Es

--HG--
extra : rebase_source : d339355bf5ffd6aa6d8e98f8a5c7ab4e3ec436cf
2017-09-22 11:10:04 -05:00
sotaro 8c6ed26316 Bug 1402767 - Enable accleleration of GLScreenBuffer when WebRender is enabled r=jgilbert 2017-09-26 13:15:36 +09:00
sotaro c41f9edbea Bug 1366700 - Remove MOZ_CRASH in GLContextEGLFactory::Create r=jgilbert 2017-09-19 11:26:31 +09:00
Jeff Gilbert 3f6254c645 Bug 1396704 - Remove assert, which was the whole point of this bug.
MozReview-Commit-ID: HB5p6Kt0zTb
2017-09-18 14:40:22 -07:00
Jeff Gilbert 607fb42383 Bug 1396521 - Check that we have ANGLE exts for blitting from d3d. - r=daoshengmu
MozReview-Commit-ID: 3eto0R2Cjwa
2017-09-05 20:27:16 -07:00
Jeff Gilbert dc84c31d74 Bug 1396704 - Support GLBlitHelper without VAOs. - r=daoshengmu
MozReview-Commit-ID: HB5p6Kt0zTb
2017-09-05 19:05:23 -07:00
Jeff Gilbert fd8d97161e Bug 1322746 - Fix android blitting. - r=daoshengmu
MozReview-Commit-ID: F9qm5XtPUoE
2017-09-02 21:52:28 -07:00
Jeff Gilbert daa61bbdbe Bug 1322746 - Explicitly reject D3D9_RGB32_TEXTURE for fast blitting.
MozReview-Commit-ID: JA683emuAzX
2017-09-02 21:52:25 -07:00
Jeff Gilbert 2079c15795 Bug 1322746 - Add extern decls for DrawBlitProg::Key. - r=daoshengmu
MozReview-Commit-ID: CZSOmThJSbj
2017-09-02 21:52:22 -07:00
Jeff Gilbert 62f11c8d02 Bug 1322746 - Support blit from IOSurfaces. - r=mattwoodrow
MozReview-Commit-ID: K4aHyOjQXfP
2017-09-02 21:52:19 -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
Phil Ringnalda 72a1482137 Backed out 14 changesets (bug 1322746) for unexpected passes on Win8
Backed out changeset a10fcb139377 (bug 1322746)
Backed out changeset 992b2173bda7 (bug 1322746)
Backed out changeset 88a28c4ebc6b (bug 1322746)
Backed out changeset c5bd6bbf5653 (bug 1322746)
Backed out changeset 882cd05b7064 (bug 1322746)
Backed out changeset 87e7f25a089c (bug 1322746)
Backed out changeset 2ed5b75a6f5e (bug 1322746)
Backed out changeset 6d1dd5775850 (bug 1322746)
Backed out changeset b97bb7a2e555 (bug 1322746)
Backed out changeset ab8352ffd2ca (bug 1322746)
Backed out changeset a4901ec3c327 (bug 1322746)
Backed out changeset 61c7478af98c (bug 1322746)
Backed out changeset b202e9377e24 (bug 1322746)
Backed out changeset cf739e7c76b8 (bug 1322746)

MozReview-Commit-ID: CesCbY4ABvS
2017-09-01 22:28:49 -07:00
Jeff Gilbert 0a7d25ea13 Bug 1394265 - Don't allow GL version <200. - r=daoshengmu
MozReview-Commit-ID: 8wD8uHFc5kY
2017-09-01 14:30:04 -07:00
Jeff Gilbert 22800b6a58 Bug 1322746 - Fix android blitting. - r=daoshengmu
MozReview-Commit-ID: F9qm5XtPUoE
2017-09-01 13:58:18 -07:00
Jeff Gilbert b33308d9bd Bug 1322746 - Explicitly reject D3D9_RGB32_TEXTURE for fast blitting.
MozReview-Commit-ID: JA683emuAzX
2017-09-01 13:58:15 -07:00
Jeff Gilbert b77be51696 Bug 1322746 - Add extern decls for DrawBlitProg::Key. - r=daoshengmu
MozReview-Commit-ID: CZSOmThJSbj
2017-09-01 13:58:12 -07:00
Jeff Gilbert 2c16addde7 Bug 1322746 - Support blit from IOSurfaces. - r=mattwoodrow
MozReview-Commit-ID: K4aHyOjQXfP
2017-09-01 13:58:10 -07:00
Jeff Gilbert 31ed61899f Bug 1322746 - Support PLANAR_YCBCR, GPU_VIDEO, and D3D11_YCBCR_IMAGE in GLBlitHelper. - r=jerry
MozReview-Commit-ID: FNsmq0RPvYB
2017-09-01 13:58:07 -07:00
sotaro 4c5bdeeb2e Bug 1395417 - Fix as star against type r=jgilbert 2017-08-31 16:25:48 +09:00
sotaro b2afc6658c Bug 1395417 - Expose eglCreateDeviceANGLE and eglReleaseDeviceANGLE r=jgilbert 2017-08-31 15:57:45 +09:00
Randall Barker 687d31efab Bug 1382292 - Revert PLANAR_YCBCR case in GLBlitHelper.cpp on Android so that when a canvas uses a video frame as source, it is not flipped r=kvark
MozReview-Commit-ID: 1RZ5G1vkB7U
2017-08-17 12:02:17 -07:00
Ami 5618882599 Bug 1388531 - Remove stubbed out B2G only functions. r=jgilbert 2017-08-13 23:14:00 -04:00
Jeff Gilbert eaba18bebc Bug 1388565 - shader_texture_lod is core in GL3 and ES3. - r=daoshengmu
MozReview-Commit-ID: IbqRF4MdK2l
2017-08-15 16:52:38 -07:00
Jeff Gilbert cfccc12f18 Bug 1388565 - Fix WEBGL_compressed_texture_s3tc_srgb driver requirements. - r=daoshengmu
MozReview-Commit-ID: 5k7m1ebzlCx
2017-08-15 16:52:35 -07:00
Milan Sreckovic e3cd0a3157 Bug 1387514: Upgrade BaseRect (derived classes) width and height direct member variable use to instead use Width()/SetWidth() and Height()/SetHeight() in .cpp files in gfx/*. r=milan
MozReview-Commit-ID: 1jESowJKdyp

--HG--
extra : rebase_source : 3839cdea46729a9af05c777215cffcb9f42a2018
2017-08-14 08:29:28 -04:00
Sylvestre Ledru 8382a92592 Bug 1387002 - Replace .size() by .empty() when applicable in gfx/ r=nical
MozReview-Commit-ID: BIrMZHj6BBZ

--HG--
extra : rebase_source : df064bc9628d3a78c153f2455fa4861a95abca8e
2017-08-03 12:02:35 +02:00
Eric Rahm fe18bf0131 Bug 1386825 - Part 4: Remove remaining instances of MOZ_B2G. r=froydnj
MozReview-Commit-ID: 8r4eMwiZ4Vg
2017-08-08 14:41:09 -07:00
JerryShih 0081892f19 Bug 1357299 - P1-1: Fix the wrong return value for DestroyStreamKHR(). r=jgilbert
MozReview-Commit-ID: 4OMHJka03Kd
2017-08-07 18:15:21 +08:00
JerryShih 866d845e94 Bug 1357299 - P1: Fix the wrong ext string for QueryDisplayAttribEXT. v2. r=jgilbert
MozReview-Commit-ID: 3lZG2GrxXHF
2017-08-07 18:15:21 +08:00
Randall Barker 844ff5f090 Bug 1380843 - Add gfx preference so GLScreenBuffer may be toggled between SurfaceFactory_EGLImage and SurfaceFactory_SurfaceTexture r=jgilbert
MozReview-Commit-ID: E6YOeIqo4UK
2017-08-02 17:09:38 -07:00
Randall Barker 96a2116ce5 Bug 1370544 - Ensure EGLSurface is created with the same EGLConfig as the context r=jgilbert
MozReview-Commit-ID: 1cN7VzCa2lV
2017-08-02 17:09:37 -07:00
Nicholas Nethercote 72c884bf74 Bug 1384835 (part 3, attempt 2) - Remove the Preferences::Get*CString() variants that return nsAdoptingCString. r=froydnj.
--HG--
extra : rebase_source : d317b25be2ec21d1a60d25da3689e46cdce0b649
2017-07-31 14:28:48 +10:00
Nicolas Silva 24239ea4f0 Bug 13821850 - Return false in GLContext::Readback if MakeCurrent failed. r=jgilbert 2017-07-24 12:24:18 +02:00
Nicolas Silva bda3e29a75 Bug 1382185 - Check the status of MakeCurrent in GLContext.cpp. r=jgilbert 2017-07-24 12:24:14 +02:00
Sylvestre Ledru 7c0ae251cd Bug 1381253 - Remove redundant control flow declarations rs=ehsan
MozReview-Commit-ID: FFxP4aMCbOL

--HG--
extra : amend_source : 3aec108430b11048f47ffe19d5da7ac5034770a9
2017-07-15 19:03:04 +02:00
Samuel Vargas cf725b7488 Bug 1367613 - Track and spew synchronous/blocking GL call counts. r=jgilbert 2017-07-13 14:26:00 -04:00
Samuel Vargas 9140fdd298 Bug 1378571 - Avoid unnecessary MakeCurrentImpl calls when GL context is already current - r=jgilbert 2017-07-07 16:16:00 +02:00
Nicholas Nethercote 58786e1ea7 Bug 1375392 - Tweak the PROFILER_LABEL* macros. r=mstange.
This patch makes the following changes to the macros.

- Removes PROFILER_LABEL_FUNC. It's only suitable for use in functions outside
  classes, due to PROFILER_FUNCTION_NAME not getting class names, and it was
  mostly misused.

- Removes PROFILER_FUNCTION_NAME. It's no longer used, and __func__ is
  universally available now anyway.

- Combines the first two string literal arguments of PROFILER_LABEL and
  PROFILER_LABEL_DYNAMIC into a single argument. There was no good reason for
  them to be separate, and it forced a '::' in the label, which isn't always
  appropriate. Also, the meaning of the "name_space" argument was interpreted
  in an interesting variety of ways.

- Adds an "AUTO_" prefix to PROFILER_LABEL and PROFILER_LABEL_DYNAMIC, to make
  it clearer they construct RAII objects rather than just being function calls.
  (I myself have screwed up the scoping because of this in the past.)

- Fills in the 'js::ProfileEntry::Category::' qualifier within the macro, so
  the caller doesn't need to. This makes a *lot* more of the uses fit onto a
  single line.

The patch also makes the following changes to the macro uses (beyond those
required by the changes described above).

- Fixes a bunch of labels that had gotten out of sync with the name of the
  class and/or function that encloses them.

- Removes a useless PROFILER_LABEL use within a trivial scope in
  EventStateManager::DispatchMouseOrPointerEvent(). It clearly wasn't serving
  any useful purpose. It also serves as extra evidence that the AUTO_ prefix is
  a good idea.

- Tweaks DecodePool::SyncRunIf{Preferred,Possible} so that the labelling is
  done within them, instead of at their callsites, because that's a more
  standard way of doing things.

--HG--
extra : rebase_source : 318d1bc6fc1425a94aacbf489dd46e4f83211de4
2017-06-22 17:08:53 +10:00
James Willcox 1ee305812e Bug 1370308 - Don't crash when using SkiaGL with SurfaceTexture on Android r=jgilbert
MozReview-Commit-ID: EKxBaU6SfdB
2017-06-15 10:59:01 -05:00
JerryShih 23bde0778f Bug 1372489 - Update GLConsts.h and GLDefs.h. r=jgilbert.
Get the latest gl.xml, egl.xml, wgl.xml and glx.xml.
Then, execute the |GLParseRegistryXML.py|. Please check the details in |GLParseRegistryXML.py|.

The ANGLE_stream_producer_d3d_texture_nv12 and ANGLE_keyed_mutex extension are not exist in egl.xml,
so add the "LOCAL_EGL_DXGI_KEYED_MUTEX_ANGLE" and "LOCAL_EGL_D3D_TEXTURE_SUBRESOURCE_ID_ANGLE" manually in GLDefs.h.

egl:
2e6e7ff7bf
gl, glx and wgl:
23a3a95673
2017-06-15 14:43:53 +08:00
sotaro 66b234254a Bug 1371557 - Enable depth buffer on GLContextProviderEGL for webrender r=nical 2017-06-14 19:32:04 +09:00
Bill McCloskey f9aca3eae6 Bug 1365099 - Convert NS_GetCurrentThread uses in gfx (r=dvander)
MozReview-Commit-ID: 9I4eXsBl2s8
2017-06-12 20:20:08 -07:00
Jeff Muizelaar fd0bdd7710 Bug 1371434. Use LOCAL_GLX_CONTEXT_PROFILE_MASK_ARB instead of LOCAL_GLX_CONTEXT_FLAGS_ARB. r=kvark
I'm not sure why I originally used GLX_CONTEXT_FLAGS_ARB but the spec at
https://www.khronos.org/registry/OpenGL/extensions/ARB/GLX_ARB_create_context.txt
strongly suggests using GLX_CONTEXT_PROFILE_MASK_ARB
2017-06-12 16:15:08 -04:00
dmu@mozilla.com 5a72ace401 Bug 1366941 - Checking LayersIPCChannel type when using recycled textureClient; r=nical
MozReview-Commit-ID: 94PQA67fvoJ

--HG--
extra : rebase_source : 58b07b7c5d1f7c5bac729d18842655b3c620eba4
2017-05-24 11:01:45 +00:00
Phil Ringnalda f3312efa43 Backed out changeset ca6881983573 (bug 1366941) for build bustage
CLOSED TREE

MozReview-Commit-ID: DgThUZ2RpU
2017-06-01 20:05:48 -07:00