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

1761 Коммитов

Автор SHA1 Сообщение Дата
Sebastian Hengst f3bfd1e1da Backed out changeset d6516a10c808 (bug 1322650) 2017-05-05 18:53:40 +02:00
James Willcox 9392b1227a Bug 1322650 - Adjust Android Flash support to API changes r=jchen
MozReview-Commit-ID: CmMINaGcTER
2017-05-05 08:56:36 -05:00
James Willcox f8f0fe9303 Bug 1322650 - Support a 'continuous' mode for SurfaceTexture r=jgilbert
This is needed to support Flash on Android

MozReview-Commit-ID: 5yNIoZHonla
2017-05-05 08:56:35 -05:00
James Willcox 2e6e69148c Bug 1322650 - Disable blitting from a SurfaceTexture r=jgilbert
This has been broken for a while anyway, because we
disabled SurfaceTexture detachment in most cases.

MozReview-Commit-ID: 6ysRGDNCQa0
2017-05-05 08:56:30 -05:00
James Willcox a7f7a7b630 Bug 1322650 - Use SurfaceTexture for WebGL on Android in E10S r=jgilbert
The main advantage here is that it works cross-process.

MozReview-Commit-ID: 7YUTVB4Bydg
2017-05-05 08:56:28 -05:00
James Willcox 6b95623eac Bug 1322650 - Add GeckoSurfaceTexture, GeckoSurface and associated Android Service r=jchen
This allows us to allocate an Android SurfaceTexture in the compositor process as well
as an accompanying Surface. We can then transfer the Surface back to the content process
via binder, where it can be used for things like WebGL and video decoding.

Each SurfaceTexture/Surface pair has a unique handle. We use this handle in
layer transactions to locate the SurfaceTexture for a given Surface and composite it
appropriately.

MozReview-Commit-ID: 68VSbXdfsMH
2017-05-05 08:56:27 -05:00
Jeff Gilbert 408eae60b9 Bug 1356540 - Remove unused TextureGarbageBin. - r=daoshengmu
MozReview-Commit-ID: 3EON2kNdEBh
2017-04-19 17:03:03 -07: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
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
Sotaro Ikeda d4d0425579 Bug 1323316 - Use ANGLE for WebRender on Windows. r=jrmuizel,kats
MozReview-Commit-ID: Fg5GEWNRtIu
2017-03-29 10:14:19 -04:00
Kartikaya Gupta 0fee7584e7 Merge m-c to graphics
MozReview-Commit-ID: 1rTRVEHequ9
2017-03-23 10:01:31 -04:00
Kartikaya Gupta 0a0a696241 Merge m-c to graphics
MozReview-Commit-ID: 2CbNs260zlf
2017-03-20 10:07:29 -04:00
Kartikaya Gupta 5041aa0404 Merge m-c to graphics
MozReview-Commit-ID: 6JFx7MHUHgW
2017-03-15 08:55:17 -04:00
sotaro 8f6c141289 Bug 1347443 - Fix IsAccelAngleSupported() for RenderThread r=nical 2017-03-15 21:14:17 +09:00
Jeff Gilbert 19d2cbc4c8 Bug 1339256 - Don't assert on unrecognized context reset strategy - r=daoshengmu
MozReview-Commit-ID: CITo6W0FLQS
2017-03-09 18:57:49 -08:00
Jeff Gilbert 5ef33e1ddb Bug 1339256 - Only request robustness if requested on EGL - r=daoshengmu
MozReview-Commit-ID: GlMpalFwS2U
2017-03-09 18:57:47 -08:00
Jeff Gilbert 08f8399fe5 Bug 1339256 - Double-check robustness. - r=daoshengmu
MozReview-Commit-ID: 20csUTf7q6e
2017-03-09 18:57:45 -08:00
Jeff Gilbert e63fc0df83 Bug 1339256 - Detect robust_buffer_access_behavior. - r=daoshengmu
MozReview-Commit-ID: 4w5D9bOQbY8
2017-03-09 18:57:41 -08:00
vincentliu 8b4e18d1e6 Bug 1343851 - Add nullptr check for SurfaceFactory in StartVRPresentation. r=mtseng 2017-03-10 09:30:49 +08:00
Jeff Gilbert 5b899ebc2d Bug 1345648 - Use ID3DDeviceContextState to support NV_dx_interop2 on D3D11 on AMD - r=kvark
MozReview-Commit-ID: AzUbKzQp9lT
2017-03-09 12:54:58 -08:00
Jeff Gilbert f6e6e9870e Bug 1347289 - Remove GL context sharing support except on EAGL - r=snorp
MozReview-Commit-ID: FUGSsQ9r7Bd
2017-03-14 19:59:10 -07:00
Jeff Gilbert 74573e136b Bug 1347249 - Fallback to simpler attribs on EGL context creation failure. - r=snorp
MozReview-Commit-ID: LtuhxfdVLdk
2017-03-14 14:43:52 -07:00
Jeff Gilbert a0ef36e101 Bug 1347679 - Determine ContextProfile from driver and simplify version parsing. - r=daoshengmu
MozReview-Commit-ID: 4mBdJmsxQvD
2017-03-17 17:02:01 -07:00
Kartikaya Gupta b215cfd1e1 Bug 1342450 - Rename MOZ_ENABLE_WEBRENDER to MOZ_BUILD_WEBRENDER. r=rhunt
MozReview-Commit-ID: 3GkmCJJq8et
2017-03-22 17:36:25 -04:00
Jeff Gilbert 49450a2691 Bug 1344433 - Allow GLX 1.3+glXGetProcAddressARB. - r=jrmuizel
MozReview-Commit-ID: IpjF3HXgcLy
2017-03-06 15:39:37 -08:00
Jeff Gilbert 26144d40c6 Bug 1344433 - Fix ANGLE symbol loading. - r=daoshengmu
MozReview-Commit-ID: 2lUJJ8k3AsT
2017-03-06 15:39:37 -08:00
Jeff Gilbert af80cd9f27 Bug 1344433 - Use WRAP() macros. - r=daoshengmu
MozReview-Commit-ID: 9C6tlOTNhrg
2017-03-06 15:39:36 -08:00
Jeff Gilbert 3fc6d1fc74 Bug 1344433 - Reformat. - r=daoshengmu
MozReview-Commit-ID: 8W0oGeHBYtR
2017-03-06 15:39:36 -08:00
Jeff Gilbert dc04ef02be Bug 1344433 - Require GLX 1.4 (released 2005) - r=daoshengmu
MozReview-Commit-ID: 9SJFyJqejES
2017-03-06 15:39:36 -08:00
Jeff Gilbert 7c90f8b60c Bug 1344433 - Remove HasDXInterop(), but not HasDXInterop2(). - r=daoshengmu
MozReview-Commit-ID: 9OAvDSGuyca
2017-03-06 15:39:35 -08:00
Noam Schmitt 12d4a1985e Bug 1341307 - Remove useless using declaration in SkiaGLGlue.cpp. r=nical 2017-02-21 16:30:44 +01:00
Morris Tseng 9f3085b1a8 Bug 1328493 - Expose CreatePBufferFromClientBuffer and EGL_ANGLE_d3d_share_handle_client_buffer. r=jrmuizel
MozReview-Commit-ID: JhFdwkCvIsO
2017-02-20 09:44:50 +08:00
Tom Tromey d2667a2b27 Bug 1060419 - make AppendPrintf and nsPrintfCString use Printf.h, r=froydnj
MozReview-Commit-ID: 2E8FoiNxU8L

