Commit Graph

8763 Commits

Author SHA1 Message Date
Chris Kitching
7144e8c767 Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats 2013-11-12 10:41:01 -08:00
Michael Shuen
9ff83a97c5 Bug 940799 - Build gfx/ycbcr in unified mode. r=bjacob 2013-11-21 09:22:25 -05:00
Markus Stange
e064a30af7 Bug 936459 - Move Tools.h include into the right file. r=Bas
--HG--
extra : rebase_source : 9c976b595a2dd22511184f1341a4d4192e375b50
2013-11-20 17:20:51 +01:00
Markus Stange
a2f88a73a5 Bug 936458 - Use MOZ_ASSERT instead of NS_ABORT_IF_FALSE in BasePoint3D.h and BasePoint4D.h because NS_ABORT_IF_FALSE is not in mfbt and can't be used in standalone moz2d. r=Bas
--HG--
extra : rebase_source : 6ce1149a1c99feb0892a858851350b0e5119fc1a
2013-11-20 17:20:50 +01:00
Markus Stange
8e374e30b3 Bug 935923 - Rename AlphaMode helper function to D2DAlphaModeForFormat and replace most of its uses with D2DPixelFormat. r=Bas
--HG--
extra : rebase_source : c01334a631fae221d474c89502057892c9f540fd
2013-11-20 17:20:50 +01:00
Jonathan Kew
225e4e8a0c bug 940934 - build gfx/graphite2 in unified mode. r=ehsan 2013-11-20 16:03:38 +00:00
Benoit Girard
495c58d0d8 Bug 936566 - Print mask layers in layers dump. r=nrc 2013-11-19 23:55:27 -05:00
Chris Lord
bc95d9ddc6 Bug 907743 - Align display port to tile boundaries when tiles are enabled. r=botond,kats
This aligns display ports to tile boundaries, taking care to compensate for
the difference between the requested scroll position and the actual scroll
position.
2013-09-10 18:21:04 -04:00
George Wright
6f59021f75 Bug 904483 - Fix out of order destruction problem when destroying GrContext r=mattwoodrow 2013-11-25 20:37:50 -05:00
Jacek Caban
9368b13878 Bug 900248 - Removed extra qualification of IsInTextureHostList.
--HG--
extra : rebase_source : 8e0cdc445810aad2f3f4332462df69b07a6eac02
2013-12-02 12:25:51 +01:00
Ed Morley
2ac7edcee1 Merge mozilla-central and inbound 2013-11-20 12:44:07 +00:00
Ryan VanderMeulen
73463a4880 Merge inbound to m-c. 2013-11-19 20:43:15 -05:00
Benoit Girard
39d062ad55 Bug 940416 - Build gfx/harfbuzz in unified mode. r=ehsan
--HG--
extra : rebase_source : 2d656203217681d0d1518dbb6e0f680f63d3dd92
2013-11-19 11:08:19 -05:00
Benoit Girard
2b9e6ffb65 Bug 940178 - Build cairo in unified mode. r=ehsan
--HG--
extra : rebase_source : b24a1e1f1384c78f0d09d84c573d11e57024b43a
2013-11-19 10:55:02 -05:00
Ben Kelly
984f0e8486 Bug 940488 - Initalize RotatedBuffer::mDidSelfCopy. r=BenWa 2013-11-19 14:56:57 -05:00
Ehsan Akhgari
58f5585ce3 Add some comments about angle-build-unified.patch, no bug
DONTBUILD

--HG--
extra : rebase_source : 983dd29d0b8c254aeaa9dd8367accd34d0bd695d
2013-11-19 14:18:00 -05:00
Botond Ballo
b75d9dd1de Bug 900092 - Remove FrameMetrics::ROOT_SCROLL_ID. r=kats,tn 2013-11-08 19:07:00 -05:00
James Willcox
bd9fd5c2da Bug 928804 - Always use an up-to-date texture transform when compositing SharedTextureSourceOGL r=nical 2013-11-19 08:41:57 -06:00
Chris Lord
75cb9a11ee Bug 869696 - Enable Gralloc on the Geeksphone Peak again. r=bjacob
The issues that caused it to be disabled initially have now been resolved.
2013-11-19 13:29:29 +00:00
Nicholas Cameron
90ba9aaf83 Bug 939598. Always call BeginTransaction before EndTransaction. r=mattwoodrow 2013-11-20 20:27:23 +13:00
Benoit Jacob
e028c8e7a4 Bug 939758 - Build gfx/gl in unified mode - r=ehsan 2013-11-19 16:54:09 -05:00
Phil Ringnalda
50639dcbe8 Back out 4d8015a52178 (bug 936566) for build bustage 2013-11-18 21:34:23 -08:00
Jeff Muizelaar
8a2b69cc87 Bug 845874. Switch to Y-X banded regions. r=roc
Previously our region code was just a simple y,x sorted list of
non-intersecting rectangles. This can cause us to have simple regions
represented in a complex unoptimizable way.

Switching to pixman regions gives us a canonical region implementation.

There are some cases when this can cause performance regressions.

For example, with the old region code we end up with this region:
http://people.mozilla.org/~jmuizelaar/region-pre.html
which is represented like this:
http://people.mozilla.org/~jmuizelaar/region-post.html
with the new code.

We call SimplifyOutward(4) on this. With old regions we can't simplify it so we
end up taking the bounds and get 1 rect. With the new regions we have only 3
rects to start and so we do nothing. The difference between 3 rects and 1 rect
cause D2D to do a PushLayer() instead of a ClipRect() and that seems to be the
causes for the regression.

