Phil Ringnalda
9a35a9e7b6
Merge m-c to autoland
2016-11-07 20:41:56 -08:00
Kartikaya Gupta
57f37706cc
Bug 1315477 - Add a AsBasicLayerManager() function and use instead of static_casts. r=mattwoodrow
...
MozReview-Commit-ID: DV6XZBEXw85
--HG--
extra : rebase_source : b82f2ea2d073292c2a9514ba8a4c2d0c8397d90a
2016-11-07 11:38:45 -05:00
Thinker K.F. Li
63533d005d
Bug 1306107 - Stop calling ProjectTo2D() for leaf basic layers. r=mattwoodrow
2016-11-07 01:45:00 -05:00
David Anderson
ecf530eb6f
Do not paint if a BeginTransaction fails. (bug 1313770 part 1, r=mattwoodrow)
...
--HG--
extra : rebase_source : 482b24f52da24de87dd459ac6d003b286206e54e
2016-10-28 15:48:34 -07:00
Matt Woodrow
56b15734eb
Bug 1313281 - Part 4: Remove Fence parameter from TextureData::Lock. r=sotaro
2016-10-27 21:02:09 +13:00
Matt Woodrow
4d0b10822d
Bug 1308363 - Remove GONK specific code from gfx/. r=jrmuizel,sotaro
2016-10-27 13:17:10 +13:00
David Anderson
20b34a53e8
Don't use gfxPlatform for creating temporary surfaces in the BasicCompositor. (bug 1311770, r=mattwoodrow)
2016-10-25 18:23:03 -07:00
Sotaro Ikeda
a1dfbc1a44
Bug 1304999 - Add nullptr check of YCbCr to rgb surface r=jrmuizel
2016-10-02 23:37:53 -07:00
Matt Woodrow
55f506db9f
Bug 1281456 - Decouple TextureForwarder and CompositableForwarder. r=gw280
2016-09-27 16:22:20 +13:00
Nicolas Silva
79bb9f5c0e
Bug 1284837 - Disallow implicit conversions from float to integer when creating. r=botond
2016-09-16 17:49:39 +02:00
Milan Sreckovic
e13a243ec1
Bug 1299164: Part 2. Use BufferSizeFromDimensions method, as well as some of the others that check for valid size. r=bas
2016-09-15 10:36:21 -04:00
Bas Schouten
62e1981ac7
Bug 1296658: Attempt to create the correct BackendType buffers for a LayerManager. r=jrmuizel
...
MozReview-Commit-ID: 14Eg8FC6OpJ
2016-09-15 13:53:12 +02: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
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
Sotaro Ikeda
5d8ae5cfad
Bug 1295927 - Disable libyuv SIMD scaling on 64bit win r=jrmuizel
2016-08-19 06:18:08 -07:00
Sotaro Ikeda
64b45af818
Bug 1254010 - Scaling during RGB -> YUV conversion with BasicCompositor if possible. basic_compositor_video improved on windows. r=jrmuizel
2016-08-15 18:54:17 -07:00
Ryan Hunt
92206266e3
Bug 1294586 - Remove dependency on gfxPlatform from CreateDrawTargetFromData. r=dvander
...
MozReview-Commit-ID: A355fBJKWP6
--HG--
extra : rebase_source : 85ffd4b9d5f9708a1666bbc8e229ba576cc97680
2016-08-11 14:54:08 -07:00
David Anderson
bf733b4fbb
Add the 2D content backend to gfxVars. (bug 1288259 part 4, r=jrmuizel)
...
--HG--
extra : rebase_source : e805a138c71963f4f80ec218d9be05fde6544f02
2016-08-04 11:33:44 -07:00
Nicolas Silva
1fdb65d654
Bug 1289816 - Simplify CopyableCanvasLayer::UpdateTarget and remove unnecessary copies. r=jnicol
2016-07-29 20:19:28 +02:00
Wes Kocher
f64e035802
Backed out changeset d51327ec371e (bug 1289816) for canvas reftest failures
2016-07-28 13:08:59 -07:00
Nicolas Silva
ea108a93f6
Bug 1289816 - Simplify CopyableCanvasLayer::UpdateTarget and remove unnecessary copies. r=jnicol
2016-07-28 17:58:42 +02:00
Nicolas Silva
48805c9b3e
Bug 1284837 - Disallow implicit conversions from float to integer when creating IntPoint and IntSize objects. r=botond
2016-07-26 16:48:30 +02:00
Jeff Muizelaar
91dc2161f0
Bug 1287948. Use BufferMode::None for snapshots. r=nical
...
This avoids doing an unnecessary allocation and copy while snapshotting.
To make this work we need to memset the buffer that we use for snapshot drawing
so that we can draw on it directly. I could've avoided the memset for opaque
content formats but it didn't seem worth as the only place we use this seems to
be with content=COLOR_ALPHA
2016-07-21 10:38:34 -04:00
Kevin Wern
0e41fdd181
Bug 1283236 - don't use ForEachNode() in ApplyDoubleBuffering() r=botond
...
We found that the use of TreeTraversal.h library here (where the root
node is treated as a special case) does not help readability, so revert
to the previous plain implementation
MozReview-Commit-ID: Dp7isl4lNvL
--HG--
extra : rebase_source : c8f77c59e5b81b32a8b4c0fc79e98e027fd432cf
2016-07-06 23:14:02 -04:00
Sotaro Ikeda
9a92018d0c
Bug 1254011 - Avoid allocating RGB buffer for YUV data everytime r=nical
2016-07-08 18:59:59 -07:00
Morris Tseng
a66e2b79e9
Bug 1284440 - Prevent CreateRenderTargetForWindow from clearing unwanted area. r=mattwoodrow
...
MozReview-Commit-ID: BhUlnThiI2
2016-07-08 14:58:03 +08:00
Sebastian Hengst
f43c9e0ffa
Backed out changeset c8700e65f41b (bug 1284440) for causing graphic issues (bug 1285243). r=backout
...
MozReview-Commit-ID: 3tWcNPLSV9f
2016-07-07 17:30:10 +02:00
Carsten "Tomcat" Book
1e5237c994
merge mozilla-inbound to mozilla-central a=merge
2016-07-07 11:41:27 +02:00
Morris Tseng
587bf3d8eb
Bug 1284440 - Prevent CreateRenderTargetForWindow from clearing unwanted area. r=mattwoodrow
...
MozReview-Commit-ID: BhUlnThiI2
2016-07-07 14:12:52 +08:00
eyim
731d8bd1c6
Bug 1002846
- Add telemetry to OpenGL compositor r=BenWa
...
MozReview-Commit-ID: 1HA0dmX0SmN
--HG--
extra : rebase_source : 545c5e48c25428c5fb4736e3a3d9f25280805472
2016-07-05 15:41:21 -04:00
JerryShih
5135b01ace
Bug 1276062 - obtain the group creation result from PushGroupForLayer(). r=bas
2016-07-04 20:14:00 +02:00
David Anderson
3f0ea0572d
Rename CompositorWidgetProxy files to CompositorWidget. (bug 1281998 part 2, r=jimm)
...
--HG--
rename : widget/CompositorWidgetProxy.cpp => widget/CompositorWidget.cpp
rename : widget/CompositorWidgetProxy.h => widget/CompositorWidget.h
rename : widget/windows/WinCompositorWidgetProxy.cpp => widget/windows/WinCompositorWidget.cpp
rename : widget/windows/WinCompositorWidgetProxy.h => widget/windows/WinCompositorWidget.h
2016-07-01 01:15:16 -07:00
Phil Ringnalda
0d0d24bccc
Back out 7 changesets (bug 1281998) for Windows Marionette crashes
...
Backed out changeset d806fac2c856 (bug 1281998)
Backed out changeset b8d4fedfd7eb (bug 1281998)
Backed out changeset a72929c0c3ec (bug 1281998)
Backed out changeset 74198f88fa37 (bug 1281998)
Backed out changeset 54a0e73f6906 (bug 1281998)
Backed out changeset 99d1da1293b7 (bug 1281998)
Backed out changeset a5a9585754b1 (bug 1281998)
--HG--
rename : widget/CompositorWidget.cpp => widget/CompositorWidgetProxy.cpp
rename : widget/CompositorWidget.h => widget/CompositorWidgetProxy.h
rename : widget/windows/WinCompositorWidget.cpp => widget/windows/WinCompositorWidgetProxy.cpp
rename : widget/windows/WinCompositorWidget.h => widget/windows/WinCompositorWidgetProxy.h
2016-06-29 19:35:24 -07:00
David Anderson
804c1ee06f
Rename CompositorWidgetProxy files to CompositorWidget. (bug 1281998 part 2, r=jimm)
...
--HG--
rename : widget/CompositorWidgetProxy.cpp => widget/CompositorWidget.cpp
rename : widget/CompositorWidgetProxy.h => widget/CompositorWidget.h
rename : widget/windows/WinCompositorWidgetProxy.cpp => widget/windows/WinCompositorWidget.cpp
rename : widget/windows/WinCompositorWidgetProxy.h => widget/windows/WinCompositorWidget.h
extra : rebase_source : 8ecf59ad6039f0d0d2a51008aef53ef37aa2ce0e
2016-06-29 16:47:22 -04:00
Sotaro Ikeda
f731d220ed
Bug 1252835 - Make TextureHost recycling implicit r=nical
2016-06-15 04:28:10 -07:00
Jonathan Watt
7972d9d526
Bug 1279966 - Stop using gfxContext device offsets on the temporary gfxContext in BasicLayerManager::PaintLayer. r=mattwoodrow
2016-06-15 10:06:11 +01:00
Jonathan Watt
b15368cfcb
Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky
2016-06-07 21:10:18 +01:00
Nicholas Nethercote
4e8f3b6d6e
Bug 1276824 (part 2) - Fix up checks for calls to gfxContext::Create{,PreservingTransform}OrNull(). r=milan.
...
--HG--
extra : rebase_source : 80644c1a6658da553c13ae1ab3b8d03e916ee6e7
2016-06-07 11:17:48 +10:00
Nicholas Nethercote
a02611e830
Bug 1276824 (part 1) - Rename gfxContext::ForDrawTarget{,WithTransform}(). r=milan.
...
The new names Create{,PreservingTransform}OrNull() better communicate that
these functions (a) do object creation, and (b) are fallible.
--HG--
extra : rebase_source : a36bd9a2bcdfae281868959403f811f2bc690ad4
2016-06-07 09:39:56 +10:00
George Wright
75d2715f23
Bug 1278723 - Don't use ssse3_scale_data on targets that don't support SSSE3 r=jrmuizel
2016-06-07 20:52:45 -04:00
Thomas Zimmermann
4934adbfe6
Bug 1278202: Add missing method |GrallocTextureHostBasic::GetCompositor|, r=nical
...
MozReview-Commit-ID: 1WHSkS3qFLK
2016-06-06 19:52:17 +02:00
Jonathan Watt
c8d5762f34
Bug 1278239 - Remove gfxQuartzImageSurface. r=Bas
2016-05-27 19:43:34 +01:00
Jeff Muizelaar
1c35e2ccda
Bug 1276923. BasicCompositor: Properly transform the clip. r=mstange
...
We push the clip on the buffer while it has the original transform, and
then we overwrite the transform with something else. But the fast path
operates in device space and ignores the existing clip on the buffer, so
we need to know the original clip at the original transform.
2016-06-03 14:46:12 -04:00
Jonathan Watt
03036022ec
Bug 1277862, part 2 - Rename Moz2D's Filter to SamplingFilter in the rest of gfx/. r=Bas
2016-05-25 17:01:18 +01:00
Nicolas Silva
1d7c8451c8
Bug 1272600 - Part 3 - Move the ReadUnlock logic from compositable to texture. r=sotaro
2016-06-02 11:00:21 +02:00
Jeff Muizelaar
60421f01e1
Bug 1276923. Actually disable ssse3 scaler until it's fixed. r=mstange
2016-06-01 16:17:35 -04:00
Jeff Muizelaar
c61e0d5461
Bug 1276923. Disable ssse3 scaler until it's fixed
2016-06-01 13:56:10 -04:00
Jeff Muizelaar
a5fc6a819f
Bug 1266491 - Use an ssse3 scaler for video. r=mstange
...
This is a separable scaler that improves from performance
from 15-16fps to 21-22fps
2016-05-28 10:12:12 -04:00
Jeff Muizelaar
85d22c8bbc
Bug 1266491. Add a RGB_FROM_YCBCR texture flag. r=nical
...
We only use the SSSE3 scaler when this texture flag is set. This avoids using
it for compositing things other than video.
2016-05-28 10:12:11 -04:00
Mason Chang
5d51a78785
Bug 1273990. Use target backend rather than screen reference backend if compositor has a target set. r=jmuizelaar
2016-05-20 14:51:34 -07:00