--HG--
extra : rebase_source : 810ac727bef0751f24edea18c52e0ec170bf367d
2016-12-14 09:32:21 -07:00
Wes Kocher 017c515285 Merge inbound to m-c a=merge
MozReview-Commit-ID: IKI0zVtF1n9
2017-02-15 16:18:13 -08:00
Nathan Froyd b6b1353ae8 Bug 1338184 - remove unused GetGlobalContextWGL function; r=jgilbert
clang-cl warns about this function being unused.
2017-02-15 11:43:37 -04:00
Daniel Holbert 452a3b8454 Bug 1339609: Add #include for gfxPrefs.h to all source code that calls gfxPrefs APIs. r=jgilbert
MozReview-Commit-ID: GxWehmDYB3t

--HG--
extra : rebase_source : cd994e5c6abf777f77c5a708cbfb2f6afc49a44c
2017-02-14 14:01:59 -08:00
Sylvestre Ledru 6d3ed37df9 Bug 1338086 - Remove useless else blocks in order to reduce complexity in gfx/ r=nical
MozReview-Commit-ID: H9zZd19V4Ww

--HG--
extra : rebase_source : e0d736b23d81a9ae511fc230f01103ea772f651a
2017-02-09 13:39:27 +01:00
Jeff Gilbert 55488618eb Bug 1338740 - ScopedBindPBO should not inherit from ScopedGLWrapper<other class>. - r=daoshengmu
MozReview-Commit-ID: 7u6jSjttDxD
2017-02-13 14:11:13 -08:00
Kartikaya Gupta 7f001c6f33 Bug 1331066 - Use gfxVars instead of a compile-time flag for webrender-conditional code. r=sotaro
MozReview-Commit-ID: KEbHPXSMNRJ
2017-02-08 23:16:44 -05:00
Ryan Hunt 963025a5dd Merge m-c to graphics 2017-02-08 10:57:06 -06:00
Kartikaya Gupta bf7599ac75 Merge m-c to graphics
MozReview-Commit-ID: 8BjfShvh5gp
2017-02-03 10:39:57 -05:00
Kartikaya Gupta 21e9123c56 Merge m-c to graphics
MozReview-Commit-ID: 3tWI3srj2uj
2017-02-01 08:48:31 -05:00
Jeff Gilbert 21a1407677 Bug 1325835 - Support dx_interop on Intel. - r=jrmuizel
MozReview-Commit-ID: 7CFfmDYhYaR
2017-01-31 16:22:11 -08:00
Kartikaya Gupta 445dea068b Merge m-c to graphics
MozReview-Commit-ID: Kv6GW5ElioD
2017-01-29 08:03:30 -05:00
Kartikaya Gupta ca041b7c5a Merge m-c to graphics
MozReview-Commit-ID: FOyS87VawTT
2017-01-25 08:52:04 -05:00
kvark 050200c2b8 Bug 1330672 - Fix for the YCbCr blit origin. r=jgilbert 2017-01-18 20:10:00 -05:00
Jeff Gilbert 195cc8411d Bug 1335296 - Expand about:support WebGL information. - r=qdot,daoshengmu,jrmuizel
MozReview-Commit-ID: 166aNL6VSOa
2017-02-02 16:50:19 -08:00
Ryan Hunt fde3ae3631 Bug 1323799 - Enable creating a GLContextWGL with an OOP compositor widget. r=jrmuizel
MozReview-Commit-ID: J5DX852Kgoi
2017-01-16 17:14:45 -05:00
Kartikaya Gupta ae11d416ec Bug 1326421 - Update GL context creation code to use compositor-specific WebRender flag instead of a global pref. r=dvander
MozReview-Commit-ID: DQkGHCAxu3I
2017-01-13 15:16:52 -05:00
Kartikaya Gupta 1f97dac250 Back out 4 csets from bug 1326421 because of various test failures. r=backout 2017-01-13 17:07:59 -05:00
Kartikaya Gupta a1fc730a16 Bug 1326421 - Update GL context creation code to use compositor-specific WebRender flag instead of a global pref. r=dvander
MozReview-Commit-ID: DQkGHCAxu3I
2017-01-13 15:16:52 -05:00
JerryShih d154c247dd Bug 1329574 - enable depth-buffer for WGL gl context. r=jgilbert
MozReview-Commit-ID: ISIhJOa6CBL
2017-01-13 20:02:20 +08:00
JerryShih 0d06f1859b Bug 1329574 - try to create double-buffer for GLX gl context. r=jrmuizel?
Some FBConfigs do not have the double-buffer attribute. This patch adds one
more selection condition for the double-buffer.

MozReview-Commit-ID: 6QLpEXAi04X
2017-01-13 20:02:20 +08:00
JerryShih 00ecb7b7e6 Bug 1329574 - enable depth-buffer for GLX gl context. r=lsalzman
WebRender starts to use depth-buffer, but the default FBConfig doesn't have that.
This patch try to choose a compatible(same color bits) FBConfig with depth setting.

MozReview-Commit-ID: HgAEshdNsFs
2017-01-13 20:02:20 +08:00
JerryShih ca6059b422 Bug 1329574 - enable depth-buffer for CGL gl context. r=mchang
MozReview-Commit-ID: J1xT0xDI715
2017-01-13 20:02:20 +08:00
Randall Barker 1349e18be0 Bug 1329362 - part 9, Update GLContextProviderEGL::CreateForCompositorWidget and GLContextProviderEGL::CreateForWindow to use GLContextEGLFactory::Create for GLContext creation r=kats 2017-01-27 09:32:24 -08:00
Randall Barker aefb867c69 Bug 1329362 - part 7, Remove unused nsIWidget parameter from CreateConfig functions in GLContextProviderEGL r=kats 2017-01-27 09:32:24 -08:00
Randall Barker 7da5e28cec Bug 1329362 - part 6, Rename Android specific macro GET_JAVA_SURFACE to GET_NATIVE_WINDOW in GLContextProviderEGL r=kats 2017-01-27 09:32:24 -08:00
Randall Barker 6dbb1f7469 Bug 1329362 - part 5, Remove unused Android LOG macro r=kats 2017-01-27 09:32:24 -08:00
Randall Barker c18622c8f4 Bug 1329362 - part 4, Remove unused Windows class AutoDestroyHWND from GLContextProviderEGL r=kats 2017-01-27 09:32:24 -08:00
Randall Barker 90668218b7 Bug 1329362 - part 3, Convert GLContext::RenewSurface to use CompositorWidget in place of nsIWidget r=kats 2017-01-27 09:32:24 -08:00
Randall Barker eb415e8cf6 Bug 1329362 - part 1, Remove unused GLContextEGL::CreateSurfaceForWindow and GLContextEGL::DestroySurface functions r=kats 2017-01-27 09:32:24 -08:00
Kartikaya Gupta fe1bb32f1a Merge m-c to graphics
MozReview-Commit-ID: Oh14EA4ip9
2017-01-10 08:34:13 -05:00
Jamie Nicol e92d2ce49b Bug 1324312 - Handle alloc failure when uploading texture. r=sotaro
When GL_UNPACK_ROW_LENGTH is not supported and the source data has a
different stride to that of the texture (often because we are
uploading only the modified subimage) we allocate a temporary buffer
with the correct stride. This was found to be more efficient than
uploading each row of texture data individually.

