Commit Graph

224 Commits

Author SHA1 Message Date
David Anderson
b346f548c2 Material changes for TextureHost TextureSourceProvider support. (bug 1343814 part 3.2, r=mattwoodrow) 2017-03-21 20:32:54 -07:00
Miko Mynttinen
72eae4fba5 Bug 1331894 - Crash in InvalidArrayIndex_CRASH | mozilla::layers::BuildPathFromPolygon - Cull polygons with no area r=jrmuizel
MozReview-Commit-ID: KCkIA68vvgW
2017-01-18 12:10:12 +01:00
Miko Mynttinen
82bb4c3e48 Bug 1323797 - Add compositor support for triangle layers (for BasicCompositor backend) - Part 3: Implement DrawPolygon() with Paths r=mattwoodrow
MozReview-Commit-ID: FjxDlzdhqor
2017-01-10 20:48:44 +02:00
Tomislav Jurin
9ff3007b90 Bug 1296189 - Replace NS_RUNTIMEABORT("some string literal message") with MOZ_CRASH(). r=froydnj 2016-12-02 13:46:53 -08:00
Sotaro Ikeda
babd939cf1 Bug 1317656 - Cleanup more gonk/b2g dependent code r=nical 2016-11-15 22:01:30 -08:00
David Anderson
44cd09bcf2 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
9702668215 Bug 1304999 - Add nullptr check of YCbCr to rgb surface r=jrmuizel 2016-10-02 23:37:53 -07:00
Sotaro Ikeda
85f2d33a46 Bug 1259571 - Reduce tearing with basic layers on Windows r=dvander 2016-08-23 15:18:55 -07:00
Sotaro Ikeda
e5b5f7cfe1 Bug 1295927 - Disable libyuv SIMD scaling on 64bit win r=jrmuizel 2016-08-19 06:18:08 -07:00
Sotaro Ikeda
48c6111a0a 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
Carsten "Tomcat" Book
52c300009e Backed out changeset 02d76f158f3d (bug 1259571) for talos xperf regressions 2016-08-08 11:53:51 +02:00
Sotaro Ikeda
b1f37d42eb Bug 1259571 - Try tearing-free drawing with GDI r=dvander,mattwoodrow 2016-08-07 23:54:12 -07:00
David Anderson
94ab79aaf4 Add the 2D content backend to gfxVars. (bug 1288259 part 4, r=jrmuizel) 2016-08-04 11:33:44 -07:00
Nicolas Silva
3766bcc94a 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
7a5e9d91fd 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
Sotaro Ikeda
51ac1827bf Bug 1254011 - Avoid allocating RGB buffer for YUV data everytime r=nical 2016-07-08 18:59:59 -07:00
Morris Tseng
98099b6489 Bug 1284440 - Prevent CreateRenderTargetForWindow from clearing unwanted area. r=mattwoodrow
MozReview-Commit-ID: BhUlnThiI2
2016-07-08 14:58:03 +08:00
Sebastian Hengst
63526aa50a 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
a7a350dbcb merge mozilla-inbound to mozilla-central a=merge 2016-07-07 11:41:27 +02:00
Morris Tseng
88f7a6043b Bug 1284440 - Prevent CreateRenderTargetForWindow from clearing unwanted area. r=mattwoodrow
MozReview-Commit-ID: BhUlnThiI2
2016-07-07 14:12:52 +08:00
eyim
64b54776c4 Bug 1002846 - Add telemetry to OpenGL compositor r=BenWa
MozReview-Commit-ID: 1HA0dmX0SmN
2016-07-05 15:41:21 -04:00
David Anderson
19ade82818 Rename CompositorWidgetProxy files to CompositorWidget. (bug 1281998 part 2, r=jimm) 2016-07-01 01:15:16 -07:00
Phil Ringnalda
89deea28e2 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)
2016-06-29 19:35:24 -07:00
David Anderson
4a6d8ea9f0 Rename CompositorWidgetProxy files to CompositorWidget. (bug 1281998 part 2, r=jimm) 2016-06-29 16:47:22 -04:00
George Wright
2b4d1638de 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
Jeff Muizelaar
9e8b7d020f 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
356d59cd2f 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
24337b0bf5 Bug 1272600 - Part 3 - Move the ReadUnlock logic from compositable to texture. r=sotaro 2016-06-02 11:00:21 +02:00
Jeff Muizelaar
ed407a5910 Bug 1276923. Actually disable ssse3 scaler until it's fixed. r=mstange 2016-06-01 16:17:35 -04:00
Jeff Muizelaar
421895365a Bug 1276923. Disable ssse3 scaler until it's fixed 2016-06-01 13:56:10 -04:00
Jeff Muizelaar
376443c7f2 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
638de2d11d 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
4953ea5e22 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
Jeff Muizelaar
69909eb9c0 Bug 1272778. Use IntRects for clip rects instead of Rects. r=mstange
Previously, we took an IntRect converted to Rect and then later wanted
ints in the backend. This avoids all of that.
2016-05-13 19:58:43 -04:00
Wes Kocher
4e66096f2c Backed out changeset b15136f926ca (bug 1272778) for build bustage 2016-05-13 16:05:12 -07:00
Jeff Muizelaar
1e05ef0499 Bug 1272778. Use IntRects for clip rects instead of Rects. r=mstange
Previously, we took an IntRect converted to Rect and then later wanted
ints in the backend. This avoids all of that.
2016-05-13 18:51:09 -04:00
Sotaro Ikeda
b358466ee7 Bug 1255703 - Use image surfaces for basic compositor on Windows r=mattwoodrow 2016-05-12 07:23:11 -07:00
David Anderson
63d935532b Use CompositorWidgetProxy in place of nsIWidget in the compositor. (bug 1264545 part 4, r=jimm) 2016-04-29 19:20:41 -04:00
David Anderson
5eaae378f7 Hoist mWidget into the Compositor base class. (bug 1264545 part 1, r=nical) 2016-04-29 19:20:40 -04:00
Nicolas Silva
1784835c04 Bug 1258768 - Check compositor backends before casting. r=dvander 2016-04-14 12:38:38 +02:00
Nicolas Silva
5b818be1b7 Bug 1215265 - Shut PCompositorBridge down properly. r=sotaro 2015-11-24 14:50:51 +13:00
Sotaro Ikeda
d9e33fb961 Bug 1259541 - Reduce clearing backbuffer in nsBaseWidget::CreateBackBufferDrawTarget() r=mattwoodrow 2016-04-04 18:25:04 -07:00
David Anderson
0a12bb0e91 Block compositable updates from stale layers. (bug 1256517 part 4, r=mattwoodrow,nical) 2016-03-25 01:38:55 -07:00
Sotaro Ikeda
2fc898f4ce Bug 1254897 - Recycle back buffer in BasicCompositor r=jrmuizel 2016-03-23 21:41:43 -07:00
Sebastian Hengst
6b56304f56 Backed out changeset 27a8a01abf66 (bug 1256517) 2016-03-23 18:57:22 +01:00
David Anderson
ce5e68d14d Block compositable updates from stale layers. (bug 1256517 part 4, r=mattwoodrow,nical) 2016-03-23 10:32:34 -07:00
Lee Salzman
4340fbb185 Bug 1252324 - add DrawTarget API for 3D transforms for use in layers. r=jrmuizel 2016-03-23 01:03:10 -04:00
Matt Woodrow
74b50eab03 Bug 1223736 - Part 2: Draw masks in the correct coordinate space when doing 3d transforms in BasicCompositor. r=lsalzman 2016-03-22 09:09:07 +13:00
Sotaro Ikeda
d536f81d72 Bug 1255303 - Use SurfaceFormat::B8G8R8X8 as back buffer if possible r=jrmuizel 2016-03-16 18:30:41 -07:00
David Anderson
e1bf50b420 Require mix-blend mode support in all compositors and layer managers. (bug 1209278 part 1, r=mstange) 2016-02-23 10:11:21 -08:00