Matt Woodrow
6878e27974
Bug 854421 - Part 8: Try find a 'root' refresh driver to see if it's blocked. r=vlad
2014-05-29 09:43:41 +12:00
Matt Woodrow
573ea1821a
Bug 854421 - Part 7: Allocate and return transaction id's from the refresh driver when using OMTC to prevent over-production. r=roc
2014-05-29 09:43:39 +12:00
Matt Woodrow
cf5b0feb74
Bug 854421 - Part 6: Add gfx API for allocating transaction ids. r=roc
2014-05-29 09:42:17 +12:00
Matt Woodrow
428bfd8717
Bug 854421 - Part 3: Add a way to detect PLayerTransaction objects that exist only for testing and won't composite. r=nical
2014-05-29 09:42:16 +12:00
Matt Woodrow
148b2799bf
Bug 854421 - Part 2: If we cancel a composite when going into test mode, fire the DidComposite event anway in case someone is waiting on it. r=nical
2014-05-29 09:42:16 +12:00
Matt Woodrow
598501438c
Bug 854421 - Part 1: Add a transaction id number to DidComposite. r=nical
2014-05-29 09:42:14 +12:00
Sotaro Ikeda
e1313101fb
Bug 1014360 - memory leak when DEALLOCATE_CLIENT is set r=nical
2014-05-28 13:37:13 -07:00
Andreas Gal
bcc40bbe38
Bug 1016086 - Part 3: Setup attribute configuration when we start compositing instead of for every draw command (r=Bas)
2014-05-28 16:18:46 -04:00
Andreas Gal
3d07f31ea3
Bug 1016086 - Part 1: Use a single attribute in all shaders (r=Bas)
2014-05-28 16:18:36 -04:00
Andreas Gal
325cd3faa1
Fix rebase error for bug 1012407 (r=CLOSED TREE)
2014-05-28 14:24:23 -04:00
Andreas Gal
a9e3ff88ad
Bug 1012407 - Part 9: Use CLAMP instead of GL_REPEAT to draw quads (r=Bas)
2014-05-28 14:07:15 -04:00
Andreas Gal
f5bb3eeaee
Bug 1012407 - Part 8: Remove VBOArena which is now dead code (r=Bas)
2014-05-28 14:04:07 -04:00
Ed Morley
ede9f9bb7d
Backed out changeset f0b1908ce71a (bug 1013392)
2014-05-28 18:19:44 +01:00
Andreas Gal
13b59aa7e3
Bug 1012407 - Part 7: Use a single GL draw call to draw up to 4 texture quads (r=Bas)
2014-05-28 10:15:31 -04:00
Markus Stange
709cb5dac4
Bug 1013392 - Adjust the search algorithm for async scrollbar thumb shifting. r=kats
2014-05-28 16:14:43 +02:00
Sotaro Ikeda
92b1a2feb0
Bug 1016805 - fix AsyncTransactionTracker handling r=nical
2014-06-04 07:49:14 -07:00
Carsten "Tomcat" Book
5b2053a8dd
Backed out changeset 07a74e6e53b2 (bug 1017427) for reftest failures on a CLOSED TREE
2014-06-04 16:05:24 +02:00
Markus Stange
64c16b9f7a
Bug 1013392 - Adjust the search algorithm for async scrollbar thumb shifting. r=kats
2014-06-04 14:44:26 +02:00
Chris Lord
d4bd9e4095
Bug 1017427 - Fix CompositorOGL RenderOffset not offsetting clipping rect. r=nical
2014-06-04 13:26:57 +01:00
Markus Stange
74e283127c
Bug 1016437
- Make TextureImageTextureSourceOGL::Update refuse uploading textures that exceed the maximum texture size if bigimage is disallowed. r=bjacob
2014-05-28 12:52:13 +02:00
Markus Stange
7da4ae9000
Bug 1016437
- Document why we don't use TiledTextureImage for YCbCr frames and add an assert to that effect. r=nical
2014-05-28 12:52:12 +02:00
Brian Birtles
4457eea22f
Bug 1015803 - Align Layers' Animation.numIterations with AnimationTiming.mIterationCount; r=dholbert
...
In the IPC Animation struct used in layers code we have a member called
'numIterations' where 'iterate forever' is represented by -1.
In layout/style however we have an AnimationTiming struct with an
mIterationCount member where 'iterate forever' is represented by
NS_IEEEPositiveInfinity().
This patch renames 'numIterations' to 'iterationCount' and uses infinity to
represent 'iterate forever'.
2014-05-28 16:51:50 +09:00
Brian Birtles
510ffce362
Bug 1004871 part 9 - Move ElementAnimations::GetPositionInIteration to ElementAnimation::GetComputedTimingAt; r=dholbert
...
This patch simply moves the code from ElementAnimations to ElementAnimation so
that it can later be used in transitions code and so we can later move
EnsureStyleRuleFor to ElementAnimation.
2014-05-28 16:51:50 +09:00
Brian Birtles
f9a1779d4d
Bug 1004871 part 6 - Make GetPositionInIteration return a ComputedTiming object; r=dholbert
...
This patch makes ElementAnimations::GetPositionInIteration return
a ComputedTiming object instead of just a time portion (time fraction).
Since the ComputedTiming object includes phase information, we can fix those
parts of EnsureStyleRule and GetEventsAt that were temporarily using the time
portion to guess if the animation might have finished or not.
2014-05-28 16:51:49 +09:00
Brian Birtles
ae4fac1710
Bug 1004871 part 3 - Replace parameters to GetPositionInIteration with an AnimationTiming object; r=dholbert
...
This patch makes use of the AnimationTiming struct introduced in the previous
patch to simplify calls to ElementAnimations::GetPositionInIteration.
2014-05-28 16:51:49 +09:00
Brian Birtles
2fe00ba5c9
Bug 1004871 part 1 - Factor event queuing out of EnsureStyleRuleFor; r=dholbert
...
This patch moves event queuing out of EnsureStyleRuleFor into a separate method.
This is a preparatory step towards making GetPositionInIteration into a more
generic method for calculating the current time fraction.
In order to achieve this, GetPositionInIteration needs to be able to calculate
the correct time portion for times outside the range [0, 1] even when it is not
passed a ElementAnimation object. Specifically, it needs the fill mode of the
animation to be passed in.
(Rather than using FillForwards/FillBackwards this patch just compares the
NS_STYLE_ANIMATION_FILL_MODE_* values directly but FillForwards/FillBackwards
are restored in a subsequent patch when they are added to the struct used to
lump the timing parameters together.)
There are a number of places where positionInIteration is used to determine if
the current sample occurs in the active phase or after. This is sub-optimal but
is fixed in a subsequent patch in this series.
The actual work of removing event queuing from GetPositionInIteration is
deferred to a subsequent patch in order to keep the changes as small as
possible. This patch simply makes separate calls to GetPositionInIteration for
interpolating and for event queuing.
2014-05-28 16:51:48 +09:00
Matt Woodrow
49f6188ce1
Bug 1013769 - Apply render target offset after the layer transform in BasicCompositor. r=Cwiiis
2014-05-28 13:21:32 +12:00
Matt Woodrow
57cf682f32
Bug 1013767 - Restrict BasicCompositor snapshots to the bounds of the invalid region. r=nical
2014-05-28 13:21:32 +12:00
Matt Woodrow
84bcfe71d2
Bug 1001845 - Simplify invalid regions to avoid spending excessive amounts of time in region code. r=roc
2014-04-28 16:17:31 +12:00
Kartikaya Gupta
9bb0df30f2
Bug 949859 - When calculating fling velocity, ignore timestamps that are too old. r=botond
2014-05-27 11:45:03 -04:00
Kartikaya Gupta
d05ca55cbf
Bug 949859 - Remove mLastEventTime from APZC and store a timestamp in Axis instead. r=botond
2014-05-27 11:45:03 -04:00
Chris Lord
fa2f161546
Bug 1006797 - Fix application of OGL compositor screen render offset. r=nical
2014-05-27 13:31:01 +01:00
Botond Ballo
b7850d11ba
Bug 998025 - Have APZ gtests clear the overscroll handoff chain when appropriate. r=kats
...
--HG--
extra : rebase_source : 8253d35c2e0c610398c6b0d3f812552d0a09c246
2014-05-22 17:17:39 -04:00
Botond Ballo
52afa7c8d1
Bug 998025 - Put overscrolling behind a developer pref. r=kats
...
--HG--
extra : rebase_source : 2f5a46cacd97120fcbb8e6608446074089d5bf50
2014-05-21 17:20:12 -04:00
Botond Ballo
2132c09e79
Bug 998025 - Overscroll rendering effect. r=kats
...
--HG--
extra : rebase_source : 8dba78d1e7a471cf739acc59390e1789a6e5873a
2014-05-20 18:30:45 -04:00
Botond Ballo
f035fcf2f8
Bug 998025 - Ignore touch events when in an overscrolled state. r=kats
...
--HG--
extra : rebase_source : c7b6928915d589773aa536cf002c70c9e26fd371
2014-05-22 14:49:43 -04:00
Botond Ballo
23a1167102
Bug 998025 - Apply resistance to pans and flings in overscroll. r=kats
...
--HG--
extra : rebase_source : df1cf70e0843c5806616ecce6003d2f5cd35fb8d
2014-05-13 18:41:32 -04:00
Botond Ballo
72d2491205
Bug 998025 - Snap-back animation to relieve overscroll. r=kats
...
--HG--
extra : rebase_source : 86ac2135be457f515e37c3adcac6787cc8edc36c
2014-05-21 19:47:58 -04:00
Botond Ballo
7ed239eee5
Bug 998025 - Allow AsyncPanZoomAnimation::Sample() to queue deferred tasks even if the animation is ending. r=kats
...
--HG--
extra : rebase_source : 6b8236545d95b3432084cc78b9f0505b62cb6c9c
2014-05-22 17:17:05 -04:00
Botond Ballo
5b8b4b1319
Bug 998025 - Support overscrolling during flinging. r=kats
...
--HG--
extra : rebase_source : 2c85f4a8ec9e21c3a7012f769a560d0153805d63
2014-05-12 18:51:07 -04:00
Botond Ballo
e800ee141a
Bug 998025 - Support overscrolling during panning. r=kats
...
--HG--
extra : rebase_source : f26bb9dfc1267e0eba3216e8f4fa29c98021caa5
2014-05-21 18:21:03 -04:00
Botond Ballo
dd9946a30a
Bug 998025 - Refactor Axis::HasRoomToPan() and Axis::Scrollable(). r=kats
...
--HG--
extra : rebase_source : d0d56f0e1a4f8f9735a8a2755727ee17f33f371f
2014-05-05 19:29:31 -04:00
Botond Ballo
c0a1f7b506
Bug 998025 - Factor out an Axis::GetFrameMetrics() helper. r=kats
...
--HG--
extra : rebase_source : d19c09863bb5f6e83198460747f9f4727d822456
2014-05-21 17:26:06 -04:00
Botond Ballo
7ddcf4420c
Bug 998025 - Remove some unused AsyncPanZoomController and Axis methods. r=kats
...
--HG--
extra : rebase_source : 9c56db6f7cc0ddb9e3059f502de72741b21de460
2014-05-05 17:46:57 -04:00
Sotaro Ikeda
e56f055a37
Bug 1006957 - WebRTC crash fix r=nical
2014-05-26 10:09:25 -07:00
Kartikaya Gupta
bcbc0acd1e
Bug 1015981 - Replace using namespace mozilla::css with qualified class name. r=botond
2014-05-26 12:44:43 -04:00
Andreas Gal
3670a08c42
Bug 1012407 - Part 9: Ensure texture coordinates are within (0,0)(1,1) and nits for Part 6 (r=Bas)
2014-05-24 02:49:41 +02:00
Andreas Gal
9491a54f93
Bug 1001885: Support NPOT texture wrap modes on older PowerVR drivers (r=mattwoodrow).
2014-05-22 15:05:03 -04:00
Sotaro Ikeda
cb17692178
Bug 1006957 - Handle buffer ownership between SurfaceStream and CanvasClient r=nical
2014-05-24 09:14:45 -07:00
Steve Fink
ea69951aea
Backed out changeset 171edffe0641 (bug 1006957) for crash at BaseAutoLock<mozilla::Mutex>::BaseAutoLock(mozilla::Mutex&) from layers::AsyncTransactionTrackersHolder::ClearAllAsyncTransactionTrackers on a CLOSED TREE
2014-05-23 21:16:02 -07:00
Nathan Froyd
4b01374b76
Backout d6c58a2a6da4 (bug 1012407) for various bustages on a CLOSED TREE
2014-05-23 23:36:28 -04:00
Nathan Froyd
bdeb376055
Backout 471244c106e9:634be002dbc9 (bug 1012407)
2014-05-23 23:34:43 -04:00
Andreas Gal
c3996058b5
Bug 1012407 - Part 7: Use a single GL draw call to draw up to 4 texture quads (r=Bas)
2014-05-24 04:16:27 +02:00
Andreas Gal
6674e15f22
Bug 1012407 - Follow-up nits for part 6.
2014-05-24 04:15:45 +02:00
Botond Ballo
851ee8aa7c
Bug 1015331 - Do not leak Task object created during fling handoff. r=kats
2014-05-23 14:32:10 -04:00
Kartikaya Gupta
959ff7340c
Bug 1015278 - Replace the std::string with a char[20] in FrameMetrics to make it cross-process shmem friendly. r=botond
2014-05-23 21:08:51 -04:00
Sotaro Ikeda
e66ebd661d
Bug 1006957 - Handle buffer ownership between SurfaceStream and CanvasClient r=nical
2014-05-23 17:52:43 -07:00
Andreas Gal
1807413f5e
Bug 1012407 - Part 9: Normalize texture coordinates in DecomposeIntoNoRepeatRects (r=BenWa)
2014-05-24 02:49:41 +02:00
Kartikaya Gupta
af75f892d4
Bug 946879 - Guard compositable dumping with an environment variable. r=BenWa
2014-05-23 17:06:24 -04:00
Nicolas Silva
68b4a5e659
Bug 924622 - Make sure gfx's ipc shutdown happens before shutting down xpcom threads. r=bsmedberg, sotaro
2014-05-07 11:06:19 +02:00
Carsten "Tomcat" Book
cdc2e91128
Backed out changeset c4a259f05a18 (bug 1012407) for reftest 5 test failures
2014-05-23 10:37:03 +02:00
Andreas Gal
66c26a0d9a
Bug 1012407 - Part 7: Use a single GL draw call to draw up to 4 texture quads (r=Bas)
2014-05-23 06:10:51 +02:00
Bas Schouten
6667f25c28
Bug 1012213: Let the BufferRect be managed and cleared by the callers like before. r=mattwoodrow
2014-05-23 06:01:05 +02:00
Wes Kocher
e594fbd022
Merge m-c to inbound
2014-05-22 17:55:00 -07:00
Nick Lebedev
42471cb297
Bug 1013378. Make GestureEventListener not to pass apzc status up for touchend event since it causes apzc stay in touching state after gestures completed. r=kats
2014-05-22 20:42:15 -04:00
Wes Kocher
4a7629e50a
Merge inbound to m-c
2014-05-22 17:30:30 -07:00
Carsten "Tomcat" Book
5620cf6964
Merge mozilla-central to b2g-inbound
2014-05-22 15:48:40 +02:00
Sotaro Ikeda
4bcaf068d3
Bug 1012740 - Change as not to abort in GrallocTextureHostOGL::GrallocTextureHostOGL() r=nical
2014-05-22 06:23:12 -07:00
Sotaro Ikeda
3fb56d868c
Bug 1012737 - Add erro check to GrallocTextureClientOGL::GetAsDrawTarget() r=nical
2014-05-22 06:17:03 -07:00
Wes Kocher
ae72230fb0
Backed out 4 changesets (bug 1012407) for b2g reftest5 orange on an otherwise CLOSED TREE
...
Backed out changeset 08e17f48aed1 (bug 1012407)
Backed out changeset b17b7b59cf88 (bug 1012407)
Backed out changeset 1c692df3f080 (bug 1012407)
Backed out changeset 560bd45d52de (bug 1012407)
2014-05-21 18:05:15 -07:00
Birunthan Mohanathas
2deaba6d91
Bug 869836 - Part 8: Use Append('c')
instead of Append("c")
. r=ehsan
2014-05-22 06:48:52 +03:00
Birunthan Mohanathas
76ca8ec617
Bug 869836 - Part 7: Use AppendLiteral instead of Append where possible. r=ehsan
2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
c4568a7085
Bug 869836 - Part 6: Use EqualsLiteral instead of Equals where possible. r=ehsan
2014-05-22 06:48:51 +03:00
Matt Woodrow
37b1f0f705
Bug 1013784 - Implement ClearRect for BasicCompositor. r=Cwiiis
2014-05-22 14:36:26 +12:00
Benoit Girard
9945822fd2
Bug 1014042 - Add compositor benchmark. r=jrmuizel
2014-05-21 17:29:49 +00:00
Andreas Gal
e68467ac54
Bug 1012407 - Part 8: Remove VBOArena which is now dead code (r=Bas)
2014-05-22 00:47:02 +02:00
Andreas Gal
72438d4f4b
Bug 1012407 - Part 7: Use a single GL draw call to draw up to 4 texture quads (r=Bas)
2014-05-22 00:44:40 +02:00
Andreas Gal
a0ea043946
Bug 1012407 - Part 6: Eliminate VBO use and DrawQuads and manually draw no-repeat quads (r=Bas)
2014-05-22 00:23:21 +02:00
Andreas Gal
c18a94ef0b
Bug 1012407 - Part 5: Allow passing a texture rectangle to BindAndDrawQuad (r=Bas)
2014-05-22 00:23:18 +02:00
Matt Woodrow
902dd8f926
Bug 1013759 - Simplify invalid region for Direct2D when using OMTC to avoid hitting expensive drawing paths for complex regions. r=jrmuizel
2014-05-23 09:08:21 +12:00
Jeff Gilbert
ad8f5d5410
Bug 1014961 - IOSurfs are always RGB not BGR. - r=mattwoodrow
2014-05-22 16:44:15 -07:00
Andreas Gal
d7dac146b2
Bug 1012407 - Part 6: Eliminate VBO use and DrawQuads and manually draw no-repeat quads (r=Bas)
2014-05-22 12:29:56 +02:00
Andreas Gal
64df6c108f
Bug 1012407 - Part 5: Allow passing a texture rectangle to BindAndDrawQuad (r=Bas)
2014-05-22 12:29:54 +02:00
Nicolas Silva
2f4369ee5e
Bug 1013292 - Fix some using namespace + unified build issues in gfx code. r=kats
2014-05-22 12:11:45 +02:00
Andreas Gal
ac89dda07d
Bug 1012407 - Part 4: Always pass the layer rect to BindAndDrawQuad (r=Bas)
2014-05-21 23:36:56 +02:00
Andreas Gal
7eaf561a66
Bug 1012407 - Part 3: Eliminate DrawQuadInternal since we no longer need it (r=Bas)
2014-05-21 23:26:38 +02:00
Andreas Gal
299af06a65
Bug 1012407 - Part 2: Use Moz2D to draw velocity graph and elminiate use of GL_LINE_STRIP (r=Bas)
2014-05-21 23:24:16 +02:00
Andreas Gal
59bccf7c82
Bug 1012407 - Part 1: Reduce amount of data uploaded to GPU (layer quad rect instead of transform) r=Bas
2014-05-21 23:03:49 +02:00
Kartikaya Gupta
36b70927ca
Bug 1001438 - Change layers.low-precision-resolution to be a float pref instead of a divide-by-1000 int pref. r=Cwiiis
2014-05-21 12:06:02 -04:00
Sotaro Ikeda
2d84e3da26
Bug 1011327 - Add checks around SharedBufferManagerParent
2014-05-20 13:50:25 -07:00
Carsten "Tomcat" Book
82294cdc89
Backed out changeset a6f85ff386c1 (bug 1011569) for m5 test failures on OS X
2014-05-19 13:46:02 +02:00
Chris Lord
e6e08ba548
Bug 1011569 - Remove PreferMemoryOverShmem in favour of IsSameProcess. r=nical
2014-05-19 10:45:12 +01:00
Nicolas Silva
7de3712fc0
Bug 1010969 - Call RemoveTextureFromCompositable at the end of updates. r=sotaro
2014-05-16 17:25:23 +02:00
Debbe Heisler
52640a26cf
Bug 1001582 -- Transitioned FrameMetrics::mPresShellId to use a getter/setter. r=botond
2014-05-16 19:00:50 -04:00
Botond Ballo
fa7ce0a3ae
Bug 1011659 - Remove spammy warnings from APZTestData.h until fixing bug 1007728 makes them non-spammy and meaningful. r=kats
2014-05-16 16:13:06 -04:00
Bas Schouten
40b0b3aa28
Bug 1003293: Remove the GDI compatible flag from D3D11 Compositor. r=vlad
2014-05-16 18:16:22 +02:00
Bas Schouten
958e9d9838
Bug 1011367: Add Direct3D 11 Gfx feature. r=bjacob
2014-05-16 18:16:21 +02:00
Kartikaya Gupta
f902ce98ac
Bug 1011389 - Don't fire a long-tap-up if the user moves after long-tap. r=dmitry.rojkov
2014-05-16 14:40:01 -04:00
Kartikaya Gupta
9070eed447
Bug 1011260 - Make the zoom animation length preffable. r=botond
2014-05-16 14:40:00 -04:00
Ryan VanderMeulen
96ed00e142
Revert to revision 63dfac3c9c87 due to mass bustage pile-ups that landed after it on a CLOSED TREE.
2014-05-16 12:29:37 -04:00
Nicolas Silva
e25319e5bd
Bug 1010969 - Fix WError bustage on a CLOSED TREE
2014-05-16 17:50:42 +02:00
Kartikaya Gupta
718ea608fd
Bug 1011389 - Don't fire a long-tap-up if the user moves after long-tap. r=dmitry.rojkov
2014-05-16 11:26:00 -04:00
Nicolas Silva
536f633e1d
Bug 1010969 - Call RemoveTextureFromCompositable at the end of updates. r=sotaro
2014-05-16 17:25:23 +02:00
Nicolas Silva
42a451f0bb
Bug 924622 - Make sure gfx's ipc shutdown happens before shutting down xpcom threads. r=bsmedberg, sotaro
2014-05-07 11:06:19 +02:00
Nicolas Silva
c140d86de1
Bug 1008211 - Backed out changeset 4e1e052624c2 because of a regression on B2G
2014-05-16 14:22:46 +02:00
Kartikaya Gupta
0e1e9827ac
Bug 1010979 - Remove the non-margins codepaths from APZCCallbackHelper. r=botond
2014-05-16 08:08:21 -04:00
Kartikaya Gupta
b8a20579ab
Bug 1010119 - Roll back part of bug 978248 as it causes a regression and is not needed any more. r=botond
2014-05-16 08:08:21 -04:00
Chris Lord
bc051da249
Bug 994088 - Only redraw everything on every frame with e10s in BasicCompositor. r=mattwoodrow
...
This was a work-around for an X compositor bug.
2014-05-16 12:44:04 +01:00
Chris Peterson
143832c938
Bug 1010706 - Fix uninitialized variable warnings in gfx/layers/opengl/CompositorOGL.cpp. r=mwoodrow
2014-05-16 00:35:13 -07:00
Chris Peterson
398a6f5a8d
Backed out changeset 9c586b1649d7 for wrong bug number: s/1007708/1010706/
2014-05-16 00:33:16 -07:00
Chris Peterson
1c759c64ad
Bug 1007708 - Fix uninitialized variable warnings in gfx/layers/opengl/CompositorOGL.cpp. r=mwoodrow
2014-05-14 20:15:36 -07:00
Wes Kocher
202d548b78
Merge inbound to m-c
2014-05-15 15:59:45 -07:00
Sotaro Ikeda
12f85ecb9a
Bug 950079 - Add release Fence handling to SurfaceStream on gonk
2014-05-14 15:40:15 -07:00
Sotaro Ikeda
8a83f98375
Bug 1005908 - Avoid unnecessary fEGLImageTargetTexture2D'ing r=nical
2014-05-14 09:59:25 -07:00
Sotaro Ikeda
cb8417b839
Bug 971946 - Remove TextureClientData r=nical
2014-05-14 06:29:52 -07:00
Rafael Vieira
fd736a92cc
Bug 1009228 - Replace use of RefPtr with nsRefPtr. r=kats
2014-05-14 15:45:00 -04:00
Vincent Chen
489d95e542
Bug 983489 - Delay destroying mCompositor to prevent crash. r=nical
2014-05-04 19:52:00 -04:00
Wes Kocher
7b1d2c5343
Merge m-c to inbound
2014-05-14 16:32:53 -07:00
Bas Schouten
9c8b5ef1e8
Bug 1008729: Use Cairo DrawTargets when reading back from GL. r=nical
2014-05-15 00:31:23 +02:00
Bas Schouten
3e247921b5
Bug 1009600: Use a content DT for reference in BasicCompositor. r=nical
2014-05-15 00:31:23 +02:00
Bas Schouten
c71f2edecf
Bug 1002300: Only lazily create the backbuffer for ContentClientDoubleBuffered. r=nical
2014-05-15 00:31:22 +02:00
Botond Ballo
1c80d859ff
Bug 961289 - Add an initial mochitest (for bug 982141) that exercises the APZ testing framework. r=ehsan,kats,BenWa,ted
...
--HG--
extra : source : 3e395bacbf393aaa022675c9a3f97a3c603bb67d
2014-05-12 12:24:57 -04:00
Botond Ballo
8859e2bfc9
Bug 961289 - Expose client- and compositor-side APZ test data from nsIDOMWindowUtils. r=ehsan,kats,bholley
...
--HG--
extra : source : 41f87f2add7d1fafab2749eb08539cd78644fbbe
2014-05-09 17:16:03 -04:00
Botond Ballo
8b6eb070aa
Bug 961289 - API to request compositor-side test data from client. r=BenWa,kats
...
--HG--
extra : source : a475bb542682486ffac8dc91a039f75ec41091b6
2014-05-07 19:56:48 -04:00
Botond Ballo
2ef90e819f
Bug 961289 - Log APZC tree parent links on compositor side for APZ testing. r=kats
...
--HG--
extra : source : e39af36df0d1d79a039bdd0f79a1fd3f61a544d0
2014-04-21 17:47:33 -04:00
Botond Ballo
3e6a4c8180
Bug 961289 - Compositor-side instances of APZ test data and utilities for writing to them r=BenWa,kats
...
--HG--
extra : source : 35f0767449046b88581ada14b9ea7fb0fdd819ac
2014-04-21 17:46:50 -04:00
Botond Ballo
6e03af65aa
Bug 961289 - Client-side instance of APZ test data and utilities for writing to it. r=tn,kats
...
--HG--
extra : source : 1462852a44bee091ebf42d48d87e9c0e4acfac0b
2014-04-21 19:48:54 -04:00
Botond Ballo
d9c607e5af
Bug 961289 - Introduce a data structure for storing data for APZ testing. r=kats
...
--HG--
extra : source : b37d73c22eae03fe00c800cb102ae61fbdbcb30a
2014-05-07 20:39:35 -04:00
Botond Ballo
d2b6591c54
Bug 961289 - Assign sequence numbers to paints on the client side and forward them to the compositor. r=BenWa,kats
...
--HG--
extra : source : d5331eaed1c789ac0248e8710a7b4a167ae349b6
2014-05-06 17:26:13 -04:00
Botond Ballo
fe4ebd4aaa
Bug 961289 - Improve const-correctness in AsyncPanZoomController. r=kats
...
--HG--
extra : source : 757446fc0001be834e96572d5b4b26238b1bcf58
2014-05-07 15:21:26 -04:00
Benoit Jacob
45441f8724
Bug 987010 - Fix the way that the presence of an alpha channel on a canvas drawing buffer is propagated - r=jrmuizel
2014-05-14 12:26:13 -04:00
Kartikaya Gupta
0a15196a06
Bug 1009184 - Explicitly clear the valid region instead of attempting to paint an empty region. r=BenWa
2014-05-13 14:36:33 -04:00
Botond Ballo
e7ee666942
Bug 1009634 - Clearly document the units of APZ prefs. r=kats. DONTBUILD comment-only
...
--HG--
extra : amend_source : b2cc80184098c864c1fd3e00d31296c58175a31e
2014-05-13 12:42:50 -04:00
Nicolas Silva
7c7646b01b
Bug 1008211 - Don't use BufferTextureClient in CanvasClient2D. r=Bas
2014-05-13 14:05:30 +02:00
Markus Stange
a354d3d78a
Bug 1008301 - Invalidate when a layer's pre or post scale changes. r=roc
2014-05-12 21:37:20 +02:00
Markus Stange
a1411b1a1d
Bug 1008301 - Don't invalidate when the visible region of a layer changes. r=roc
2014-05-12 21:37:20 +02:00
Carsten "Tomcat" Book
36cdcd4fc1
Merge mozilla-central to mozilla-inbound
2014-05-13 12:45:41 +02:00
Carsten "Tomcat" Book
64b3aebe1a
merge b2g-inbound to mozilla-central
2014-05-13 12:41:43 +02:00
Wes Kocher
8b513c2e26
Backed out 6 changesets (bug 1006198) for webgl assertions on a CLOSED TREE
...
Backed out changeset 5be3c8c44eed (bug 1006198)
Backed out changeset 4b15abd14f28 (bug 1006198)
Backed out changeset bd11a10e7028 (bug 1006198)
Backed out changeset e1044a8ab189 (bug 1006198)
Backed out changeset 558abe22ab30 (bug 1006198)
Backed out changeset 5462b9babaed (bug 1006198)
2014-05-12 20:47:52 -07:00
Matt Woodrow
1c404aa8b4
Bug 1006198 - Use 8byte aligned surface for CopyableCanvasLayer since that's the max WebGL supports for readback. r=nical
2014-05-13 14:20:27 +12:00
Matt Woodrow
ebdc59155b
Bug 1006198 - Remove a bunch of dead Thebes code. r=jgilbert
2014-05-13 14:20:27 +12:00
Matt Woodrow
3e52ca3b8e
Bug 1006198 - Add PremultiplyDataSurface. r=nical
2014-05-13 14:20:26 +12:00
Matt Woodrow
24b5fc6c5a
Bug 1006198 - Apply Y flip if necessary to tiled Textures in ImageHost. r=nical
2014-05-13 14:20:26 +12:00
Matt Woodrow
8218724383
Bug 1008573 - Simplify D3D10 invalid region before we clear the surface. r=Bas
2014-05-13 11:46:54 +12:00
Wes Kocher
bb8774167c
Backed out 4 changesets (bug 1008301) for possibly breaking OSX 10.8 reftests on a CLOSED TREE
...
Backed out changeset 6a9b7a423db8 (bug 1008301)
Backed out changeset bd16c8833501 (bug 1008301)
Backed out changeset d1fab05aa5f5 (bug 1008301)
Backed out changeset 16ddb5b9eb6d (bug 1008301)
2014-05-12 14:35:46 -07:00
Ryan VanderMeulen
0b55cefbfc
Merge m-c to inbound.
2014-05-12 16:35:37 -04:00
Ryan VanderMeulen
fec4f55a1d
Merge inbound to m-c.
2014-05-12 16:32:53 -04:00
Markus Stange
f920020fe9
Bug 1008301 - Invalidate when a layer's pre or post scale changes. r=roc
2014-05-12 21:37:20 +02:00
Markus Stange
059f226b78
Bug 1008301 - Don't invalidate when the visible region of a layer changes. r=roc
2014-05-12 21:37:20 +02:00
Sotaro Ikeda
bd5187a291
Bug 984434 - Change ImageBridgeChild::FlushAllImages() to use async ipc r=nical
2014-05-12 07:39:25 -07:00
Matt Woodrow
35609629d2
Bug 1006198 - Use 8byte aligned surface for CopyableCanvasLayer since that's the max WebGL supports for readback. r=nical
2014-05-13 14:20:27 +12:00
Matt Woodrow
6f4fe5f50f
Bug 1006198 - Remove a bunch of dead Thebes code. r=jgilbert
2014-05-13 14:20:27 +12:00
Matt Woodrow
dbc26acf88
Bug 1006198 - Add PremultiplyDataSurface. r=nical
2014-05-13 14:20:26 +12:00
Matt Woodrow
751b2224df
Bug 1006198 - Apply Y flip if necessary to tiled Textures in ImageHost. r=nical
2014-05-13 14:20:26 +12:00
Kartikaya Gupta
1ca7507578
Bug 1005409 - Move the releasing of shared frame metrics to always run on the compositor thread. r=botond
2014-05-12 14:16:41 -04:00
Kartikaya Gupta
77f3576b70
Bug 1006790 - Ensure the overscroll checks are correct if the scrollable rect is smaller than the composition bounds. r=botond
2014-05-12 14:16:41 -04:00
Matt Woodrow
3a9d61b8b5
Bug 979350 - fixup rebase failures
2014-05-12 12:51:08 +12:00
Matt Woodrow
c485ba2348
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
e42521f895
Bug 997336 - Account for the DrawTarget 'device offset' when drawing layers with a mask. r=Bas
2014-05-12 12:31:27 +12:00
Sotaro Ikeda
704286c61e
Bug 1000660 - Remove TextureParent::RecvRemoveTextureSync() r=nical
2014-05-12 18:18:22 -07:00
Jeff Muizelaar
79a1bdf535
Bug 1007821. Use image surfaces for transparent content on D3D9. r=bas
...
This gives us a 6% improvement on CART on WinXP.
2014-05-08 15:09:07 -04:00
Daniel Holbert
902b3dfbef
Bug 1008360: Move LayerSorter.cpp's xterm color codes into the block where they're used, and comment out the ones that aren't used at all. r=kats
2014-05-09 13:30:49 -07:00
Mason Chang
2f5ed89ad4
Bug 990835 - Change Compositor FPS to be Histogram based. r=benwa
2014-05-09 09:50:00 -04:00
Benoit Girard
a33bd67998
Bug 1007897 - Release mSurface reference earlier to reduce copies and peak memory. r=mattwoodrow
...
--HG--
extra : rebase_source : 2f2a46c66e41010a5e8afb4d9d6e95d0f27bd763
2014-05-09 11:52:11 -04:00
Botond Ballo
a702eb8764
Bug 1007734 - Avoid leaving APZC with stale parent pointer. r=kats
2014-05-08 12:35:28 -04:00
Matt Woodrow
faf73e325b
Bug 950312 - Part 7: Disable component alpha for layers with a mix-blend-mode. r=roc
2014-05-09 22:06:20 +12:00
Matt Woodrow
ac6cffde65
Bug 950312 - Part 6: Share code for computing layers component alpha support. r=roc
2014-05-09 22:06:20 +12:00
Matt Woodrow
dbd6f4096d
Bug 950312 - Part 5: Implement SCREEN and MULTIPLY for CompositorOGL. r=mtseng
2014-05-09 22:06:18 +12:00
Matt Woodrow
6ddeb2b709
Bug 950312 - Part 3: Add Layers API to see what blend modes are supported. r=roc
2014-05-09 21:48:32 +12:00
Matt Woodrow
b858fff576
Bug 950312 - Part 2: Add Effect for BlendModes. r=nical
2014-05-09 21:48:29 +12:00
Matt Woodrow
8a053c7bf1
Bug 950312 - Part 1: Copy mix-blend-mode proprties to the compositor layer tree. r=roc
2014-05-09 21:41:56 +12:00
Mason Chang
fe741519a1
Bug 979949 - Expose compositor fill ratio to JS for automation. r=benwa,mrbkap.
2014-05-08 17:32:00 +02:00
Benoit Jacob
7d4874a620
Bug 1005658 - Don't pass stack pointers to the GL for buffers, and have GLContext try to guard against it - r=jgilbert
2014-05-08 21:03:37 -04:00
Nick Lebedev
f7d113e6a4
Bug 964750 - Make GestureEventListener rely on the EventStatus returned from the apzc. Add a check to apzc if touch-action allows zooming. Update apzc tests accordingly. r=drs
2014-05-05 11:23:00 -04:00
Vladimir Vukicevic
be9da7ed31
b=874781; add color bars to layer diagnostics, for vsync checking; r=benwa
2014-05-08 16:49:01 -04:00
Chris Lord
3d407681ab
Bug 995216 - Compensate for rounding error in DrawSurfaceWithTextureCoords. r=bas
...
Calculating the source rect in DrawSurfaceWithTextureCoords can introduce
small floating point errors that result in detectable blending errors. Round
to pixels because we know the original values (the visible region) are
pixel-aligned. This is also what CompositorOGL does.
2014-05-08 11:39:31 +01:00
Matt Woodrow
d54248516a
Bug 938395 - Enable single rect painting for d3d10. r=Bas
2014-05-08 14:56:48 +12:00
Wes Kocher
acbc9e91fe
Merge m-c to inbound
2014-05-07 17:38:29 -07:00
Sotaro Ikeda
939762d4da
Bug 1004191 - Destroy LayerTransactionChild r=nical,bjacob
2014-05-07 06:23:14 -07:00
Matt Woodrow
b4ecb7164e
Bug 1003707 - Pass surfaces sizes in to CreateSourceSurfaceFromNativeSurface instead of trying to extract it from cairo. r=Bas
2014-05-08 11:23:44 +12:00
Ryan VanderMeulen
446c9509db
Backed out changeset 86f9003c1251 (bug 924622) for causing bug 1007284 (frequent mochitest-e10s-2 shutdown hangs).
2014-05-07 17:03:03 -04:00
Nicolas Silva
a6863f0e23
Bug 924622 - Make sure gfx's ipc shutdown happens before shutting down xpcom threads. r=bsmedberg, sotaro
2014-05-07 11:06:19 +02:00
Ryan VanderMeulen
d4400ed747
Backed out changeset d7d7cc47bcc6 (bug 924622) for bustage.
...
CLOSED TREE
2014-05-07 10:22:21 -04:00
Nicolas Silva
204e86d14e
Bug 924622 - Make sure gfx's ipc shutdown happens before shutting down xpcom threads. r=bsmedberg, r=sotaro
2014-05-07 11:06:19 +02:00
Peter Chang
c01083a3bc
Bug 997367 - fix crash at CrossProcessCompositorParent::GetCompositionManager, r=roc
2014-05-11 23:03:00 +02:00
Carsten "Tomcat" Book
8e48d8e0dd
Backed out changeset a170dabfd12b (bug 997365) for wrong bug nummer in commit message on a CLOSED TREE
2014-05-12 14:10:31 +02:00
Peter Chang
2bb43c2e02
Bug 997365 fix crash at CrossProcessCompositorParent::GetCompositionManager, r=roc
2014-05-11 23:03:00 +02:00
Kartikaya Gupta
e5e1f8729d
Bug 1006579 - Fix the AboutToCheckerboard implementation to actually work. r=Cwiiis
2014-05-06 14:29:47 -04:00
Kartikaya Gupta
8b53b702d4
Bug 1006579 - Extract a helper method to compute the min of the composition bounds and root composition size. r=botond
2014-05-06 14:29:44 -04:00
Botond Ballo
98bebf3b13
Bug 1005378 - Have TabChild create a view ID for the document element if one doesn't already exist. r=kats
2014-05-05 15:06:28 -04:00
Carsten "Tomcat" Book
d666673c23
Merge m-c to mozilla-inbound
2014-05-06 14:40:37 +02:00
Nicolas Silva
3530e449fd
Bug 998130 - Add null checks in CairoImage::GetTextureClient. r=bjacob
2014-05-06 14:34:19 +02:00
Carsten "Tomcat" Book
742abc7f74
Backed out changeset 6efbbdf09c63 (bug 1001845) for refest failures
2014-05-06 14:09:56 +02:00
Wes Kocher
51b4f13fac
Merge m-c to b2g-inbound
2014-05-05 21:19:59 -07:00
Sotaro Ikeda
56320456e0
Bug 1000525 - Defer Fence release until IPC delivery complete r=nical
2014-05-05 18:56:40 -07:00
Mason Chang
99cdffe1b5
Bug 980027 - Part 2: Set compositor thread priority to platform value. r=gsvelto, benwa
2014-05-05 11:38:00 -04:00
Carsten "Tomcat" Book
b4aeef9ecb
Backed out changeset 290f4be587a1 (bug 983489) for suspicion that this caused the m8 and m10 on ics debug on a CLOSED TREE
2014-05-05 16:19:22 +02:00
Markus Stange
b5d699db21
Bug 1000875 - Add invalidation debugging annotations for layer content type changes. r=roc
2014-05-05 10:24:56 +02:00
Vincent Chen
3eb4c922fc
Bug 983489 - "Crash on nsIAppStartup.quit() - application crashed [@ mozilla::gl::GLContext::MakeCurrent(bool)]" r=nical
2014-04-29 23:49:00 +02:00
Botond Ballo
bc3500d3af
Bug 1004620 - Purge ImageBridgeChild.cpp of 'using namespace base'. r=bjacob
2014-05-01 14:51:00 -04:00
Benoit Girard
04f32cf039
Bug 1005328 - Layers.dump output should be consistent with newlines. r=bottond
2014-05-02 17:29:29 -04:00
Josh Aas
f00583cc36
Bug 960774: Add ActorDestroy impl for all parent-side actors that don't have one. It will be required soon. r=bent
2014-05-02 13:44:13 -05:00
Kartikaya Gupta
fd2e8a618b
Bug 1002754 - Don't store a pointer to the cross-process compositor parent as it may go bad; pull it on demand instead. r=rbarker, r=botond
2014-05-02 11:12:48 -04:00
Kartikaya Gupta
e2d65692a2
Bug 1002754 - Add a more comprehensive mechanism to disable thread assertions in APZ gtests. r=botond
2014-05-02 11:12:47 -04:00
Kartikaya Gupta
3ac891d9ab
Bug 1004516 - Add some default-disabled file logging to ActiveElementManager. r=botond
2014-05-02 08:21:57 -04:00
Kartikaya Gupta
19bb9f870e
Bug 1004516 - Ensure state is properly cleared in the ActiveElementManager. r=botond
2014-05-02 08:21:57 -04:00
Matt Woodrow
0948d077e1
Bug 1001845 - Simplify invalid regions to avoid spending excessive amounts of time in region code. r=roc
2014-04-28 16:17:31 +12:00
Matt Woodrow
68f995d0ca
Bug 952721 - Don't crash if our surface allocation fails in TiledContentClient. r=Bas
2014-05-02 14:28:52 +12:00
chiajung hung
e92efaa365
Bug 959089 - Part 2: Use the new protocol to do buffer allocation. r=nical
2014-04-30 21:52:00 -04:00
chiajung hung
fb2a19d0d1
Bug 959089 - Part 1: Implement a new protocol for manage shared buffers' allocation. r=vlad, r=gal
2014-04-30 21:50:00 -04:00
Ryan VanderMeulen
07fde4d1bb
Backed out changeset 01dd7c0d8f8d (bug 1002754) for gtest failures.
2014-05-01 12:55:02 -04:00
Kartikaya Gupta
5d35adf5f4
Bug 1004459 - Log critical displayport values to rendertrace output as well. r=botond
2014-05-01 06:21:00 -04:00
Kartikaya Gupta
57614b5dab
Bug 1002754 - Don't store a pointer to the cross-process compositor parent as it may go bad; pull it on demand instead. r=rbarker, r=botond
2014-04-30 12:17:00 -04:00
Robert O'Callahan
959601c675
Bug 995745 - Use LockPixels for WebGL readback directly into a DrawTarget instead of writing to an immutable snapshot. r=mattwoodrow
2014-05-01 11:12:41 +12:00
Ryan VanderMeulen
568d01e29e
Backed out changesets 74ef5120ae2f and d26dfd37031a (bug 924622) for frequent Android and OSX crashes.
...
CLOSED TREE
2014-04-30 13:21:07 -04:00
Jerry Shih
f16d9a19fd
Bug 993019 - Handle scheduling rendering task for cross-process rotation. r=mattwoodrow, r=nical
2014-04-27 22:22:00 -04:00
Nicolas Silva
79c0192464
Bug 924622 - Make sure gfx's ipc shutdown happens before shutting down xpcom threads. r=bsmedberg, sotaro
2014-04-30 17:39:59 +02:00
Bas Schouten
012997419b
Bug 999584: Do not try to invalidate a null layermanager. r=nical
2014-04-29 22:33:12 +02:00
Bas Schouten
4b872abb0d
Bug 996745: Do not try to FinalizeFrame when there is no buffer. r=mattwoodrow
2014-04-29 22:33:11 +02:00
Bas Schouten
821065aa60
Bug 999579: Get the feature level in the D3D11 compositor. r=nical
2014-04-29 22:33:11 +02:00
Bas Schouten
dbb9271862
Bug 997517: Never try to use D2D for BufferTextureClients. r=nical
2014-04-29 22:33:10 +02:00
Kartikaya Gupta
30f07baab4
Bug 907123 - Implement fling acceleration on multiple consecutive flings. r=botond
2014-04-29 09:45:13 -04:00
Kartikaya Gupta
9138109b3f
Bug 907123 - Move fling-related things into a new section in AsyncPanZoomController.h. r=botond
2014-04-29 09:45:09 -04:00
Carsten "Tomcat" Book
d7f30b5e72
Backed out changeset ffe32dd3b558 (bug 959089) for assertions
2014-04-29 12:22:07 +02:00
Carsten "Tomcat" Book
30e4791d39
Backed out changeset a89f08f4fd3e (bug 959089)
2014-04-29 12:21:52 +02:00
chiajung hung
bb39549da2
Bug 959089 - Separate GrallocBuffer allocations from Compositor thread(part2). r=nical
2014-04-28 20:46:00 +02:00
chiajung hung
e542a40aa5
Bug 959089 - Separate GrallocBuffer allocations from Compositor thread(part1), r=vlad,gal
2014-04-28 20:46:00 +02:00
Kartikaya Gupta
cff49f344a
Bug 1002482 - Log mTransformScale as part of the FrameMetrics dump. r=botond
2014-04-28 08:18:00 +02:00
Kartikaya Gupta
8236d2a702
Bug 1002482 - Ensure the isDefault variable is computed before mFrameMetrics is modified. r=botond
2014-04-28 07:58:00 +02:00
Jonathan Watt
d7d9854e2c
Bug 1001683 - Convert a bunch of ReadPixelsIntoImageSurface callers to ReadPixelsIntoDataSurface callers (Moz2D migration). r=mattwoodrow
2014-04-29 00:26:54 +01:00
Wes Kocher
57f239e7c7
Backed out changeset 1201268ce090 (bug 993019) for possibly making Android J3 tests flaky
2014-04-28 15:56:47 -07:00
Benoit Jacob
728509bae7
Bug 924622 - Remove an assertion to complete the backout on a CLOSED TREE
2014-04-28 14:34:46 -04:00
Nicolas Silva
e654487c2a
Bug 924622 - Backout because of e10s mochitest regression on linux on a CLOSED TREE
2014-04-28 19:32:32 +02:00
Botond Ballo
692fbb02d3
Bug 1000633 - Avoid APZ data race in accessing mAnimation. r=kats
2014-04-25 13:38:09 -04:00
Ed Morley
15b9ce31ab
Backed out changeset ab970e182f57 (bug 907123) for assertions from AsyncPanZoomControllerTester
2014-04-28 16:06:55 +01:00
Ed Morley
5c3ca3e502
Backed out changeset 729fb5ddc1b9 (bug 907123)
2014-04-28 16:06:32 +01:00
Kartikaya Gupta
b80c05cb2d
Bug 907123 - Implement fling acceleration on multiple consecutive flings. r=botond
2014-04-28 10:19:25 -04:00
Kartikaya Gupta
033e11f564
Bug 907123 - Move fling-related things into a new section in AsyncPanZoomController.h. r=botond
2014-04-28 10:19:13 -04:00
Benoit Jacob
b2aed07c9a
Bug 989144 - Convert EffectChain::mSecondaryEffects to be an EnumeratedArray - r=nical
2014-04-25 22:34:06 -04:00
Benoit Jacob
ccf1372bf3
Bug 987311 - Follow-up: Make CompositorD3D11 use EnumeratedArray to fix the build on MSVC 2012 (where typed enums are actually typed) - no review, bustage fix
2014-04-28 10:14:00 -04:00
Benoit Jacob
d6cc951507
Bug 987311 - 6/6 - Convert the rest of CompositorTypes.h to typed enums, final manual changes - r=nical
2014-04-25 22:34:06 -04:00
Benoit Jacob
dd92d414d0
Bug 987311 - 5/6 - Convert the rest of CompositorTypes.h to typed enums, auto regex changes - r=nical
...
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)DIAGNOSTIC_\(NONE\|TILE_BORDERS\|LAYER_BORDERS\|BIGIMAGE_BORDERS\|FLASH_BORDERS\)\($\|[^A-Za-z0-9_]\)/\1DiagnosticTypes::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/DiagnosticTypes\:\:NONE/DiagosticTypes::NO_DIAGNOSTIC/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)DIAGNOSTIC_\(IMAGE\|CONTENT\|CANVAS\|COLOR\|CONTAINER\|TILE\|BIGIMAGE\|COMPONENT_ALPHA\|REGION_RECT\)\($\|[^A-Za-z0-9_]\)/\1DiagnosticFlags::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)EFFECT_\(MASK\|MAX_SECONDARY\|RGB\|YCBCR\|COMPONENT_ALPHA\|SOLID_COLOR\|RENDER_TARGET\|MAX\)\($\|[^A-Za-z0-9_]\)/\1EffectTypes::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)TEXTURE_\(CONTENT\|SHMEM\|YCBCR\|SHARED_GL\|SHARED_GL_EXTERNAL\|STREAM_GL\|FALLBACK\)\($\|[^A-Za-z0-9_]\)/\1DeprecatedTextureClientType::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(BUFFER_UNKNOWN\|BUFFER_IMAGE_SINGLE\|BUFFER_IMAGE_BUFFERED\|BUFFER_BRIDGE\|BUFFER_CONTENT\|BUFFER_CONTENT_DIRECT\|BUFFER_CONTENT_INC\|BUFFER_TILED\|BUFFER_SIMPLE_TILED\|COMPOSITABLE_IMAGE\|COMPOSITABLE_CONTENT_SINGLE\|COMPOSITABLE_CONTENT_DOUBLE\|BUFFER_COUNT\)\($\|[^A-Za-z0-9_]\)/\1CompositableType::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/CompositableType\:\:COMPOSITABLE_/CompositableType::/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)TEXTURE_HOST_\(DEFAULT\|TILED\|COPY_PREVIOUS\)\($\|[^A-Za-z0-9_]\)/\1DeprecatedTextureHostFlags::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)Texture\(Front\|Back\|OnWhiteFront\|OnWhiteBack\)\($\|[^A-Za-z0-9_]\)/\1TextureIdentifier::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(OPEN_NONE\|OPEN_READ\|OPEN_WRITE\|OPEN_READ_WRITE\|OPEN_READ_ONLY\|OPEN_WRITE_ONLY\)\($\|[^A-Za-z0-9_]\)/\1OpenMode::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(MaskNone\|Mask2d\|Mask3d\|NumMaskTypes\)\($\|[^A-Za-z0-9_]\)/\1MaskType::\2\3/g'
find gfx -type f | xargs sed -i 's/Diagostic/Diagnostic/g'
2014-04-25 22:34:06 -04:00
Benoit Jacob
4330f5e7fc
Bug 987311 - 4/6 - Convert the rest of CompositorTypes.h to typed enums, initial manual changes - r=nical
2014-04-25 22:34:05 -04:00
Benoit Jacob
9df86991b2
Bug 989027 - 2/2 - Make LayerRenderStateFlags a typed enum, auto regex changes - r=nical
...
find gfx -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)LAYER_RENDER_STATE_\(Y_FLIPPED\|BUFFER_ROTATION\|FORMAT_RB_SWAP\)\($\|[^A-Za-z0-9_]\)/\1LayerRenderStateFlags::\2\3/g'
2014-04-25 22:34:05 -04:00
Benoit Jacob
8cd643902f
Bug 989027 - 1/2 - Make LayerRenderStateFlags a typed enum, manual changes - r=nical
2014-04-25 22:34:05 -04:00
Benoit Jacob
01868df539
Bug 987311 - 3/6 - Make TextureFlags a typed enum, final manual changes - r=nical
2014-04-25 22:34:05 -04:00
Benoit Jacob
a7d77dbf30
Bug 987311 - 2/6 - Make TextureFlags a typed enum, auto regex changes - r=nical
...
find gfx/layers -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)TEXTURE_\(USE_NEAREST_FILTER\|NEEDS_Y_FLIP\|DISALLOW_BIGIMAGE\|ALLOW_REPEAT\|NEW_TILE\|COMPONENT_ALPHA\|RB_SWAPPED\|FRONT\|ON_WHITE\|ON_BLACK\|TILE\|RECYCLE\|COPY_PREVIOUS\|DEALLOCATE_CLIENT\|IMMUTABLE\|IMMEDIATE_UPLOAD\|DOUBLE_BUFFERED\|ALLOC_FALLBACK\)\($\|[^A-Za-z0-9_]\)/\1TextureFlags::\2\3/g'
find gfx/layers -type f | xargs sed -i 's/TEXTURE_FLAGS_DEFAULT/TextureFlags::DEFAULT/g'
2014-04-25 22:34:05 -04:00
Benoit Jacob
344610a9df
Bug 987311 - 1/6 - Make TextureFlags a typed enum, initial manual changes - r=nical
2014-04-25 22:34:04 -04:00
Nicolas Silva
7547bdadd5
Bug 997121 - Mark CompsoitorOGL MOZ_FINAL to prevent future problems with the virtual call in its destructor. r=bjacob
2014-04-28 16:10:35 +02:00
Nicolas Silva
57653a79d1
Bug 924622 - Make sure gfx's ipc shutdown happens before shutting down xpcom threads. r=bsmedberg, sotaro
2014-04-28 16:03:12 +02:00