Sometimes allocating the buffer will fail, however. In such cases fall
back to uploading the texture row-by-row, rather than aborting.

MozReview-Commit-ID: E7LE8nHPE0M

--HG--
extra : rebase_source : 5f6ddcb617d9f4730ce864722ee06f2f7c3b850e
2017-01-23 20:00:05 +00:00
Kartikaya Gupta e9061f512a Merge m-c to graphics
MozReview-Commit-ID: 2dxsxfKGsg7
2016-12-30 09:36:28 -05:00
Jeff Gilbert 6cff55278b Bug 1325733 (flattened) - Mark read/draw calls better. - r=daoshengmu
Includes:
* ANGLE needs to call clear twice even on larger targets. - r=daoshengmu
2016-12-29 02:45:13 -08:00
Kartikaya Gupta 3cae68fdd3 Merge m-c to graphics
MozReview-Commit-ID: EVRgJB0urSI
2016-12-27 09:33:52 -05:00
Jeff Gilbert cc9ce2e970 Bug 1325483 - Query DRAW_BUFFER0 from GLScreenBuffer. - r=daoshengmu
MozReview-Commit-ID: KjhbQM9B8EZ
2016-12-25 13:44:42 -08:00
Jeff Gilbert 6091cfeb6e Bug 1312865 - ClearBuffer and similar funcs should mirror Clear's behavior. - r=daoshengmu
MozReview-Commit-ID: 4Gm5aNZ1PXX
2016-12-25 13:44:26 -08:00
Kartikaya Gupta 18071e92df Merge m-c to graphics
MozReview-Commit-ID: 6XqNGxF5EiQ