--HG--
extra : rebase_source : 65e0d29d67b51a3780448eaecfde33dbcb6b99b1
2013-11-18 13:01:54 -05:00
Benoit Girard
491b501b80 Bug 939950 - Build gfx/2d in unified mode. r=bjacob,ehsan,bas
--HG--
extra : rebase_source : 4776cc15a2de124149624b8297ae0c4953621eae
2013-11-18 16:45:14 -05:00
Benoit Girard
046d0f0c46 Bug 936566 - Print mask layers in layers dump. r=nrc
--HG--
extra : rebase_source : cb960d4f8880f9c3fd39fafc8a4c8a21f6a19596
2013-11-18 20:22:41 -05:00
Nicholas Cameron
3ca376851d merge 2013-11-19 17:39:24 +13:00
John Daggett
dfda06fba9 Bug 913264 - add none value to font-variant-ligatures. r=dbaron 2013-11-19 13:30:25 +09:00
Mike Hommey
a65383e1e9 Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey
8ceb917350 Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps 2013-11-19 11:48:10 +09:00
Mike Hommey
01f121af07 Bug 939622 - Remove LIBXUL_LIBRARY for intermediate libs that end up in gkmedias. r=gps
What LIBXUL_LIBRARY does is:
  - Imply FORCE_STATIC_LIB
  - Build with -DIMPL_LIBXUL
  - Build with -DMOZILLA_INTERNAL_API

