Commit Graph

18202 Commits

Author SHA1 Message Date
Kartikaya Gupta
1ba6fc99e3 Bug 1120214 - Fix logging-only build failure. r=botond 2015-01-11 18:26:26 -05:00
Tom Schuster
967d0d250a Backout changeset b4ebefd0f7e3:a8044fd506db Bug 1117607, Bug 1118087, Bug 1118092, Bug 1118105, Bug 1030372, Bug 1079627 on CLOSED TREE 2015-01-11 20:43:32 +01:00
Seth Fowler
08df7af950 Bug 1079627 (Part 3) - Support multiple decoders for a single RasterImage. r=tn 2015-01-11 05:34:20 -08:00
Masatoshi Kimura
bf312ad056 Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo 2015-01-11 11:34:52 +09:00
Bas Schouten
79bc434a3c Bug 1119854 - Followup: Correct one missed conversion of timeout to a finite number. r=jrmuizel 2015-01-10 19:43:15 +01:00
Wes Kocher
43fd1c9428 Backout ca411b1cf001 (bug 1109945) for shader editor failures 2015-01-09 21:03:54 -08:00
Wes Kocher
09febf6c77 Merge m-c to inbound a=merge 2015-01-09 21:00:13 -08:00
Chris Peterson
9e23388ca8 Bug 1118076 - Remove MOZ_THIS_IN_INITIALIZER_LIST. r=Waldo 2015-01-06 21:39:46 -08:00
Bas Schouten
4983028737 Bug 1119854: Crash when AcquireSync takes more than 10 seconds. r=jrmuizel 2015-01-10 04:50:02 +01:00
Wes Kocher
94c8f2fb4f Backed out changeset 88cf7f2fe48f for build bustage 2015-01-09 19:15:54 -08:00
Jeff Gilbert
dc1d886801 Bug 1093967 - Implement BlitFramebuffer. r=kamidphish 2015-01-09 18:51:20 -08:00
Jeff Gilbert
c0dd0d5346 Bug 1109945 - Rewrite shader/program handling. - r=kamidphish 2015-01-09 18:40:56 -08:00
Jim Chen
db34c64f29 Bug 1116589 - Use templated JNI classes in generated bindings; r=snorp 2015-01-09 19:33:57 -05:00
David Anderson
88d80771a7 Make sure tile textures are synchronized for D3D11. (bug 1119066, r=mattwoodrow)
--HG--
extra : rebase_source : 89d5654e43eb2a111a56c1432b90cd3a283f4a50
2015-01-09 13:50:20 -08:00
Kartikaya Gupta
1a47ec5608 Bug 1119497 - Rename the HitTestResult enum values in light of the new hit-test code. rs=botond 2015-01-10 10:55:47 -05:00
Kartikaya Gupta
a64136480e Bug 1119497 - Don't continue searching if we hit a layer that has no containing APZC. r=botond 2015-01-10 10:55:47 -05:00
Seth Fowler
2bd2f07368 Bug 1079627 (Part 3) - Support multiple decoders for a single RasterImage. r=tn 2015-01-12 01:20:23 -08:00
Botond Ballo
b5088abdbc Bug 1088984 - Account for the async scale correctly when transforming the scroll thumb in the compositor. r=kats
--HG--
extra : rebase_source : 28e6c6c3a510549c939daea615fc0329d785a352
2014-10-24 20:14:56 -04:00
Botond Ballo
c6c1bcd7d8 Bug 1113457 - Improve the approximation used to model spring physics during an overscroll animation, to avoid the approximation from diverging. r=kats
--HG--
extra : rebase_source : 4e26357cd76c7125f5c02529f1ac3b038eec36c2
2015-01-07 16:45:29 -05:00
Ryan VanderMeulen
6738bb2b01 Merge m-c to b2g-inbound. a=merge 2015-01-09 14:47:53 -05:00
Ryan VanderMeulen
9a378a0290 Merge inbound to m-c. a=merge 2015-01-09 14:45:50 -05:00
Kartikaya Gupta
e10f70887c Bug 1119811 - Fold the gonk ParentProcessController into the reusable ChromeProcessController. r=dvander 2015-01-09 13:41:23 -05:00
Kartikaya Gupta
6ad061c59b Bug 973619 - Pick up the zoom from layout when the viewport dimensions change. r=botond 2015-01-09 10:21:50 -05:00
Ehsan Akhgari
4354953b4f 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
4b9c7c9fe3 Bug 1102631 - Create a software vsync timer. r=kats 2015-01-08 15:12:47 -08:00
Nicolas Silva
f9d3f8f001 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
c8aa1b5d13 Bug 1110229 - bustage fix on a CLOSED TREE 2015-01-08 11:53:03 -05:00
Kartikaya Gupta
266f840884 Bug 1109873 - Follow-up to fix debug logging bustage. r=me and DONTBUILD 2015-01-08 11:29:20 -05:00
Benoit Girard
ed5fb37df8 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
2a492472b4 Bug 1109873 - Gtest that demonstrates the problem with obscured regions and transforms. r=kats 2015-01-08 09:40:01 -05:00
Kartikaya Gupta
1eb610400a Bug 1109873 - Implement the expanded HitTestingTree. r=botond 2015-01-08 09:40:01 -05:00
Kartikaya Gupta
ceba82c3a0 Bug 1109873 - Allow the APZC stored in the HitTestingTreeNode to be null. r=botond 2015-01-08 09:40:01 -05:00
Kartikaya Gupta
1bf8a513d0 Bug 1109873 - Rename UpdatePanZoomControllerTree to UpdateHitTestingTree. r=botond 2015-01-08 09:40:01 -05:00
Kartikaya Gupta
ea16e8f553 Bug 1109873 - Rearrange some loops to duplicate less code. r=botond 2015-01-08 09:40:01 -05:00
Kartikaya Gupta
e0077ec0d4 Bug 1109873 - Move hit-testing data into HitTestingTreeNode. r=botond 2015-01-08 09:40:01 -05:00
Kartikaya Gupta
6f37e44194 Bug 1109873 - Extract HitTestResult into a helper header. r=botond 2015-01-08 09:40:01 -05:00
Kartikaya Gupta
66746c1cfb 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
17b504d90c 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
f9c9194ea1 Merge mozilla-central to mozilla-inbound 2015-01-08 15:32:44 +01:00
Carsten "Tomcat" Book
58c53ce72e merge b2g-inbound to mozilla-central a=merge 2015-01-08 15:07:12 +01:00
Michael Pruett
411a94b05a Bug 1118024 - Use new PL_DHashTable{Add,Lookup,Remove} functions. r=nfroyd 2015-01-05 20:27:28 -06:00
Bas Schouten
0b0280ec95 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
3a3d9ab7f7 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
a362575e49 Bug 1118841 - Implement the RefreshTimerVsyncDispatcher. r=kats 2015-01-07 18:17:36 -08:00
Bas Schouten
9f630848f2 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
a31d3a0bdc Bug 1118328 - Part 1: Expose DoesBackendSupportDataDrawTarget function to test backend capabilities. r=jrmuizel 2015-01-07 22:58:20 +01:00
Wes Kocher
8d58942592 Backout 0d091f3311b4 (bug 1118328) for build bustage on a CLOSED TREE 2015-01-07 16:54:14 -08:00
Wes Kocher
2f0156ea48 Backout 467595d39929 (bug 1118328) for build bustage on a CLOSED TREE 2015-01-07 16:53:13 -08:00
Kai-Zhen Li
8087799291 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
0e5c141375 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
e66b60d907 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
a5ebe274e9 Bug 1107718 - Addendum: Properly address review comments. r=nical 2015-01-08 00:12:29 +00:00
Bas Schouten
9ab9d86962 Bug 1107718: Properly deal with a D3D11 device reset. r=nical 2015-01-08 00:10:49 +00:00
Bas Schouten
6551fc8ba4 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
18348c7ab0 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
93cbc3dcaf 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
e0d4cad40e Bug 1118328 - Part 1: Expose DoesBackendSupportDataDrawTarget function to test backend capabilities. r=jrmuizel 2015-01-07 22:58:20 +01:00
Jonathan Kew
e056d920d0 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
8f47ed3254 Bug 1116747 - Always use multithreaded image decoding. r=tn 2015-01-08 00:29:41 -08:00
Nicholas Nethercote
97b5d348cc 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
a19ed3831f Bug 1117777 - Fix inverted MP4 videos on Android r=jgilbert 2015-01-07 11:54:33 -06:00
Botond Ballo
755b86ca3a Bug 1076241 - Get rid of the nontransient async transform. r=kats 2014-12-19 18:53:05 -05:00
Botond Ballo
9f93609fd6 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
20d7991ef8 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
ffb386847f Bug 1118419 - Mark virtual overridden functions as MOZ_OVERRIDE in graphics; r=jrmuizel 2015-01-07 10:09:17 -05:00
John Daggett
70d4fa9adb Bug 1118603 - clear out font/word caches when initializing platform fontlists. r=m_kato 2015-01-07 14:30:10 +09:00
John Daggett
49d793eefc Bug 1118601 - trim out unused pref fonts list from platform objects. r=m_kato 2015-01-07 14:29:21 +09:00
Milan Sreckovic
4713d65300 Bug 1113695 - Make gfxCriticalError thread safe. r=Bas 2014-12-19 12:03:58 -05:00
Ehsan Akhgari
860da94550 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
e5ef938a64 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
82898bfa4d 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
ff9f031360 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
2cef5d1c88 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
2a00e2b4cb 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
b77ae133f8 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
b4adaf93a3 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
54769bc618 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
a0b39046de Bug 1118100. Remove unused SharedSurfaceIO code. r=jgilbert
--HG--
extra : rebase_source : 9bdd90db5755903fcffdce1f7b95687844c6dfad
2015-01-05 21:57:30 -05:00
Jeff Muizelaar
20f3c3c33a 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
accd31c28a 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
8d7113b14e 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
cf3359d68d 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
686385caee Bug 1117870. Compositor unobserve vsync after configurable number of notifications. r=benwa 2015-01-05 13:52:49 -08:00
Jonathan Kew
f100424d94 Bug 1119423 - Fix reversed test of aMatchData->mStyle in gfxFontFamily::FindFontForChar. r=jdaggett 2015-01-09 11:57:56 +00:00
Ehsan Akhgari
a41280816e 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
0c1e8e64a3 Bug 1116427 - Remove unneeded nsCSSPropList.h include from AsyncCompositionManager.h. r=nrc 2015-01-05 22:03:28 +11:00
Ehsan Akhgari
4a6847f742 Bug 1117263 follow-up: Fix a build bustage in opt builds 2015-01-03 12:38:20 -05:00
Ehsan Akhgari
b447c92ece 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
3d2cba0574 Back out 47683fccda29 (bug 1112332) for b2g reftest-6 failures
CLOSED TREE
2015-01-02 21:31:35 -08:00
Daniel Holbert
04b749a33d 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
b69d978b28 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
cab7cc77c1 Bug 1065536, part 2 - Remove extra Release of sCompositor. r=nical 2015-01-02 13:09:06 -08:00
Andrew McCreight
ac61b66824 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
b237e1af13 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
cd77a14ff1 Backout 827fa9b5f9b4 (bug 1112332) for build bustage 2015-01-02 10:18:57 -08:00
Benoit Girard
dd15421503 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
defb49db61 Bug 1117026 - Cherry-pick commit a10742c of upstream skia code; r=upstream 2015-01-02 00:11:43 -05:00
Jonathan Kew
4fa5c65360 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
f7ad51e8cc 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
98b7cc0e56 Bug 1113837 - Build display-list dumping without MOZ_DUMP_PAINTING. r=mstange 2014-12-31 15:17:39 -05:00
Jeff Gilbert
a76e617dd0 Bug 1100699 - Use OriginPos instead of isInverted. - r=mattwoodrow,snorp 2014-11-17 17:02:19 -08:00
Kushan Joshi
94821f46e8 Bug 1116008 - Make FrameMetrics::mCriticalDisplayPort private. r=kats 2014-12-30 14:07:57 -05:00
Jeff Muizelaar
7401eee88e 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
9085b13b1e Bug 1115327 - Changed FrameMetrics.mScrollableRect to be accessible by getter/setter methods. r=kats 2014-12-27 12:48:27 -05:00
Ethan Lin
945540c527 Bug 1042696 - Set allocator to TextureClient from constructor. r=nical 2014-12-22 03:49:00 -05:00
Wes Kocher
ab27d8e9b0 Merge inbound to mozilla-central a=merge CLOSED TREE 2014-12-23 16:47:42 -08:00
Ryan VanderMeulen
889cfefc83 Merge m-c to b2g-inbound. a=merge 2014-12-23 13:18:49 -05:00
Kartikaya Gupta
4a6fb0e992 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
2ab649cfb7 Backed out changeset ad0bb596da2c (bug 1073003) 2014-12-23 13:35:02 +01:00
John Daggett
4552c737d3 Bug 1109201 - null-check font within GetFontAt. r=roc 2014-12-23 05:01:11 -05:00
Nicolas Silva
ef17b87bc7 Bug 1071769 - Can't rerasterize valid region with tiling. r=Bas 2014-12-23 10:52:17 +01:00
Nicolas Silva
cf8a44994f Bug 1071769 - Fix the integration of DrawTargetTiled. r=Bas 2014-12-17 17:59:46 +01:00
Xidorn Quan
2331038635 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
1356b6d4a6 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
1db153eb6f 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
3b25572bde Bug 1114336 - Fix typo in UpdateFromCompositorFrameMetrics. r=kats 2014-12-22 17:39:36 +01:00
Ryan VanderMeulen
b51b5f5601 Backed out changeset dd9790020b89 (bug 1042696) for B2G debug crashes. 2014-12-22 11:15:36 -05:00
Ethan Lin
81f7e51dc6 Bug 1042696 - Set allocator to TextureClient from constructor. r=nical 2014-12-22 03:49:00 -05:00
Milan Sreckovic
3c6462cb13 Bug 1095510 - See if ClearRect has weird data. r=jmuizelaar 2014-12-19 16:06:15 -05:00
Yan Gouts
0e7074b2bd Bug 1113774 - Transitioned FrameMetric mDisplayPort accesses to Get/Set method calls. r=kats 2014-12-23 10:35:58 -05:00
Jonathan Kew
3478d8e504 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
a896eab424 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
56f126bbf2 Bug 1113789 - Remove GrallocTextureSourceOGL r=nical 2014-12-22 06:28:07 -08:00
Brian Birtles
fe8a65bf0d 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
bed7d564db 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
d178150d17 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
5c21d8fd9f Bug 1113070 - Update harfbuzz to 0.9.37+ (upstream 7d5e7613ced3dd39d05df83ca7e8952cbecd68f6). r=jdaggett 2014-12-20 19:37:24 +00:00
Ryan VanderMeulen
21ad2e15de Merge inbound to m-c. a=merge
CLOSED TREE
2014-12-19 21:57:29 -05:00
Kai-Zhen Li
1087357f46 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
2166723055 Bug 1113725. Rename VsyncDispatcher to CompositorVsyncDispatcher. r=kats 2014-12-19 12:52:42 -08:00
Ryan VanderMeulen
1cbb006d1e Backed out changeset ebcea5a8cb79 (bug 1095510) for asserts/crashes.
--HG--
extra : rebase_source : 7d3d8cb136ffd431605b45c16f4438eba64694c0
2014-12-19 15:41:29 -05:00
Markus Stange
9f8bb48452 Bug 1101635 - Enable tiling on 10.6. r=jrmuizel f=milan 2014-12-19 14:48:33 -05:00
Milan Sreckovic
c792f5f186 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
8f811ab172 Bug 1112170 - Don't disable tiles for the basic backend on Linux. r=Bas 2014-12-18 22:23:53 +01:00
Nicholas Nethercote
d5ae4983a3 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
dee00140c0 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
0de35ab99f 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
8445ba0749 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
29d0ae087c Bug 1072871 - Make sure the targets don't disappear under us. r=benwa 2014-12-15 12:10:06 -05:00
David Anderson
e2f100731e 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
b7d74f7460 Bug 1113331 - Make the frame metrics easier to parse. r=kats 2014-12-18 16:33:10 -05:00
Benoit Girard
22355f0c17 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
d74cb4fa05 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
6f4182dd43 Bug 1113242 - followup; fix missing include, just in case - CLOSED TREE 2014-12-18 15:08:45 -05:00
Vladimir Vukicevic
b59e740e24 Bug 1113242 - followup; fix missing namespace - CLOSED TREE
--HG--
extra : amend_source : 150f66d2444e56f30562265236080835fe1ffc58
2014-12-18 14:58:09 -05:00
Vladimir Vukicevic
82c98fdc63 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
e80e04cd17 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
18fcfec1c7 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
8cf3cb0f2d 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
883e1dee4c 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
145ebfeec2 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
5f6bbd927d 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
41d5e05bb1 Backed out changeset bf93cbec0450 (bug 1112170) for OSX asserts/crashes. 2014-12-18 12:22:50 -05:00
Mason Chang
3027d1493e Bug 1101974. Part 6. Create VsyncSource on b2g. r=kats 2014-12-18 08:30:06 -08:00
Mason Chang
8840203e64 Bug 1101974. Part 4 - Refactor VsyncSource on OS X. r=mstange 2014-12-18 08:30:06 -08:00
Mason Chang
5119b7e4eb Bug 1101974. Part 3 - Create VsyncSource / Display framework. r=kats 2014-12-18 08:30:06 -08:00
Mason Chang
8c6ce778ad Bug 1101974. Part 2: Access VsyncDispatcher through nsIWidget interface. r=benwa 2014-12-18 08:30:06 -08:00
Nicolas Silva
1b154e6ec5 Bug 1112170 - allow the basic compositor backend to use tiling. r=Bas 2014-12-18 15:56:54 +01:00
Alfredo Yang
01779d04ac Bug 938034 - Add GonkCameraImage format. r=roc 2014-12-17 23:42:00 -05:00
David Anderson
9b99c0f6d4 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
74d83cd734 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
18fac679db 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
f9df48fece 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
537e832f5a Forward Windows events to APZ directly from nsWindow. (bug 1109985 part 2, r=kats) 2014-12-15 23:31:12 -08:00
Kartikaya Gupta
d666dd017d 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
cabb056a02 Bug 1108164 - Remove per-tile drawing. r=Bas 2014-12-17 17:32:29 +01:00
Carsten "Tomcat" Book
95ee4c0ee0 Merge mozilla-central to mozilla-inbound 2014-12-17 12:59:05 +01:00
Carsten "Tomcat" Book
f901cbe58a Backed out changeset 8b751f12a3ad (bug 1101685) for windows 7 debug crashtest/reftest crashes 2014-12-17 12:56:04 +01:00
Carsten "Tomcat" Book
9802964adf merge fx-team to mozilla-central a=merge 2014-12-17 12:50:10 +01:00
Nathan Froyd
ae1fb259fa Bug 1112426 - stop generating unused PremultiplyTables.h in gfx/layers/; r=jrmuizel 2014-12-16 21:12:52 -05:00
Jonathan Watt
66dac7ece8 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
11da062e2a Bug 1111258 - Bustage fix. r=mstange 2014-12-16 21:32:58 -05:00
Benoit Girard
47e78f41b7 Bug 1111258 - Allow dumping textures without MOZ_DUMP_PAINTING. r=mstange 2014-12-16 18:39:43 -05:00
Ryan VanderMeulen
4cfa23a95a Merge m-c to fx-team. a=merge 2014-12-16 16:08:15 -05:00
Sotaro Ikeda
1247620b1d Bug 1043558 - Use gralloc for WebRTC camera preview r=jesup,nical 2014-12-16 07:11:48 -08:00
Milan Sreckovic
0b0239db58 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
e19d488d7d merge mozilla-inbound to mozilla-central a=merge 2014-12-16 13:34:05 +01:00
Carsten "Tomcat" Book
68c67ff729 merge b2g-inbound to mozilla-central a=merge 2014-12-16 12:54:14 +01:00
Carsten "Tomcat" Book
eb37bd2ce2 Backed out changeset 2187c2cdeea9 (bug 1109985) for memory leaks 2014-12-16 09:40:01 +01:00
Carsten "Tomcat" Book
4a62decf3b Backed out changeset c61753316ddb (bug 1109985) 2014-12-16 09:39:39 +01:00
Wes Kocher
222bbef079 Backed out changeset bfe4f2eb91c5 (bug 938034) for non-unified bustage on a CLOSED TREE 2014-12-15 14:16:59 -08:00
Ehsan Akhgari
bf29f7e06b 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
47e697b384 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
87a3f4581f Merge m-c to b2g-inbound. a=merge 2014-12-15 14:04:03 -05:00
David Anderson
8226f0cd2e Create a common chrome-process GeckoContentController. (bug 1110540 part 2, r=kats) 2014-12-15 01:49:48 -08:00
Kartikaya Gupta
65fb04ab03 Bug 1023473 - Follow-up to convert tabs to spaces. r=me and DONTBUILD 2014-12-15 10:45:46 -05:00
David Anderson
81596d1ba2 Forward Windows events to APZ directly from nsWindow. (bug 1109985 part 2, r=kats) 2014-12-15 23:31:12 -08:00
Kartikaya Gupta
828602f217 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
4130a7b1ff 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
8af432308c 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
430339dfea Bug 1109677 - Ensure tests that use SetMayHaveTouchListeners work with event-regions enabled. r=botond 2014-12-14 21:37:51 -05:00
Jacek Caban
01dd5be8c8 Bug 1107297 - Crosscompilation fixup. 2014-12-14 14:36:11 +01:00
Sotaro Ikeda
2631cf1673 Bug 1010966 - Reduce gl()->fEGLImageTargetTexture2D() call from tiled layer on gonk r=nical 2014-12-15 19:41:21 -08:00
Botond Ballo
e7d866b934 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
11d67dd228 Bug 1073081 - Remove a couple of unused functions. r=sotaro
--HG--
extra : source : fe519374ce47658711c6803520bb35287702dc50
2014-11-24 20:00:10 -05:00
Botond Ballo
870235958c 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
40dadf0d08 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
0618d254cc 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
c38e376cd3 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
b339c72f57 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