--HG--
rename : dom/animation/test/css-transitions/file_csstransition-events.html => dom/animation/test/css-transitions/file_event-dispatch.html
rename : dom/animation/test/css-transitions/test_csstransition-events.html => dom/animation/test/css-transitions/test_event-dispatch.html
rename : js/src/jit/BaselineCacheIR.cpp => js/src/jit/BaselineCacheIRCompiler.cpp
rename : js/src/jit/BaselineCacheIR.h => js/src/jit/BaselineCacheIRCompiler.h
rename : testing/docker/README.md => taskcluster/docker/README.md
rename : testing/docker/REGISTRY => taskcluster/docker/REGISTRY
rename : testing/docker/android-gradle-build/Dockerfile => taskcluster/docker/android-gradle-build/Dockerfile
rename : testing/docker/android-gradle-build/README.md => taskcluster/docker/android-gradle-build/README.md
rename : testing/docker/android-gradle-build/REGISTRY => taskcluster/docker/android-gradle-build/REGISTRY
rename : testing/docker/android-gradle-build/VERSION => taskcluster/docker/android-gradle-build/VERSION
rename : testing/docker/android-gradle-build/bin/after.sh => taskcluster/docker/android-gradle-build/bin/after.sh
rename : testing/docker/android-gradle-build/bin/before.sh => taskcluster/docker/android-gradle-build/bin/before.sh
rename : testing/docker/android-gradle-build/bin/build.sh => taskcluster/docker/android-gradle-build/bin/build.sh
rename : testing/docker/android-gradle-build/bin/checkout-script.sh => taskcluster/docker/android-gradle-build/bin/checkout-script.sh
rename : testing/docker/android-gradle-build/bin/checkout-sources.sh => taskcluster/docker/android-gradle-build/bin/checkout-sources.sh
rename : testing/docker/android-gradle-build/buildprops.json => taskcluster/docker/android-gradle-build/buildprops.json
rename : testing/docker/android-gradle-build/dot-config/pip/pip.conf => taskcluster/docker/android-gradle-build/dot-config/pip/pip.conf
rename : testing/docker/android-gradle-build/oauth.txt => taskcluster/docker/android-gradle-build/oauth.txt
rename : testing/docker/base-build/Dockerfile => taskcluster/docker/base-build/Dockerfile
rename : testing/docker/base-build/VERSION => taskcluster/docker/base-build/VERSION
rename : testing/docker/base-build/system-setup.sh => taskcluster/docker/base-build/system-setup.sh
rename : testing/docker/base-test/Dockerfile => taskcluster/docker/base-test/Dockerfile
rename : testing/docker/base-test/REGISTRY => taskcluster/docker/base-test/REGISTRY
rename : testing/docker/base-test/VERSION => taskcluster/docker/base-test/VERSION
rename : testing/docker/base-test/sources.list => taskcluster/docker/base-test/sources.list
rename : testing/docker/centos6-build-upd/Dockerfile => taskcluster/docker/centos6-build-upd/Dockerfile
rename : testing/docker/centos6-build-upd/REGISTRY => taskcluster/docker/centos6-build-upd/REGISTRY
rename : testing/docker/centos6-build-upd/VERSION => taskcluster/docker/centos6-build-upd/VERSION
rename : testing/docker/centos6-build/Dockerfile => taskcluster/docker/centos6-build/Dockerfile
rename : testing/docker/centos6-build/REGISTRY => taskcluster/docker/centos6-build/REGISTRY
rename : testing/docker/centos6-build/VERSION => taskcluster/docker/centos6-build/VERSION
rename : testing/docker/centos6-build/hgrc => taskcluster/docker/centos6-build/hgrc
rename : testing/docker/centos6-build/system-setup.sh => taskcluster/docker/centos6-build/system-setup.sh
rename : testing/docker/decision/Dockerfile => taskcluster/docker/decision/Dockerfile
rename : testing/docker/decision/README.md => taskcluster/docker/decision/README.md
rename : testing/docker/decision/REGISTRY => taskcluster/docker/decision/REGISTRY
rename : testing/docker/decision/VERSION => taskcluster/docker/decision/VERSION
rename : testing/docker/decision/system-setup.sh => taskcluster/docker/decision/system-setup.sh
rename : testing/docker/desktop-build/Dockerfile => taskcluster/docker/desktop-build/Dockerfile
rename : testing/docker/desktop-build/bin/build.sh => taskcluster/docker/desktop-build/bin/build.sh
rename : testing/docker/desktop-build/bin/checkout-script.sh => taskcluster/docker/desktop-build/bin/checkout-script.sh
rename : testing/docker/desktop-build/bin/checkout-sources.sh => taskcluster/docker/desktop-build/bin/checkout-sources.sh
rename : testing/docker/desktop-build/buildprops.json => taskcluster/docker/desktop-build/buildprops.json
rename : testing/docker/desktop-build/dot-config/pip/pip.conf => taskcluster/docker/desktop-build/dot-config/pip/pip.conf
rename : testing/docker/desktop-build/oauth.txt => taskcluster/docker/desktop-build/oauth.txt
rename : testing/docker/desktop-test/Dockerfile => taskcluster/docker/desktop-test/Dockerfile
rename : testing/docker/desktop-test/apport => taskcluster/docker/desktop-test/apport
rename : testing/docker/desktop-test/buildprops.json => taskcluster/docker/desktop-test/buildprops.json
rename : testing/docker/desktop-test/deja-dup-monitor.desktop => taskcluster/docker/desktop-test/deja-dup-monitor.desktop
rename : testing/docker/desktop-test/dot-files/config/pip/pip.conf => taskcluster/docker/desktop-test/dot-files/config/pip/pip.conf
rename : testing/docker/desktop-test/dot-files/config/user-dirs.dirs => taskcluster/docker/desktop-test/dot-files/config/user-dirs.dirs
rename : testing/docker/desktop-test/dot-files/config/user-dirs.locale => taskcluster/docker/desktop-test/dot-files/config/user-dirs.locale
rename : testing/docker/desktop-test/dot-files/pulse/default.pa => taskcluster/docker/desktop-test/dot-files/pulse/default.pa
rename : testing/docker/desktop-test/fonts.conf => taskcluster/docker/desktop-test/fonts.conf
rename : testing/docker/desktop-test/jockey-gtk.desktop => taskcluster/docker/desktop-test/jockey-gtk.desktop
rename : testing/docker/desktop-test/motd => taskcluster/docker/desktop-test/motd
rename : testing/docker/desktop-test/release-upgrades => taskcluster/docker/desktop-test/release-upgrades
rename : testing/docker/desktop-test/taskcluster-interactive-shell => taskcluster/docker/desktop-test/taskcluster-interactive-shell
rename : testing/docker/desktop-test/tc-vcs-config.yml => taskcluster/docker/desktop-test/tc-vcs-config.yml
rename : testing/docker/desktop-test/tester.env => taskcluster/docker/desktop-test/tester.env
rename : testing/docker/desktop1604-test/Dockerfile => taskcluster/docker/desktop1604-test/Dockerfile
rename : testing/docker/desktop1604-test/apport => taskcluster/docker/desktop1604-test/apport
rename : testing/docker/desktop1604-test/buildprops.json => taskcluster/docker/desktop1604-test/buildprops.json
rename : testing/docker/desktop1604-test/deja-dup-monitor.desktop => taskcluster/docker/desktop1604-test/deja-dup-monitor.desktop
rename : testing/docker/desktop1604-test/dot-files/config/pip/pip.conf => taskcluster/docker/desktop1604-test/dot-files/config/pip/pip.conf
rename : testing/docker/desktop1604-test/dot-files/config/user-dirs.dirs => taskcluster/docker/desktop1604-test/dot-files/config/user-dirs.dirs
rename : testing/docker/desktop1604-test/dot-files/config/user-dirs.locale => taskcluster/docker/desktop1604-test/dot-files/config/user-dirs.locale
rename : testing/docker/desktop1604-test/dot-files/pulse/default.pa => taskcluster/docker/desktop1604-test/dot-files/pulse/default.pa
rename : testing/docker/desktop1604-test/fonts.conf => taskcluster/docker/desktop1604-test/fonts.conf
rename : testing/docker/desktop1604-test/jockey-gtk.desktop => taskcluster/docker/desktop1604-test/jockey-gtk.desktop
rename : testing/docker/desktop1604-test/motd => taskcluster/docker/desktop1604-test/motd
rename : testing/docker/desktop1604-test/release-upgrades => taskcluster/docker/desktop1604-test/release-upgrades
rename : testing/docker/desktop1604-test/taskcluster-interactive-shell => taskcluster/docker/desktop1604-test/taskcluster-interactive-shell
rename : testing/docker/desktop1604-test/tc-vcs-config.yml => taskcluster/docker/desktop1604-test/tc-vcs-config.yml
rename : testing/docker/desktop1604-test/tester.env => taskcluster/docker/desktop1604-test/tester.env
rename : testing/docker/image_builder/Dockerfile => taskcluster/docker/image_builder/Dockerfile
rename : testing/docker/image_builder/REGISTRY => taskcluster/docker/image_builder/REGISTRY
rename : testing/docker/image_builder/VERSION => taskcluster/docker/image_builder/VERSION
rename : testing/docker/image_builder/build-image.sh => taskcluster/docker/image_builder/build-image.sh
rename : testing/docker/image_builder/setup.sh => taskcluster/docker/image_builder/setup.sh
rename : testing/docker/lint/Dockerfile => taskcluster/docker/lint/Dockerfile
rename : testing/docker/lint/system-setup.sh => taskcluster/docker/lint/system-setup.sh
rename : testing/docker/recipes/centos6-build-system-setup.sh => taskcluster/docker/recipes/centos6-build-system-setup.sh
rename : testing/docker/recipes/common.sh => taskcluster/docker/recipes/common.sh
rename : testing/docker/recipes/install-mercurial.sh => taskcluster/docker/recipes/install-mercurial.sh
rename : testing/docker/recipes/run-task => taskcluster/docker/recipes/run-task
rename : testing/docker/recipes/tooltool.py => taskcluster/docker/recipes/tooltool.py
rename : testing/docker/recipes/ubuntu1204-test-system-setup.sh => taskcluster/docker/recipes/ubuntu1204-test-system-setup.sh
rename : testing/docker/recipes/ubuntu1604-test-system-setup.sh => taskcluster/docker/recipes/ubuntu1604-test-system-setup.sh
rename : testing/docker/recipes/xvfb.sh => taskcluster/docker/recipes/xvfb.sh
rename : testing/docker/rust-build/Dockerfile => taskcluster/docker/rust-build/Dockerfile
rename : testing/docker/rust-build/README.md => taskcluster/docker/rust-build/README.md
rename : testing/docker/rust-build/REGISTRY => taskcluster/docker/rust-build/REGISTRY
rename : testing/docker/rust-build/VERSION => taskcluster/docker/rust-build/VERSION
rename : testing/docker/rust-build/build_cargo.sh => taskcluster/docker/rust-build/build_cargo.sh
rename : testing/docker/rust-build/build_rust.sh => taskcluster/docker/rust-build/build_rust.sh
rename : testing/docker/rust-build/build_rust_mac.sh => taskcluster/docker/rust-build/build_rust_mac.sh
rename : testing/docker/rust-build/fetch_cargo.sh => taskcluster/docker/rust-build/fetch_cargo.sh
rename : testing/docker/rust-build/fetch_rust.sh => taskcluster/docker/rust-build/fetch_rust.sh
rename : testing/docker/rust-build/package_rust.sh => taskcluster/docker/rust-build/package_rust.sh
rename : testing/docker/rust-build/repack_rust.py => taskcluster/docker/rust-build/repack_rust.py
rename : testing/docker/rust-build/splat_rust.py => taskcluster/docker/rust-build/splat_rust.py
rename : testing/docker/rust-build/task.json => taskcluster/docker/rust-build/task.json
rename : testing/docker/rust-build/tcbuild.py => taskcluster/docker/rust-build/tcbuild.py
rename : testing/docker/rust-build/upload_rust.sh => taskcluster/docker/rust-build/upload_rust.sh
rename : testing/docker/tester/Dockerfile => taskcluster/docker/tester/Dockerfile
rename : testing/docker/tester/REGISTRY => taskcluster/docker/tester/REGISTRY
rename : testing/docker/tester/VERSION => taskcluster/docker/tester/VERSION
rename : testing/docker/tester/bin/test.sh => taskcluster/docker/tester/bin/test.sh
rename : testing/docker/tester/dot-config/pip/pip.conf => taskcluster/docker/tester/dot-config/pip/pip.conf
rename : testing/docker/tester/dot-config/user-dirs.dirs => taskcluster/docker/tester/dot-config/user-dirs.dirs
rename : testing/docker/tester/dot-config/user-dirs.locale => taskcluster/docker/tester/dot-config/user-dirs.locale
rename : testing/docker/tester/dot-pulse/default.pa => taskcluster/docker/tester/dot-pulse/default.pa
rename : testing/docker/tester/tc-vcs-config.yml => taskcluster/docker/tester/tc-vcs-config.yml
rename : testing/docker/tester/tester.env => taskcluster/docker/tester/tester.env
rename : testing/docker/upload-symbols/Dockerfile => taskcluster/docker/upload-symbols/Dockerfile
rename : testing/docker/upload-symbols/README.md => taskcluster/docker/upload-symbols/README.md
rename : testing/docker/upload-symbols/bin/checkout-script.sh => taskcluster/docker/upload-symbols/bin/checkout-script.sh
rename : testing/docker/upload-symbols/bin/upload.sh => taskcluster/docker/upload-symbols/bin/upload.sh
rename : testing/docker/upload-symbols/test_exports.sh => taskcluster/docker/upload-symbols/test_exports.sh
extra : amend_source : 41ff620c73fe53d97f8d7874d63339bd2685f81a
2016-12-23 10:14:44 -05:00
Kartikaya Gupta 4233ee5fec Merge m-c to graphics
MozReview-Commit-ID: E0Sr26LKcZx
2016-12-21 10:16:15 -05:00
sotaro 4dbcec85a4 Bug 1324648 - Use GLContext to get GL functions pointers for webrender r=nical 2016-12-21 13:22:04 +09:00
sotaro de65da3f02 Bug 1324376 - Request GLES3 in GLContextProviderEGL::CreateForWindow r=niacl 2016-12-21 10:40:49 +09:00
sotaro cb00bc0288 Bug 1320284 - Remove some MOZ_ENABLE_WEBRENDER r=nical? 2016-12-15 14:05:38 +09:00
Kartikaya Gupta 7383fcbb4a Merge m-c to graphics
MozReview-Commit-ID: KhxBqJbwxv8
2016-12-06 23:45:24 -05:00
sotaro 8726336a39 Bug 1320284 - Switch WebRender by Pref r=nical? 2016-12-04 17:40:52 +09:00
Kartikaya Gupta d654e9aa16 Merge m-c to graphics
MozReview-Commit-ID: HlYQkwnswIh

