Commit Graph

8793 Commits

Author SHA1 Message Date
Benoit Girard
2be7874609 Bug 939585 - Build gfx/thebes in unified mode. r=ehsan,bjacob 2013-11-21 14:22:45 -05:00
Benoit Girard
74c90d1629 Bug 942483 - Port paint-dumping to android/b2g. r=gal 2013-11-23 17:44:18 -05:00
Mike Hommey
67df42f71d Bug 941450 - Add some GENERATED_FILES to moz.build. r=gps 2013-11-22 08:16:18 +09:00
Jonathan Kew
bb53b2503a bug 941940 - don't render stray <CR> characters (&#13; entities) in the DOM as hexboxes, just leave them invisible. r=roc 2013-11-22 21:43:36 +00:00
Ryan VanderMeulen
c0054e0452 Merge m-c to inbound. 2013-11-22 15:37:03 -05:00
Ryan VanderMeulen
14bce8a31f Merge b-i to m-c. 2013-11-22 15:35:31 -05:00
Ed Morley
515fd9a20d Backed out changeset c30371a66429 (bug 941450) 2013-11-22 15:59:22 +00:00
Botond Ballo
ed2ca112ae Bug 912666 - Implement scroll grabbing in APZ. r=kats,Cwiiis 2013-11-21 17:38:00 -05:00
Trevor Saunders
15a29c7ef2 bug 938025 - part 1 - get rid of some static constructors r=bz r=bjacob 2013-11-22 14:45:50 -05:00
Bas Schouten
745c57cd3c Bug 943351: Make sure to clear any existing paths before getting the glyph path off a context. r=BenWa 2013-11-26 23:27:05 +01:00
Nicholas Cameron
784b7170d5 Bug 924403. Linux users who had previously opted in to OpenGL get OMTC OpenGL. r=mattwoodrow 2013-11-27 11:15:17 +13:00
Nicholas Cameron
09191b2b85 Bug 924403. Rename OGL shaders files. r=mattwoodrow
--HG--
rename : gfx/layers/opengl/LayerManagerOGLProgram.cpp => gfx/layers/opengl/OGLShaderProgram.cpp
rename : gfx/layers/opengl/LayerManagerOGLProgram.h => gfx/layers/opengl/OGLShaderProgram.h
rename : gfx/layers/opengl/LayerManagerOGLShaders.h => gfx/layers/opengl/OGLShaders.h
rename : gfx/layers/opengl/LayerManagerOGLShaders.txt => gfx/layers/opengl/OGLShaders.txt
2013-11-27 11:15:17 +13:00
Nicolas Silva
fd65e156ab Bug 924403 - Send non-OMTC GL layers into oblivion. r=nrc 2013-11-27 11:15:17 +13:00
Botond Ballo
c33a73dd59 Bug 912666 - Propagate the 'scrollgrab' attribute to FrameMetrics. r=kats,Cwiiis 2013-09-23 14:09:48 -05:00
Wes Kocher
be1ec20396 Merge fx-team to m-c 2013-11-21 19:16:50 -08:00
Wes Kocher
e32eda92b7 Merge inbound to m-c 2013-11-21 19:14:06 -08:00
Ryan VanderMeulen
3c15925167 Merge b2g-inbound to m-c. 2013-11-21 15:22:03 -05:00
David Anderson
51ca221b03 Only composite changed areas in the software compositor (bug 882447, r=mattwoodrow,nrc). 2013-11-21 11:25:16 -08:00
Jan Beich
3ab410b45a Bug 940854 - Unbreak unified gfx/harfbuzz on FreeBSD. r=BenWa
--HG--
extra : rebase_source : 793e44b6f3470213b7eaeb99825fe9320c5dd2fe
2013-11-21 11:45:58 -05:00
Markus Stange
e91248f51c Bug 921495 - Speed up blurring by processing and packing 16 pixels at a time. r=Bas 2013-11-21 17:44:52 +01:00
Markus Stange
6cf9999e77 Bug 921495 - Make AlphaBoxBlur round correctly s. r=Bas 2013-11-21 17:44:41 +01:00
Nicolas Silva
ede1cf13e7 Bug 940959 - Compiled shaders. r=generated code 2013-11-21 17:42:10 +01:00
Nicolas Silva
e2bfc7eef2 Bug 940959 - Use alpha textures for YCbCr planes with D3D11. r=nrc 2013-11-21 17:42:05 +01:00
Nicolas Silva
d944057511 Bug 940959 - Use alpha textures for YCbCr planes with D3D10. r=nrc 2013-11-21 17:41:58 +01:00
Nicolas Silva
028e95eb05 Bug 940959 - Use alpha textures for YCbCr planes with D3D9. r=nrc 2013-11-21 17:40:55 +01:00
Botond Ballo
d902b6cdbd Bug 941210 - APZCTreeManager builds a wrong APZC tree for some layer trees. r=kats 2013-11-20 15:27:40 -05:00
Phil Ringnalda
15416c35eb Bug 939638 - 611498-1.html needs some fuzz on Windows 2013-11-20 20:52:48 -08:00
Ryan VanderMeulen
3348c203b7 Merge m-c to fx-team. 2013-11-21 15:55:03 -05:00
Jonathan Kew
eca111d9a0 bug 941090 - build most of gfx/ots in unified mode. r=ehsan 2013-11-20 20:40:14 +00:00
Nicolas Silva
ad6579b6cd Bug 926558 - Remove a warning that is not used correctly. r=BenWa 2013-11-13 13:25:50 +01:00
Chris Kitching
43102ed4c2 Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats 2013-11-12 10:41:01 -08:00
Michael Shuen
27f1e5a9e5 Bug 940799 - Build gfx/ycbcr in unified mode. r=bjacob 2013-11-21 09:22:25 -05:00
Markus Stange
0f72a24b2f 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
cc78343722 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
846646631b 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
26fcf2bc04 bug 940934 - build gfx/graphite2 in unified mode. r=ehsan 2013-11-20 16:03:38 +00:00
Benoit Girard
392ec61d0e Bug 936566 - Print mask layers in layers dump. r=nrc 2013-11-19 23:55:27 -05:00
Chris Lord
e19e0f1113 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
a687dc4490 Bug 904483 - Fix out of order destruction problem when destroying GrContext r=mattwoodrow 2013-11-25 20:37:50 -05:00
Jacek Caban
c4f126f124 Bug 900248 - Removed extra qualification of IsInTextureHostList.
--HG--
extra : rebase_source : 8e0cdc445810aad2f3f4332462df69b07a6eac02
2013-12-02 12:25:51 +01:00
Ed Morley
f11b71bada Merge mozilla-central and inbound 2013-11-20 12:44:07 +00:00
Ryan VanderMeulen
9c7728d496 Merge inbound to m-c. 2013-11-19 20:43:15 -05:00
Benoit Girard
2136bed504 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
08040eea2c Bug 940178 - Build cairo in unified mode. r=ehsan
--HG--
extra : rebase_source : b24a1e1f1384c78f0d09d84c573d11e57024b43a
2013-11-19 10:55:02 -05:00
Ben Kelly
940b24fcfa Bug 940488 - Initalize RotatedBuffer::mDidSelfCopy. r=BenWa 2013-11-19 14:56:57 -05:00
Ehsan Akhgari
1723a0d085 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
20adb2fb8e Bug 900092 - Remove FrameMetrics::ROOT_SCROLL_ID. r=kats,tn 2013-11-08 19:07:00 -05:00
James Willcox
12347a348f 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
c97c1763cd 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
f64740250c Bug 939598. Always call BeginTransaction before EndTransaction. r=mattwoodrow 2013-11-20 20:27:23 +13:00
Benoit Jacob
3b00e503f4 Bug 939758 - Build gfx/gl in unified mode - r=ehsan 2013-11-19 16:54:09 -05:00
Phil Ringnalda
e4aeb333c0 Back out 4d8015a52178 (bug 936566) for build bustage 2013-11-18 21:34:23 -08:00
Jeff Muizelaar
6da588e57d 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
625be5b3b4 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
d2974b1b18 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
5e244c94b1 merge 2013-11-19 17:39:24 +13:00
John Daggett
f66ccc7e96 Bug 913264 - add none value to font-variant-ligatures. r=dbaron 2013-11-19 13:30:25 +09:00
Mike Hommey
931cb49886 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
db9e5129bc Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps 2013-11-19 11:48:10 +09:00
Mike Hommey
9ec00225de 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
636b672657 Bug 914245 - Move FORCE_SHARED_LIB to moz.build. r=mshal 2013-11-19 11:47:45 +09:00
Mike Hommey
b18be7aacd Bug 939044 - Rename remaining MODULE definitions to XPIDL_MODULE. r=mshal 2013-11-19 11:47:43 +09:00
Mike Hommey
f0d1cd1e10 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Mike Hommey
9c5c5d8f00 Bug 939039 - Remove now useless FORCE_STATIC_LIB definitions. r=gps 2013-11-19 11:47:28 +09:00
Mike Hommey
f81885e53b 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
227b9b8a2c Merge inbound to m-c on a CLOSED TREE 2013-11-18 18:30:47 -08:00
Wes Kocher
d600490156 Merge fx-team to m-c on a CLOSED TREE 2013-11-18 18:25:57 -08:00
Gijs Kruitbosch
d8cd81f16b Merge m-c to fx-team on a CLOSED TREE 2013-11-18 17:01:32 +01:00
Jim Mathies
5e6ef74079 Bug 937185 - Discard old apzcs if the ScrollableLayerGuid is updated. r=kats 2013-11-18 09:14:08 -06:00
Gijs Kruitbosch
94480b349c Merge m-c to ux 2013-11-18 13:44:32 +01:00
Gijs Kruitbosch
5cbd9e36ff Merge m-c to ux 2013-11-17 23:37:53 +01:00
Ehsan Akhgari
73cd62cbb6 Bug 939588 - Build angle in unified mode; r=bjacob
--HG--
extra : rebase_source : c6e8bd797c7b8e0a27d60e905deaed3f34d2ce39
2013-11-17 21:47:21 -05:00
Gijs Kruitbosch
ce9b4a4882 Merge mozilla-central and ux 2013-11-15 18:32:01 +01:00
Matt Woodrow
df034c7574 Bug 937878 - Don't let too many ContentHostIncremental updates queue up. r=nrc 2013-11-15 12:56:42 +13:00
Gijs Kruitbosch
726ace5e27 Merge mozilla-central and ux 2013-11-13 00:28:03 +01:00
Kartikaya Gupta
cc698c25b3 Bug 937130 - Fix up threading and locking in APZCTreeManager. r=botond 2013-11-12 11:56:57 -05:00
Jesse Ruderman
447673a4d1 Bug 624198 - Crashtest. 2013-11-12 14:37:22 +00:00
Benoit Jacob
f347dec994 Bug 939629 - 2/2. Build Skia in unified mode - r=ehsan,gw280 2013-11-18 13:25:10 -05:00
Benoit Jacob
25091f66ea 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
79774cfe25 Merge m-c to inbound on a CLOSED TREE. 2013-11-18 10:59:48 -05:00
Jonathan Watt
a5e0aa39db Bug 939604 - Add support for more types to mozilla::gfx::Log. r=Bas 2013-11-18 14:29:54 +00:00
Benoit Jacob
cc29adfdc8 Bug 938489 - 1/3. Don't include glx.h in GLXLibrary.h - r=mattwoodrow 2013-11-18 08:08:24 -05:00
Jonathan Watt
a325621454 Bug 939589 - Gut gfxPath. r=Bas 2013-11-18 09:42:51 +00:00
Matt Woodrow
d7d21d7937 Bug 923341 - Part 3: Use azure for CreateSamplingRestrictedDrawable. r=seth 2013-11-13 17:32:48 +13:00
Matt Woodrow
aed5bc94d9 Bug 923341 - Part 1: Add a gfxSurfaceDrawable constructor for a DrawTarget. r=seth 2013-11-13 17:31:12 +13:00
Ryan VanderMeulen
38f4d5a876 Merge m-c to b2g-inbound on a CLOSED TREE. 2013-11-18 11:01:43 -05:00
Anthony Jones
f4ae9d8faf Bug 899154 - Disable dropping resolution during fling; r=kats 2013-11-15 11:12:03 +13:00
Gijs Kruitbosch
3226a1bc83 Merge mozilla-central and ux 2013-11-12 17:30:17 +01:00
Jonathan Kew
f1a0044783 backout 739edf98ca0b (bug 909344) for reftest failure in layout/reftests/bugs/388367-1.html. 2013-11-12 10:13:10 +00:00
Gijs Kruitbosch
a84d198778 Merge mozilla-central and ux 2013-11-11 09:29:29 +01:00
Nicholas Cameron
d5a16985b4 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
be2f3bd4e2 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
18fbf3543f 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
da3f293edb Bug 936721 - (cleanup) Refactor and extract an ApzcPinch function. r=botond 2013-11-10 09:48:12 -05:00
Kartikaya Gupta
6f2ba262a3 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
dc43a0e285 Merge mozilla-central to UX 2013-11-09 17:46:29 -08:00
Jared Wein
3a8c39e9ac Automated merge with https://hg.mozilla.org/mozilla-central 2013-11-08 13:22:23 -05:00
Gijs Kruitbosch
bdf8ffe2d3 Merge mozilla-central and ux 2013-11-07 19:21:54 +00:00
Gijs Kruitbosch
24be9d1e46 Merge mozilla-central and ux 2013-11-07 08:53:59 +01:00
Benoit Girard
8ff314dc5d Bug 935701 - Fix bustage on CLOSED TREE. r=bustage
--HG--
extra : rebase_source : b7586d185b814dcaa63a50a7ca932abb9759baea
2013-11-06 22:18:23 -05:00
Wes Kocher
18c00031c5 Merge m-c to inbound 2013-11-06 18:23:55 -08:00
Wes Kocher
9d979344d8 Merge b2g-inbound to m-c 2013-11-06 18:20:55 -08:00
Wes Kocher
29edb85b2f Merge inbound to m-c 2013-11-06 18:10:46 -08:00
Benoit Girard
19720a9e44 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
b61aba6994 merge m-c to ux 2013-11-06 22:25:39 +01:00
Ryan VanderMeulen
511de9eb44 Merge m-c to b2g-inbound. 2013-11-06 15:00:25 -05:00
Ryan VanderMeulen
267f1bd85e Merge inbound to m-c. 2013-11-06 14:24:58 -05:00
Sotaro Ikeda
186371b1b2 Bug 934106 - Reduce ImageClient holding video frame number to one. r=nical 2013-11-06 12:32:12 -05:00
Gijs Kruitbosch
174d4160d6 Merge m-c to ux 2013-11-06 14:36:26 +01:00
Gijs Kruitbosch
5b8e8a7c7d Merge mozilla-central and ux 2013-11-06 09:01:08 +01:00
Nicholas Nethercote
b9e0d05f7e 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
254a0270eb 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
065833c196 Bug 934866 - Make nsFont::systemFont a bool. r=jdaggett 2013-11-06 10:15:59 +11:00
Gijs Kruitbosch
6c072adc32 Merge mozilla-central and ux 2013-11-05 20:14:58 +01:00
Matt Woodrow
fca0302756 Backout c99d15a060e2 for causing windows Ru reftest failures. 2013-11-05 20:00:05 +13:00
Wes Kocher
d3d614d652 Merge m-c to inbound 2013-11-04 21:22:23 -08:00
Wes Kocher
32a09c5f75 Merge inbound to m-c 2013-11-04 21:09:17 -08:00
Matt Woodrow
56073d6b1a Bug 923434 - Use DrawSurface in ThebesLayerBuffer instead of FillRect. r=Bas 2013-11-05 17:50:57 +13:00
Matt Woodrow
d983ecfd5c 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
653b11af5f Bug 926023 - Use the value of SetPermitSubpixelAA for DrawTargetCairo. r=Bas 2013-11-05 17:50:56 +13:00
Wes Kocher
f0c23390fe Backed out changeset bad6c063b01f (bug 932274) for build bustage 2013-11-04 14:40:50 -08:00
Benoit Girard
96dd2833db Bug 930476 - Show paint markers for async frames. r=ehsan 2013-11-04 17:04:51 -05:00
David Zbarsky
906bff4c2b Bug 932274: Use Moz2D size classes in ipdl r=nical 2013-11-04 16:43:10 -05:00
Matthew Noorenberghe
9e82ff7081 Merge mozilla-central to UX 2013-11-05 01:04:20 -08:00
Gijs Kruitbosch
039c9472a0 Merge mozilla-central and ux 2013-11-04 14:15:00 +01:00
Andreas Gal
23a6963608 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
c5af5332e9 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
7fc84d38a3 Bug 929471. Make DrawTargetCG independent from QuartzSupport.mm. r=bgirard 2013-11-07 22:53:54 -05:00
Jeff Muizelaar
9344e3053c Bug 929471. Make CGLTexImageIOSurface2D take a CGLContextObj instead of a NSOpenGLContext. r=bgirard 2013-11-07 22:53:54 -05:00
Kartikaya Gupta
0114edf4cd Bug 934439 - Add an APZC_LOG line for UpdateScrollOffset. r=botond 2013-11-04 21:30:10 -05:00
Jonathan Kew
b33da98ea4 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
442a70f72a 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
afef97f6ae Bug 934297 - Remove snapping support from Moz2D. r=mattwoodrow 2013-11-03 15:06:12 -08:00
Benoit Girard
be34eefebe Bug 935476 - Remove OpenGL printf on mac startup. r=nical 2013-11-06 08:04:12 -05:00
Ryan VanderMeulen
742c6ee1dd Merge m-c to b2g-inbound. 2013-11-04 16:32:13 -05:00
Botond Ballo
e23a67dc35 Bug 932525 - Better naming for some transformation matrix variables. r=kats 2013-10-31 14:44:33 -04:00
Gijs Kruitbosch
00aa54c9ed Merge mozilla-central and ux 2013-11-03 23:36:57 +01:00
Gijs Kruitbosch
7f18b70f01 Merge mozilla-central and ux 2013-11-02 11:33:53 +01:00
Mike Hommey
91865c8cd6 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
448b587886 Merge mozilla-central and ux 2013-11-01 19:51:09 +01:00
Ed Morley
aa914d52d6 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
a880139178 Merge mozilla-central and ux 2013-11-01 09:20:15 +01:00
Ryan VanderMeulen
3181194b69 Merge m-c to inbound on a CLOSED TREE. 2013-10-31 16:10:29 -04:00
Jeff Muizelaar
3756d2925d 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
6b0f142e83 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
2c7116344c Backed out changeset 4bb843a74b5b (bug 893572) for test failures on a CLOSED TREE 2013-11-08 17:34:18 +00:00
Kartikaya Gupta
77617e3aff 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
1e20a9603e 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
4a7fa8225d Bug 881451 - Remove unused members of TiledLayerProperties. r=BenWa 2013-11-06 13:42:02 +00:00
Ryan VanderMeulen
c80a525c6d Merge m-c to inbound on a CLOSED TREE. 2013-10-30 22:42:13 -04:00
Botond Ballo
fa777434ed 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
78cc3658d4 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
acbe123ece 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
45573e6a1c Merge m-c to inbound 2013-11-07 17:56:53 -08:00
Wes Kocher
e084de1151 Merge fx-team to m-c 2013-11-07 17:33:06 -08:00
Nicholas Cameron
2da9e53858 Bug 934842. CopySurface for data source surfaces. r=Bas 2013-11-08 14:39:34 +13:00
Matt Brubeck
ee462a968a Bug 927033 - Always decrement mTouchCount on touchend/cancel [r=kats] 2013-11-07 13:12:33 -08:00
Matt Brubeck
57e61daadc Bug 927033 - Refactor some duplicate code in APZCTreeManager [r=kats] 2013-11-07 13:11:34 -08:00
Matt Brubeck
cac3956706 Bug 927033 - Don't reset mApzcForInputBlock until all touches are gone [r=kats] 2013-11-07 13:10:29 -08:00
Bas Schouten
6d3980ed55 Bug 935994: Adjust strokestyle creation code. r=jrmuizel 2013-11-07 20:40:39 +01:00
Matt Woodrow
bc7e07900f 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
6c32b05cf1 Bug 914823 - Use a WeakPtr<ISurfaceAllocator> also in SharedSurface_Gralloc - r=sotaro 2013-10-31 11:25:54 -04:00
Chris Lord
d6149012b6 Bug 932278 - Remove the long-defunct gfxPlatform::UseReusableTileStore. r=BenWa 2013-10-31 15:53:51 +00:00
Jonathan Kew
681c3a282a bug 836225 - testcase for graphite with supplementary-plane characters. r=jdaggett 2013-10-29 14:04:01 +00:00
Jonathan Kew
a242797cb7 bug 894798 - disable word-cache expiration timer on release builds. r=roc 2013-10-29 14:02:36 +00:00
Kartikaya Gupta
61ffd37c9d 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
92ec80bc85 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
1db558618b Bug 931769, part 2 - Add IsSingular and operator*= methods to Matrix. r=Bas 2013-10-29 08:14:40 +00:00
Jonathan Watt
b52b5357b6 Bug 931769, part 1 - Make gfxPattern::GetPattern use its mExtend member. r=Bas 2013-10-29 08:14:39 +00:00
Nicholas Nethercote
fbfefcc32a 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
0796aeb3b7 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
ccdd4fb35d 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
8a107c2154 Merge m-c to inbound. 2013-11-06 14:59:07 -05:00
David Anderson
91894cb959 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
d112776b13 Bug 922600 - Avoid integer overflow. r=bjacob 2013-10-16 16:49:27 -04:00
Jeff Gilbert
9e3d90f072 Bug 922368 - Check for features instead of framebuffer_blit extensions. r=bjacob 2013-10-31 09:51:47 -04:00
Peter Chang
f67eec308b 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
e292c13f5d 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
5e89a31bd3 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
b5a8731bc5 Backed out changeset 9eeddb8dc383 (bug 931915) 2013-11-01 14:34:51 +00:00
Ed Morley
14453fd747 Backed out changeset 0fdae4f78c1a (bug 931996) 2013-11-01 14:34:48 +00:00
James Willcox
31af00dfd4 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
785fc745d1 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
012417f2af Bug 938970 - 5/5. Switch gfx/layers to UNIFIED_SOURCES - r=ehsan,mattwoodrow 2013-11-17 21:07:08 -05:00
Benoit Jacob
fbd864db98 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
4ecaf505b0 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
633e63c6ef 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
e8e6415c11 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
6702bd8431 Bug 936511 - Add layers.dump to dump layer tree. r=bas,nrc 2013-11-17 16:47:40 -05:00
Bas Schouten
33e1f956ab 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
d5ce0b2339 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
da753b9a98 Bug 939355 - Include string.h in gfx/2d/unittest/TestBugs.cpp r=bgirard 2013-11-17 18:55:16 +01:00
Nathan Froyd
3a9ed362e7 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
e2ede970d2 Bug 918651 - part 5 - qualify all IPDL using statements with required header; r=ehsan 2013-10-01 15:25:07 -04:00
Nicholas Cameron
407c5f8c6b Bug 907463. Dealloc shmem on ActorDestroy. r=nical 2013-09-27 21:48:42 +12:00
Nathan Froyd
973f5e7322 Bug 918651 - part 1 - remove unnecessary using statements from IPDL files; r=ehsan 2013-10-18 14:48:13 -04:00
Jonathan Watt
de271da5c3 Bug 931915, part 2 - Make gfxContext::RoundedRectangle use Moz2D's AppendRoundedRectToPath helper. r=Bas 2013-11-01 13:29:53 +00:00
Rik Cabanier
c247d648ae Bug 932500 - PathD2D::TransformedCopyToBuilder ignores even odd fill. r=Bas 2013-11-12 08:47:24 -05:00
Jonathan Watt
dbd6cf47e7 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
8131d3fc10 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
4878fb43fb 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
4309023622 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
d1eeb9782e Merge mozilla-central and inbound 2013-11-01 13:18:19 +00:00
Ed Morley
641a5b27d4 Merge latest green b2g-inbound changeset and mozilla-central 2013-11-01 13:14:45 +00:00
Andreas Gal
9a464b3340 Bug 933584 - Implement OptimizeSourceSurface for skia. r=mattwoodrow 2013-11-01 09:13:36 -04:00
Benoit Jacob
46729cad0c Bug 886219 - Avoid introducing a global constructor with the ImageBridgeParent singleton - r=nical 2013-11-01 07:34:40 -04:00
Fabrice Desré
e5095467d5 Bug 914843 - fix gfx issue on oop b2g linux. r=nrc 2013-10-31 23:36:02 -07:00
Wes Kocher
800ac7346c Backed out changeset 428bea088d2b (bug 927254) for build bustage 2013-10-31 20:47:49 -07:00
James Willcox
a8d7ae2208 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
a9af781aaa 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
b31c87b26b 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
fa4968b456 Bug 934261 - Use PostScript font name "LucidaGrande" for CoreText fallback. r=jdaggett 2013-11-02 12:51:48 -07:00
Matt Woodrow
b02e461257 Bug 922942 - Avoid crashes with PointInFill. r=Bas
--HG--
extra : rebase_source : cf209258a71342590c3d3488912d85df86a14b8b
2013-11-04 14:47:18 +13:00
Matt Woodrow
115c1e0543 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
a47a04180d Bug 934287: Add size and for data DrawTarget creation functions. r=mattwoodrow 2013-11-04 00:57:36 +01:00
Bas Schouten
3ce4a06d0a Bug 934286: Ifdef Mozilla specific cairo function usage. r=mattwoodrow 2013-11-04 00:57:36 +01:00
Bas Schouten
23ef8a25d6 Bug 933030 - Addition: Remove external dependency added to Moz2D. r=mattwoodrow 2013-11-04 00:57:35 +01:00
Jonathan Watt
d8ec86c181 Bug 934157 - Fix BaseRect::IsFinite() to actually work. r=Bas 2013-11-03 20:47:05 +00:00
Andreas Gal
30d020981d Bug 933030 - Eliminate thebes use from CanvasRenderingContext2D.cpp r=mattwoodrow 2013-11-03 08:28:30 -08:00
Milan Sreckovic
9277abdd29 Bug 893572 - Tests. r=jmuizelaar 2013-09-06 12:30:26 -07:00
Jaroslav Kopecký
c6168a4dd0 Bug 936196 - Explicitly include unistd.h for getpid() on XP_UNIX. r=BenWa 2013-11-08 09:04:30 -05:00
Ryan VanderMeulen
f90de9eccd Merge m-c to inbound on a CLOSED TREE. 2013-11-14 20:58:52 -05:00
Ryan VanderMeulen
ab53bf3ef7 Merge b2g-inbound to m-c on a CLOSED TREE. 2013-11-14 20:57:32 -05:00
Nicholas Cameron
b7b3ca15bd Fix bustage from bug 915940 on a CLOSED TREE. r=me 2013-11-15 11:13:53 +13:00
Nicholas Cameron
d1aab0c912 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
af58170ec7 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
4568b8f835 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
b158af9af4 Bug 937274 - Fix a crash in GestureEventListener::HandlePinchGestureEvent(). r=kats 2013-10-18 17:13:26 -04:00
Kartikaya Gupta
5911da4a8a 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
d48fdb5dd0 Bug 937896 - Fix a compiler error. r=bustage. CLOSED TREE 2013-11-14 15:11:53 -05:00
Botond Ballo
522b1cd18e Bug 937896 - Remove unwanted zoom in APZC::NotifyLayersUpdated(). r=kats 2013-11-13 14:13:40 -05:00
Kartikaya Gupta
3d2dfca62e 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
0aa34abca6 Bug 937688 - Make UpdateZoomConstraints take a full ScrollableLayerGuid. r=botond 2013-11-14 12:35:41 -05:00
Benoit Girard
780e082d42 Bug 918671 - Add test for cairo clipping bug. r=jrmuizel 2013-11-12 16:47:40 -05:00
Benoit Girard
c7f1cf4137 Bug 918671 - Fix cairo clipping bug when nesting clips. r=jrmuizel 2013-11-12 19:11:50 +00:00
Kartikaya Gupta
f1b253ee94 Bug 937843 - Make some constructor arguments const. r=BenWa 2013-11-13 13:22:15 -05:00
Kartikaya Gupta
8ef2108534 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
0ee64fe351 Bug 937688 - Move ScrollableLayerGuid from APZCTreeManager.h to FrameMetrics.h. r=botond 2013-11-13 13:20:31 -05:00
Kartikaya Gupta
7458d8fad1 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
2180719bf3 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ý
1cf8a5dea2 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
b96b82c875 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
fcda2c5463 bug 909344 - treat U+007F as a control, not a printable character. r=roc 2013-11-12 23:53:07 +00:00
Botond Ballo
38553bd9e2 Bug 937129 - Fix some concurrency issues in APZCTM::HandleOverscroll. r=kats 2013-11-11 12:06:33 -05:00
Chris Peterson
2942d66873 Bug 931669 - Fix -Wsign-compare warning in Axis.cpp. r=botond 2013-10-27 01:11:18 -07:00
Robert O'Callahan
971539a169 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
aa07fb8924 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
9590eb387d 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
2a8665e0e6 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
d0613ea5a7 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