Botond Ballo
ad6d7f2ade
Bug 1212664 - Perform y-inversion correctly when dumping compositor surface. r=jrmuizel
2015-10-07 19:58:23 -04:00
David Anderson
60c1cbf0c5
Disable screen and multiply mix-blend-mode support in the D3D11 and OGL compositors. (bug 1135271, r=mattwoodrow)
2015-10-07 16:38:19 -07:00
David Anderson
4e6f0b3e1d
Pass the correct moz2d backend in CanvasClients. (bug 1212499, r=mattwoodrow)
2015-10-07 16:34:41 -07:00
David Anderson
0011f60b88
Fix inactive scroll frames sometimes creating very large, incorrect hit regions. (bug 1190112, r=tn)
2015-10-07 12:08:53 -07:00
Benoit Girard
49f6bfe259
Bug 1199885 - Part 10: Add APZTeeManager API to start an async scroll. r=kats
2015-09-28 17:00:21 -04:00
Benoit Girard
24d0310d3f
Bug 1199885 - Part 9: Let APZC handle the drag events. r=kats
2015-09-28 14:44:37 -04:00
Benoit Girard
2f4adb8867
Bug 1199885 - Part 8: Add FindScrollNode to locate the scrollbar thumb. r=kats
2015-09-28 14:44:37 -04:00
Benoit Girard
5343d8a7c2
Bug 1199885 - Part 5: Make mRootLayerTreeID const to prove that there's no data races. r=kats
2015-09-28 14:44:36 -04:00
Benoit Girard
5480e3ec92
Bug 1199885 - Part 4: Let the hit testing tree know about the scroll thumb. r=kats
2015-09-28 14:44:36 -04:00
Benoit Girard
4c168e7c49
Bug 1199885 - Part 3: Add 'apz.drag.enabled' preference for async scrollbars. r=kats
2015-09-28 14:44:36 -04:00
Benoit Girard
d525698d71
Bug 1199885 - Part 2: Add AsyncDragMetrics. r=kats
2015-09-28 14:43:50 -04:00
Nicholas Nethercote
0c9936d9d3
Bug 1211324 (part 5) - Remove GraphicsFilter and gfxGraphicsFilter. r=mattwoodrow.
2015-10-05 17:18:10 -07:00
Nicholas Nethercote
e6cc09cd51
Bug 1211324 (part 4) - Replace GraphicsFilter constants with gfx::Filter equivalents. r=mattwoodrow.
...
The conversion is as follows:
- GraphicsFilter::FILTER_NEAREST == gfx::Filter::POINT
- GraphicsFilter::FILTER_GOOD == gfx::Filter::GOOD
- GraphicsFilter::FILTER_BEST == gfx::Filter::LINEAR
Also typedef GraphicsFilter to gfx::Filter; this will be removed in the next
patch.
These changes mean ToFilter() and ThebesFilter() are no longer needed.
2015-10-05 17:12:46 -07:00
Nicholas Nethercote
4461b88439
Bug 1211324 (part 3) - Remove GraphicsFilter::FILTER_FAST and replace it with FILTER_BEST. r=mattwoodrow.
...
This may sound like an odd change but it's what the current code effectively
already does due to the way ToFilter() and ThebesFilter() are defined.
2015-10-05 16:59:32 -07:00
Nicholas Nethercote
147a5bb519
Bug 1211324 (part 2) - Make gfx::FILTER::GOOD convert to GraphicsFilter::FILTER_GOOD. r=mattwoodrow.
2015-10-04 22:37:47 -07:00
Nicholas Nethercote
453c05c3e7
Bug 1211324 (part 1) - Remove BILINEAR and GAUSSIAN filter constants.
...
These aren't used meaningfully.
2015-10-04 20:05:28 -07:00
Nicholas Nethercote
dc47baadd4
Bug 1208945 - Rename Color::{To,From}ARGB() so they aren't easily confused with {To,From}ABGR(). r=Bas.
2015-09-24 18:16:50 -07:00
Carsten "Tomcat" Book
012753246e
Backed out changeset 79746e93020a (bug 1011020) for causing bug 1212267
2015-10-07 12:17:02 +02:00
James Kitchener
2d242c0078
Bug 1011020 - Add the ability to fall back to not snapping, if snapping results in a zero area rect r=roc - relanding with correct bug number on a CLOSED TREE
2015-10-05 05:00:00 +02:00
Carsten "Tomcat" Book
2ad41b895f
Backed out 1 changesets (bug 1101020) for landing with wrong bugnumber on a CLOSED TREE
...
Backed out changeset 18d4a0ca8cc1 (bug 1101020)
2015-10-07 09:24:27 +02:00
James Kitchener
329cc53de4
Bug 1101020 - Add the ability to fall back to not snapping, if snapping results in a zero area rect r=roc
2015-10-07 11:18:08 +05:30
Robert O'Callahan
4d19fecd08
Bug 1195152. Pass correct YUV type when converting shared YUV image to RGB. r=nical
2015-10-06 16:36:10 +13:00
Kevin Wern
afb6de1fdd
Bug 1202050 - Use UntransformTo in a few more places in APZ code. r=botond
...
We previously believed these matrices could only be 2D, but it turns out
they can potentially be 3D projective transforms, so we need to use
UntransformTo() when applying them.
The patch also removes the unused function APZCTreeManager::TransformCoordinateToGecko().
2015-10-05 11:47:01 -04:00
Jim Mathies
1137203dba
Bug 1137944 - Add a pref to control plugin window hiding. r=roc
2015-10-06 14:23:24 -05:00
Jim Mathies
35c072f6bd
Bug 1137944 - On Windows defer composition until we receive confirmation plugin window metrics have been updated. r=roc
2015-10-06 14:23:24 -05:00
Jim Mathies
1052af354d
Bug 1137944 - Move plugin window metrics updates to a point during comososition where we know the remote layer tree is hooked up to the chrome layer tree. r=matt.woodrow
2015-10-06 14:23:24 -05:00
Jim Mathies
38a7f7db28
Bug 1137944 - Cache compositor plugin update data to avoid sending updates to the main thread when the data doesn't change. r=roc
2015-10-06 14:23:24 -05:00
Jim Mathies
4e5c5a80b6
Bug 1196539 - Apply plugin config using AutoResolveRefLayers during composition. r=matt.woodrow
2015-10-06 14:23:24 -05:00
Nicholas Nethercote
44a64010c3
Bug 1208365 (part 4) - Remove gfxPattern::GraphicsExtend. r=bas.
2015-09-25 00:59:13 -07:00
Nicholas Nethercote
7393d982fb
Bug 1208365 (part 3) - Change gfxPattern::mExtend from a GraphicsExtend to a gfx::ExtendMode. r=bas.
...
At this point, the relationship between GraphicsExtend and gfx::ExtendMode is
as follows.
- EXTEND_REPEAT matches up with REPEAT.
- EXTEND_REFLECT matches up with REFLECT.
- EXTEND_PAD matches up with CLAMP.
- EXTEND_NONE has no matching value in gfx::ExtendMode.
The only use of EXTEND_NONE is with nsSVGGradientFrame::mExtend. That field
gets assigned EXTEND_NONE in the various constructors, and other values via
SetExtend(). And all uses of that field go immediately into ToExtend() calls,
which convert EXTEND_NONE to CLAMP. So it's safe to change this field to
gfx::ExtendMode and initialize it to CLAMP.
2015-09-25 00:58:23 -07:00
Nicholas Nethercote
eef391537b
Bug 1208365 (part 2) - Remove gfxPattern::Extend(). r=bas.
...
It's unused.
2015-09-25 00:55:31 -07:00
Nicholas Nethercote
9daed6af96
Bug 1208365 (part 1) - Remove unused EXTEND_PAD_EDGE. r=Bas.
2015-09-25 00:53:20 -07:00
Milan Sreckovic
faa5c52d49
Bug 1207258 - Give back the ability to run direct write without D2D, but only with a *force* preference. r=dvander
2015-10-05 11:40:00 +02:00
David Anderson
049a46caef
Remove ISurfaceAllocator::GetCompositorBackend. (bug 1211109 part 4, r=mattwoodrow)
2015-10-05 23:40:13 -07:00
David Anderson
e1d5f8bc99
Allow top-level window changes to the remembered compositor type. (bug 1211109 part 3, r=mattwoodrow)
2015-10-05 23:39:28 -07:00
David Anderson
07ff755338
Remove the static compositor backend variable. (bug 1211109 part 2, r=mattwoodrow)
2015-10-05 23:39:00 -07:00
David Anderson
da7ac92eb9
Log initialization failures in CompositorD3D11.cpp. (bug 1211109 part 1, r=mattwoodrow)
2015-10-05 23:38:40 -07:00
Jeff Muizelaar
3cfebaf6a8
Bug 1211774. Update to ANGLE 2522.
2015-10-05 13:48:44 -04:00
Kartikaya Gupta
392927aa59
Bug 1208973 - Ensure all code in TaskThrottler is threadsafe since it gets called from various threads. r=botond
...
Hat tip to :froydnj for describing the proof-of-lock technique used in this patch
in his blog at https://blog.mozilla.org/nfroyd/2015/09/17/compiler-enforced-locked-accesses/
2015-10-05 16:18:56 -04:00
Kartikaya Gupta
e52e99aa64
Bug 1208973 - Move function bodies into .cpp file, and remove an unused one. r=botond
2015-10-05 16:18:56 -04:00
Kartikaya Gupta
ff318fb9db
Bug 1208973 - Refactor and add logging to TaskThrottler. r=botond
2015-10-05 16:18:56 -04:00
Kartikaya Gupta
3627a3da39
Bug 1203901 - Increase the long-tap threshold time for test_basic_pan.html. r=botond
2015-10-05 16:18:24 -04:00
Kartikaya Gupta
c9a241122a
Bug 1203901 - Ensure the page is painted before sending touch events to it. r=botond
2015-10-05 16:18:24 -04:00
Wes Kocher
0424030a6b
Merge m-c to inbound, a=merge CLOSED TREE
2015-10-05 13:11:26 -07:00
Jeff Muizelaar
e330290bbd
Bug 1211504
. Remove unused member from RefLayer.
...
Indirectly caught by coverity
2015-10-05 11:42:53 -04:00
Wes Kocher
38e6ef5aee
Backed out 11 changesets (bug 709490) for webgl-color-test.html failures a=backout
...
Backed out changeset fc04c5d43550 (bug 709490)
Backed out changeset cd8f9410d335 (bug 709490)
Backed out changeset 6e687c9143c1 (bug 709490)
Backed out changeset 9b20f2c833c4 (bug 709490)
Backed out changeset f9d130aea88e (bug 709490)
Backed out changeset fc513b410949 (bug 709490)
Backed out changeset acf6220b431a (bug 709490)
Backed out changeset 9bceaf913791 (bug 709490)
Backed out changeset 37fba20111e2 (bug 709490)
Backed out changeset 2285ce1596b8 (bug 709490)
Backed out changeset fb4e09920569 (bug 709490)
2015-10-05 08:28:25 -07:00
Botond Ballo
bb69bb8abb
Bug 1209964 - In AlignFixedAndStickyLayers(), properly handle the case where a fixed or sticky layer is its own subtree root and has a local transform. r=kats
2015-10-02 20:53:30 -04:00
Nicholas Nethercote
07f15d61e6
Bug 1209351 (part 3) - Optimize nsTHashTable::RemoveEntry() usage in gfx/. r=jrmuizel.
2015-09-24 19:07:22 -07:00
Morris Tseng
9ae39aa599
Bug 709490 - Part 10: Using mechanism in RuntimeService to get pref in worker thread instead of gfxPref. r=baku
2015-10-05 10:50:17 +08:00
Morris Tseng
5ee4f58d5e
Bug 709490 - Part 9: Readback without blocking main thread. r=jgilbert
2015-10-05 10:50:16 +08:00
Morris Tseng
b164583db9
Bug 709490 - Part 8: Copy to a temp texture when readback from IOSurface. r=jgilbert
2015-10-05 10:50:16 +08:00
Morris Tseng
4695e137b7
Bug 709490 - Part 7: If layer is not available, fallback to BasicCanvasLayer. r=roc
2015-10-05 10:50:16 +08:00
Morris Tseng
ce2d292805
Bug 709490 - Part 6: Add frame ID to CanvasClient so compositor could update frame correctly. r=roc
2015-10-05 10:50:16 +08:00
Morris Tseng
ae7d727d4f
Bug 709490 - Part 2: Introduce OffscreenCanvas and let WebGL context work on workers. r=nical, r=jgilbert, r=jrmuizel, sr=ehsan
...
Thanks Jon Morton [:jmorton] (jonanin@gmail.com ) for polishing patches.
2015-10-05 10:50:16 +08:00
Morris Tseng
6d4517421b
Bug 709490 - Part 1: Let ImageBridge transfer CanvasClient async. r=nical
...
Thanks Jon Morton [:jmorton] (jonanin@gmail.com ) for polishing patches.
2015-10-05 10:50:15 +08:00
Kartikaya Gupta
1b65d0ad58
Bug 1208023 - Add a reftest. r=botond
2015-10-02 23:08:23 -04:00
Carsten "Tomcat" Book
1955db09bc
Merge m-c to mozilla-inbound
2015-10-02 13:37:27 +02:00
Jacek Caban
572373a762
Bug 1207437 - Extra qualification fixup.
2015-10-02 12:27:16 +02:00
Carsten "Tomcat" Book
404e79482a
merge mozilla-inbound to mozilla-central a=merge
2015-10-02 11:52:49 +02:00
Carsten "Tomcat" Book
dcfd774b62
merge fx-team to mozilla-central a=merge
2015-10-02 11:44:11 +02:00
Jared Wein
00c104096f
Backout of bug 1208636 due to it causing large black areas on long pages (bug 1210411). rs=kats
2015-10-02 00:04:21 -04:00
Jeff Gilbert
f16628f247
Bug 1178601 - Don't crash on incomplete FB. - r=jrmuizel
2015-09-24 14:26:20 -07:00
Nicholas Nethercote
0a529cbb82
Bug 1209206 (part 3) - Use sinf() and cosf() instead of sin() and cos() in a couple of places. r=Bas.
2015-09-28 17:12:07 -07:00
Nicholas Nethercote
8fd9cbd2d0
Bug 1209206 (part 2) - Rename and re-comment HasNonOpaqueColor(). r=jdaggett.
...
So that the comment and the name match what the code is doing.
2015-09-28 13:20:06 -07:00
Bas Schouten
fb0b579f8d
Bug 1208465 - Part 2: Disable using Direct2D when 1.1 is unavailable. r=jrmuizel
2015-09-25 13:30:57 +00:00
Wes Kocher
d8619c7d1e
Backed out changeset 919a831786f1 (bug 1208638) for windows build failures
2015-09-30 16:43:26 -07:00
David Anderson
6f09b1c220
Don't use Direct2D if CompositorD3D11::Initialize fails. (bug 1208638, r=jrmuizel)
2015-09-30 16:16:16 -07:00
Cervantes Yu
ec9eb11820
Bug 1204837, Part 2: Cloned ImageBridgeParent and CompositorParent should hold a reference to the compositor thread. r=nical
2015-10-01 20:58:12 +08:00
Mason Chang
9221c1578a
Bug 1209649. Take into account border radius sizes for min inset box shadow. r=mstange
2015-09-30 14:20:23 -07:00
Botond Ballo
fcd73b9643
Bug 1201889 - When adjusting fixed and sticky layers in AsyncCompsitionManager, unapply all async transforms on the path from the fixed layer to the layer it's fixed with respect to. r=kats
2015-09-28 20:35:13 -04:00
David Major
f2cfb0dde6
Bug 1149318 - Fix the calling convention on SkGetUserDefaultLocaleNameProc. r=eihrul
...
I believe this issue was introduced when 8124bf072c
was incorrectly pulled in as https://hg.mozilla.org/mozilla-central/rev/3a3820a17f0b , so this needs to be fixed only in the Mozilla repo.
2015-09-30 14:50:28 -04:00
Thinker K.F. Li
780bfafd2d
Bug 1206418 - Fix origin of animations and scissors for preserves3d. r=roc
2015-09-28 03:43:00 -04:00
Nicolas Silva
d86bfa9b74
Bug 1209724 - Cancel ImageBridge proxy functions if they are called too late. r=sotaro
2015-09-30 18:17:34 +02:00
Nicolas Silva
aedd6bf1a5
Bug 1208071 - Ensure that only valid texture actors are added to ImageBridge tarnsactions. r=sotaro
2015-09-30 18:17:30 +02:00
Ehsan Akhgari
f9c83defd4
Bug 1208927 - Initialize queryD3DKMTStatistics so that it can't be accessed uninitialized; r=jrmuizel
2015-09-30 11:55:49 -04:00
David Anderson
80f5317cbc
Don't use Direct2D if CompositorD3D11::Initialize fails. (bug 1208638, r=jrmuizel)
2015-10-01 23:06:43 -07:00
Jonathan Kew
76d7a3fb39
Bug 1207061 - Update graphite2 library to release 1.3.3. r=jdaggett
2015-09-30 08:45:05 +01:00
Piotr Tworek
524a18069f
Bug 1209446 - Make sure mFrameInProgress flag is set to true only when we actually begin drawing new frame. r=nical
2015-09-29 08:18:00 +02:00
David Anderson
1adc250bce
Treat mix-blend-mode layers as transparent for occlusion culling. (bug 1207041, r=mstange)
2015-09-30 00:02:00 -07:00
Botond Ballo
9a5dad49be
Bug 1208661 - Remove some no-longer-used debugging code. r=BenWa
2015-09-28 15:20:03 -04:00
Botond Ballo
75556ec599
Bug 1208661 - Show display list and layer textures in-line in the HTML paint dump. r=BenWa
2015-09-28 15:22:05 -04:00
Botond Ballo
7c3f43c4ab
Bug 1208661 - Implement SourceSurfaceDual::GetDataSurface() for debugging purposes. r=BenWa
2015-09-25 19:24:13 -04:00
Botond Ballo
0368f4bbce
Bug 1208661 - Dump client-side layer textures. r=BenWa
2015-09-28 17:06:35 -04:00
Botond Ballo
5051c961dc
Bug 1208661 - Support dumping client-side layer textures without compression. r=BenWa
...
Compression is used by the profiler, but we need uncompressed textures for the
browser to be able to render them when we include them in the HTML paint dump.
2015-09-28 18:51:37 -04:00
Botond Ballo
a2efc1f565
Bug 1208661 - Make ContentClient dumping play nicely with HTML dumping. r=BenWa
2015-09-25 19:19:04 -04:00
Botond Ballo
43603efbe9
Bug 1208661 - Move Dump() up from ContentClient to CompositableClient. r=BenWa
...
Only some ContentClient implementations implement it, but it allows it to be
called from more general code. Other CompositableClient implementations can
be provided later.
2015-09-25 19:16:38 -04:00
Jeff Muizelaar
d5ee23289b
Bug 1179280. Update ANGLE from chromium/2214 to chromium/2466.
2015-09-29 19:04:17 -04:00
Jeff Gilbert
6d18c776ad
Bug 1149728. Move CreateXForOffscreen functions. r=jrmuizel
2015-09-28 23:35:46 -04:00
Mason Chang
69cfc343d1
Bug 1208636 - Adjust displayport size based on available system memory. r=kats
2015-09-29 15:42:37 -07:00
David Anderson
0b60d0d24b
Fail gracefully when we can't get a texture sync handle. (bug 1207665 part 4, r=bas,vladan)
2015-09-29 11:20:01 -07:00
David Anderson
08b5dfdadf
Get the sync texture's sync handle during compositor initialization, where it can be made to fail gracefully. (bug 1207665 part 3, r=bas)
2015-09-29 11:16:16 -07:00
Wes Kocher
6482c81f9b
Backed out 13 changesets (bug 709490) for android webgl-color-test.html failures
...
Backed out changeset 5be7514914b6 (bug 709490)
Backed out changeset 04b6f94fbe8a (bug 709490)
Backed out changeset 00c0e85dd8cd (bug 709490)
Backed out changeset 221385b7b81a (bug 709490)
Backed out changeset ecc38c18734f (bug 709490)
Backed out changeset 22878c936384 (bug 709490)
Backed out changeset 0edcbb60eee3 (bug 709490)
Backed out changeset 5feceec2014b (bug 709490)
Backed out changeset 835b655cb873 (bug 709490)
Backed out changeset 6fbb4a3f8cf7 (bug 709490)
Backed out changeset a5f8646fa156 (bug 709490)
Backed out changeset 2ae1386916b3 (bug 709490)
Backed out changeset 6b29a2a0a8fb (bug 709490)
2015-09-29 08:57:36 -07:00
Sotaro Ikeda
c32fc36944
Bug 1186793 - Replace nsBaseHashtable::EnumerateRead() calls in gfx/ with iterators r=njn
2015-09-29 07:49:41 -07:00
Bas Schouten
9732a07ecd
Bug 1208833: Disable DWrite when D2D device creation fails. r=dvander
2015-09-29 16:39:14 +02:00
Andrea Marchesini
e46e68854a
Bug 709490 - Part 12 - explicit CTORs for a couple of runnables, CLOSED TREE
2015-09-29 12:54:54 +01:00
Morris Tseng
fe706cfad0
Bug 709490 - Part 10: Using mechanism in RuntimeService to get pref in worker thread instead of gfxPref, r=baku
2015-09-29 11:51:25 +01:00
Morris Tseng
48052c0b94
Bug 709490 - Part 9: Readback without blocking main thread, r=jgilbert
2015-09-29 11:51:25 +01:00
Morris Tseng
2b40efad3d
Bug 709490 - Part 8: Copy to a temp texture when readback from IOSurface, r=jgilbert
2015-09-29 11:51:25 +01:00
Morris Tseng
0b17a6fcc9
Bug 709490 - Part 7: If layer is not available, fallback to BasicCanvasLayer, r=roc
2015-09-29 11:51:25 +01:00
Morris Tseng
48d2385368
Bug 709490 - Part 6: Add frame ID to CanvasClient so compositor could update frame correctly, r=roc
2015-09-29 11:51:24 +01:00
Morris Tseng
c68b782dc7
Bug 709490 - Part 2: Introduce OffscreenCanvas and let WebGL context work on workers., r=ehsan, r=jgilbert, r=nical
2015-09-29 11:51:24 +01:00
Morris Tseng
d9a54c0ad1
Bug 709490 - Part 1: Let ImageBridge transfer CanvasClient async, r=nical
2015-09-29 11:51:23 +01:00
Nicholas Nethercote
7700404de3
Bug 1208300 (part 4) - Remove gfxRGBA and some related things. r=jwatt.
...
Hooray!
2015-09-24 19:24:16 -07:00
Nicholas Nethercote
945156ce97
Bug 1208300 (part 3) - Convert gfxRGBA uses to gfx::Color in LayerScope.cpp. r=jwatt.
2015-09-24 19:18:03 -07:00
Nicholas Nethercote
c903986e82
Bug 1208300 (part 2) - Convert gfxRGBA uses to gfx::Color in CompositorBench.cpp. r=jwatt.
...
I don't know how those modf() calls were compiling without error given that the
second arg was a |float*|.
2015-09-24 19:13:50 -07:00
Nicholas Nethercote
aef2fb44b4
Bug 1208300 (part 1) - Remove unused default arguments from ClearThebesSurface. r=jwatt.
2015-09-24 19:09:04 -07:00
Cameron McCormack
8fcad4b3cb
Bug 1198708 - Part 1: Store exact timing-function type on nsTimingFunction and ComputedTimingFunction. r=birtles
...
Since Keyframe.easing should reflect the {transition,animation}-timing-
function value relevant to each keyframe, we'll need to store on
nsTimingFunction the specific timing function value that was used, and
copy it down into ComputedTimingFunction for
KeyframeEffectReadOnly.getFrames() to access. This includes storing
whether the optional start/end keyword in a steps() function was
specified.
2015-09-29 12:20:13 +10:00
John Daggett
54ef2c180d
Bug 1182361 p7 - fixups based on review comments. r=heycam
2015-09-29 10:51:29 +09:00
John Daggett
e87f3a8bf3
Bug 1182361 p6 - eliminate old pref font caching. r=heycam
2015-09-29 10:51:29 +09:00
John Daggett
dd7e44c9c1
Bug 1182361 p5 - cache pref fonts per langGroup. r=heycam
2015-09-29 10:51:29 +09:00
John Daggett
f066f7abaa
Bug 1182361 p4 - move pref font util methods to platform fontlist. r=heycam
2015-09-29 10:51:28 +09:00
John Daggett
07261a8702
Bug 1182361 p3 - move generic lookup methods to platform fontlist. r=heycam
2015-09-29 10:51:28 +09:00
John Daggett
fedd10aa75
Bug 1182361 p2 - count generic lookups. r=heycam
2015-09-29 10:51:28 +09:00
John Daggett
b5a1d5dbd5
Bug 1182361 p1 - move old generic lookup methods into gfxPangoFontGroup. r=heycam
2015-09-29 10:51:28 +09:00
Mason Chang
da76d27ffa
Bug 1208554 - Take Velocity into account for WheelScrollAnimations. r=kats
2015-09-28 17:07:06 -07:00
Nicholas Nethercote
29e309e59f
Bug 1208937 - Remove gfxPattern::GraphicsPatternType. r=jwatt.
...
This is easy because the only remaining uses occur in uncalled functions, which
can be removed.
2015-09-27 20:38:20 -07:00
Jeff Gilbert
f8443b3dd2
Bug 1209022 - Fix AA handling in EGL's CreateOffscreen. - r=jrmuizel
2015-09-28 15:53:37 -07:00
David Anderson
5421d4ced4
Don't use Direct 2D 1.0 if Direct3D11 is using WARP. (bug 1207665 part 2, r=jmuizelaar)
2015-09-28 12:45:43 -07:00
Botond Ballo
c9caf7aa13
Bug 1206915 - Move dumping of compositor textures under its own environment variable. r=mattwoodrow
...
The rationale is that it's broken at least on some platforms (e.g.
TextureHost::GetAsSurface() is not implemented), and moving it under its own
environment variable allows us to use the client-side parts of paint dumping
without crashing while attempting to do the compositor-side parts.
2015-09-21 18:27:27 -04:00
James Willcox
13052973d2
Bug 1201541 - Add a pref for disabling single tile layers r=mattwoodrow
2015-09-28 09:37:01 -05:00
James Willcox
c59c7793dc
Bug 1148131 - Enable DrawTargetTiled on Android r=Bas
2015-09-28 09:37:00 -05:00
James Willcox
d1f8aa4767
Bug 1201541 - Use SingleTiledContentClient for non-scrollable layers on Android r=mattwoodrow
2015-09-28 09:36:58 -05:00
James Willcox
cea145b269
Bug 1182665 - Adjust tile sizes depending on the screen size r=nical
2015-09-28 09:36:57 -05:00
James Willcox
365b1b0164
Bug 1182665 - Add gfxPlatform::GetScreenSize() and use nsIScreen for gfxPlatform::GetScreenDepth() r=nical
2015-09-28 09:36:54 -05:00
Sotaro Ikeda
4f7b54617c
Bug 1205725 - Add basic SidebandStream handling to HwcComposer2D r=mwu,nical
2015-09-28 06:55:48 -07:00
Nicolas Silva
305c1bbe71
Bug 1209039 - Temporarily disable thread names in Moz2D to work around a static check failure CLOSED TREE. r=me
2015-09-28 15:27:16 +02:00
Nicolas Silva
750fd2f36e
Bug 1083101 - Use win32's CreateEventW instead of CreateEvent to avoid macro name collision
2015-09-28 13:50:01 +02:00
Nicolas Silva
d02ecca152
Bug 1083101 - Make SyncObject's waiting jobs list lock-free. r=jrmuizel
2015-09-28 13:49:59 +02:00
Nicolas Silva
c86aa89ddc
Bug 1083101 - rename gfx::Mutex into gfx::CriticalSection and move it to its own file. r=jrmuizel
2015-09-28 13:49:54 +02:00
Nicolas Silva
f32cb15051
Bug 1083101 - Win32 implementation of the JobScheduler. r=jrmuizel
2015-09-28 13:49:52 +02:00
Nicolas Silva
224b8b6751
Bug 1083101 - Make gfx::DrawingCommand methods const. r=jrmuizel
2015-09-28 13:49:50 +02:00
Nicolas Silva
4da09c2c5c
Bug 1083101 - Extend DrawCommand storage functionality and fix a bug with dashed stroke patterns. r=jrmuizel
2015-06-10 19:57:08 +02:00
Nicolas Silva
4fe808be72
Bug 1083101 - Implement gfx::DrawingJob. r=jrmuizel
2015-09-28 13:49:45 +02:00
Nicolas Silva
aa68ab6789
Bug 1083101 - Add a task scheduler to Moz2D. r=jrmuizel
2015-09-28 13:49:43 +02:00
Nicolas Silva
5b34998cb6
Bug 1083101 - Add a memory arena to Moz2D. r=jrmuizel
2015-09-28 13:49:33 +02:00
Nicholas Nethercote
8faa16a1b0
Bug 1208283 (part 4) - Change FrameMetrics::mBackgroundColor from gfxRGBA to gfx::Color. r=jwatt.
...
This removes some ToColor() calls.
2015-09-24 18:17:45 -07:00
Nicholas Nethercote
75834a0998
Bug 1208283 (part 3) - Remove the ToDeviceColor() that takes a gfxRGBA. r=jwatt.
2015-09-24 18:16:51 -07:00
Nicholas Nethercote
15a95be5b4
Bug 1208283 (part 2) - Change ColorLayer::mColor, ColorLayerProperties::mColor, ReadbackLayer::mBackgroundColor from gfxRBGA to gfx::Color. r=jwatt.
...
This avoids some gfxRGBA-to-Color conversions.
2015-09-24 18:16:45 -07:00
Nicholas Nethercote
323718acf6
Bug 1208283 (part 1) - Change gfxPattern's single-arg constructor to take a gfx::Color& instead of a gfxRGBA&. r=jwatt.
2015-09-24 17:50:46 -07:00
Nicholas Nethercote
bcd2fb7111
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
Wes Kocher
4693a1ca71
Merge m-c to inbound, a=merge
2015-09-25 18:02:38 -07:00
Kearwood (Kip) Gilbert
50dd2e430d
Bug 1207326 - Part 1: Correct projection clipping rectangle,r=matt.woodrow
...
- The clipping rectangle used in a call to Matrix4x4::TransformAndClipRect
within CompositorOGL::DrawQuad is now using mRenderBound, with an
offset applied consistent with use later in the function.
2015-09-25 13:43:52 -07:00
Hayden Huang
0516bcf115
Bug 1175447
- mono audio support. r=padenot, r=sotaro
...
This patch is to enable mono audio option for those who has full hearing loss in one ear.
With this feature, they can get the complete audio with using one ear.
2015-08-06 14:30:22 +08:00
Nicholas Nethercote
55d5c653f3
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
Nicholas Nethercote
47eb6fced8
Bug 1207944 (part 3) - Add a gfxContext::SetColor method that takes a gfx::Color&. r=jwatt.
...
The existing one, which takes a gfxRGBA&, will be removed a few patches hence.
2015-09-23 23:37:24 -07:00
Nicholas Nethercote
efccf08686
Bug 1207944 (part 2) - Pass a gfx::Color& instead of a gfxRGBA& to GetDeviceColor(). r=jwatt.
...
This requires doing likewise for GetSolidColor(), PushSolidColor()
HasNonOpaqueColor().
This removes a ThebesRGBA() call in GetDeviceColor() and a ThebesColor() call in
GetSolidColor().
2015-09-23 23:36:15 -07:00
Nicholas Nethercote
b438b53666
Bug 1207944 (part 1) - Pass a gfx::Color& instead of a gfxRGBA& to SetDeviceColor(). r=jwatt.
...
This avoids a gfxRGBA-to-Color conversion in SetDeviceColor() itself.
2015-09-23 23:33:31 -07:00
Nicholas Nethercote
f7e8a9e813
Bug 1207741 - Remove gfxIntSize. r=nical.
...
gfxIntSize is just a typedef of gfx::IntSize, so this is very mechanical. The
only tricky part is deciding for each occurrence whether to replace it with
IntSize, gfx::IntSize or mozilla::gfx::IntSize; in all cases I went with the
shortest one that worked given the existing "using namespace" declarations.
2015-09-23 11:49:05 -07:00
Nicholas Nethercote
9c04985582
Bug 1207437 (part 3) - Fix and disallow warnings in gfx/thebes/. r=dvander.
...
This requires putting the structured exception blocks in their own functions,
away from local variables with types that have destructors.
2015-09-24 15:52:05 -07:00
Nicholas Nethercote
aeccf72543
Bug 1207437 (part 2) - Don't re-get D3D11CreateDevice. r=dvander.
...
It's always obtained during gfxWindowPlatform initialization and put into
sD3D11CreateDeviceFn.
2015-09-24 15:52:04 -07:00
Nicholas Nethercote
ff73d2195a
Bug 1207437 (part 1) - Don't recompute Windows feature levels. r=dvander.
...
This is valid because mFeatureLevels is set when gfxWindowsPlatform is
initialized.
2015-09-24 15:52:02 -07:00
Andrew Comminos
28225933d0
Bug 1193015 - Require MOZ_GLX_USE_SURFACE_SHARING to enable WebGL surface sharing on GLX. r=jgilbert
2015-09-24 15:21:36 -07:00
Mason Chang
9e89498adf
Bug 1188075 - Speed up inner box-shadow drawing by using a border-image style approach. r=mstange
2015-09-24 09:50:29 -07:00
Jeff Gilbert
eb79b5b33f
Bug 1191042 - Use CreateOffscreen for WebGL instead of CreateHeadless. - r=jrmuizel
2015-09-24 12:21:05 -07:00
Wes Kocher
4715141da8
Backed out changeset 1da385d6c46b (bug 1021845) for b2g r3 and r7 permafail CLOSED TREE
2015-09-24 12:06:03 -07:00
Wes Kocher
6ddd381a7d
Backed out bug 1083101 for build bustage CLOSED TREE
...
changesets backed out:
e39dfd9e05cb, cd54e93993b4, 61db1a51a7c4, c20fd7506bb7, b5e97b0facb7, cdf356cb817e, b058a918f443, d421e79326a2, 34a0be9af3f3, bba6f89ab775, 2fd5cfcea4e5
2015-09-24 11:14:50 -07:00
Nicolas Silva
e4b953afb8
Bug 1083101 - Back 5 patches out due to windows build issues, CLOSED TREE.
2015-09-24 19:47:20 +02:00
Nicolas Silva
53c17214ad
Bug 1083101 - build fix on CLOSED TREE
2015-09-24 19:11:26 +02:00
Nicolas Silva
2468f65e6f
Bug 1083101 - build fix on CLOSED TREE
2015-09-24 18:08:10 +02:00
Nicolas Silva
d5d8b4e3fd
Bug 1083101 - Make SyncObject's list of waiting jobs lock-free. r=jrmuizel
2015-09-24 17:35:47 +02:00
Nicolas Silva
74021d279a
Bug 1083101 - rename gfx::Mutex into gfx::CriticalSection and move it to its own file. r=jrmuizel
2015-09-24 17:35:37 +02:00
Nicolas Silva
eece822466
Bug 1083101 - Win32 implementation of the JobScheduler. r=jrmuizel
2015-09-24 17:35:30 +02:00
Nicolas Silva
3858146eff
Bug 1083101 - Make gfx::DrawingCommand methods const. r=jrmuizel
2015-09-24 17:35:27 +02:00
Matt Woodrow
9638866b6b
Bug 1204106 - Use correct alpha blend modes for OVER in CompositorOGL. r=jrmuizel
2015-09-24 18:33:59 -04:00
Kartikaya Gupta
77a6c914e3
Bug 1207270 - Update tests to ensure that TaskThrottlers are created as appropriate. r=botond
2015-09-25 13:54:11 -04:00
Kartikaya Gupta
48b20512ce
Bug 1207270 - Ensure that the TaskThrottler objects are created on the main thread. r=botond
2015-09-25 13:54:11 -04:00
Nicholas Nethercote
f27f30a136
Bug 1207944 (part 9) - Remove SetColor(const gfxRGBA&). r=jwatt.
2015-09-24 00:48:15 -07:00
Nicholas Nethercote
b6ab9d1dc5
Bug 1207944 (part 7) - Use gfx::Color instead of gfxRGBA in BlurCache. r=jwatt.
...
This avoids several gfxRBGA-to-Color conversions.
2015-09-24 00:43:32 -07:00
Lee Salzman
c4693b90b5
Bug 1202696 - check surface status in _cairo_surface_get_extents. r=jmuizelaar
2015-09-23 14:40:18 -04:00
Nicolas Silva
5101aabb74
Bug 1083101 - Extend DrawCommand storage functionality and fix a bug with dashed stroke patterns. r=jrmuizel
2015-06-10 19:57:08 +02:00
Nicolas Silva
e4fe7226bb
Bug 1083101 - Implement gfx::DrawingJob. r=jrmuizel
2015-09-24 17:35:15 +02:00
Nicolas Silva
7bb2fc5f80
Bug 1083101 - Add a task scheduler to Moz2D. r=jrmuizel
2015-09-24 17:35:10 +02:00
Nicolas Silva
7f03885fb0
Bug 1083101 - Add a memory arena to Moz2D. r=jrmuizel
2015-09-24 17:34:43 +02:00
Sotaro Ikeda
d3188aaccf
Bug 1187145 - Replace nsBaseHashtable::Enumerate() calls in gfx/ with iterators r=njn
2015-09-24 08:31:30 -07:00
Morris Tseng
fbf2b297d1
Bug 1207887 - Fix AsyncPanZoomAnimation, WheelScrollAnimation and TextureHost doesn't compile in non-unified build. r=nical
2015-09-23 18:53:00 +02:00
Nathan Froyd
490e851ea9
Bug 1207245 - part 1 - move RefCounted<T> to its own file
...
Various bits depend on RefPtr.h to provide RefCounted<T> and RefPtr<T>.
It will be easier to manage an automatic conversion from RefPtr<T> to
nsRefPtr<T> if we split out the dependency on RefCounted<T> first.
2015-09-22 21:27:34 -04:00
Markus Stange
5587a1d1fd
Bug 1021845 - Before compositing, clip the visible region of a layer to the layer's clip rect. r=mattwoodrow
2015-09-23 16:18:29 +02:00
Jonathan Kew
93aeab026e
Bug 1193519 pt 2 - Handle sideways-left orientation in gfx text-drawing code. r=dholbert
2015-09-24 10:23:34 +01:00
Ted Mielczarek
a5cc6705ef
bug 1178956 - Specify precision in OGLShaderProgram.cpp to fix compositor on iOS. r=kip
2015-09-22 15:41:46 -04:00
Matt Woodrow
0594614cd0
Bug 1150944 - Use correct origin for SkiaGL texture backed SourceSurfaces. r=gw280
2015-09-23 20:27:58 -04:00
Jonathan Kew
f1c39f6570
Bug 1193488 - Update values of writing-mode and text-orientation to reflect the CSS WG decision to revise them in the Writing Modes spec. r=dholbert
2015-09-23 22:16:01 +01:00
Avi Halachmi
afd468f8d7
Bug 1207656: APZ mouse wheel scroll: don't ignore minimum duration. r=dvander
2015-09-23 19:35:44 +03:00
Kartikaya Gupta
335856fdb7
Bug 1204076 - Remove workaround for making a test pass now that the underlying issue is fixed. r=botond
2015-09-23 16:25:51 -04:00
Markus Stange
a2b115e17c
Bug 1207590 - Don't use SingleTiledContentClient for layers that are larger than the maximum texture size. r=mattwoodrow
2015-09-23 12:26:56 +02:00
Jeff Muizelaar
b8a8374233
Bug 1194335. Disable partial present on Nvidia hardware. r=bas
...
I have a theory that bug 1189940 is caused by partial present. This
is an attempt to see if that's true.
2015-09-21 11:52:01 -04:00
Nicolas Silva
4491a5d644
Bug 1072313 - Never call TextureClient::KeepUntilFullDeallocation off the ipdl thread. r=mattwoodrow
2015-09-21 16:54:40 +02:00
Jean-Yves Avenard
08cfb39751
Bug 1072313: P2 Prevent instanciating MacIOSurfaceLib directly. r=mattwoodrow
...
This class only contains static members.
2015-09-23 13:34:40 +02:00
Jean-Yves Avenard
2512edb342
Bug 1072313: P1. Make MacIOSurface refcount thread-safe. r=mattwoodrow
2015-09-23 13:34:36 +02:00
Jamie Nicol
2dd9fa0c33
Bug 1207153 - Restore texture binding to correct target in GLBlitHelper. r=snorp
2015-09-22 06:49:00 +02:00
Chris Peterson
dd2fcb9b7d
Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium
2015-09-22 21:39:03 -07:00
Lee Salzman
83e5c49f4c
Bug 1201937 - push transform onto cairo context when evaluating path bounds. r=eihrul
2015-09-21 13:33:06 -04:00
Phil Ringnalda
2edbc1f476
Back out f84aedf7a62d (bug 1191042) for b2g emulator test failures
...
CLOSED TREE
2015-09-22 19:26:13 -07:00
Jeff Gilbert
6a7fc66bd0
Bug 1191042 - Use CreateOffscreen for WebGL instead of CreateHeadless. - r=jrmuizel
2015-09-22 16:49:25 -07:00
Wes Kocher
5b68e141b5
Merge inbound to central, a=merge CLOSED TREE
2015-09-22 16:42:03 -07:00
Sebastian Kaspari
1a9a056a0f
Bug 1197717 - Load fonts from profile-agnostic writable location. r=jfkthame
...
In addition to the system's font folder and the profile folder we will try to load
fonts from NS_XPCOM_CURRENT_PROCESS_DIR/fonts. This will allow us to later
download fonts at runtime and use them independently from the current profile.
2015-09-22 15:55:56 +02:00
Olivier Brunel
ed3287c777
Bug 1194631 - Make firefox build with --disable-logging. r=jrmuizel
2015-09-22 17:39:12 +02:00
Markus Stange
5f3c0c1a90
Back out changeset 17a4283a8b6f (bug 1195400) because of build bustage.
2015-09-22 12:51:48 +02:00
Markus Stange
52e387832e
Bug 1195400 - Don't use SingleTiledContentClient for layers that are larger than the maximum texture size. r=mattwoodrow
2015-09-20 18:34:04 +02:00
Andrew Comminos
a34161357c
Bug 1202175 - Guard GLX-specific call in SurfaceDescriptorX11. r=jgilbert
2015-09-11 16:53:00 +02:00
Botond Ballo
2f607532d4
Bug 1014691 - Move APZ reftests to apz/test/reftest. r=kats
2015-09-18 13:19:55 -04:00
Botond Ballo
993899b63a
Bug 1014691 - Get TestAsyncPanZoomController to compile in its new location. r=kats
2015-09-16 19:49:59 -04:00
Botond Ballo
76c4fb2334
Bug 1014691 - Move TestAsyncPanZoomController.cpp to gfx/layers/apz/test/gtest. r=kats,glandium
2015-09-18 13:19:05 -04:00
Botond Ballo
ee4d63107b
Bug 1014691 - Fix an include-what-you-use error in TestCompositor.cpp. r=kats
2015-09-16 19:45:14 -04:00
Botond Ballo
fa6eaef87a
Bug 1014691 - Move APZ mochitests to gfx/layers/apz/test/mochitest. r=kats
2015-09-16 19:26:04 -04:00
Wes Kocher
2e06e71f8c
Backed out changeset 09c2a214244b (bug 1072313) for Windows textureclient crashes CLOSED TREE
2015-09-21 10:37:07 -07:00
Mason Chang
42c9c81cc8
Backout bug 1188075 for graphical artifacts. r=me
2015-09-21 08:14:05 -07:00
Nicolas Silva
50fd76f662
Bug 1072313 - Never call TextureClient::KeepUntilFullDeallocation off the ipdl thread. r=mattwoodrow
2015-09-21 16:54:40 +02:00
Sotaro Ikeda
acb0a59cbe
Bug 1172719 - Fix SharedSurface fence handling on gonk r=jgilbert,nical
2015-09-21 07:21:52 -07:00
Seth Fowler
40c407a01f
Bug 1146663 (Part 1) - Remove HQ scaling, which is now dead code. r=tn
2015-09-19 16:20:56 -07:00
Milan Sreckovic
5c849a66f3
Bug 1200021 - crash in mozilla::layers::ContentClientDoubleBuffered::FinalizeFrame(nsIntRegion const&): Diagnostics to get more data. r=bas
2015-09-19 11:19:07 +02:00
Phil Ringnalda
0d952f7717
Back out 2 changesets (bug 1111689) for ASan mochitest-gl leaks
...
Backed out changeset 909b9b147e71 (bug 1111689)
Backed out changeset bd0a637e8000 (bug 1111689)
2015-09-18 19:04:54 -07:00
Milan Sreckovic
4d0c7fef14
Bug 1111689 - Part 1: Let EXT_shader_texture_lod play when ARB_shader_texture_lod can play. r=jgilbert
2015-02-09 17:53:38 +08:00
Mason Chang
226124a0f3
Bug 1188075 - Speed up inner box-shadow drawing by using a border-image style approach. r=mstange
2015-09-18 11:23:55 -07:00
Lee Salzman
d240e9c991
Bug 1205045 - remove GTK calls from compositor thread. r=jmuizelaar
2015-09-15 16:46:39 -04:00
Thinker K.F. Li
c4820d6fca
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
Thinker K.F. Li
96df61630e
Bug 1097464 - Part 4: Fix preserve3d wording for layer flags. r=roc
2015-09-17 03:31:00 +02:00
Thinker K.F. Li
a4cf5175bd
Bug 1097464 - Part 3 - Fix and add reftests. r=roc
2015-09-17 08:30:00 +02:00
Thinker K.F. Li
7cb7713946
Bug 1097464 - Part 2 - Snap translation for 3d transforms. r=roc
2015-09-17 03:31:00 +02:00
Thinker K.F. Li
a76cd2da5c
Bug 1097464 - Part 1 - Remove Z value from 3D transforms for D3D9. r=roc,matt.woodrow
2015-09-17 03:31:00 +02:00
John Daggett
702885dc8a
Bug 1205570 - fix up font prefs for x-math lang group. r=heycam
2015-09-18 13:48:45 +09:00
Phil Ringnalda
adb9b864ab
Back out changeset e18e75437c6e (bug 1204106) for Android 4.0 API11+ debug reftest-5 opacity-blending.html failures
2015-09-17 20:30:09 -07:00
Nicholas Nethercote
b0500a35e3
Bug 1205533 - Fix and disallow warnings in gfx/qcms/. r=jrmuizel.
...
This patch fixes various warnings from MSVC.
- Several "truncation from 'double' to 'float'" warnings, easily fixed by
appending 'f' to literals.
- Some "signed/unsigned mismatch" warnings. In read_tag_lutType(), MSVC is
apparently promoting the multiplication of a uint8_t and a uint16_t to an
int32_t, oddly enough. A uint32_t cast fixes the warning.
- |offset| was unused in qcms_data_create_rbg_with_gamma().
- A couple of "overflow in floating-point constant arithmetic" warnings
involving INFINITY in transform_util.c. There is some type confusion here --
in C99 HUGE_VAL is a double and INFINITY is a float. So the HUGE_VAL here
should actualy be HUGE_VALF. But, strangely enough, that isn't enough to
avoid the warning, I don't know why. However, it turns out that any
non-positive value for |interval| will have the same effect, so I just
removed all the INFINITY/HUGE_VAL stuff and used -1 instead.
It also fixes an ARM-only GCC warning.
- "'__force_align_arg_pointer__' attribute directive ignored". This is an
x86-only attribute. Instead of disabling it on x86-64, instead enable it on
i386 (which avoids enabling it uselessly on ARM).
2015-09-17 17:11:27 -07:00
Matt Woodrow
cd70d8e2f5
Bug 1204106 - Use correct alpha blend modes for OVER in CompositorOGL. r=jrmuizel
2015-09-17 19:31:00 -04:00
Matt Woodrow
044f3b47c5
Bug 1197534 - Send RecycleTexture messages from the ImageBridge thread. r=sotaro
2015-09-14 14:17:39 -04:00
Carsten "Tomcat" Book
42aa14ed8e
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
Sotaro Ikeda
3913108a58
Bug 1204895 - Add fence handling to AutoRemoveTexture on gonk r=nical
2015-09-17 07:22:41 -07:00
Jamie Nicol
37e32f14b8
Bug 1194923 - Call glFlush before glDeleteFramebuffers on Adreno 420 devices. r=snorp
...
There is an occasional driver crash on the nexus 6, and possibly other
Adreno 420 devices, which seems to occur in some circumstances after
calling glDeleteFramebuffers. Calling glFlush before
glDeleteFramebuffers prevents this. Add this workaround at least until
it is better known what is going on.
2015-09-17 04:41:00 +02:00
Randall Barker
48f148663b
Bug 1204932 - When C++APZ is enabled, elements that are zoomed with double tap should be centered. r=botond
2015-09-16 10:53:00 +02:00
Randall Barker
80617bdda6
Bug 1204084 - Double tap gesture fails when tapping on a large element contained in an iframe or scrollable div. r=botond
2015-09-16 11:17:00 +02:00
Chris Lord
2cbc9bdccb
Bug 1201101 - Enable axis-locking over multiple APZCs. r=botond
2015-09-14 07:40:00 +02:00
Chris Lord
75f01f9217
Bug 1201098 - Consume fling and overscroll velocity per-axis. r=botond
2015-09-16 01:49:00 +02:00
Jamie Nicol
709cbe92db
Bug 1200729 - Recompute FrameLayerBuilder item visibility if dirty region changes. r=mwoodrow
...
Make the FrameLayerBuilder remember for what region it has calculated
display item visibility, then recompute the visibility whenever the
dirty region it is passed to DrawPaintedLayer changes.
This means that the caller does not have to know the entire dirty region
that will be drawn for the transaction, but we can still optimise cases
where it knows some of the dirty region in advance.
This fixes a regression where MultiTiledContentClient's low-res display
port would not be painted if a smaller region of its high-res buffer had
already been painted that transaction, since the FrameLayerBuilder
had decided that most of the larger low-res region was invisible.
2015-09-15 14:41:42 +01:00
Thinker K.F. Li
0238a11403
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
Thinker K.F. Li
bc6f3228bb
Bug 1097464 - Part 4 - Fix preserve3d wording for layer flags. r=roc
2015-09-17 03:31:00 +02:00
Thinker K.F. Li
6edca56043
Bug 1097464 - Part 3 - Fix and add reftests. r=roc
2015-09-17 03:31:00 +02:00
Thinker K.F. Li
81bccd393b
Bug 1097464 - Part 2 - Snap translation for 3d transforms. r=roc
2015-09-17 03:31:00 +02:00
Thinker K.F. Li
0d0732a41d
Bug 1097464 - Part 1 - Remove Z value from 3D transforms for D3D9. r=roc,matt.woodrow
2015-09-17 03:31:00 +02:00
Nicholas Nethercote
6855b78fbf
Bug 1201135 - Rename pldhash.{h,cpp} to PLDHashTable.{h,cpp}. r=mccr8.
2015-09-15 20:49:53 -07:00
Timothy Nikkel
ef9fe160e9
Bug 1204824. Make Matrix4x4::PreScale scale all values in the first three rows. r=bas
2015-09-16 23:39:09 -05:00
Botond Ballo
d827a26912
Bug 1200063 - Rename MakeAPZCInstance to NewAPZCInstance for consistency. r=kats
2015-09-16 19:10:24 -04:00
Botond Ballo
5e588863cc
Bug 1200063 - Make sure TaskThrottler sends its pending repaint request eventually, even if it never receives a notification from the previous request. r=kats
...
This is important because the previous repaint can be a no-op, and those don't trigger notifications.
2015-09-16 17:23:59 -04:00
Botond Ballo
add8d8267f
Bug 1200063 - Add a generic implementation of nsITimerCallback that's usable with a lambda or other function object. r=kats
...
We can consider moving this to xpcom in the future.
2015-09-16 20:29:41 -04:00
Botond Ballo
d7d2955d42
Bug 1200063 - Share a paint throttler between APZCs in the same layers id. r=kats
...
In this process, TaskThrottler is made reference-counted.
2015-09-16 14:45:07 -04:00
Botond Ballo
917642ff2f
Bug 1200063 - Make APZCTreeManager the place where GetFrameTime() can be overridden. r=kats
2015-09-16 14:58:16 -04:00
Nicholas Nethercote
cae6e9971a
Bug 1203427 (part 1) - Add nsExpirationTracker::mName. r=froydnj.
...
There are many sub-classes of nsExpirationTracker. In order to distinguish them
nicely in the logging of timer firings, it's necessary to manually name each
one. (This wouldn't be necessary if there was a way to stringify template
parameters, but there isn't.)
2015-09-09 21:07:07 -07:00
Benoit Girard
7bd3edbf72
Bug 1189565 - Only factor in the async zoom change. r=kats
2015-09-16 13:42:24 -04:00
Chris Peterson
3c966099cb
Bug 1204400
- Fix -Wshadow warnings in gfx/thebes and suppress those from Skia headers. r=BenWa
2015-09-11 20:30:14 -07:00
Nicholas Nethercote
ac3ae5e6c1
Bug 1121760 (part 6) - Move all remaining PL_DHash*() functions into PLDHashTable. r=poiru.
2015-09-14 14:23:47 -07:00
Nicholas Nethercote
538c6626e9
Bug 1121760 (part 2) - Remove PL_DHashTableAdd(). r=poiru.
2015-09-14 14:23:12 -07:00
Nicholas Nethercote
ba83ffc5ec
Bug 1121760 (part 1) - Remove PL_DHashTableSearch(). r=poiru.
2015-05-21 00:34:25 -07:00