--HG--
rename : gfx/layers/ipc/CompositorVsyncScheduler.h => gfx/layers/ipc/CompositorVsyncSchedulerOwner.h
rename : layout/style/test/test_flexbox_min_size_auto.html => layout/style/test/test_computed_style_min_size_auto.html
rename : config/external/nss/moz.build => security/moz.build
rename : config/external/nss/nss.symbols => security/nss.symbols
rename : testing/marionette/components/marionettecomponent.js => testing/marionette/components/marionette.js
rename : testing/web-platform/tests/XMLHttpRequest/event-upload-progress-crossorigin.sub.htm => testing/web-platform/tests/XMLHttpRequest/event-upload-progress-crossorigin.htm
rename : testing/web-platform/tests/XMLHttpRequest/send-non-same-origin.sub.htm => testing/web-platform/tests/XMLHttpRequest/send-non-same-origin.htm
rename : testing/web-platform/tests/html/browsers/history/the-location-interface/security_location_0.sub.htm => testing/web-platform/tests/html/browsers/history/the-location-interface/security_location_0.htm
rename : testing/web-platform/tests/html/browsers/the-window-object/security-window/window-security.sub.html => testing/web-platform/tests/html/browsers/the-window-object/security-window/window-security.html
rename : testing/web-platform/tests/html/browsers/windows/nested-browsing-contexts/frameElement.sub.html => testing/web-platform/tests/html/browsers/windows/nested-browsing-contexts/frameElement.html
rename : testing/web-platform/tests/html/browsers/windows/targeting-cross-origin-nested-browsing-contexts.sub.html => testing/web-platform/tests/html/browsers/windows/targeting-cross-origin-nested-browsing-contexts.html
rename : testing/web-platform/tests/html/dom/documents/dom-tree-accessors/Document.currentScript.sub.html => testing/web-platform/tests/html/dom/documents/dom-tree-accessors/Document.currentScript.html
rename : testing/web-platform/tests/html/semantics/document-metadata/the-base-element/base_href_specified.sub.html => testing/web-platform/tests/html/semantics/document-metadata/the-base-element/base_href_specified.html
rename : toolkit/components/places/tests/cpp/mock_Link.h => toolkit/components/places/tests/gtest/mock_Link.h
rename : toolkit/components/places/tests/cpp/moz.build => toolkit/components/places/tests/gtest/moz.build
rename : toolkit/components/places/tests/cpp/places_test_harness.h => toolkit/components/places/tests/gtest/places_test_harness.h
rename : toolkit/components/places/tests/cpp/places_test_harness_tail.h => toolkit/components/places/tests/gtest/places_test_harness_tail.h
rename : toolkit/components/places/tests/cpp/test_IHistory.cpp => toolkit/components/places/tests/gtest/test_IHistory.cpp
rename : browser/themes/shared/filters.svg => toolkit/themes/shared/filters.svg
rename : browser/themes/shared/downloads/menubutton-dropmarker.svg => toolkit/themes/shared/icons/menubutton-dropmarker.svg
extra : amend_source : b446cd55619aa09f6d48941ab201fb796738d217
2016-11-21 10:24:00 -05:00
Jeff Gilbert 4fe7340dc2 Bug 1309643 - Only enable primitive restart index on OSX for DrawElements. - r=ethlin 2016-12-19 15:24:30 -08:00
Kartikaya Gupta 77565d2492 Merge m-c to graphics
MozReview-Commit-ID: 5qSWNo7gKJK
2016-11-17 10:13:36 -05:00
Mozilla Graphics Team e82d29b96e Bug 1317774 - Add gfx code needed to use WebRender in gecko. r=gfx
The overall architecture here is that we add a new layers type, LAYERS_WR,
which can be used in place of client layers. The WebRenderLayerManager, in
the EndTransaction call, paints content into images and ships them over the
PWebRenderBridge to the compositor thread. The WebRenderBridgeParent code on
the compositor side talks to WebRender via the API in webrender.h.

