Nicholas Nethercote
9b0389603b
Bug 1208300 (part 4) - Remove gfxRGBA and some related things. r=jwatt.
...
Hooray!
2015-09-24 19:24:16 -07:00
Nicholas Nethercote
10141da023
Bug 1208345 - Remove gfxContext::GraphicsOperator. r=jwatt.
...
Also...
- Rename various "operator" identifiers as "op" to match |CompositionOp|.
- Rename |nsBackgroundLayerState::mCompositingOp| as |mCompositionOp| to match
|CompositionOp|.
- Remove some deprecated functions that are no longer needed.
2015-09-24 22:38:58 -07:00
Nicholas Nethercote
c1b2461b9d
Bug 1207944 (part 5) - Use SetColor(const Color&) when setting from a constructed gfxRGBA. r=jwatt.
...
In various places SetColor() gets passed a gfxRBGA that is constructed at the
call site. This patch changes these to construct a gfx::Color directly,
avoiding the subsequent conversion.
2015-09-23 23:42:58 -07:00
Thinker K.F. Li
af80f65bac
Bug 1097464 - Part 6: Handle preserves-3d by compositor. r=roc
...
Remove WrapPreserve3DList() and replaced it by creating a
nsDisplayTransform item for each transformed frame.
- Add an additional item for each top frame extending 3D context to
separate consequence contexts.
- Effective transform of a layer is the accumulation of ancestors in
the same 3D context.
- The layers creating new context and extended by children need a
temporary buffer if it's effective transform is not 2D.
- Clip rects are accumulated along the context chain.
- Visible rects of items are computed from dirty regions of the frame
creating the context and accumulated transforms.
- Bounds of items are computed from accumulated transforms and
accumulated bounds of the descent frames.
- Backface hidden is handled by compositor and BasicLayerManager.
2015-09-17 03:31:00 +02:00
Carsten "Tomcat" Book
a47b1a13c4
Backed out 6 changesets (bug 1097464) for causing OS X 10.10 Reftest Errors
...
Backed out changeset fbf63ce1ba88 (bug 1097464)
Backed out changeset fdaf4cfa6707 (bug 1097464)
Backed out changeset 727ebd9f744a (bug 1097464)
Backed out changeset 03f03a776042 (bug 1097464)
Backed out changeset 5ec6364b87d7 (bug 1097464)
Backed out changeset 47d056b3af7f (bug 1097464)
2015-09-17 16:24:43 +02:00
Thinker K.F. Li
4ca462453f
Bug 1097464 - Part 6 - Handle preserves-3d by compositor. r=roc
...
Remove WrapPreserve3DList() and replaced it by creating a
nsDisplayTransform item for each transformed frame.
- Add an additional item for each top frame extending 3D context to
separate consequence contexts.
- Effective transform of a layer is the accumulation of ancestors in
the same 3D context.
- The layers creating new context and extended by children need a
temporary buffer if it's effective transform is not 2D.
- Clip rects are accumulated along the context chain.
- Visible rects of items are computed from dirty regions of the frame
creating the context and accumulated transforms.
- Bounds of items are computed from accumulated transforms and
accumulated bounds of the descent frames.
- Backface hidden is handled by compositor and BasicLayerManager.
2015-09-17 03:31:00 +02:00
Kearwood (Kip) Gilbert
0cac799a77
Bug 1157984 - Part 3: Correct bounding box transformations to support projections and correct clipping when transforming behind the camera,r=vlad
...
- Update callsites of Matrix4x4::TransformBounds to use
Matrix4x4::TransformAndClipBounds.
2015-08-06 17:26:09 -07:00
Lee Salzman
cf925a3450
Bug 1188462 - Fix inclusion of skia headers to use correct directory prefixes. r=jrmuizel
2015-07-29 16:31:40 -04:00
Kearwood (Kip) Gilbert
d3ad55b783
Bug 1181240 - Part 3: Replace gfx3DMatrix with Matrix4x4 in gfx,r=vlad
...
- Refactored code to use Matrix4x4 instead of gfx3DMatrix.
- There is not expected to be any functional effect.
2015-07-10 17:06:35 -07:00
Birunthan Mohanathas
a29151dc87
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Amanda Sambath
86f2768844
Bug 1158120 - Edit include and comments that contained gfxIntSize and nsIntSize. r=nical
2015-05-29 17:01:46 +02:00
Amanda Sambath
0d488979b7
Bug 1158120 - Replace gfxIntSize by mozilla::gfx::IntSize in gfx/layers. r=nical
2015-05-28 11:59:15 +02:00
Amanda Sambath
79c456ab15
Bug 1157669 - Assert aGroupTarget is not null in PaintSelfOrChildren method. r=nical
2015-05-20 10:47:29 +02:00
Thibaud Backenstrass
2547682c40
Bug 1158122 - Remove some occurences of nsIntRect in gfx/layers/. r=nical
2015-05-07 11:07:35 +02:00
Steve Singer
2dbd8ae93d
Bug 1141642 - Fix disable-skia builds. r=jmuizelaar
2015-04-18 19:44:00 +02:00
Ying-Ruei Liang (KK)
2c219b4aaf
Bug 1143522 - Convert Layer::mClipRect to ParentLayerIntRect. r=botond
...
Change interface of getter/setter for mClipRect,
also necessary modification for codes that use these resources.
* * *
Bundle mUseClipRect and mClipRect as Maybe<ParentLayerIntRect> mClipRect
2015-04-11 22:03:00 -04:00
Nicolas Silva
166bce0b62
Bug 1132854 - Remove the gfx::ToIntSize conversion helper. r=Bas
2015-04-07 16:08:57 +02:00
Mike Hommey
52f555d41d
Bug 1136958 - Reintroduce pixman code path removed in bug 1097776 for --disable-skia builds. r=jmuizelaar
2015-03-17 10:04:19 +09:00
Nicholas Nethercote
0247de46d8
Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
2015-02-09 14:34:50 -08:00
Andrew McCreight
e048a7df33
Back out Bug 1127201 (part 2) for various problems.
2015-02-06 15:04:32 -08:00
Nicholas Nethercote
40ab0270d5
Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
2015-02-04 20:05:36 -08:00
Brian Birtles
23dfa5deff
Bug 927349 part 13 - Update start times on animations in layers when the animation ready time is resolved; r=nical
2014-12-22 09:35:41 +09:00
Brian Birtles
aedaba0ae5
Bug 927349 part 10 - Record the time when animations are ready to start; r=jwatt
2014-12-22 09:35:41 +09:00
Sotaro Ikeda
68bb70fada
Bug 1100110 - Fix ScaleMode handling of ImageLayer and HwcComposer2D r=mattwoodrow
2014-12-06 17:12:50 -08:00
Jonathan Watt
d7f0560280
Bug 1103621 - Get rid of GraphicsOperator::OPERATOR_CLEAR. r=mattwoodrow
2014-11-20 10:40:04 +00:00
Markus Stange
0ce0a699d2
Bug 1097776 - Don't leak the SkBitmapDevice. r=jrmuizel
2014-11-18 17:22:01 -05:00
Markus Stange
e57d259ce2
Bug 1097776 - Use Skia for unaccelerated rendering of 3D transforms. r=jrmuizel
2014-11-18 17:21:45 -05:00
Wes Kocher
0f4d8822b7
Backed out changeset 0092a5e1467d (bug 1097776) for reftest failures and leaks
2014-11-18 11:00:08 -08:00
Markus Stange
dd7dbf7578
Bug 1097776 - Use Skia for unaccelerated rendering of 3D transforms. r=jrmuizel
2014-11-18 11:36:17 -05:00
Brian Birtles
6f9054e877
Bug 1095315 - Fix the order of applying pending updates and getting the effective transform in BasicLayerManager; r=mattwoodrow
2014-11-11 11:01:28 +09:00
Jonathan Watt
55db4fa0be
Bug 1082530, part 3 - Get rid of gfxContext::FLAG_DISABLE_SNAPPING and use DrawTarget UserData to store information on whether to disable pixel snapping. r=mattwoodrow
2014-10-19 10:22:47 +01:00
Markus Stange
c9af3920ee
Bug 1074280 - Use AsContainerLayer() in order to avoid a bad cast. r=roc
2014-10-07 16:18:00 +02:00
Markus Stange
a15e939a69
Bug 1073103 - Rename ThebesLayer to PaintedLayer. r=roc
2014-09-26 13:06:08 -04:00
Jonathan Watt
2d95557d42
Bug 1064084, part 4 - Convert all consumers of gfxContext::IdentityMatrix() to use gfxContext::SetMatrix(). r=Bas
2014-09-11 07:57:39 +01:00
Botond Ballo
98eb7b14f0
Bug 1039992 - Fix a unified build issue. r=kats
2014-08-18 16:13:12 -04:00
Kartikaya Gupta
e480e44f68
Bug 1040906 - Replace the out-param on matrix conversion helpers with a return value. r=Bas
2014-07-22 09:12:14 -04:00
Walter Litwinczyk
6bf2323a29
Bug 1024223 - Fix leak of |dest| and |src| in BasicLayerManager.cpp PixmanTransform(). r=mattwoodrow
2014-07-09 13:48:59 -07:00
Benoit Girard
27ad0c5e55
Bug 1027380 - Paint flashing from an inactive layer manager saturates the transparent layers. r=mattwoodrow
2014-06-19 14:22:17 -04:00
Jonathan Watt
ef20714ba5
Bug 933019, part 9 - Remove code for handling Thebes backed gfxContext from various files under gfx/layers/. r=Bas
2014-07-10 10:58:08 +01:00
Jonathan Watt
e2cefdea63
Bug 1034528, part 1 - Get rid of gfxCachedTempSurface and the Thebes backed gfxContext that it creates. r=Bas
2014-07-07 09:05:15 +01:00
Benoit Girard
74a688b5f6
Bug 1027362 - Remove the old basic frame counter. r=jrmuizel
2014-07-02 16:38:40 -04:00
Victor Porof
298ca2ed1b
Bug 1007203 - Always add categories when pushing to the pseudostack, r=djvj
2014-05-23 17:12:29 -04:00
Nicolas Silva
8a0c258ce9
Bug 1013292 - Fix some using namespace + unified build issues in gfx code. r=kats
2014-05-22 12:11:45 +02:00
Matt Woodrow
8b452a9b6a
Bug 979350 - Readback ThebesLayers for plugin backgrounds during the Validate pass, not the compositing pass. r=roc
2014-05-12 12:31:28 +12:00
Matt Woodrow
028aa0ce91
Bug 997336 - Account for the DrawTarget 'device offset' when drawing layers with a mask. r=Bas
2014-05-12 12:31:27 +12:00
Matt Woodrow
827f3363f9
Bug 989858 - Part 6: Rename DeprecatedPaint and stop passing a gfxContext in. r=roc
2014-04-01 12:02:10 +08:00
Matt Woodrow
e24ae13431
Bug 940455 - Add LayerManager functonality to clear out a portion of the window for the OS to paint. r=roc,Bas
2014-02-13 13:20:41 +13:00
Mike Conley
ef88e3c855
Backing out bug 940455 (36e45a68452b) for numerous regressions. r=bustage-fix.
2014-03-07 16:50:30 -05:00
Matt Woodrow
93029b755f
Bug 940455 - Add LayerManager functonality to clear out a portion of the window for the OS to paint. r=roc,Bas
2014-02-13 13:20:41 +13:00
Matt Woodrow
b0af971a01
Bug 970294 - Set our surface offset as a gfxContext device offset instead of a transform so that other callers don't accidentally overwrite it. r=nrc
2014-02-28 12:32:38 +13:00