Ehsan Akhgari
b6e35bb4b4
Bug 1118486 - Part 1: Use = delete
instead of MOZ_DELETE directly; r=Waldo
...
Most of this patch (with the exception of dom/bindings/Codegen.py) was
generated by the following bash script:
#!/bin/bash
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "*/.git*" \
! -wholename "obj-*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_DELETE '= delete'
2015-01-08 23:19:05 -05:00
Mason Chang
9687efc38e
Bug 1102631 - Create a software vsync timer. r=kats
2015-01-08 15:12:47 -08:00
Nicolas Silva
fdc552f2eb
Bug 1114948 - Use NS_lroundf instead of NS_roundf in tioling code to avoid inconsistent behavior around zero. r=jrmuizel
2015-01-08 18:58:22 +01:00
Benoit Girard
54d4b3735d
Bug 1110229 - bustage fix on a CLOSED TREE
2015-01-08 11:53:03 -05:00
Kartikaya Gupta
eb960639f8
Bug 1109873 - Follow-up to fix debug logging bustage. r=me and DONTBUILD
2015-01-08 11:29:20 -05:00
Benoit Girard
4384ee9695
Bug 1110229 - Always paint the full low-res tile for performance and correctness. r=nical
2015-01-08 11:24:15 -05:00
Botond Ballo
b994a7b083
Bug 1109873 - Gtest that demonstrates the problem with obscured regions and transforms. r=kats
2015-01-08 09:40:01 -05:00
Kartikaya Gupta
01e045fa21
Bug 1109873 - Implement the expanded HitTestingTree. r=botond
2015-01-08 09:40:01 -05:00
Kartikaya Gupta
dc35d9ea17
Bug 1109873 - Allow the APZC stored in the HitTestingTreeNode to be null. r=botond
2015-01-08 09:40:01 -05:00
Kartikaya Gupta
e758b39127
Bug 1109873 - Rename UpdatePanZoomControllerTree to UpdateHitTestingTree. r=botond
2015-01-08 09:40:01 -05:00
Kartikaya Gupta
d2cc915010
Bug 1109873 - Rearrange some loops to duplicate less code. r=botond
2015-01-08 09:40:01 -05:00
Kartikaya Gupta
febc92fd83
Bug 1109873 - Move hit-testing data into HitTestingTreeNode. r=botond
2015-01-08 09:40:01 -05:00
Kartikaya Gupta
7e2e809c0e
Bug 1109873 - Extract HitTestResult into a helper header. r=botond
2015-01-08 09:40:01 -05:00
Kartikaya Gupta
4e8835d9e7
Bug 1109873 - Introduce the HitTestingTreeNode class. r=botond
...
This patch extracts a HitTestingTreeNode from AsyncPanZoomController. The tree
formed by these nodes is very similar in structure to the APZC tree that we had
previously. The main difference is that we can have multiple HitTestingTreeNode
instances per APZC; each HitTestingTreeNode corresponds to a different layer
with the same metrics.
This is a first step in extracting the hit-test data entirely from the
AsyncPanZoomController class and having a 1:1 mapping with the layer tree.
2015-01-08 09:40:01 -05:00
Botond Ballo
6f6de98bb8
Bug 1109873 - Add some explanatory comments to the APZC tree building code. r=kats
2015-01-08 09:40:01 -05:00
Carsten "Tomcat" Book
27f65aba6f
Merge mozilla-central to mozilla-inbound
2015-01-08 15:32:44 +01:00
Carsten "Tomcat" Book
7f0eceed6f
merge b2g-inbound to mozilla-central a=merge
2015-01-08 15:07:12 +01:00
Michael Pruett
b9d2bd339e
Bug 1118024 - Use new PL_DHashTable{Add,Lookup,Remove} functions. r=nfroyd
2015-01-05 20:27:28 -06:00
Bas Schouten
73fbcb4848
Bug 1118328 - Part 2 - Followup: Workaround a bug in GCC 4.4. r=bustage on a CLOSED TREE
2015-01-08 03:34:07 +01:00
Jeff Muizelaar
782e149f98
Bug 1119089. Switch from the ineffecient x = x.sub(x, y) to x.subout(y);
...
The recently added move assignment operators make the existing pattern more
efficient, but using SubOut() is cleaner and even more efficient.
--HG--
extra : rebase_source : 14ba52bfde0a4a591ca39b92d86632206bbe13eb
2015-01-07 21:18:57 -05:00
JerryShih
22c4674258
Bug 1118841 - Implement the RefreshTimerVsyncDispatcher. r=kats
2015-01-07 18:17:36 -08:00
Bas Schouten
8e02a38443
Bug 1118328 - Part 2: Test whether the content backend supports creating data draw targets before attempting to create one. r=jrmuizel
2015-01-07 22:58:25 +01:00
Bas Schouten
a04eac5441
Bug 1118328 - Part 1: Expose DoesBackendSupportDataDrawTarget function to test backend capabilities. r=jrmuizel
2015-01-07 22:58:20 +01:00
Wes Kocher
e0a70c89f3
Backout 0d091f3311b4 (bug 1118328) for build bustage on a CLOSED TREE
2015-01-07 16:54:14 -08:00
Wes Kocher
00b5aa1577
Backout 467595d39929 (bug 1118328) for build bustage on a CLOSED TREE
2015-01-07 16:53:13 -08:00
Kai-Zhen Li
5fdfcf55db
Bug 1113655 - Fix bustage when camera is enabled and webtrc is not enabled. r=sotaro
2014-12-24 14:04:07 +08:00
Kartikaya Gupta
cce9ca8011
Bug 1118784 - Fix typo causing wheel inputs to not get transformed to Gecko coordinate space properly. r=dvander
2015-01-07 13:34:23 -05:00
Botond Ballo
bb16c1b6f4
Bug 1073003 - Fix -Wunused-variable / -Wunused-but-set-variable warnings. r=ehsan
...
--HG--
extra : rebase_source : a9b9166164ee79e2e460bb20fde7f76e1672f481
2014-12-31 16:49:13 -05:00
Bas Schouten
c528537e42
Bug 1107718 - Addendum: Properly address review comments. r=nical
2015-01-08 00:12:29 +00:00
Bas Schouten
cd5fcfeb14
Bug 1107718: Properly deal with a D3D11 device reset. r=nical
2015-01-08 00:10:49 +00:00
Bas Schouten
5396c56489
Bug 1114398 - Part 1: Make Direct2D paths specifically typed to a backend type. r=jrmuizel
2015-01-08 00:10:48 +00:00
Bas Schouten
7622c3a766
Bug 1115819: Deal with failure to create a realized bitmap in SourceSurfaceD2D1::DrawTargetWillChange. r=jrmuizel
2015-01-08 00:10:48 +00:00
Bas Schouten
b3cfc3f80a
Bug 1118328 - Part 2: Test whether the content backend supports creating data draw targets before attempting to create one. r=jrmuizel
2015-01-07 22:58:25 +01:00
Bas Schouten
145f27376b
Bug 1118328 - Part 1: Expose DoesBackendSupportDataDrawTarget function to test backend capabilities. r=jrmuizel
2015-01-07 22:58:20 +01:00
Jonathan Kew
d3b227a612
Bug 1062108 - Don't increase glyph advances when applying fake-bold to a fixed-pitch font. r=jdaggett
2015-01-08 12:51:00 +00:00
Seth Fowler
070fbd1114
Bug 1116747 - Always use multithreaded image decoding. r=tn
2015-01-08 00:29:41 -08:00
Nicholas Nethercote
8582ff9187
Bug 1014341 (part 1) - Remove trace-malloc. r=dbaron,glandium.
...
--HG--
extra : rebase_source : 771710c5427141d738eef112fab00951eb8e20e3
2015-01-07 16:13:03 -08:00
James Willcox
6dc403672c
Bug 1117777 - Fix inverted MP4 videos on Android r=jgilbert
2015-01-07 11:54:33 -06:00
Botond Ballo
2b83564d48
Bug 1076241 - Get rid of the nontransient async transform. r=kats
2014-12-19 18:53:05 -05:00
Botond Ballo
2e46796a0f
Bug 1076241 - Add an API for setting a resolution on a document and scaling it by that amount. r=kats,tn
2015-01-02 20:06:14 -05:00
Ryan VanderMeulen
47a9f5c2f5
Bug 1114577 - GFX cleanups now that Windows SDK 8.1 is the minimum supported version. r=jmuizelaar, r=glandium
2015-01-07 11:32:07 -05:00
Ehsan Akhgari
69814cc06d
Bug 1118419 - Mark virtual overridden functions as MOZ_OVERRIDE in graphics; r=jrmuizel
2015-01-07 10:09:17 -05:00
John Daggett
3ef421707c
Bug 1118603 - clear out font/word caches when initializing platform fontlists. r=m_kato
2015-01-07 14:30:10 +09:00
John Daggett
be24b149cb
Bug 1118601 - trim out unused pref fonts list from platform objects. r=m_kato
2015-01-07 14:29:21 +09:00
Milan Sreckovic
359e340f3e
Bug 1113695 - Make gfxCriticalError thread safe. r=Bas
2014-12-19 12:03:58 -05:00
Ehsan Akhgari
26a8215eb5
Bug 1114999 - Part 2: Apply MOZ_NO_ADDREF_RELEASE_ON_RETURN to all smart pointer arrow operators that can return refcounted objects; r=jrmuizel
2015-01-06 16:30:03 -05:00
Jonathan Kew
0e4fbcf5fd
Bug 1111944 - part 1 - Make nsLayoutUtils::DrawString (and the nsFontMetrics methods it calls) handle vertical text. r=smontagu
2015-01-06 20:56:03 +00:00
Jonathan Kew
0ed708ecdd
Bug 1095334 - Adjust ascent/descent to provide centered vertical baseline when reading 'vhea' table. r=smontagu
2015-01-06 20:56:02 +00:00
Jonathan Kew
0b1a3023b6
Bug 1115916 - Improve synthetic vertical metrics for fonts that don't have actual vhea/vmtx tables. r=smontagu
2015-01-06 20:56:02 +00:00
Jonathan Kew
1b836295dc
Bug 1090329 - gfxHarfBuzzShaper::GetGlyphVAdvance should never use the backend-specific GetGlyphWidth method, which is for horizontal width only. r=smontagu
2015-01-06 20:56:01 +00:00
Kearwood (Kip) Gilbert
4c2af7541e
Bug 1067286 - Part 1: Correct application of device offset for mask layers. r=mattwoodrow
...
- Fixed GetMaskData() function in BasicLayersImpl.cpp to use
Matrix::PostTranslate rather than Matrix::PreTranslate when applying
the device offset.
2014-12-03 18:02:00 -05:00
Jonathan Kew
65c4ca0e3f
Bug 619521 - Part 1: Send a notification of any scripts for which font coverage is lacking. r=jdaggett
2014-12-22 16:35:54 +00:00
Nicholas Nethercote
7c3d872761
Bug 1117639 - Remove AbortFrame() because it is dead. r=bas.
...
--HG--
extra : rebase_source : 7df4840fb99dc025ee102d9697097caa4034fa6d
2015-01-05 15:54:51 -08:00
Nicholas Nethercote
23ad5f82ac
Bug 1117594 - Crash on unexpected image format in ImageLayerD3D10::RenderLayer(). r=bas.
...
--HG--
extra : rebase_source : f99f778126dcad615b754a84dc4ca6e1c9d2578d
2015-01-05 15:53:22 -08:00
Jeff Muizelaar
da82606343
Bug 1118100. Remove unused SharedSurfaceIO code. r=jgilbert
...
--HG--
extra : rebase_source : 9bdd90db5755903fcffdce1f7b95687844c6dfad
2015-01-05 21:57:30 -05:00
Jeff Muizelaar
891a9ba0bb
Bug 1117869. Add move constructors and assignment operators for nsRegion. r=botond
...
This adds some efficiency around the usage of nsRegion.
--HG--
extra : rebase_source : d97569b4ba36cfb9ac25959f0634e18f60209809
2015-01-05 21:13:35 -05:00
Benoit Girard
2e6be15119
Bug 1112332 - Disable all paint heuristics for layers not actively scrolled by APZ. r=kats
...
--HG--
extra : rebase_source : 785e13857a3bdb3107cb0836a37bcffbea7f02ec
2015-01-02 11:17:59 -05:00
Jeff Muizelaar
86813bfecc
Bug 1116190. Make sure we grab the keyed mutex when we read from the surface. r=jgilbert
...
If we don't do this D3D won't let us get at the contents of the surface.
2015-01-05 17:40:23 -05:00
Ethan Lin
4766738c5a
Bug 1103258 - Prevent an empty container from creating a render target. r=BenWa, r=jmuizelaar
2014-12-23 05:48:00 -05:00
Mason Chang
6c14384be2
Bug 1117870. Compositor unobserve vsync after configurable number of notifications. r=benwa
2015-01-05 13:52:49 -08:00
Jonathan Kew
87841083c3
Bug 1119423 - Fix reversed test of aMatchData->mStyle in gfxFontFamily::FindFontForChar. r=jdaggett
2015-01-09 11:57:56 +00:00
Ehsan Akhgari
ef6963bd58
Bug 1116622 - Give TemporaryRef a take() method semantically equivalent to already_AddRefed::take(); r=froydnj
...
This is in preparation of removing TemporaryRef. It should help make
already_AddRefed a drop-in replacement for it.
2015-01-05 11:32:37 -05:00
Cameron McCormack
c4a2f37f57
Bug 1116427 - Remove unneeded nsCSSPropList.h include from AsyncCompositionManager.h. r=nrc
2015-01-05 22:03:28 +11:00
Ehsan Akhgari
b7a647884b
Bug 1117263 follow-up: Fix a build bustage in opt builds
2015-01-03 12:38:20 -05:00
Ehsan Akhgari
fcf3f5e262
Bug 1117263 - Mark virtual overridden functions as MOZ_OVERRIDE in graphics layers code; r=roc
2015-01-03 12:21:23 -05:00
Phil Ringnalda
e60d3a013a
Back out 47683fccda29 (bug 1112332) for b2g reftest-6 failures
...
CLOSED TREE
2015-01-02 21:31:35 -08:00
Daniel Holbert
5da4b98e9d
Bug 1068603: Extend FlattenBezier to handle case where full path can be approximated by a linear segment. r=Bas
2015-01-02 14:46:53 -08:00
Andrew McCreight
d29bf1703b
Bug 1065536, part 3 - Explicitly shut down the CompositorChild in the child process. r=nical
2015-01-02 13:09:06 -08:00
Andrew McCreight
3c484ac9d8
Bug 1065536, part 2 - Remove extra Release of sCompositor. r=nical
2015-01-02 13:09:06 -08:00
Andrew McCreight
f47b0e2940
Bug 1065536, part 1 - Remove superfluous MOZ_COUNT_CTOR/DTOR for CompositorChild. r=nical
...
This class is reference counted so they are not needed.
2015-01-02 13:09:06 -08:00
Benoit Girard
dea2e73aed
Bug 1112332 - Disable all paint heuristics for layers not actively scrolled by APZ. r=kats
...
* * *
Bug NUMBER - #include CompositorChild.h to fix non-unified build bustage. r?
2015-01-02 11:17:59 -05:00
Wes Kocher
12e95441ce
Backout 827fa9b5f9b4 (bug 1112332) for build bustage
2015-01-02 10:18:57 -08:00
Benoit Girard
a45ef9ef1e
Bug 1112332 - Disable all paint heuristics for layers not actively scrolled by APZ. r=kats
...
--HG--
extra : rebase_source : fd66e2028d7d8dd0ce0a35f79bb73169795a0c24
2015-01-02 11:17:59 -05:00
Ehsan Akhgari
d380afe538
Bug 1117026 - Cherry-pick commit a10742c of upstream skia code; r=upstream
2015-01-02 00:11:43 -05:00
Jonathan Kew
0dd36ab38e
Bug 1116480 - gfxTextRun::Measure needs to account for fake-italic transform when returning the bounding box. r=roc
2014-12-31 22:35:40 +00:00
Benoit Girard
9e4578658c
Bug 1113781 - Only track layer decision with MOZ_DUMP_PAINTING and add a preference. r=mstange
2014-12-31 15:21:58 -05:00
Benoit Girard
8d46226796
Bug 1113837 - Build display-list dumping without MOZ_DUMP_PAINTING. r=mstange
2014-12-31 15:17:39 -05:00
Jeff Gilbert
e2cd335ec4
Bug 1100699 - Use OriginPos instead of isInverted. - r=mattwoodrow,snorp
2014-11-17 17:02:19 -08:00
Kushan Joshi
2124f457f1
Bug 1116008 - Make FrameMetrics::mCriticalDisplayPort private. r=kats
2014-12-30 14:07:57 -05:00
Jeff Muizelaar
99f342546e
Bug 1112780. Recreate the RenderTargetView on demand. r=jgilbert
...
This avoids reusing the RenderTargetView across AcquireSync/ReleaseSync pairs
and fixes bug 1109718. It adds a ReleaseSync call to ANGLE
that causes it to invalidate the RenderTargetView.
--HG--
extra : rebase_source : 993a437f5d1e1bfda32ef995b09f216930f174e1
2014-12-28 00:01:02 -05:00
Leonid V. Fedorenchik
f7a220a203
Bug 1115327 - Changed FrameMetrics.mScrollableRect to be accessible by getter/setter methods. r=kats
2014-12-27 12:48:27 -05:00
Ethan Lin
8b1ccb3cec
Bug 1042696 - Set allocator to TextureClient from constructor. r=nical
2014-12-22 03:49:00 -05:00
Wes Kocher
aca592252a
Merge inbound to mozilla-central a=merge CLOSED TREE
2014-12-23 16:47:42 -08:00
Ryan VanderMeulen
bba9447754
Merge m-c to b2g-inbound. a=merge
2014-12-23 13:18:49 -05:00
Kartikaya Gupta
61114fa106
Bug 1113386 - Don't send long-press events if they begin on a fast-motion block. r=botond
2014-12-23 11:05:46 -05:00
Carsten "Tomcat" Book
2aabf236cc
Backed out changeset ad0bb596da2c (bug 1073003)
2014-12-23 13:35:02 +01:00
John Daggett
f448b65305
Bug 1109201 - null-check font within GetFontAt. r=roc
2014-12-23 05:01:11 -05:00
Nicolas Silva
e78e2d77e4
Bug 1071769 - Can't rerasterize valid region with tiling. r=Bas
2014-12-23 10:52:17 +01:00
Nicolas Silva
2fa4d2e50b
Bug 1071769 - Fix the integration of DrawTargetTiled. r=Bas
2014-12-17 17:59:46 +01:00
Xidorn Quan
1885ee82d4
Bug 1098272 part 1 - Suppress line breaks inside ruby boxes. r=dbaron,roc
...
--HG--
extra : rebase_source : 2e884fd15244a265011e3241be084c5a1c6fd66e
extra : source : 0ea7212c131401abff6a097773ae93cdfa05dcde
2014-12-22 15:17:55 +11:00
Botond Ballo
86409607b7
Bug 1073003 - More Werror bustage fixes on a CLOSED TREE. r=bustage
...
--HG--
extra : rebase_source : 86466eea48ddfc7b5698d97ca574ed6cdf79326e
extra : amend_source : 9eb590b24276a068bbb078152509b3c743bb40f8
2014-12-23 00:03:15 -05:00
Jeff Muizelaar
ab58d4b845
Bug 1113291. Reenable DisplayLink blocking on Windows. r=bas
...
Bug 1107299 broke this blocking because it assumed that DoesD3D11DeviceWork()
only described whether texture sharing works. However we were also checking for
broken DisplayLink drivers in that function. This splits out that part and uses
it appropriately.
--HG--
extra : rebase_source : 895d2da6297a48d0a2cbef2d149c27471c788484
2014-12-22 00:41:57 -05:00
Nicolas Silva
cac5fac1bb
Bug 1114336 - Fix typo in UpdateFromCompositorFrameMetrics. r=kats
2014-12-22 17:39:36 +01:00
Ryan VanderMeulen
e5f5946372
Backed out changeset dd9790020b89 (bug 1042696) for B2G debug crashes.
2014-12-22 11:15:36 -05:00
Ethan Lin
f74318e12f
Bug 1042696 - Set allocator to TextureClient from constructor. r=nical
2014-12-22 03:49:00 -05:00
Milan Sreckovic
dcdba4d25d
Bug 1095510 - See if ClearRect has weird data. r=jmuizelaar
2014-12-19 16:06:15 -05:00
Yan Gouts
171cf32ef7
Bug 1113774 - Transitioned FrameMetric mDisplayPort accesses to Get/Set method calls. r=kats
2014-12-23 10:35:58 -05:00
Jonathan Kew
9b86ba77e0
Bug 1108616 - part 3 - Only do language-specific shaping when the language was explicitly tagged. r=jdaggett
2014-12-23 12:50:10 +00:00
Jonathan Kew
cc0d8158c6
Bug 1108616 - part 2 - Add an explicitLanguage field to gfxFontStyle, and pass it down from callers. r=dbaron
2014-12-23 12:50:10 +00:00
Sotaro Ikeda
1efb2ccc69
Bug 1113789 - Remove GrallocTextureSourceOGL r=nical
2014-12-22 06:28:07 -08:00
Brian Birtles
20b332cf25
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
febadec1c8
Bug 927349 part 12 - Store the initial time of animations on layers so start times can be resolved after-the-fact; r=nical
2014-12-22 09:35:41 +09:00
Brian Birtles
80a9850f7c
Bug 927349 part 10 - Record the time when animations are ready to start; r=jwatt
2014-12-22 09:35:41 +09:00
Jonathan Kew
656525b8e3
Bug 1113070 - Update harfbuzz to 0.9.37+ (upstream 7d5e7613ced3dd39d05df83ca7e8952cbecd68f6). r=jdaggett
2014-12-20 19:37:24 +00:00
Ryan VanderMeulen
0a21cc6b87
Merge inbound to m-c. a=merge
...
CLOSED TREE
2014-12-19 21:57:29 -05:00
Kai-Zhen Li
1695a9a4b1
Bug 1113655 - Fix bustage in gfx/layers/ImageContainer.cpp on gonk-L, r=roc,sotaro
2014-12-19 16:42:19 -05:00
Mason Chang
31ac06c046
Bug 1113725. Rename VsyncDispatcher to CompositorVsyncDispatcher. r=kats
2014-12-19 12:52:42 -08:00
Ryan VanderMeulen
cc98edf7a9
Backed out changeset ebcea5a8cb79 (bug 1095510) for asserts/crashes.
...
--HG--
extra : rebase_source : 7d3d8cb136ffd431605b45c16f4438eba64694c0
2014-12-19 15:41:29 -05:00
Markus Stange
0227d3cc8b
Bug 1101635 - Enable tiling on 10.6. r=jrmuizel f=milan
2014-12-19 14:48:33 -05:00
Milan Sreckovic
86d80863ac
Bug 1095510 - See if ClearRect has weird data. r=jmuizelaar
...
--HG--
extra : rebase_source : bc587fc96d30cac3ef829f8ceabc72aae6831a98
2014-12-11 12:05:51 -05:00
Nicolas Silva
f69279c005
Bug 1112170 - Don't disable tiles for the basic backend on Linux. r=Bas
2014-12-18 22:23:53 +01:00
Nicholas Nethercote
54aa31c3fb
Bug 1113037 - Use stack allocation in DrawTargetCG::FillGlyphs() in the common case. r=mattwoodrow.
...
When viewing about:memory in verbose mode this reduces the number of heap
allocations by over 10%.
--HG--
extra : rebase_source : 954962295dcd90d66d0e02f782998884de879f17
2014-12-18 21:23:30 -08:00
Nicholas Nethercote
9719fd2fcc
Bug 1113037 - Use stack allocation in DrawTargetCairo::FillGlyphs() in the common case. r=mattwoodrow.
...
--HG--
extra : rebase_source : f6270322664121cec3c82a7448c80963df6b0e5f
2014-12-18 21:23:28 -08:00
Prabhjyot Singh Sodhi
78f5368e85
Bug 1112830 - Changed mCumulativeResolution of FrameMetrics.h to private and all correspondings files using this variable using getters and setters;r=kats
2014-12-18 19:33:18 -05:00
Milan Sreckovic
24a732e527
Bug 1101685 - Optionally assert in loggers, default to true on gfxCriticalError. Clean up the calls where large texture sizes were triggering the asserts in tests. r=nical
2014-12-17 17:54:04 -05:00
Milan Sreckovic
c5ae89f266
Bug 1072871 - Make sure the targets don't disappear under us. r=benwa
2014-12-15 12:10:06 -05:00
David Anderson
f52f1d7e04
Handle in-process APZ events correctly on Windows. (bug 1111873 part 2, r=kats)
...
--HG--
extra : rebase_source : 8ca5156392705e3a1806fc6a15154dbaa380f438
2014-12-18 15:25:03 -08:00
Benoit Girard
ff2a74778a
Bug 1113331 - Make the frame metrics easier to parse. r=kats
2014-12-18 16:33:10 -05:00
Benoit Girard
389852a080
Bug 1112756 - Pass display list and layers data directly to the profiler. r=mstange
...
--HG--
extra : rebase_source : 5c7295e80105b0db43651553c1b901836571cbbb
2014-12-18 13:32:53 -05:00
Benoit Girard
948f5853f1
Bug 1112476 - Support dumping texture data on the ClientLayerManager. r=mstange
...
--HG--
extra : rebase_source : 5d5cf3372993ca4af78e12236fc64836a56eff4b
2014-12-18 13:32:45 -05:00
Vladimir Vukicevic
5c7ed36c2c
Bug 1113242 - followup; fix missing include, just in case - CLOSED TREE
2014-12-18 15:08:45 -05:00
Vladimir Vukicevic
a552f5164d
Bug 1113242 - followup; fix missing namespace - CLOSED TREE
...
--HG--
extra : amend_source : 150f66d2444e56f30562265236080835fe1ffc58
2014-12-18 14:58:09 -05:00
Vladimir Vukicevic
0196c6b54d
Bug 1113242 - Load Oculus VR support libs from location specified in prefs
...
From d4d1705a879295f9530da436fa437b1452c1768e Mon Sep 17 00:00:00 2001
---
gfx/thebes/gfxVR.cpp | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
2014-12-18 00:18:35 -05:00
Vladimir Vukicevic
425c9c3916
Bug 1036602 - Add GL support for VR rendering; r=BenWa
...
From aec0bd50768482fe516111010bad2e57f01ede36 Mon Sep 17 00:00:00 2001
---
gfx/layers/moz.build | 1 +
gfx/layers/opengl/CompositingRenderTargetOGL.h | 4 +
gfx/layers/opengl/CompositorOGL.cpp | 14 ++
gfx/layers/opengl/CompositorOGL.h | 38 +++
gfx/layers/opengl/CompositorOGLVR.cpp | 326 +++++++++++++++++++++++++
5 files changed, 383 insertions(+)
create mode 100644 gfx/layers/opengl/CompositorOGLVR.cpp
2014-07-09 12:28:27 -07:00
Vladimir Vukicevic
79c03a5b37
Bug 1036602 - Regenerate D3D11 shaders; r=Bas
...
From 11ab35cf793e6a2a0342b4e1a761a6f4cc394ff5 Mon Sep 17 00:00:00 2001
---
gfx/layers/d3d11/CompositorD3D11Shaders.h | 282 ++++++------
gfx/layers/d3d11/CompositorD3D11ShadersVR.h | 638 ++++++++++++++++++++++++++++
2 files changed, 786 insertions(+), 134 deletions(-)
create mode 100644 gfx/layers/d3d11/CompositorD3D11ShadersVR.h
2014-07-09 12:28:05 -07:00
Vladimir Vukicevic
eb311ac343
Bug 1036602 - Fix up D3D11 genshaders.sh script; r=bas
...
From 42aa031e5b36efe5603525c7967557fec7e09ec5 Mon Sep 17 00:00:00 2001
---
gfx/layers/d3d11/genshaders.sh | 74 +++++++++++++++++++++++++-----------------
1 file changed, 45 insertions(+), 29 deletions(-)
2014-07-09 12:27:38 -07:00
Vladimir Vukicevic
d08a8dca2a
Bug 1036602 - rename d3d11 .fx files to .hlsl; r=bas
...
From 0117494b71e0b9ea01d8b552523529cf305ab919 Mon Sep 17 00:00:00 2001
---
gfx/layers/d3d11/CompositorD3D11.fx | 279 --------------------------------
gfx/layers/d3d11/CompositorD3D11.hlsl | 279 ++++++++++++++++++++++++++++++++
gfx/layers/d3d11/CompositorD3D11VR.fx | 71 --------
gfx/layers/d3d11/CompositorD3D11VR.hlsl | 71 ++++++++
gfx/layers/d3d11/genshaders.sh | 28 ++--
5 files changed, 364 insertions(+), 364 deletions(-)
delete mode 100644 gfx/layers/d3d11/CompositorD3D11.fx
create mode 100644 gfx/layers/d3d11/CompositorD3D11.hlsl
delete mode 100644 gfx/layers/d3d11/CompositorD3D11VR.fx
create mode 100644 gfx/layers/d3d11/CompositorD3D11VR.hlsl
2014-12-17 11:47:06 -05:00
Vladimir Vukicevic
4949616691
Bug 1036602 - add D3D11 support for VR rendering; r=bas
...
From fbb1e2ba9936896a1eb932585218401f4c95e411 Mon Sep 17 00:00:00 2001
---
gfx/layers/d3d11/CompositorD3D11.cpp | 212 +++++++++++++++++++++++++++++++++-
gfx/layers/d3d11/CompositorD3D11.fx | 1 +
gfx/layers/d3d11/CompositorD3D11.h | 9 ++
gfx/layers/d3d11/CompositorD3D11VR.fx | 71 ++++++++++++
4 files changed, 290 insertions(+), 3 deletions(-)
create mode 100644 gfx/layers/d3d11/CompositorD3D11VR.fx
2014-07-09 12:26:51 -07:00
Nicolas Silva
75fb9728cb
Bug 1110268 - avoid crashing in canvas code when failing to allocate a frame. r=Bas.
2014-12-18 19:28:16 +01:00
Ryan VanderMeulen
c1690cbae6
Backed out changeset bf93cbec0450 (bug 1112170) for OSX asserts/crashes.
2014-12-18 12:22:50 -05:00
Mason Chang
f19d8cf4e3
Bug 1101974. Part 6. Create VsyncSource on b2g. r=kats
2014-12-18 08:30:06 -08:00
Mason Chang
5f06caa746
Bug 1101974. Part 4 - Refactor VsyncSource on OS X. r=mstange
2014-12-18 08:30:06 -08:00
Mason Chang
789178f038
Bug 1101974. Part 3 - Create VsyncSource / Display framework. r=kats
2014-12-18 08:30:06 -08:00
Mason Chang
68210a8a94
Bug 1101974. Part 2: Access VsyncDispatcher through nsIWidget interface. r=benwa
2014-12-18 08:30:06 -08:00
Nicolas Silva
ea85695e54
Bug 1112170 - allow the basic compositor backend to use tiling. r=Bas
2014-12-18 15:56:54 +01:00
Alfredo Yang
2b6ee6bf53
Bug 938034 - Add GonkCameraImage format. r=roc
2014-12-17 23:42:00 -05:00
David Anderson
c6a362e7e4
Allow containerless scrolling for root scroll frames, too. (bug 1076192, r=tn)
...
--HG--
extra : rebase_source : 29d74a8734aabc0e583ad5e372f7b04bcc9e2b8f
2014-12-17 15:37:28 -08:00
Prabhjyot Singh Sodhi
7ddff31846
Bug 1101620 - Changed mDevPixelsPerCSSPixel of FrameMetrics.h to private and all corresponding files using this variables using getters and setters;r=kats
2014-12-17 17:14:05 -05:00
James Willcox
25c96c2585
Bug 1049138 - Use the cairo surface format to determine gfx format when able r=jmuizelaar
...
--HG--
extra : histedit_source : 9027bee76ab792d29a920bffb6443f40e6a35e13
2014-12-17 15:49:57 -06:00
Jeff Muizelaar
69b0cb623b
Bug 1112728. Temporarily disable keyedmutex usage with ANGLE until we can make it work better.
...
We can turn this back on once we have a proper fix for bug 1109718.
--HG--
extra : rebase_source : c7302c4e268edc0ef4aa7ab87e06b8f9a55d2462
2014-12-17 15:10:18 -05:00
David Anderson
647da9b3b9
Forward Windows events to APZ directly from nsWindow. (bug 1109985 part 2, r=kats)
2014-12-15 23:31:12 -08:00
Kartikaya Gupta
75f2892393
Add a helper for forwarding event APZ info to TabParent. (bug 1109985 part 1, r=dvander)
2014-12-15 23:28:19 -08:00
Nicolas Silva
9dffe1f0a8
Bug 1108164 - Remove per-tile drawing. r=Bas
2014-12-17 17:32:29 +01:00
Carsten "Tomcat" Book
bd7aaf93b7
Merge mozilla-central to mozilla-inbound
2014-12-17 12:59:05 +01:00
Carsten "Tomcat" Book
4c225d7e54
Backed out changeset 8b751f12a3ad (bug 1101685) for windows 7 debug crashtest/reftest crashes
2014-12-17 12:56:04 +01:00
Carsten "Tomcat" Book
6072d6a564
merge fx-team to mozilla-central a=merge
2014-12-17 12:50:10 +01:00
Nathan Froyd
d1450b3e0d
Bug 1112426 - stop generating unused PremultiplyTables.h in gfx/layers/; r=jrmuizel
2014-12-16 21:12:52 -05:00
Jonathan Watt
ac2953ec7d
Bug 854296, part 2 - Document Moz2D's JoinStyle::MITER to note that its behavior is backend dependant. r=Bas
2014-12-16 15:40:59 +00:00
Benoit Girard
39d325c235
Bug 1111258 - Bustage fix. r=mstange
2014-12-16 21:32:58 -05:00
Benoit Girard
f1806aab57
Bug 1111258 - Allow dumping textures without MOZ_DUMP_PAINTING. r=mstange
2014-12-16 18:39:43 -05:00
Ryan VanderMeulen
b9eee2db52
Merge m-c to fx-team. a=merge
2014-12-16 16:08:15 -05:00
Sotaro Ikeda
0d2fb7a573
Bug 1043558 - Use gralloc for WebRTC camera preview r=jesup,nical
2014-12-16 07:11:48 -08:00
Milan Sreckovic
46b29f1150
Bug 1101685 - Optionally assert in loggers, default to true on gfxCriticalError. Clean up the calls where large texture sizes were triggering the asserts in tests. r=nical
2014-12-16 13:22:26 -05:00
Carsten "Tomcat" Book
b3f9f20fd0
merge mozilla-inbound to mozilla-central a=merge
2014-12-16 13:34:05 +01:00
Carsten "Tomcat" Book
a07b0286ce
merge b2g-inbound to mozilla-central a=merge
2014-12-16 12:54:14 +01:00
Carsten "Tomcat" Book
ee7fbbf8c8
Backed out changeset 2187c2cdeea9 (bug 1109985) for memory leaks
2014-12-16 09:40:01 +01:00
Carsten "Tomcat" Book
abebb49dc8
Backed out changeset c61753316ddb (bug 1109985)
2014-12-16 09:39:39 +01:00
Wes Kocher
2e2d08fbaf
Backed out changeset bfe4f2eb91c5 (bug 938034) for non-unified bustage on a CLOSED TREE
2014-12-15 14:16:59 -08:00
Ehsan Akhgari
0a182bcf36
Bug 1111786 - Cherry-pick the skia 6f90475632b0ff8e9e83916ee6373d3c26cc9284 commit; r=upstream
...
Rewrite NaN checks in terms of SkScalarIsNaN()
We are trying to replace Skia's NaN checker with our own in Mozilla,
so it would be nice to have to patch a single place by making sure
these NaN checks used SkScalarIsNaN().
2014-12-15 16:17:59 -05:00
Kartikaya Gupta
432037c65e
Bug 1083818 - Bypass the 10ms delay if the element being activated won't visually change. r=botond
2014-12-15 13:59:02 -05:00
Ryan VanderMeulen
8593b08a22
Merge m-c to b2g-inbound. a=merge
2014-12-15 14:04:03 -05:00
David Anderson
d556e1e7b3
Create a common chrome-process GeckoContentController. (bug 1110540 part 2, r=kats)
2014-12-15 01:49:48 -08:00
Kartikaya Gupta
0ebcc16092
Bug 1023473 - Follow-up to convert tabs to spaces. r=me and DONTBUILD
2014-12-15 10:45:46 -05:00
David Anderson
eb3af90ef3
Forward Windows events to APZ directly from nsWindow. (bug 1109985 part 2, r=kats)
2014-12-15 23:31:12 -08:00
Kartikaya Gupta
25049161ec
Add a helper for forwarding event APZ info to TabParent. (bug 1109985 part 1, r=dvander)
2014-12-15 23:28:19 -08:00
Kartikaya Gupta
4ddf886a75
Bug 1109677 - Ensure that the hit region is populated for layer trees in gtests. r=botond
2014-12-14 21:37:52 -05:00
Kartikaya Gupta
10c3ad95ca
Bug 1109677 - Banish scrollinfo layers from the gtests as they are not used with event regions. r=botond
2014-12-14 21:37:51 -05:00
Kartikaya Gupta
9a139d6c13
Bug 1109677 - Ensure tests that use SetMayHaveTouchListeners work with event-regions enabled. r=botond
2014-12-14 21:37:51 -05:00
Jacek Caban
46ce038900
Bug 1107297 - Crosscompilation fixup.
2014-12-14 14:36:11 +01:00
Sotaro Ikeda
57b00f37e7
Bug 1010966 - Reduce gl()->fEGLImageTargetTexture2D() call from tiled layer on gonk r=nical
2014-12-15 19:41:21 -08:00
Botond Ballo
3a01e6f992
Bug 1073081 - Fix an incorrect comparison between enums of different types. r=nical
...
--HG--
extra : source : 44eab86293d517ac52811441aab9fd857320743d
2014-11-24 20:00:40 -05:00
Botond Ballo
ad57e8cd3b
Bug 1073081 - Remove a couple of unused functions. r=sotaro
...
--HG--
extra : source : fe519374ce47658711c6803520bb35287702dc50
2014-11-24 20:00:10 -05:00
Botond Ballo
8296035077
Bug 1073081 - Fix -Wunused-result, -Wunused-variable, and -Wunused-but-set-variable warnings. r=ehsan
...
--HG--
extra : source : a1ac7acfcf14207706eca29be3a20c576c8fae06
2014-11-26 18:13:49 -05:00
Botond Ballo
b08ca88b2a
Bug 1073081 - Fix -Wsign-compare and -Wsign-conversion warnings. r=ehsan
...
--HG--
extra : source : 88c58a8cc276a4691ed23fd8b8f2f6c0713b50fd
2014-11-24 19:54:33 -05:00
Bas Schouten
b24ee3fde9
Bug 1088414: Use a single synchronization texture for D3D11. r=jrmuizel
...
This patch adds a cross platform 'sync object' that is used to synchronize the drawing of individual textures. For the D3D11 implementation all textures that are written to will have one pixel copied into the D3D11 sync texture while holding its lock. The compositor will then, before composition acquire and release sync once, this should ensure all drawing on the content side has completed.
2014-12-13 01:50:47 +00:00
Wes Kocher
115e9d90b8
Backed out changeset 2cd43e5ae2c1 (bug 1088414) for breaking non-Windows builds on a CLOSED TREE
2014-12-12 18:11:59 -08:00
Bas Schouten
ee49fe00fe
Bug 1088414: Use a single synchronization texture for D3D11. r=jrmuizel
...
This patch adds a cross platform 'sync object' that is used to synchronize the drawing of individual textures. For the D3D11 implementation all textures that are written to will have one pixel copied into the D3D11 sync texture while holding its lock. The compositor will then, before composition acquire and release sync once, this should ensure all drawing on the content side has completed.
2014-12-13 01:50:47 +00:00
Benoit Girard
568990f3cf
Bug 1110998 - Let the profiler turn on layers.dump-texture. r=mstange
...
--HG--
extra : rebase_source : 05cd593beaf75999aed7c274410dfac422dc6696
2014-12-12 16:11:57 -05:00
Milan Sreckovic
6830a939b5
Bug 946069 - Assert/critical error if the CG contexts are invalid. Also, deal with the empty path when asking for the current point. r=mstange
2014-12-12 15:35:48 -05:00
Milan Sreckovic
d1a8547d89
Bug 1110528 - Check for invalid surface before calling update. r=nical
...
CLOSED TREE
2014-12-12 14:56:06 -05:00
Alfredo Yang
fe254ebfaf
Bug 938034 - Add new GonkCameraImage image type. r=roc
2014-12-15 01:01:00 -05:00
Wes Kocher
e0a2dd4086
Backed out 2 changesets (bug 1103258) for b2g reftest failures
...
Backed out changeset 64e9d08ae14b (bug 1103258)
Backed out changeset bca5954a31d2 (bug 1103258)
2014-12-16 15:24:45 -08:00
Benoit Girard
569173b481
Bug 1103258 - Don't prepare a container layer that's been culled. r=jmuizel
2014-12-11 15:55:31 -05:00
Jeff Muizelaar
0516a28625
Bug 1112281. Add notes to the crash reporter when the D3D11Device does not work.
...
--HG--
extra : rebase_source : 9932b05493a8a5c54f671044d40c9a1092d5c55b
2014-12-16 15:50:45 -05:00
Benoit Girard
bccf03e321
Bug 1111258 - Let the profiler turn on layout.display-list.dump. r=mstange
2014-12-13 15:40:18 -05:00
Ehsan Akhgari
a5bea27491
Bug 1111227 - Remove the MSVC2005 special casing in gfx/2d/moz.build; r=glandium
...
--HG--
extra : rebase_source : 0d86c3cff1f3775c0994a9f2f71762f77641ca18
2014-12-16 12:53:13 -05:00
Gijs Kruitbosch
3bd09bf356
Bug 1088588 - fix ifdef in X11TextureSourceOGL.cpp, patch by Dirk Mueller, r=nical
2014-10-29 21:42:44 +00:00
Milan Sreckovic
2127426c69
Bug 1109828 - Check for null pointer before dereferencing. r=nical
2014-12-10 15:11:45 -05:00
David Anderson
b7b4b7f826
Fix displayport bounds not being computed from the correct origin. (bug 1109949, r=tn)
2014-12-11 21:13:10 -08:00
David Anderson
a107595018
Don't reuse input blocks with dead APZCs. (bug 1110038, r=kats)
...
--HG--
extra : rebase_source : 458816195b9e8e0394bfdf662b7173328015415c
2014-12-11 13:03:27 -08:00
Kartikaya Gupta
2fda0e7056
Bug 1013432 - Follow-up to fix build bustage when debug logging is enabled. r=me and DONTBUILD
2014-12-11 11:49:17 -05:00
Kartikaya Gupta
da5a1ed4e2
Bug 1109855 - Fix building of APZC instances via the tree manager for gtests. r=botond
...
In testing scenarios ensure that we always create a TestAsyncPanZoomController
so that we can unconditionally cast to it and use the extra helpers on that
class.
2014-12-11 10:39:19 -05:00
Nicolas Silva
69017d515d
Bug 1108162 - Don't reuse a tile's front buffer if it just switched from non-component-alpha to compoenent-alpha. r=jrmuizel
2014-12-11 10:07:53 +01:00
Kartikaya Gupta
58cbd19de7
Bug 1013432 - Follow up to cset 89858cf28204 to remove accidentally added file. r=me
...
DONTBUILD because NPOTB
2014-12-10 21:15:44 -05:00
Mason Chang
c388ac3cf3
Bug 1080160 - Integrate Composite Times into Telemetry. r=benwa,avih
2014-12-10 18:15:48 -08:00
Benoit Girard
63d21a12fa
Bug 1105834 - Part 3: Add lz4 support to layers.dump-texture. r=jrmuizel
2014-12-08 14:42:33 -05:00
Benoit Girard
d1169f5e7f
Bug 1105834 - Part 2: Add layers.dump-texture feature. r=mstange
2014-11-28 17:41:47 -05:00
Benoit Girard
57dd780f8a
Bug 1105834 - Part 1: Add CreateDataSourceSurfaceByCloning to moz2d. r=mstange,bas
2014-11-28 18:11:03 -05:00
Ehsan Akhgari
278b49e363
Bug 1109699 - Fix more bad implicit constructors in gfx and image; r=jrmuizel
2014-12-10 17:48:11 -05:00
Kartikaya Gupta
6493f3f028
Bug 1013432 - Followup to fix rebase error. r=me
2014-12-10 17:10:24 -05:00
Milan Sreckovic
f60450e005
Bug 1099437 - Part 2: Clean up int vs uint usage. r=nical
2014-11-26 22:00:32 -05:00
Milan Sreckovic
12a0c94814
Bug 1099437 - Part 1: Protect against negative sizes and overflow. r=nical
2014-12-09 13:19:29 -05:00
John Daggett
9662cfeab4
Bug 1109403 - trim out unused Azure FontOptions struct. r=m_kato
2014-12-10 13:09:30 +09:00
Wes Kocher
28af05a0e8
Backed out 3 changesets (bug 1105834) for non-unified b2g bustage
...
Backed out changeset 7aca65122115 (bug 1105834)
Backed out changeset 47ba9f1d4762 (bug 1105834)
Backed out changeset f0226c3be051 (bug 1105834)
2014-12-09 17:15:42 -08:00
Jeff Muizelaar
58dfe055bb
Bug 1109339. Fixup some ANGLE format stuff. r=jgilbert
...
This fixes the classic BGRA/RGBA mismatch with D3D11 by making Renderer11.cpp
do the same thing as Renderer9.cpp from bug 1096634
It also fixes an assertion failure that happens when building the stencil
map caused by Bug 1088345.
--HG--
extra : rebase_source : 0fbe2902ede19a5fdb4898c7d27c62e6f59e954a
2014-12-09 18:24:27 -05:00
Jeff Muizelaar
1f1f6deb6b
Bug 1079400. Limit the maximum render target size to avoid crashes. r=jgilbert
...
This avoids crashes with certain NVIDIA drivers.
--HG--
extra : rebase_source : 38eb492063e29a23c3278bbef73020d90204d607
2014-12-08 19:53:26 -05:00
Benoit Girard
ea3fd279e8
Bug 1105834 - Part 3: Add lz4 support. r=jrmuizel
...
--HG--
extra : rebase_source : 10d4a17018bf62c96f89bd12000d8ee3b3d0b89f
2014-12-08 14:42:33 -05:00
Benoit Girard
962feca530
Bug 1105834 - Part 2: Add layers.dump-texture feature. r=mstange
...
--HG--
extra : rebase_source : 8c83823acbfda0c8ed812ac9c5137ba4cdbe054b
2014-11-28 17:41:47 -05:00
Benoit Girard
80a2ab9b75
Bug 1105834 - Part 1: Add CreateDataSourceSurfaceByCloning to moz2d. r=mstange,bas
...
--HG--
extra : rebase_source : 361ea428e03d80c31d9041809afcdab7ae3a32e6
2014-11-28 18:11:03 -05:00
Ryan VanderMeulen
c980670a21
No bug - Put the gfx mochitest.ini in the same dir as the tests it lists.
...
--HG--
rename : gfx/tests/mochitest.ini => gfx/tests/mochitest/mochitest.ini
2014-12-09 09:55:25 -05:00
Julian Seward
0ee09bead0
Bug 1078211 - Uninitialised value use in DoUnpremultiplicationCalculation_SIMD. r=mstange.
...
--HG--
extra : rebase_source : f6c2050339ff24c2e067f0533fe0e7a1589288e5
2014-12-09 13:12:34 +01:00
David Anderson
88a08ca9ca
Move APZ handling of wheel events from nsWindow to RenderFrameParent. (bug 1013432 part 7, r=kats)
...
--HG--
extra : rebase_source : 6ee0db41a21d333deb511a6403f8178b7fe01bb9
2014-12-09 02:42:49 -08:00
David Anderson
fae21c73e9
Add scroll listeners to dispatch-to-content regions. (bug 1013432 part 5, r=tn)
...
--HG--
extra : rebase_source : babd42d9bdae722173821e800bc595fe662ee8f1
2014-12-09 02:38:23 -08:00
David Anderson
1c62410221
Add wheel events to the APZ input queue. (bug 1013432 part 4, r=kats)
...
--HG--
extra : rebase_source : beaf39e7ef1eb192e5edd14aa8e55d741f7ffad2
2014-12-09 02:36:13 -08:00
David Anderson
3061888891
Rename ContentReceivedTouch to ContentReceivedInputBlock. (bug 1013432 part 3, r=kats)
...
--HG--
extra : rebase_source : ee0d05d4774fac9fb34297953e90e61f1d979d5d
2014-12-09 02:35:12 -08:00
David Anderson
02c9453b1d
Refactor InputQueue to hold more than touch events. (bug 1013432 part 2, r=kats)
...
--HG--
extra : rebase_source : cd3691a2bda6aaf315cf3b844e4fdd3aa8b30334
2014-12-09 02:34:27 -08:00
David Anderson
4a1c10d04b
Factor out content-handling code from TouchBlockState. (bug 1013432 part 1, r=kats)
...
--HG--
extra : rebase_source : 12a4f865dda6777c146cfec24184ce45d5d54072
2014-12-09 02:33:29 -08:00
Chris Peterson
d3acb03f9f
Bug 1107814 - Part 1: Mark more directories as FAIL_ON_WARNINGS for all compilers. r=gps
2014-12-04 16:24:03 -08:00
Wes Kocher
ab0d0ffd2b
Backed out 3 changesets (bug 1105834) for non-unified bustage
...
Backed out changeset 33592fd41f1f (bug 1105834)
Backed out changeset c3e505887e9f (bug 1105834)
Backed out changeset 6aad17f431d1 (bug 1105834)
2014-12-08 17:15:46 -08:00
Benoit Girard
908b93e06d
Bug 1105834 - Part 3: Add lz4 support. r=jrmuizel
2014-12-08 14:42:33 -05:00
Benoit Girard
6515991e7a
Bug 1105834 - Part 2: Add layers.dump-texture feature. r=mstange
2014-11-28 17:41:47 -05:00
Benoit Girard
b323d54c57
Bug 1105834 - Part 1: Add CreateDataSourceSurfaceByCloning to moz2d. r=mstange,bas
2014-11-28 18:11:03 -05:00
Sotaro Ikeda
0fb912bbcc
Bug 1100110 - Fix ScaleMode handling of ImageLayer and HwcComposer2D r=mattwoodrow
2014-12-06 17:12:50 -08:00
Jonathan Watt
c3a1f810cf
Bug 1083079 - Prevent the size of TiledDrawTarget from being zero due to its tiles having negative offsets. r=mattwoodrow
2014-12-05 03:00:24 -08:00
Dan Glastonbury
87c1d775cc
Bug 1097416 - [WebGL2] Enable WebGL 2 if all required features are available. r=jgilbert
...
--HG--
extra : rebase_source : 696e99670b8184593ea8ca9aa4becb1c4d86cad6
extra : source : e2ff0e2bcf21067b6a121e50e4f290227aedc6c6
2014-10-27 09:36:26 +10:00
Bas Schouten
66a872a296
Bug 1102499: Use WARP by default when D3D11 is available. r=BenWa
...
This will cause us to use WARP for composition on systems with Direct3D 11 when hardware acceleration is blacklisted or we're unable to find a powerful enough graphics card. It also allows us to force WARP on, in that situation WARP will also be used for Direct2D content rendering if Direct2D is enabled. Essentially this will ensure all systems running Windows 7 or higher always use D3D11 as their composition backend.
2014-12-06 00:02:19 +00:00
Bas Schouten
f3161fe1af
Bug 1107299: Only block shared surface usage when that is broken. r=jrmuizel
...
Currently when the usage of surface sharing is broken on certain drivers, be block D3D11 entirely and fall back to Basic composition. There's no real benefit in this case from disabling D3D11 entirely, and we might as well just use it with software composition like we do when we don't have Direct2D, and in addition to that disable texture sharing for webGL, falling back to slow WebGL which again is no worse than the situation when using Basic or D3D9 composition.
2014-12-06 00:02:18 +00:00
Bas Schouten
047e9df31b
Bug 1107297: Only recomposite the damaged rect with D3D11. r=jrmuizel
...
This patch makes us behave similarly to when we're using the BasicCompositor, essentially we will clip all drawing to the final display to the area that was labeled as invalid. When DXGI 1.2 is available we will then also report the damaged area to the Present call so that can then be used to minimize the amount of bits that actually need to be blitted to the screen. Since we're no longer recompositing the whole screen this means we should also only clear the damaged area of the window.
2014-12-06 00:02:18 +00:00
Kartikaya Gupta
5c63a162c6
Bug 1107606 - Allow smooth-scroll triggering on the same transaction as the creation of a new APZC. r=botond,kip
2014-12-05 00:04:36 -08:00
Milan Sreckovic
df72dbce6c
Bug 1100530 - Clean up OS X version constants. f=jgilbert, r=mstange
2014-11-28 17:28:59 -05:00
Jeff Muizelaar
4ccd862efa
Bug 1097321. Reduce the amount of dual AMD/intel blacklisting. r=Bas
...
Instead detect the broken shared surfaces and only black list then.
--HG--
extra : rebase_source : 8ea9b50bd1329132574de88860c694cdedccc069
2014-12-04 23:03:31 -08:00
Jonathan Watt
e3074d441d
Bug 1107417 - Remove gfxContext::Polygon(). r=Bas
...
--HG--
extra : rebase_source : ec3568087fc1e3d60613853262921e9114cd9fc3
2014-12-02 14:37:11 -08:00
Jonathan Watt
b752905714
Bug 1107414 - Get rid of gfxContext::FillWithOpacity. r=mattwoodrow
...
--HG--
extra : rebase_source : d64412c46d72a4d08be8edf1913c83bb12387b49
2014-12-02 14:29:44 -08:00
Jeff Muizelaar
2b1a74ce01
Bug 1094097. Fix building ANGLE without D3D11. r=jrmuizel
...
--HG--
extra : rebase_source : 0a1bfad2cdd76ddf26565d664f3b0e1c5a208cba
2014-12-02 17:46:32 -08:00
Jeff Muizelaar
53c25bd100
Bug 1049138. Add more crashing to PadDrawTargetOutFromRegion. r=BenWa
...
try: -b do -p all -u all -t none
Hopefully, this will give us a better idea of what the problem is.
--HG--
extra : rebase_source : 4f048b2501bb13edc4e257aa561bce87ea3137fd
2014-11-26 17:57:20 -05:00
Jeff Muizelaar
d7d45a14cb
Bug 1105015. Make the UnboundnessFixer more readable. r=milan
...
--HG--
extra : rebase_source : f584762adbf2afbbdccc563f2a198ac069ef0106
2014-11-25 17:20:33 -05:00
Nicolas Silva
31b06f7324
Bug 1104008 - Make sure the D3D11 swapchain's textures are cleared before resizing. r=Bas.
2014-12-02 14:28:19 +01:00
Dan Glastonbury
f88bc8aa5e
Bug 1048724 - [WebGL2] Transform Feedback. r=jgilbert,smaug
...
--HG--
extra : rebase_source : 40fe3ec66b091ced40f5a773fdc23d06bf6abc11
2014-11-26 12:00:06 +10:00
Benoit Girard
a4449eed3b
Bug 1097941 - Properly disable paint-will-resample on b2g. r=jmuizel
2014-11-28 18:42:20 -05:00
Kartikaya Gupta
9de1361176
Bug 1105836 - Automatically confirm the target APZC for an input block that arrives during fast-motion. r=botond
2014-11-28 12:25:41 -05:00
Kartikaya Gupta
8c296fec54
Bug 1105836 - Add more logging to the APZ code. r=botond
2014-11-28 12:25:41 -05:00
Seth Fowler
d40a7245bb
Bug 1104622 (Part 1) - Remove DiscardTracker. r=tn
2014-11-27 19:55:57 -08:00
Andreas Pehrson
4cdc4e0f57
Bug 1089214 - Avoid using null query in D3D9SurfaceImage::EnsureSynchronized. r=nical
2014-11-27 17:56:00 -08:00
Jacek Caban
fa07b549d1
Bug 1102804 - Fixed -Wparentheses warnings found in mingw build (gfx and widget part). r=jmathies
2014-11-27 10:58:41 +01:00
Jacek Caban
eabe22d66f
Bug 1026893 - mingw fixup.
2014-11-27 10:58:26 +01:00
Jonathan Kew
6b1e61fcd0
Bug 1102406 - Ensure conversion factor for font units is set up before trying to read vertical metrics. r=jdaggett
2014-11-27 09:31:15 +00:00
neil@parkwaycc.co.uk
27492d72c1
Bug 1103868 - "'SupportsD2D1' : is not a member of 'mozilla::gfx::Factory'". r=bas
2014-11-26 01:33:00 +01:00
Ryan VanderMeulen
5df3040f12
Merge m-c to inbound. a=merge
2014-11-26 21:43:23 -05:00
Ryan VanderMeulen
694e866a21
Merge b2g-inbound to m-c. a=merge
2014-11-26 21:39:08 -05:00
Ryan VanderMeulen
dbff5227db
Backed out changesets 258ac2909d6e and 55252aebf52d (bug 1099437) for bustage.
...
CLOSED TREE
2014-11-26 14:14:16 -05:00