MozReview-Commit-ID: JKLTLJWVXiN
2016-11-16 08:54:51 -05:00
Tomislav Jurin 348bfffc19 Bug 1296189 - Replace NS_RUNTIMEABORT("some string literal message") with MOZ_CRASH(). r=froydnj 2016-12-02 13:46:53 -08:00
Kartikaya Gupta 4c7f0577fe Bug 1316931 - Put DX interop2 status into gfxVars. r=dvander,jgilbert
This allows the GLContextProviderWGL to be created on the compositor
thread, which is something we need for webrender integration.

MozReview-Commit-ID: DtBe9nUTdK7

--HG--
extra : rebase_source : b31973542beca75255b64f350f47df16435a60e3
2016-11-14 17:13:40 -05:00
Masatoshi Kimura 0b4ad7bfb1 Bug 1317569 - Stop testing d3dcompiler_43.dll during EGL initialization. r=jrmuizel
MozReview-Commit-ID: BDtgOD4Elba

--HG--
extra : rebase_source : cea0c8f56084822a03972bca61ae9a6f3566ad54
extra : source : 18477e73fc758633d7a87bfe57d951a87525eede
2016-11-15 07:02:49 +09:00
Masatoshi Kimura a654e25d18 Bug 1317569 - Unship d3dcompiler_43.dll. r=glandium
MozReview-Commit-ID: DSOOKc94wNV

--HG--
extra : rebase_source : 007a4c974ba16f2dc6e77e4b78e919769e0af8d1
extra : source : b448674d91482b214fb2a6c4e83d2e86638f28ef
2016-11-15 06:56:01 +09:00
Carsten "Tomcat" Book e7ca75286b Merge mozilla-central to inbound 2016-11-16 14:53:15 +01:00
Andi-Bogdan Postelnicu f55eea3765 Bug 1317637 - Use auto type specifier where aplicable for variable declarations to improve code readability and maintainability in gfx/. r=jrmuizel
MozReview-Commit-ID: Dd6426wCbMg

--HG--
extra : rebase_source : 2bf01499dc6ac776004a098108e7ccb874968701
2016-11-15 11:00:08 +02:00
Jeff Gilbert (:jgilbert) d570415e50 Bug 1250077 - Implement WEBGL_compressed_texture_astc. - r=ethlin
MozReview-Commit-ID: J2jB4tOJrTs
2016-11-28 18:12:32 -08:00
Sotaro Ikeda 92926a0f41 Bug 1317656 - Cleanup more gonk/b2g dependent code r=nical 2016-11-15 22:01:30 -08:00
kvark a496f20f3f Bug 1237748 - Avoid deleting the stencil RB if it's the same as the depth RB. r=jgilbert
--HG--
extra : rebase_source : d0f4b46dd9c9bfbb49020c44959bb8d36912bb6c
2017-01-09 10:25:00 -05:00
Jeff Gilbert dd931165c6 Bug 1337589 - Improve Get*YuvColorMatrix. - r=mattwoodrow
MozReview-Commit-ID: 1FMnRNB7ksI
2017-02-07 19:27:32 -08:00
Chih-Yi Leu 33fd01fd18 Bug 1304291 - Move driver workaround code into fReadPixels and remove alpha check. r=jgilbert
--HG--
extra : rebase_source : 6389bf82f86441cf0413dd15df3a81cf4decfa4c
2016-10-27 23:23:00 -04:00
Ting-Yu Chou 3b76c1d27b Bug 1322465 part 5 - Use explicit/MOZ_IMPLICIT for the unary constructors in gfx/. r=Ehsan
MozReview-Commit-ID: 5sdclirTQCV

--HG--
extra : rebase_source : 65b8fe4357ee19e858d3ee406495a1c2c3046c90
2016-12-16 15:54:32 +08:00
Mason Chang 07291e5e0f Bug 1314338 - Disable OES_EGL_image extension on ATI drivers. r=jgilbert 2016-11-01 15:35:51 -07:00
Carsten "Tomcat" Book a15991721b Merge mozilla-central to autoland 2016-10-27 16:50:00 +02:00
Matt Woodrow 4d0b10822d Bug 1308363 - Remove GONK specific code from gfx/. r=jrmuizel,sotaro 2016-10-27 13:17:10 +13:00
Phil Ringnalda 8cf1367dd8 Merge m-i to m-c, a=merge
MozReview-Commit-ID: FnnOWQ3xKPi
2016-10-25 22:03:31 -07:00
Lee Salzman 926f3f5746 Bug 1299435 - part 2 - fix Moz2d for Skia m55 update. r=mchang
MozReview-Commit-ID: 8jRzOaS5vqy
2016-10-24 22:40:59 -04:00
Wes Kocher 951194ee45 Backed out 6 changesets (bug 1299435) for windows reftest failures a=backout
Backed out changeset 0d587a1cab8f (bug 1299435)
Backed out changeset 3ab9d3cb13aa (bug 1299435)
Backed out changeset 1ed742f88f49 (bug 1299435)
Backed out changeset 51ad497c7ac2 (bug 1299435)
Backed out changeset 06ca6acef0a2 (bug 1299435)
Backed out changeset ebd4625e101a (bug 1299435)

--HG--
rename : gfx/skia/skia/src/animator/SkCondensedDebug.inc => gfx/skia/skia/src/animator/SkCondensedDebug.cpp
rename : gfx/skia/skia/src/animator/SkCondensedRelease.inc => gfx/skia/skia/src/animator/SkCondensedRelease.cpp
2016-10-24 16:45:46 -07:00
Lee Salzman ab9cf08d5a Bug 1299435 - part 2 - fix Moz2d for Skia m55 update. r=mchang
MozReview-Commit-ID: 8jRzOaS5vqy
2016-10-24 15:22:20 -04:00
Edwin Flores 5dc1ef0755 Bug 925645 - Turn SharedSurface::mGL into a WeakPtr<> - r=jgilbert 2016-10-24 16:35:31 +01:00
Jamie Nicol b1411a66d2 Bug 1311642 - Give GLUploadHelpers some love. r=nical
GLUploadHelpers was trying to be too flexible, so remove some unused
options it provided. Require that the full surface and texture size is
passed in rather than only the updated subregion. This prevents textures
being initialized to an incorrect size when partial texture uploads are
disallowed.

MozReview-Commit-ID: 288ERE9ten5

--HG--
extra : rebase_source : f4415fcec15bd2a7ca9300ffcf26439b96a72438
2016-10-21 13:27:41 +01:00
Jamie Nicol 9a0a722f7b Bug 1311642 - Remove BeginUpdate and EndUpdate from GLTextureImage. r=nical
Only DirectUpdate was actually being used, so remove the dead
code. TextureImageCGL does't do anything over BasicTextureImage any more
so remove it too.

MozReview-Commit-ID: D7jpC9M7aTT