Those intermediate libs that end up in gkmedias and have LIBXUL_LIBRARY defined
in their moz.build are all third party code (or handled like third party code).
Besides FORCE_STATIC_LIB, none of the side effects of LIBXUL_LIBRARY should be
needed.
2013-11-19 11:47:49 +09:00
Mike Hommey
b95448fc0b Bug 914245 - Move FORCE_SHARED_LIB to moz.build. r=mshal 2013-11-19 11:47:45 +09:00
Mike Hommey
9fe772e7fd Bug 939044 - Rename remaining MODULE definitions to XPIDL_MODULE. r=mshal 2013-11-19 11:47:43 +09:00
Mike Hommey
bb6779efe3 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Mike Hommey
57a2dfcb91 Bug 939039 - Remove now useless FORCE_STATIC_LIB definitions. r=gps 2013-11-19 11:47:28 +09:00
Mike Hommey
d7b6f95761 Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps 2013-11-19 11:47:14 +09:00
Wes Kocher
aac46599e9 Merge inbound to m-c on a CLOSED TREE 2013-11-18 18:30:47 -08:00
Wes Kocher
ed9b536ced Merge fx-team to m-c on a CLOSED TREE 2013-11-18 18:25:57 -08:00
Gijs Kruitbosch
7247bc7e42 Merge m-c to fx-team on a CLOSED TREE 2013-11-18 17:01:32 +01:00
Jim Mathies
9a245fe292 Bug 937185 - Discard old apzcs if the ScrollableLayerGuid is updated. r=kats 2013-11-18 09:14:08 -06:00
Gijs Kruitbosch
d283ec620c Merge m-c to ux 2013-11-18 13:44:32 +01:00
Gijs Kruitbosch
1e3930ad3d Merge m-c to ux 2013-11-17 23:37:53 +01:00
Ehsan Akhgari
f33cc14b4c Bug 939588 - Build angle in unified mode; r=bjacob
--HG--
extra : rebase_source : c6e8bd797c7b8e0a27d60e905deaed3f34d2ce39
2013-11-17 21:47:21 -05:00
Gijs Kruitbosch
4f5a01fecc Merge mozilla-central and ux 2013-11-15 18:32:01 +01:00
Matt Woodrow
6929a01f36 Bug 937878 - Don't let too many ContentHostIncremental updates queue up. r=nrc 2013-11-15 12:56:42 +13:00
Gijs Kruitbosch
35947d2cb9 Merge mozilla-central and ux 2013-11-13 00:28:03 +01:00
Kartikaya Gupta
ba43207cb5 Bug 937130 - Fix up threading and locking in APZCTreeManager. r=botond 2013-11-12 11:56:57 -05:00
Jesse Ruderman
a9b7a47935 Bug 624198 - Crashtest. 2013-11-12 14:37:22 +00:00
Benoit Jacob
d110b47624 Bug 939629 - 2/2. Build Skia in unified mode - r=ehsan,gw280 2013-11-18 13:25:10 -05:00
Benoit Jacob
f9c2286cb7 Bug 939629 - 1/2. Add missing include guards to a couple of Skia headers - r=gw280 2013-11-18 13:25:01 -05:00
Ryan VanderMeulen
e23074782e Merge m-c to inbound on a CLOSED TREE. 2013-11-18 10:59:48 -05:00
Jonathan Watt
df7ba9b983 Bug 939604 - Add support for more types to mozilla::gfx::Log. r=Bas 2013-11-18 14:29:54 +00:00
Benoit Jacob
7b7b1d8034 Bug 938489 - 1/3. Don't include glx.h in GLXLibrary.h - r=mattwoodrow 2013-11-18 08:08:24 -05:00
Jonathan Watt
02b6ec05f8 Bug 939589 - Gut gfxPath. r=Bas 2013-11-18 09:42:51 +00:00
Matt Woodrow
1647157c5c Bug 923341 - Part 3: Use azure for CreateSamplingRestrictedDrawable. r=seth 2013-11-13 17:32:48 +13:00
Matt Woodrow
441ac6af40 Bug 923341 - Part 1: Add a gfxSurfaceDrawable constructor for a DrawTarget. r=seth 2013-11-13 17:31:12 +13:00
Ryan VanderMeulen
ea04b8851c Merge m-c to b2g-inbound on a CLOSED TREE. 2013-11-18 11:01:43 -05:00
Anthony Jones
94419545df Bug 899154 - Disable dropping resolution during fling; r=kats 2013-11-15 11:12:03 +13:00
Gijs Kruitbosch
c267cbe07d Merge mozilla-central and ux 2013-11-12 17:30:17 +01:00
Jonathan Kew
37ef36ed13 backout 739edf98ca0b (bug 909344) for reftest failure in layout/reftests/bugs/388367-1.html. 2013-11-12 10:13:10 +00:00
Gijs Kruitbosch
081b5f4b6b Merge mozilla-central and ux 2013-11-11 09:29:29 +01:00
Nicholas Cameron
4af005d21d Bug 934250. Ensure we have a buffer-on-white before using it (ThebesLayerBuffer). r=mattwoodrow 2013-11-11 10:30:51 +13:00
Jim Mathies
db084e1b8a Bug 918273 - Add an apzc tree manager helper for translating device to gecko coordinate space, and use it when sending events to the dom in cases where content is consuming touch. r=kats 2013-11-10 10:43:18 -06:00
Jim Mathies
1979aaa5df Bug 918273 - Pass back the target scrollable layer id from apzc event methods. r=kats 2013-11-10 10:43:17 -06:00
Kartikaya Gupta
8faaf0bf1e Bug 936721 - (cleanup) Refactor and extract an ApzcPinch function. r=botond 2013-11-10 09:48:12 -05:00
Kartikaya Gupta
ef8d5368f2 Bug 936721 - Do a fuzzy equality comparison to account for floating-point rounding errors. r=botond 2013-11-10 09:47:27 -05:00
Matthew Noorenberghe
c32c2b79c8 Merge mozilla-central to UX 2013-11-09 17:46:29 -08:00
Jared Wein
012d1115e2 Automated merge with https://hg.mozilla.org/mozilla-central 2013-11-08 13:22:23 -05:00
Gijs Kruitbosch
af554675e2 Merge mozilla-central and ux 2013-11-07 19:21:54 +00:00
Gijs Kruitbosch
33559a812a Merge mozilla-central and ux 2013-11-07 08:53:59 +01:00
Benoit Girard
bd14e30e47 Bug 935701 - Fix bustage on CLOSED TREE. r=bustage
--HG--
extra : rebase_source : b7586d185b814dcaa63a50a7ca932abb9759baea
2013-11-06 22:18:23 -05:00
Wes Kocher
c3a9ac649b Merge m-c to inbound 2013-11-06 18:23:55 -08:00
Wes Kocher
2ae2400b0f Merge b2g-inbound to m-c 2013-11-06 18:20:55 -08:00
Wes Kocher
723c3d7877 Merge inbound to m-c 2013-11-06 18:10:46 -08:00
Benoit Girard
03845423d9 Bug 935701 - Get drawing recording working on b2g. r=bas
--HG--
extra : rebase_source : 783627519f291d187552b464689315ce2697df95
2013-11-06 18:11:18 -05:00
Gijs Kruitbosch
5ac2fc613a merge m-c to ux 2013-11-06 22:25:39 +01:00
Ryan VanderMeulen
7cbe050b01 Merge m-c to b2g-inbound. 2013-11-06 15:00:25 -05:00
Ryan VanderMeulen
32c62ef669 Merge inbound to m-c. 2013-11-06 14:24:58 -05:00
Sotaro Ikeda
12e4f4dba9 Bug 934106 - Reduce ImageClient holding video frame number to one. r=nical 2013-11-06 12:32:12 -05:00
Gijs Kruitbosch
37ba637e69 Merge m-c to ux 2013-11-06 14:36:26 +01:00
Gijs Kruitbosch
c38e551bb3 Merge mozilla-central and ux 2013-11-06 09:01:08 +01:00
Nicholas Nethercote
d8a3b0f0bb Bug 934321 - Add MemoryMultiReporter, a helper class that reduces some boilerplate, and convert all existing multi-reporters to use it. r=wchen.
--HG--
extra : rebase_source : a6110c3558c571b7908b63e8cc7ca21103098d0d
2013-11-06 14:58:20 +11:00
Matt Woodrow
8a016cc126 Bug 935297 - Part 5: Implement StreamToSink on CG. r=Bas,jrmuizel
--HG--
extra : rebase_source : 81c9ba1c486ef7892f400a18707cdb3440c534e7
2013-11-06 15:52:51 +13:00
Cameron McCormack
85cc506e69 Bug 934866 - Make nsFont::systemFont a bool. r=jdaggett 2013-11-06 10:15:59 +11:00
Gijs Kruitbosch
45cff6c424 Merge mozilla-central and ux 2013-11-05 20:14:58 +01:00
Matt Woodrow
c42d703d5e Backout c99d15a060e2 for causing windows Ru reftest failures. 2013-11-05 20:00:05 +13:00
Wes Kocher
367bda0c4e Merge m-c to inbound 2013-11-04 21:22:23 -08:00
Wes Kocher
e6aeda0671 Merge inbound to m-c 2013-11-04 21:09:17 -08:00
Matt Woodrow
c46a2c2c8d Bug 923434 - Use DrawSurface in ThebesLayerBuffer instead of FillRect. r=Bas 2013-11-05 17:50:57 +13:00
Matt Woodrow
4471a645dc Bug 923434 - Don't use operator source for D2D in ThebesLayerBuffer since it's slower. r=Bas 2013-11-05 17:50:56 +13:00
Matt Woodrow
636d5e950e Bug 926023 - Use the value of SetPermitSubpixelAA for DrawTargetCairo. r=Bas 2013-11-05 17:50:56 +13:00
Wes Kocher
faf6d0ae9f Backed out changeset bad6c063b01f (bug 932274) for build bustage 2013-11-04 14:40:50 -08:00
Benoit Girard
57a59ee820 Bug 930476 - Show paint markers for async frames. r=ehsan 2013-11-04 17:04:51 -05:00
David Zbarsky
c848a3f8c1 Bug 932274: Use Moz2D size classes in ipdl r=nical 2013-11-04 16:43:10 -05:00
Matthew Noorenberghe
e8d8f80693 Merge mozilla-central to UX 2013-11-05 01:04:20 -08:00
Gijs Kruitbosch
7dd501af50 Merge mozilla-central and ux 2013-11-04 14:15:00 +01:00
Andreas Gal
75a4efaf58 Bug 930451 - Part 3: Use the gradient cache for SVG gradients as well. r=roc 2013-11-08 17:50:39 +13:00
Andreas Gal
5a78770a61 Bug 930451 - Part 1: Factor out CSS gradient cache into a new class gfxGradientCache. r=roc 2013-11-08 17:50:39 +13:00
Jeff Muizelaar
2a66d6e9b2 Bug 929471. Make DrawTargetCG independent from QuartzSupport.mm. r=bgirard 2013-11-07 22:53:54 -05:00
Jeff Muizelaar
bb0dd83bc0 Bug 929471. Make CGLTexImageIOSurface2D take a CGLContextObj instead of a NSOpenGLContext. r=bgirard 2013-11-07 22:53:54 -05:00
Kartikaya Gupta
dd5fcb7f5c Bug 934439 - Add an APZC_LOG line for UpdateScrollOffset. r=botond 2013-11-04 21:30:10 -05:00
Jonathan Kew
bf9b0664b1 bug 833087 - stop background font info loading when quit-application notification is observed. r=BenWa 2013-11-05 00:53:47 +00:00
Dan Glastonbury
607685cff8 Bug 843668 - Implement WebGL -draft- extension EXT_sRGB. r=jgilbert
https://www.khronos.org/registry/webgl/extensions/EXT_sRGB/
See content/canvas/test/webgl/conformance/extensions/ext-sRGB.html for example
usage.

