Nathan Froyd
e53dd1c5f7
Bug 1290160 - followup to fix static analysis bustage on a CLOSED TREE; r=me
2016-08-03 17:17:22 -04:00
Nathan Froyd
6a26598a10
Bug 1290160 - reduce codesize required by gfxPrefs; r=milan
...
Every gfxPrefs::PrefTemplate template declares its own virtual function
overrides for functions declared in gfxPrefs::Pref. The compiler must
therefore create separate copies of each of these virtual functions when
it instantiates PrefTemplate. Since several of these virtual functions
only depend on the template parameter T, the type of the pref, many
instantiations of the functions are identical. The duplicate functions
would normally be merged by identical code folding performed in the
linker, but since these are virtual functions and therefore have their
addresses taken (to be stored in the class's vtable), the linker (at
least for the settings we use for identical code folding) cannot fold
duplicated functions together.
Therefore, we have to do the de-duplication ourselves, by creating an
intermediate templated base class that only depends on the type of the
pref. With this class, only three copies of each virtual function will
be created (one each for bools, floats, and ints). We sneak in
GetLiveValue() into this base class for another small codesize win, even
though it's not a virtual function.
2016-08-03 17:02:33 -04:00
Matt Woodrow
80d8ecc1fd
Bug 1284672 - Try use an exsiting D3D11 device for video rather than creating new ones. r=dvander
...
--HG--
extra : rebase_source : 16208d3a63ea64e824d283f57c8f53c958900de6
2016-08-02 18:46:27 +12:00
Matt Woodrow
51b6bd9f58
Bug 1289640 - Part 6: Allow access to the D3D11 content device from other threads. r=dvander
...
--HG--
extra : rebase_source : 63d31cb207e6d8903fb0bef268c4d1a1a24bf11f
2016-08-03 15:28:18 +12:00
Matt Woodrow
2254f8e498
Bug 1289640 - Part 5: Delete the D3D11 image bridge device since it no longer has any callers. r=dvander
...
--HG--
extra : rebase_source : 8ed9418b70d889f8544e23cd624925835e62e9dd
2016-08-02 17:58:17 +12:00
Matt Woodrow
2c65f7fdb0
Bug 1289640 - Part 4: Make SourceSurfaceImage::GetTextureClient use the threadsafe upload with D3D11 so that we no longer rely on having a separate device. r=nical
...
--HG--
extra : rebase_source : aa63efd52e1b013251392e3bd4ec29af0e1286f0
2016-08-02 17:57:41 +12:00
Matt Woodrow
cd24a38c5a
Bug 1289640 - Part 3: Add a new constructor for D3D11TextureData that does threadsafe uploading. r=Bas
...
--HG--
extra : rebase_source : 5a57cf9addc68025cdaa13458c10ade3686bbec4
2016-08-02 17:55:44 +12:00
Matt Woodrow
7b18f355cb
Bug 1289640 - Part 2: Stop using the D3D11 immediate context to upload texture data in IMFYCbCrImage and stick to threadsafe APIs so that we can use the content device. r=Bas
...
--HG--
extra : rebase_source : 1186b758656f07ef786f7d182a6474b050b9367e
2016-08-02 17:53:06 +12:00
Matt Woodrow
369e4deebe
Bug 1289640 - Part 1: Make SharedSurfaceANGLE code use the content D3D11 device since we should only ever run on the main thread and would have used this device already. r=jgilbert
...
--HG--
extra : rebase_source : 9f698971f6b77161b2f7314befd889bc944aee2e
2016-08-02 17:52:29 +12:00
Jonathan Watt
db80f397f6
Bug 1058040, part 2 - Rename gfxTextContextPaint to SVGContextPaint and add some code comments. r=dholbert
2016-07-22 14:56:09 +01:00
Jonathan Watt
c5d930fd27
Bug 1058040, part 1 - Move gfxTextContextPaint to a separate file to enable use in imagelib. r=dholbert
2016-07-22 12:07:39 +01:00
David Anderson
200c842944
Fix OpenGL mix-blending when the source alpha is 0. (bug 1281593 part 2, r=mstange)
...
--HG--
extra : rebase_source : 78f3c5a99927d5100d93e161ab0e08574ee46f8c
2016-08-02 11:43:15 -07:00
David Anderson
334f06fca3
Fix D3D11 mix-blending when the source alpha is 0. (bug 1281593 part 1, r=mstange)
...
--HG--
extra : rebase_source : bec9c0b07e07200e3b770a15f0b120d5d62dbbd7
2016-08-02 11:43:15 -07:00
Jonathan Watt
0e69308cc1
Bug 1290781 - Make the propagation of context paint to SVG glyphs much more robust. r=heycam
2016-07-21 14:33:11 +01:00
Stone Shih
f8f5ef1c1a
Bug 1285128 - Should not generate pointer events for those synthesized events that are not dispatched to DOM. r=smaug
2016-07-07 15:28:11 +08:00
Iris Hsiao
c9e5c33bd4
Backed out changeset d303f553f817 (bug 1289640)
2016-08-02 16:51:36 +08:00
Iris Hsiao
6d48efa876
Backed out changeset d55d65c8fb73 (bug 1289640)
2016-08-02 16:51:30 +08:00
Iris Hsiao
bcf0cac2bd
Backed out changeset 2e93b1e3adf0 (bug 1289640)
2016-08-02 16:51:24 +08:00
Iris Hsiao
d1330cfd9f
Backed out changeset 0d4ae62cc21a (bug 1289640)
2016-08-02 16:51:20 +08:00
Iris Hsiao
3c82adc54e
Backed out changeset 5ce69082c2fb (bug 1289640)
2016-08-02 16:51:16 +08:00
Iris Hsiao
74a4c960e4
Backed out changeset 2120884d5cb5 (bug 1284672)
2016-08-02 16:51:11 +08:00
Iris Hsiao
3a6363f152
Backed out changeset e69e260d5dc7 (bug 1289640) for Assertion failure on DeviceManagerD3D11.cpp
2016-08-02 16:50:14 +08:00
Matt Woodrow
b37f479ee0
Bug 1285174 - Make sure we render layers even if they are currently hidden (since that can change asynchronously). r=mstange
2016-08-02 18:47:26 +12:00
Matt Woodrow
a6c0c60716
Bug 1284672 - Try use an exsiting D3D11 device for video rather than creating new ones. r=dvander
...
--HG--
extra : rebase_source : 0e9b01742f1726bf385bf28257392415a09360bd
2016-08-02 18:46:27 +12:00
Matt Woodrow
8a4439734f
Bug 1289640 - Fix non-Windows build bustage
2016-08-02 18:15:01 +12:00
Matt Woodrow
f1c314c175
Bug 1289640 - Part 5: Delete the D3D11 image bridge device since it no longer has any callers. r=dvander
2016-08-02 17:58:17 +12:00
Matt Woodrow
8a78323b3b
Bug 1289640 - Part 4: Make SourceSurfaceImage::GetTextureClient use the threadsafe upload with D3D11 so that we no longer rely on having a separate device. r=nical
2016-08-02 17:57:41 +12:00
Matt Woodrow
c4533b81ff
Bug 1289640 - Part 3: Add a new constructor for D3D11TextureData that does threadsafe uploading. r=Bas
2016-08-02 17:55:44 +12:00
Matt Woodrow
a9cb9eb75a
Bug 1289640 - Part 2: Stop using the D3D11 immediate context to upload texture data in IMFYCbCrImage and stick to threadsafe APIs so that we can use the content device. r=Bas
2016-08-02 17:53:06 +12:00
Matt Woodrow
8917dc3ec5
Bug 1289640 - Part 1: Make SharedSurfaceANGLE code use the content D3D11 device since we should only ever run on the main thread and would have used this device already. r=jgilbert
2016-08-02 17:52:29 +12:00
Seth Fowler
c379e3a8ce
Bug 1290681 (Part 3) - Remove the single color optimization pref. r=edwin
2016-08-01 17:51:15 -07:00
Jeff Gilbert
8ada226207
Bug 1290987 - s/enable-prototype-webgl2/enable-webgl/ - r=jrmuizel,mrbkap CLOSED TREE
...
MozReview-Commit-ID: 3EArs8BLTpK
2016-08-01 14:13:01 -07:00
Nicolas Silva
95f6fa7521
Bug 1290498 - Process deferred texture ReadUnlock after compositor swap instead of before. r=sotaro
2016-08-01 14:47:57 +02:00
Jeff Gilbert
1a4ea58191
Bug 1289655 - Add prim_restart and prim_restart_fixed GLFeatures. - r=mtseng
...
MozReview-Commit-ID: 7uXZkyZTvKW
2016-08-01 01:20:12 -07:00
Carsten "Tomcat" Book
fc8e03f0d8
Merge mozilla-central to autoland
2016-07-30 16:49:41 +02:00
Carsten "Tomcat" Book
3c40ac6f0b
merge mozilla-inbound to mozilla-central a=merge
2016-07-30 16:20:57 +02:00
George Wright
cf7ed9ce47
Bug 1289525 - Grow the pool one at a time instead of in chunk of increment size r=jrmuizel
2016-07-30 00:20:28 -04:00
eyim
084d1d4163
Bug 1289873 - correction made for compositing failure ids in failure path not showing up r=BenWa
...
MozReview-Commit-ID: CRIJwplDBYS
--HG--
extra : rebase_source : 904fedf86ae1ed489138eb99a2b4c3f34967f369
2016-07-29 11:41:33 -04:00
Ethan Lin
3a8eda58a3
Bug 1289276 - Add gfxPlatform::CreateSimilarSoftwareDrawTarget to unify software fallback backend. r=mstange
2016-07-28 18:32:00 -04:00
Carsten "Tomcat" Book
37be51f16a
merge mozilla-inbound to mozilla-central a=merge
2016-07-28 17:43:03 +02:00
Edwin Flores
6a26412016
Bug 1245747 - Handle ANGLE device reset failure - r=jgilbert
2016-07-28 11:45:27 +01:00
Andi-Bogdan Postelnicu
af228209b4
Bug 1282408 - add ignore initialization check flag for mProcessToken from GPUProcessManager. r=jrmuizel@mozilla.com
...
MozReview-Commit-ID: DW4whzEYdbl
2016-07-28 11:33:17 +03:00
Andi-Bogdan Postelnicu
a40e2399f2
Bug 1282408 - add ignore initialization check flag for variables from GlyphRunIterator. r=jrmuizel
...
MozReview-Commit-ID: 1KAlxDtZyMe
2016-07-28 11:30:09 +03:00
Benoit Girard
4b52de5ec9
Bug 1283594 - CANVAS_WEBGL_ACCL_FAILURE_ID reports success as empty string. r=jrmuizel
...
MozReview-Commit-ID: B8rzSG5wk83
--HG--
extra : rebase_source : 1a801f65fe8247d836e8e48f65f67954b4e82fad
2016-07-27 17:14:19 -04:00
Ryan Hunt
7467d1ee3f
Bug 1288860 - Change GLContextProvider to use CompositorWidget. r=jrmuizel
...
--HG--
extra : rebase_source : 92e481ef6b499d773e6e98591f22675b05b71c69
2016-07-25 14:41:00 -04:00
Eric Rahm
9b63cf4f52
Bug 1289598
- Remove warning about software vsync. r=mchang
2016-07-27 11:46:39 -07:00
Lee Salzman
67a15db27a
Bug 1283330 - take floating point inaccuracy into account for assertions in DecomposeIntoNoRepeatRects. r=nical
2016-07-27 12:23:34 -04:00
Mason Chang
1423b59715
Bug 1278408. Report a constant vsync interval diff on windows. r=jrmuizel
2016-07-26 11:12:24 -07:00
Nicolas Silva
a4ee782267
Bug 1289380
- Simplify PersistentBufferProviderShared. r=edwin
2016-07-27 16:50:20 +02:00
Carsten "Tomcat" Book
7293066753
merge mozilla-inbound to mozilla-central a=merge
2016-07-27 16:35:44 +02:00