--HG--
extra : rebase_source : 7846439aa5cb320704b8f811f3203fe7fd31c51e
2016-10-20 17:11:00 +01:00
Sotaro Ikeda 5a134d6b42 Bug 1210357 - Handle VP9 colorspace BT.709 r=mattwoodrow,bas.schouten 2016-10-18 10:09:00 -07:00
Sebastian Hengst 6b5c3baeae Backed out changeset c544bfb79ca0 (bug 1210357) for unexpected pass of layout/reftests/ogg-video/encoded-aspect-ratio-1.html on Windows XP. r=backout a=backout
MozReview-Commit-ID: 4s31c2d2fv1
2016-10-15 11:07:47 +02:00
Sotaro Ikeda f35d8f724b Bug 1210357 - Handle VP9 colorspace BT.709 r=mattwoodrow,bas.schouten 2016-10-13 23:48:39 -07:00
Jamie Nicol 7cbf6d7e9f Bug 1026404 - Disable OES_EGL_image and OES_EGL_image_external on SGX 544 MP devices. r=eflores
EGLImageTargetTexture2D crashes on SGX 544 MP GPUs on Kit Kat with
either GL_TEXTURE_2D or GL_TEXTURE_EXTERNAL as the texture target. This
means that both OES_EGL_image and OES_EGL_image_external extensions do
not work and must be avoided.

MozReview-Commit-ID: DJmtUL6kexC

--HG--
extra : rebase_source : 7b136c2be8110a3bcef50213776675d8dd3c9ef9
2016-10-26 15:28:08 +01:00
Jeff Gilbert 8e0a37ee0b Bug 1306171 - Expect core profiles to fill in alpha for RGB->RGBA reads properly. - r=mtseng 2016-09-29 13:51:02 -07:00
Alexandre Lissy 07037f896b Bug 1305655 - Decouple Gonk TextureForwarder and CompositableForwarder (followup bug 1281456) r=nical
MozReview-Commit-ID: 1sUiqnFEPdx
2016-09-28 07:04:13 +02:00
Lee Salzman 7052015439 Bug 1304195 - silence warnings from ScopedXErrorHandler when used off main thread if acknowledged. r=nical
MozReview-Commit-ID: 34LaghDR15f
2016-09-27 12:28:57 -04:00
Carsten "Tomcat" Book ea2599961b Backed out changeset 3eb2ceb66ec5 (bug 1304195) for static build bustage 2016-09-27 16:56:20 +02:00
Lee Salzman bef76e271e Bug 1304195 - silence warnings from ScopedXErrorHandler when used off main thread if acknowledged. r=nical
MozReview-Commit-ID: 34LaghDR15f
2016-09-27 10:35:17 -04:00
Matt Woodrow 55f506db9f Bug 1281456 - Decouple TextureForwarder and CompositableForwarder. r=gw280 2016-09-27 16:22:20 +13:00
Jamie Nicol 78b8ab3a9c Bug 1130739 - Disable OES_EGL_image_external on Mali 450. r=eflores
MozReview-Commit-ID: 2xx4zRYWlNu

--HG--
extra : rebase_source : d4c9e091b0ecd384b118f9e45a966e3887fbbc02
2016-09-21 11:12:52 +01:00
Jamie Nicol 363f957b1f Bug 1288446 - Call glCheckFramebufferStatus after glFramebufferTexture2D to avoid driver crash; r=jrmuizel
Some PowerVR SGX540 devices running Android 4.0 were crashing when
uploading texture data with glTexSubImage2D. This was unearthed by a
Skia upgrade which removed what should have been an unnecessary OpenGL
call. This reinstates the OpenGL call which prevents the crash, but at a
GLContext level rather than in Skia.

MozReview-Commit-ID: Dub8VSs2Dzd

--HG--
extra : rebase_source : 7584b2a71656c78055d1a3cd1410c2a1bd8e70b3
2016-09-08 15:29:44 +01:00
Edwin Flores 794b92fe7b Bug 1296996 - Use ProducerRead{Acquire/Release} in ReadBuffer::Create - r=jgilbert 2016-09-14 11:02:37 +01:00
Benoit Girard fab198cffc Bug 1288746 - Handle missing EGL failure IDs. r=jmuizel
MozReview-Commit-ID: Kk5vFNMdhjV

--HG--
extra : rebase_source : 8a8851b91fa045c8cb13e1aee2c8c7c62d2b0a4e
2016-09-13 14:17:29 -04:00
Jeff Gilbert 06b3ddf5fd Bug 1300932 - Enable draw_buffers on ES3, but not WEBGL_draw_buffers. - r=jerry
MozReview-Commit-ID: DMUoG23WTmr
2016-09-08 11:34:32 -07:00
Ryan Hunt ba1fc57c65 Bug 1289251 - Allow GLContextProviderGLX to create a GLContext out of process. r=acomminos,jgilbert
MozReview-Commit-ID: 9AdBGkEzI1n

--HG--
extra : rebase_source : 419b2b50f2f1ede60dbda4d527b637e8c44ffc91
2016-08-29 17:14:20 -07:00
Nicholas Nethercote b71747b2ac Bug 1299727 - Rename NS_WARN_IF_FALSE as NS_WARNING_ASSERTION. r=erahm.
The new name makes the sense of the condition much clearer. E.g. compare:

  NS_WARN_IF_FALSE(!rv.Failed());

with:

  NS_WARNING_ASSERTION(!rv.Failed());

The new name also makes it clearer that it only has effect in debug builds,
because that's standard for assertions.

--HG--
extra : rebase_source : 886e57a9e433e0cb6ed635cc075b34b7ebf81853
2016-09-01 15:01:16 +10:00
Botond Ballo 2af3f87bb6 Bug 1288686 - Avoid X11's |#define None 0L| intruding on other parts of the code. r=jrmuizel
MozReview-Commit-ID: 9rD0KLTLg7l

--HG--
extra : rebase_source : a537ba1913b6959e74fc4fcaf58f51f759cc5882
extra : source : 9278e13a7d664e787f763a7c21a32833700899e1
2016-08-29 16:51:43 -04:00
Makoto Kato ec124dbfbd Bug 1299054 - Remove old Android support (API level < 15) from Gecko. r=snorp
MozReview-Commit-ID: K32YSqGsLf9

--HG--
extra : rebase_source : be0d3b3fc1146234efc75229171ea61258c46492
2016-08-30 14:11:55 +09:00
James Cheng 19a28705ea Bug 1297315 - Fix Wmaybe-uninitialized warning and get rid of goto statement in GLContextProviderGLX.cpp and GfxTexturesReporter.cpp. r=jgilbert
MozReview-Commit-ID: AUjK7HhatX6

--HG--
extra : rebase_source : 3df07981fdd0f7cff9576cff8fecf955522294bf
2016-08-23 14:30:37 +08:00
Milan Sreckovic 5459132cb1 Bug 1296731: Add parameter to GetAlignedStride and check for overflow. r=bas
MozReview-Commit-ID: 5Ptm0bxwKdG