OSX 10.6 has a failure when reading back the results from an sRGB format
texture attached to an FBO. Blacklist MacOSX 10.6 and all lower versions.
2013-11-04 16:05:04 -05:00
Andreas Gal
5892a14663 Bug 934297 - Remove snapping support from Moz2D. r=mattwoodrow 2013-11-03 15:06:12 -08:00
Benoit Girard
ea410263fe Bug 935476 - Remove OpenGL printf on mac startup. r=nical 2013-11-06 08:04:12 -05:00
Ryan VanderMeulen
7eed90bd8f Merge m-c to b2g-inbound. 2013-11-04 16:32:13 -05:00
Botond Ballo
42c1f6350b Bug 932525 - Better naming for some transformation matrix variables. r=kats 2013-10-31 14:44:33 -04:00
Gijs Kruitbosch
6d27553ea9 Merge mozilla-central and ux 2013-11-03 23:36:57 +01:00
Gijs Kruitbosch
2312eb362b Merge mozilla-central and ux 2013-11-02 11:33:53 +01:00
Mike Hommey
718ee10d1e Bug 932618 - Use NO_PROFILE_GUIDED_OPTIMIZE to disable PGO for individual files. r=gps 2013-11-02 08:42:53 +09:00
Gijs Kruitbosch
98d35e6ed5 Merge mozilla-central and ux 2013-11-01 19:51:09 +01:00
Ed Morley
b0b384ebfc Backed out changeset f24ee0606ea6 (bug 926128) for reftest failures on OS X & crashes on B2G on a CLOSED TREE 2013-11-01 15:51:32 +00:00
Gijs Kruitbosch
a13ed4741f Merge mozilla-central and ux 2013-11-01 09:20:15 +01:00
Ryan VanderMeulen
1e3f5ba856 Merge m-c to inbound on a CLOSED TREE. 2013-10-31 16:10:29 -04:00
Jeff Muizelaar
0080d602b0 Bug 929471. Fix missing include for 10.9?
Also add a license header

--HG--
extra : rebase_source : ec01be0ed7a3b4b29cc9307f3a25f77512d27a95
2013-11-08 13:56:52 -05:00
Kartikaya Gupta
920d64e17b Bug 902505 - Adjust the hit-test and input transformations in APZCTreeManager to be more correct. r=botond 2013-11-08 13:56:31 -05:00
Ed Morley
621abb5de7 Backed out changeset 4bb843a74b5b (bug 893572) for test failures on a CLOSED TREE 2013-11-08 17:34:18 +00:00
Kartikaya Gupta
386e502056 Bug 935624 - Update various properties on the FrameMetrics on a layers update. r=botond
In particular, in the case with nested APZCs, the parent APZC might request
a repaint at a different resolution, and the child APZC might only find out
about it when the call to NotifyLayersUpdated comes in. At this point the
child APZC must pick up the new values of various properties in order to
remain consistent with the state in gecko and the parent APZC
2013-11-08 11:23:47 -05:00
Kartikaya Gupta
b2e18a1ffc Bug 935624 - Kill SetZoomAndResolution because the APZC should not touch the mResolution or mCumulativeResolution. r=botond 2013-11-08 11:23:46 -05:00
Chris Lord
4724d61b50 Bug 881451 - Remove unused members of TiledLayerProperties. r=BenWa 2013-11-06 13:42:02 +00:00
Ryan VanderMeulen
b3ebc15f66 Merge m-c to inbound on a CLOSED TREE. 2013-10-30 22:42:13 -04:00
Botond Ballo
1f7853ecd1 Bug 932525 - Do APZC hit testing using the layer's screen coordinates rather than layer coordinates. r=kats 2013-10-30 15:58:25 -04:00
Kartikaya Gupta
843874866f Bug 906877 - Remove code obsoleted by multi-apzc. r=BenWa, vingtetun
Now that we have multi-APZC landed, we don't need BrowserElementPanning
to detect when it's about to scroll a subframe and let APZC know. So
the two messages involved in this can be completely removed.
2013-10-30 17:06:15 -04:00
Matt Brubeck
c8ae5cbe5d Bug 934750 - Don't cancel content touch events unless APZC consumes them [r=jimm,kats]
This is necessary for our "cross-slide" hack to work.  We need to send
input to both content and APZC until the input passes the pan threshold, so
that the start page can use touch events without disabling async panning.

In the long run we hope to use "touch-action: pan-x" for this and no longer
rely on this hack.
2013-11-06 12:06:46 -08:00
Wes Kocher
3894db4b04 Merge m-c to inbound 2013-11-07 17:56:53 -08:00
Wes Kocher
ddbc05af1c Merge fx-team to m-c 2013-11-07 17:33:06 -08:00
Nicholas Cameron
54557b996d Bug 934842. CopySurface for data source surfaces. r=Bas 2013-11-08 14:39:34 +13:00
Matt Brubeck
490e7172a5 Bug 927033 - Always decrement mTouchCount on touchend/cancel [r=kats] 2013-11-07 13:12:33 -08:00
Matt Brubeck
f4ba5a4319 Bug 927033 - Refactor some duplicate code in APZCTreeManager [r=kats] 2013-11-07 13:11:34 -08:00
Matt Brubeck
d7a704d08f Bug 927033 - Don't reset mApzcForInputBlock until all touches are gone [r=kats] 2013-11-07 13:10:29 -08:00
Bas Schouten
faba2230bb Bug 935994: Adjust strokestyle creation code. r=jrmuizel 2013-11-07 20:40:39 +01:00
Matt Woodrow
360b91b5b1 Bug 934533 - Remove the azure content enabled pref since we require it to be enabled for all platforms now. r=nrc
--HG--
extra : rebase_source : f5152dd3c088009c80cda2844589967ed047e888
2013-11-06 08:54:12 +13:00
Benoit Jacob
2b3d64e4a0 Bug 914823 - Use a WeakPtr<ISurfaceAllocator> also in SharedSurface_Gralloc - r=sotaro 2013-10-31 11:25:54 -04:00
Chris Lord
e2045c9ef9 Bug 932278 - Remove the long-defunct gfxPlatform::UseReusableTileStore. r=BenWa 2013-10-31 15:53:51 +00:00
Jonathan Kew
19209162f6 bug 836225 - testcase for graphite with supplementary-plane characters. r=jdaggett 2013-10-29 14:04:01 +00:00
Jonathan Kew
c49dacf591 bug 894798 - disable word-cache expiration timer on release builds. r=roc 2013-10-29 14:02:36 +00:00
Kartikaya Gupta
189805593c Bug 732971 - For Fennec move the resolution from the top-level presShell to the content presShell. r=BenWa
The bulk of this patch is fixing up pieces of code that infer the resolution
as the inverse of the scaling transform on the root layer. This used to be
how various bits of gfx code obtained the resolution, but now that we can set
the resolution on the actual presShell that contains the content, we can also
just read the resolution from the FrameMetrics directly.
2013-10-29 09:27:50 -04:00
Jonathan Watt
07be23ee25 Bug 932096 - Add a GetDrawTarget method to nsRenderingContext to aid in Moz2D conversion. r=Bas 2013-10-29 08:14:40 +00:00
Jonathan Watt
1ffa3026db Bug 931769, part 2 - Add IsSingular and operator*= methods to Matrix. r=Bas 2013-10-29 08:14:40 +00:00
Jonathan Watt
79e2d6518f Bug 931769, part 1 - Make gfxPattern::GetPattern use its mExtend member. r=Bas 2013-10-29 08:14:39 +00:00
Nicholas Nethercote
ca9a2f4f6f Bug 917496 - Disable GPUAdapterReporter because its values are frequently bogus. r=Hughman.
--HG--
extra : rebase_source : ae3bbbc142dfcf7101aaac94acc52e67e68e97fd
2013-11-05 14:01:24 -08:00
Nathan Froyd
a418387f4c Bug 918651 - part 9 - remove useless includes from IPDL files; r=ehsan
These includes are no longer needed.  It's much easier to locate these
includes when they're not obscured by a bunch of other stuff.
2013-10-18 14:47:04 -04:00
Nathan Froyd
cabc180073 Bug 918651 - part 8 - remove redundant includes from IPDL files; r=ehsan
These include statements have been made redundant by all the qualifications
to the using statements.
2013-10-18 13:34:08 -04:00
Ryan VanderMeulen
200939b5bc Merge m-c to inbound. 2013-11-06 14:59:07 -05:00
David Anderson
a7d34bdd35 Don't copy surfaces in DeprecatedTextureHostBasic::Lock (bug 935641, r=mattwoodrow).
--HG--
extra : rebase_source : e97318912cc295b6b1dc5027eba1690e42d24003
2013-11-06 11:55:58 -08:00
Milan Sreckovic
e29225b204 Bug 922600 - Avoid integer overflow. r=bjacob 2013-10-16 16:49:27 -04:00
Jeff Gilbert
41d78e5c50 Bug 922368 - Check for features instead of framebuffer_blit extensions. r=bjacob 2013-10-31 09:51:47 -04:00
Peter Chang
bd68421c8b Bug 915783 - [B2G][Browser][PDF]Graphical fragmentation occurs when viewing a pdf via browser. r=jgilbert 2013-10-30 15:21:22 -04:00
Ehsan Akhgari
ce2bb30fb7 Bug 936446 - Only define HasCPUIDBit on 32-bit platforms; r=jrmuizel
--HG--
extra : rebase_source : 0728a7247cbb23e34cd7c6d2bfa57c5359ccef63
2013-11-08 18:00:21 -05:00
Ed Morley
1c8e88368a Backed out changeset d9aa2d2a9939 (bug 931915) for failures linking on Windows on a CLOSED TREE 2013-11-01 14:35:22 +00:00
Ed Morley
e4a3dca788 Backed out changeset 9eeddb8dc383 (bug 931915) 2013-11-01 14:34:51 +00:00
Ed Morley
771acee8e3 Backed out changeset 0fdae4f78c1a (bug 931996) 2013-11-01 14:34:48 +00:00
James Willcox
37a537638d Bug 927254 - Purge SkiaGL texture cache on memory pressure r=gwright
--HG--
extra : rebase_source : 960582a88532e752c2bcc4bbcdf0899eb0cbe3b8
2013-11-01 08:52:06 -05:00
Peter Chang
01c98328c7 Bug 934886 - Fix incorrect color format of GetThebesSurfaceForDrawTarget when use SKIA as backend. r=gw280 2013-11-07 09:20:58 -05:00
Benoit Jacob
877d71ca5f Bug 938970 - 5/5. Switch gfx/layers to UNIFIED_SOURCES - r=ehsan,mattwoodrow 2013-11-17 21:07:08 -05:00
Benoit Jacob
45d86c800b Bug 938970 - 4/5. Some gralloc-related tweaks required to build with UNIFIED_SOURCES - r=Bas 2013-11-17 21:06:25 -05:00
Benoit Jacob
ac3ababc4b Bug 938970 - 3/5. Some d3d tweaks needed to build with UNIFIED_SOURCES - r=Bas 2013-11-17 21:06:23 -05:00
Benoit Jacob
cc5dec6997 Bug 938970 - 2/5. Add more namespace qualifiers in gfx/layers code to avoid ambiguous namespace resolution - r=mattwoodrow 2013-11-17 21:06:21 -05:00
Benoit Jacob
803a8cae35 Bug 938970 - 1/5. Move MacIOSurfaceTexture* classes to separate files, minimize the number of cpp files including MacIOSurface.h - r=mattwoodrow 2013-11-17 21:04:38 -05:00
Benoit Girard
87d3e1cc22 Bug 936511 - Add layers.dump to dump layer tree. r=bas,nrc 2013-11-17 16:47:40 -05:00
Bas Schouten
7fe1ba8861 Bug 939049 - Part 2: Add generic ComputeLength code for backends with no such functionality. r=jrmuizel 2013-11-11 12:42:07 +13:00
Ehsan Akhgari
28945cc676 Bug 938134 - Build widget/xpwidgets in unified mode; r=roc
--HG--
rename : widget/shared/WidgetUtils.cpp => widget/shared/SharedWidgetUtils.cpp
2013-11-17 14:03:55 -05:00
John Schoenick
f7ac4aa0fa Bug 939355 - Include string.h in gfx/2d/unittest/TestBugs.cpp r=bgirard 2013-11-17 18:55:16 +01:00
Nathan Froyd
7fd67649fc Bug 918651 - part 7b - fix Layers{Surfaces,Messages}.ipdlh header bootlegging; rs=ehsan
LayersSurfaces.ipdlh declares itself as |using| a bunch of types that only
get used in LayersMessages.ipdlh.  Since intelligent include-placing
recognizes that these types are not used in LayersSurfaces.h, the necessary
header lines get left out of the generated LayersSurfaces.h, leading to
compilation problems on some platforms.  Fix this by moving the appropriate
lines to LayersMessages.ipdlh.
2013-10-19 12:09:59 -04:00
Nathan Froyd
ad3ed9e5be Bug 918651 - part 5 - qualify all IPDL using statements with required header; r=ehsan 2013-10-01 15:25:07 -04:00
Nicholas Cameron
27a1b501f8 Bug 907463. Dealloc shmem on ActorDestroy. r=nical 2013-09-27 21:48:42 +12:00
Nathan Froyd
987974138d Bug 918651 - part 1 - remove unnecessary using statements from IPDL files; r=ehsan 2013-10-18 14:48:13 -04:00
Jonathan Watt
98f421784a Bug 931915, part 2 - Make gfxContext::RoundedRectangle use Moz2D's AppendRoundedRectToPath helper. r=Bas 2013-11-01 13:29:53 +00:00
Rik Cabanier
076edebb34 Bug 932500 - PathD2D::TransformedCopyToBuilder ignores even odd fill. r=Bas 2013-11-12 08:47:24 -05:00
Jonathan Watt
66cff4272e Bug 931996 - Add an AppendEllipseToPath helper to Moz2D. r=Bas
--HG--
extra : rebase_source : 75592379b93e5574ff1bb4116ce8b90b62c4f8a1
2013-11-01 13:30:00 +00:00
Jonathan Watt
bc7ec9b50c Bug 931915, part 2 - Make gfxContext::RoundedRectangle use Moz2D's AppendRoundedRectToPath helper. r=Bas
--HG--
extra : rebase_source : e42577c112c2154b13e7e91cb4d7e54a30a411ce
2013-11-01 13:29:53 +00:00
Jonathan Watt
0690b06ee5 Bug 931915, part 1 - Add an AppendRoundedRectToPath helper to Moz2D. r=Bas
--HG--
extra : rebase_source : 67835ef53a446f37919d34021fcb80aa38dd7da8
2013-11-01 13:29:44 +00:00
Andreas Gal
07faf96a6d Bug 926128 - Use a single configurable shader in OpenGL layers backend. r=vlad, r=nical 2013-11-01 09:29:20 -04:00
Ed Morley
18f728e61d Merge mozilla-central and inbound 2013-11-01 13:18:19 +00:00
Ed Morley
a5ba3dddeb Merge latest green b2g-inbound changeset and mozilla-central 2013-11-01 13:14:45 +00:00
Andreas Gal
964fcb247c Bug 933584 - Implement OptimizeSourceSurface for skia. r=mattwoodrow 2013-11-01 09:13:36 -04:00
Benoit Jacob
3e1407af64 Bug 886219 - Avoid introducing a global constructor with the ImageBridgeParent singleton - r=nical 2013-11-01 07:34:40 -04:00
Fabrice Desré
1d9cff071b Bug 914843 - fix gfx issue on oop b2g linux. r=nrc 2013-10-31 23:36:02 -07:00
Wes Kocher
1916f92838 Backed out changeset 428bea088d2b (bug 927254) for build bustage 2013-10-31 20:47:49 -07:00
James Willcox
ad1de4d818 Bug 927254 - Purge SkiaGL texture cache on memory pressure r=gwright
--HG--
extra : rebase_source : 0b6c68c129319c96ad3056ab7b6321c04c7fbcb5
2013-10-31 10:45:41 -05:00
Robert O'Callahan
151d25e50f Bug 938316. Work around fractional texture resampling issues by switching to NEAREST sampling when we're doing a pixel-aligned compositing operation. r=jrmuizel
--HG--
extra : rebase_source : ec49c8c8993af402a24b57efbaea743d39dcd89c
2013-11-13 23:56:11 +13:00
Robert O'Callahan
45532de9d3 Bug 937987. Don't use lowp for texture coordinates. Only use it for colors. r=bjacob
--HG--
extra : rebase_source : 9dd8bcebb8b8ef3666f4deae1b1c49dc89bc4486
2013-11-13 17:45:19 +13:00
Chris Peterson
0984494569 Bug 934261 - Use PostScript font name "LucidaGrande" for CoreText fallback. r=jdaggett 2013-11-02 12:51:48 -07:00
Matt Woodrow
60bb7765a1 Bug 922942 - Avoid crashes with PointInFill. r=Bas
--HG--
extra : rebase_source : cf209258a71342590c3d3488912d85df86a14b8b
2013-11-04 14:47:18 +13:00
Matt Woodrow
a75a520319 Bug 922515 - Don't apply a skew matrix to the DT when it's cairo, since we use the cairo font with it already applied. r=Bas
--HG--
extra : rebase_source : 289ed3a9e02bd5499b49aa1181dd35bf16eba5d3
2013-11-04 14:47:18 +13:00
Bas Schouten
d58038dce4 Bug 934287: Add size and for data DrawTarget creation functions. r=mattwoodrow 2013-11-04 00:57:36 +01:00
Bas Schouten
196f0e4ade Bug 934286: Ifdef Mozilla specific cairo function usage. r=mattwoodrow 2013-11-04 00:57:36 +01:00
Bas Schouten
c05f717a33 Bug 933030 - Addition: Remove external dependency added to Moz2D. r=mattwoodrow 2013-11-04 00:57:35 +01:00
Jonathan Watt
1881aa492f Bug 934157 - Fix BaseRect::IsFinite() to actually work. r=Bas 2013-11-03 20:47:05 +00:00
Andreas Gal
6f6a8a6867 Bug 933030 - Eliminate thebes use from CanvasRenderingContext2D.cpp r=mattwoodrow 2013-11-03 08:28:30 -08:00
Milan Sreckovic
6b2ab73859 Bug 893572 - Tests. r=jmuizelaar 2013-09-06 12:30:26 -07:00
Jaroslav Kopecký
e59b789a54 Bug 936196 - Explicitly include unistd.h for getpid() on XP_UNIX. r=BenWa 2013-11-08 09:04:30 -05:00
Ryan VanderMeulen
25f4dc9657 Merge m-c to inbound on a CLOSED TREE. 2013-11-14 20:58:52 -05:00
Ryan VanderMeulen
b435761165 Merge b2g-inbound to m-c on a CLOSED TREE. 2013-11-14 20:57:32 -05:00
Nicholas Cameron
7fc18f7edd Fix bustage from bug 915940 on a CLOSED TREE. r=me 2013-11-15 11:13:53 +13:00
Nicholas Cameron
eb5956cf6d Bug 915940. Memory reporter for memory image surfaces. r=njn,mattwoodrow This might even help diagnose the problems causing a CLOSED TREE. 2013-11-15 10:54:25 +13:00
Joshua Cranmer
a63b835a52 Bug 935789, part 2: Implement RotateLeft/RotateRight in MFBT and use them, r=Waldo.
--HG--
extra : rebase_source : efda8cfde4ec1b8cee007f528d682830f43f9111
2013-11-12 18:24:56 -06:00
Joshua Cranmer
08036d15e9 Bug 935789, part 1: Kill most uses of prbit.h, r=ehsan
--HG--
extra : rebase_source : 4c44e60c72e0ece3cea7ed1cf79079bd2a1b6487
2013-11-12 18:22:38 -06:00
Botond Ballo
86f61558f5 Bug 937274 - Fix a crash in GestureEventListener::HandlePinchGestureEvent(). r=kats 2013-10-18 17:13:26 -04:00
Kartikaya Gupta
034ad3ff16 Bug 934420 - Try to preserve the right APZC in the face of layer tree changes. r=botond 2013-11-14 15:35:30 -05:00
Botond Ballo
bbe2da67fa Bug 937896 - Fix a compiler error. r=bustage. CLOSED TREE 2013-11-14 15:11:53 -05:00
Botond Ballo
734fe0273b Bug 937896 - Remove unwanted zoom in APZC::NotifyLayersUpdated(). r=kats 2013-11-13 14:13:40 -05:00
Kartikaya Gupta
957513aad5 Bug 937688 - Make UpdateCompositionBounds affect all of the root APZCs for the layers id. r=botond 2013-11-14 12:35:41 -05:00
Kartikaya Gupta
68ac5db5f0 Bug 937688 - Make UpdateZoomConstraints take a full ScrollableLayerGuid. r=botond 2013-11-14 12:35:41 -05:00
Benoit Girard
789736d76d Bug 918671 - Add test for cairo clipping bug. r=jrmuizel 2013-11-12 16:47:40 -05:00
Benoit Girard
d6174a9426 Bug 918671 - Fix cairo clipping bug when nesting clips. r=jrmuizel 2013-11-12 19:11:50 +00:00
Kartikaya Gupta
ea2825ee9e Bug 937843 - Make some constructor arguments const. r=BenWa 2013-11-13 13:22:15 -05:00
Kartikaya Gupta
41c0e85fc0 Bug 937688 - Get the guid from ReceiveInputEvent and use it in the callback to ContentReceivedTouch. r=botond 2013-11-13 13:20:31 -05:00
Kartikaya Gupta
d633046f99 Bug 937688 - Move ScrollableLayerGuid from APZCTreeManager.h to FrameMetrics.h. r=botond 2013-11-13 13:20:31 -05:00
Kartikaya Gupta
76d24cb5b9 Bug 937688 - Make APZCTM::UpdateCompositionBounds explicitly operate on the root APZC for a layer tree. r=botond 2013-11-13 13:20:31 -05:00
Kartikaya Gupta
e56e0deec6 Bug 937688 - Pass the presShellId and viewId from TabChild to RenderFrameParent when updating zoom constraints. r=botond 2013-11-13 13:20:30 -05:00
Jaroslav Kopecký
d4a7a7559c Bug 937978 - Make SetPermitSubpixelAA a nop with --enable-system-cairo (like bug 623797). r=mattwoodrow 2013-11-13 08:23:19 -05:00
Kartikaya Gupta
964c2b5459 Bug 927954 - Adding rendertrace logging to the APZ code. r=botond
To use this logging, enable the #define at the top of
AsyncPanZoomController.cpp, run through the scenario you wish
to trace and collect the logs, and then paste them into the
textarea on the page at github.com/staktrace/rendertrace/.
2013-11-12 19:03:27 -05:00
Jonathan Kew
766f4916d1 bug 909344 - treat U+007F as a control, not a printable character. r=roc 2013-11-12 23:53:07 +00:00
Botond Ballo
fb39baa8f1 Bug 937129 - Fix some concurrency issues in APZCTM::HandleOverscroll. r=kats 2013-11-11 12:06:33 -05:00
Chris Peterson
5b357a9c10 Bug 931669 - Fix -Wsign-compare warning in Axis.cpp. r=botond 2013-10-27 01:11:18 -07:00
Robert O'Callahan
cbf4406fc0 Bug 924679. Part 7: Remove gfxAlphaRecovery::Analysis since no-one uses it. r=mattwoodrow
--HG--
extra : rebase_source : f0481abfa3e5c4855f71cec66eea5c4501fd8565
2013-10-25 23:25:40 +02:00
Robert O'Callahan
279c501458 Bug 924679. Part 6: Remove gfxXlibNativeRender::DrawOutput and convert tmpXlibSurface from gfxXlibSurface to cairo_surface_t. r=karlt
--HG--
extra : rebase_source : 724e9b7881949c868ba528250de6ce9d24eb2752
2013-10-25 23:25:40 +02:00
Robert O'Callahan
e64a18df82 Bug 924679. Part 5: Add gfxXlibSurface::CreateCairo. r=karlt
Factor out code from gfxXlibSurface::Create so it can be used to create a
cairo_surface_t instead of gfxXlibSurface. Except we leave the existing code
alone since it's really simple.