--HG--
extra : rebase_source : 535f2fa2447a1401b76acc0b82ce210b3c4d6dfc
2016-08-25 13:57:39 -04:00
Ryan VanderMeulen bb47ee1c15 Merge m-c to inbound. a=merge CLOSED TREE 2016-08-25 09:00:49 -04:00
Ryan VanderMeulen f0d5b6f0be Bug 1297276 - Fix merge bustage. a=bustage 2016-08-25 08:40:42 -04:00
Ryan VanderMeulen 2b4ac234e9 Merge m-c to inbound. a=merge 2016-08-25 08:27:17 -04:00
Ryan VanderMeulen 520acfd195 Merge inbound to m-c. a=merge 2016-08-25 08:10:52 -04:00
Andrew Comminos 6fc5868042 Bug 1280653 - Read into the X11 event queue in GLContextGLX::MakeCurrent to queue DRI invalidation events. r=lsalzman
MozReview-Commit-ID: 5N076lUlCkl

--HG--
extra : rebase_source : c1aa9eb1ad2d5c5410d94d4028ee7f034194b4ad
2016-08-24 20:23:39 -04:00
Nicholas Nethercote c2306345d5 Bug 1297658 - Avoid unnecessary checking in memory reporters. r=erahm.
This patch removes checking of all the callback calls in memory reporter
CollectReport() functions, because it's not useful.

The patch also does some associated clean-up.

- Replaces some uses of nsIMemoryReporterCallback with the preferred
  nsIHandleReportCallback typedef.

- Replaces aCallback/aCb/aClosure with aHandleRepor/aData for CollectReports()
  parameter names, for consistency.

- Adds MOZ_MUST_USE/[must_use] in a few places in nsIMemoryReporter.idl.

- Uses the MOZ_COLLECT_REPORT macro in all suitable places.

Overall the patch reduces code size by ~300 lines and reduces the size of
libxul by about 37 KiB on my Linux64 builds.

--HG--
extra : rebase_source : e94323614bd10463a0c5134a7276238a7ca1cf23
2016-08-24 15:23:45 +10:00
Andrew Comminos 2c8e7beb35 Bug 1297537 - Avoid calling glXWaitGL in GLContextGLX::SwapBuffers. r=jgilbert
MozReview-Commit-ID: FUzbHFyKiMH

--HG--
extra : rebase_source : 71acb5af28740936ed4b3fb6b571e0e3cc153db4
2016-08-23 14:27:33 -04:00
Jinank Jain f2776091ea Bug 712936 - Convert users of PR_STATIC_ASSERT to C++11 static_assert(). r=Ms2ger
--HG--
extra : rebase_source : b3e4c3e7c81799f2b1f3ec62ba3ff3b5d3adba27
2016-08-23 11:24:54 -04:00
Ryan VanderMeulen 69113163cf Merge m-c to inbound. a=merge 2016-08-24 09:09:05 -04:00
Kan-Ru Chen b6d880aca1 Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj
The patch is generated from following command:

  rgrep -l unused.h|xargs sed -i -e s,mozilla/unused.h,mozilla/Unused.h,

MozReview-Commit-ID: AtLcWApZfES


--HG--
rename : mfbt/unused.h => mfbt/Unused.h
2016-08-24 14:47:04 +08:00
Jim Chen d1a77173ac Bug 1294481 - Implement new frame available callbacks; r=snorp
Implement a new OnFrameAvailableListener callback system for
AndroidSurfaceTexture using native methods. Each AndroidSurfaceTexture
creates its own SurfaceTextureListener object and uses it to forward
OnFrameAvailableListener callbacks to the corresponding nsIRunnable.
2016-08-23 18:52:30 -04:00
Jim Chen abb40676c0 Bug 1294481 - Rip out old Java code for AndroidSurfaceTexture; r=snorp
Rip out the old GeckoAppShell methods that implemented a
OnFrameAvailableListener callback system for AndroidSurfaceTexture.
2016-08-23 18:52:30 -04: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
Jim Chen 3bd8918fcf Bug 1294479 - Remove ANativeWindow methods from AndroidBridge; r=snorp
The ANativeWindow methods in AndroidBridge are just wrappers around
ANativeWindow calls in the NDK. We should just use those calls instead
of going through the wrappers.
2016-08-19 17:17:24 -04:00
Jeff Gilbert 6a596c0e80 Bug 1287653 - Spew VENDOR/RENDERER. - r=mtseng
MozReview-Commit-ID: AVeY7hyqmgV
2016-08-18 14:07:03 -07:00
Jeff Gilbert ccacf66a5e Bug 1287653 - Blacklist dx_interop2. - r=milan
MozReview-Commit-ID: GYyUIXYvcp1
2016-08-18 14:06:57 -07:00
Jeff Gilbert ac277e5603 Bug 1287653 - Remove context sharing from WGL. - r=mtseng
MozReview-Commit-ID: 2CJovqWwAGB
2016-08-18 14:06:44 -07:00
Jeff Gilbert 4808331e32 Bug 1287653 - Cleanup GLContextProviderWGL. - r=mtseng
MozReview-Commit-ID: KTM77i36mN
2016-08-18 14:06:41 -07:00
Jeff Gilbert 32e52cc2e1 Bug 1287653 - AMD associates DXOpenDevice with the current GL context. - r=mtseng
MozReview-Commit-ID: 7Rv7HbOxLil
2016-08-18 14:06:38 -07:00
Jeff Gilbert 20ce5436dc Bug 1287653 - Use std::string::c_str instead of &std::string[0] to get a c-string. - r=mtseng
MozReview-Commit-ID: AsBaqtyQ8Ca
2016-08-18 14:06:34 -07:00
Jeff Gilbert 477cad8749 Bug 1285692 - Remove unnecessary KeyedMutex usage with DX_interop. - r=jrmuizel
While we've been doing AcquireSync()+LockObject() previously, this doesn't
seem to be required. It makes sense that LockObject would AcquireSync (or
in-driver equivalent) when given a KeyedMutex'd D3D11Texture, given the
wording of the spec that (Un)LockObject synchronizes GL with D3D.
Unfortunately, the extension spec doesn't explicitly state this.

MozReview-Commit-ID: 3FgNl1npO34
2016-08-18 14:06:28 -07:00
Jeff Gilbert ea2b2ee099 Bug 1285692 - Acquire surface to allow FB completeness. - r=jrmuizel
MozReview-Commit-ID: H9IidhUqqw9
2016-08-18 14:06:26 -07:00
Jeff Gilbert 2f6562f729 Bug 1285692 - Add IsProducerAcquired(). - r=mtseng
MozReview-Commit-ID: 81Y5DAXtgeo
2016-08-18 14:06:23 -07:00
Benoit Girard 61b954044b Bug 1287182 - Don't clobber the angle platform failureId. r=jrmuizel
MozReview-Commit-ID: Dj0PNznZ7BS
2016-08-03 17:28:26 -04: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
Sotaro Ikeda 41a9daf725 Bug 1259571 - Try tearing-free drawing with GDI r=dvander,mattwoodrow
--HG--
rename : gfx/thebes/DeviceManagerD3D11.cpp => gfx/thebes/DeviceManagerDx.cpp
rename : gfx/thebes/DeviceManagerD3D11.h => gfx/thebes/DeviceManagerDx.h
2016-08-07 23:54:12 -07:00