--HG--
extra : rebase_source : 1c3c0b9fd9997010d80240606c9fa4964361fc87
2013-10-25 23:25:40 +02:00
Robert O'Callahan
8d5377f495 Bug 924679. Part 4: Add Factory::CreateSourceSurfaceForCairoSurface. r=mattwoodrow
--HG--
extra : rebase_source : 0c9187e8b9597e47e9d0d63d6da757db9a8c8a5c
2013-10-25 23:25:40 +02:00
Robert O'Callahan
90f112061c Bug 924679. Part 3: Make gfxXlibNativeRenderer::DrawWithXlib callback take a cairo_surface_t instead of a gfxXlibSurface. r=karlt
--HG--
extra : rebase_source : 75bb23badb1f7a65cc7e82efca1ddb92e49d7e13
2013-10-25 23:25:40 +02:00
Robert O'Callahan
bc89174cde Bug 924679. Part 2: Create static gfxXlibSurface::GetColormapAndVisual so it can be used without a gfxXlibSurface. r=karlt
--HG--
extra : rebase_source : 10599d49077114cd214ceafd811bfea3135bb9ff
2013-10-25 23:25:40 +02:00
Robert O'Callahan
ead38893c1 Bug 924679. Part 1: Band-aid robustness fix. r=mattwoodrow
--HG--
extra : rebase_source : fee33a1412e123adb2fbd91221684c1ece8d8b86
2013-10-25 23:25:39 +02:00
Jonathan Watt
284d89f828 Bug 931996 - Add an AppendEllipseToPath helper to Moz2D. r=Bas 2013-11-01 13:30:00 +00:00
Jonathan Watt
ab8c22c592 Bug 931915, part 1 - Add an AppendRoundedRectToPath helper to Moz2D. r=Bas 2013-11-01 13:29:44 +00:00
Jonathan Kew
19ee0760dc bug 932037 - update harfbuzz to upstream release 0.9.23. r=jdaggett 2013-11-01 09:41:02 +00:00
Matt Woodrow
9731cb7c16 Bug 934860 - Move paint region clipping into DrawThebesLayer. r=roc 2013-11-07 08:10:50 +13:00
Kartikaya Gupta
2b69a5c7c5 Bug 935593 - Remove an incorrect input event transformation. r=jimm 2013-11-06 12:49:00 -05:00
Dale Harvey
4b71d7523d Bug 915645 - Allow single taps to occur longer than MAX_TAP_TIME. r=kats 2013-10-28 15:46:40 +00:00
Ted Mielczarek
154a815b9e Bug 930674 - convert VISIBILITY_FLAGS in Makefile.in to NO_VISIBILITY_FLAGS in moz.build. r=mshal 2013-10-24 15:06:19 -04:00
Phil Ringnalda
a1f80ad10b Back out f872d288480b:9b86b4e60b29 (bug 929513) for failing to build on Windows
CLOSED TREE
2013-10-27 15:38:40 -07:00
David Zbarsky
fd4a9f4426 Bug 929513 Part 11: Convert ImageLayer's mScaleToSize to use LayerIntSize r=nical 2013-10-27 17:53:29 -04:00
David Zbarsky
2efa410faa Bug 929513 Part 10: Convert ScreenSizeChanged to use gfx::IntSize r=nical 2013-10-27 17:53:28 -04:00
David Zbarsky
ce383bf9cd Bug 929513 Part 9: Convert AllocPGrallocBufferActor to use gfx::IntSize r=nical 2013-10-27 17:53:28 -04:00
David Zbarsky
4a5ee5167b Bug 929513 Part 8: Remove IPDL support for passing gfxSize r=nical 2013-10-27 17:53:28 -04:00
David Zbarsky
0e6507afa8 Bug 929513 Part 7: Convert CreateBasicTextureImage to Moz2D r=nical 2013-10-27 17:53:28 -04:00
David Zbarsky
9ab6005880 Bug 929513 Part 6: Some more cleanup r=nical 2013-10-27 17:53:28 -04:00
David Zbarsky
f001961e50 Bug 929513 Part 5: Use LayerIntSize for CanUseCanvasLayerForSize r=nical 2013-10-27 17:53:27 -04:00
David Zbarsky
29b47cdd19 Bug 929513 Part 4: Remove some unused gfxIntSize overloads r=nical 2013-10-27 17:53:27 -04:00
David Zbarsky
8ce46e2762 Bug 929513 Part 3: Use some LayerIntSize in gfx/layers r=nical 2013-10-27 17:53:27 -04:00
David Zbarsky
495b7b0c6a Bug 929513 Part 2: Use gfx::IntSize for TiledContentClient's resolution r=nical 2013-10-27 17:53:27 -04:00
David Zbarsky
b28c18df90 Bug 929513 Part 1: Use gfx::IntSize for image layer sizes r=nical 2013-10-27 17:53:26 -04:00
Phil Ringnalda
a6c19db8d9 Merge m-i to m-c 2013-10-25 19:08:22 -07:00
Gregor Wagner
1b5299cf9f Backout Bug 907463 for causing bug 930575 2013-10-25 14:44:03 -07:00
Gregor Wagner
ee938ca6c4 Backout Bug 907463 2013-10-25 14:43:58 -07:00
Ed Morley
54bdd310c4 Merge mozilla-central and b2g-inbound 2013-10-25 12:12:23 +01:00
Mike Hommey
1d566f7586 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Mike Hommey
e3011cd1ab Bug 930380 - Make sure *SOURCES only point to existing files. r=gps 2013-10-25 07:58:17 +09:00
Jonathan Watt
95bcd1df43 Bug 930516 - Add a gfxPlatform::ScreenReferenceDrawTarget() static method. r=Bas 2013-10-24 17:50:26 +02:00
Jonathan Watt
eb82dd45f2 Bug 930564 - Expose the gfxPath ctor that takes a Moz2D path to aid in converting code to Moz2D. r=Bas 2013-10-24 17:50:26 +02:00
Kartikaya Gupta
0acc379cb9 Bug 923482 - Fix an edge case where we might try to re-use a destroyed APZC instance. r=botond 2013-10-25 11:30:17 +02:00