Commit Graph

85 Commits

Author SHA1 Message Date
Benoit Girard
1b38605e36 Bug 904227 - Expect any number of calls to SendAsyncScrollDOMEvent. r=kats 2013-12-07 12:45:19 -05:00
Anthony Jones
d86d36438d Bug 839911 - Separate animation out from layer code; r=kats 2013-12-06 16:21:39 +13:00
Benoit Girard
a88fe6df35 Bug 904227 - Disable gfxWordCacheTest.cpp to see if it helps with gtest crashes. r=bjacob 2013-12-05 11:36:04 -05:00
Benoit Girard
8461c6b02c Bug 904227 - Ignore gmock warnings from MockContentController. r=kats 2013-11-18 20:54:22 -05:00
Botond Ballo
00053572e6 Bug 944521 - Scroll-grabbing elements shouldn't grab tap gestures. r=Cwiiis 2013-11-29 16:40:21 -05:00
Ms2ger
cf53814bbc Merge mozilla-inbound to mozilla-central. 2013-11-29 09:54:12 +01:00
Ms2ger
3810a38141 Bug 937258 - Part b: Remove gfx/tests/gtest/Makefile.in; r=gps
CXXFLAGS is only taken into account when set *after* the rules.mk inclusion,
so it is useless here.
2013-11-28 15:25:41 +01:00
Ms2ger
b2a48b6753 Bug 937224 - Part a: Move LOCAL_INCLUDES to moz.build in gfx/; r=mshal 2013-11-28 15:10:38 +01:00
Ehsan Akhgari
3fcbfcb91d Bug 943983 - Build gfx/tests/gtest in unified mode; r=BenWa 2013-11-28 14:10:33 -05:00
Andreas Pehrson
79a5d7be7d Bug 907292 - Change gfxImageSurface to gfx::DataSourceSurface in TextureHost et al 2013-11-27 10:59:01 +01:00
Matt Brubeck
ea61d6562d Bug 942689 - Include modifer info in tap gesture events [r=roc,jimm,botond] 2013-11-25 20:30:26 -08:00
Mike Hommey
21281c6e45 Bug 940407 - Kill GTEST_SOURCES. r=gps 2013-11-26 11:48:58 +09:00
Birunthan Mohanathas
c4d797a2eb Bug 784739 - Switch from NULL to nullptr in miscellaneous directories; r=ehsan
--HG--
extra : rebase_source : 8ace754e117a12e2599f5a90030f13a3a7064fed
2013-11-25 14:02:47 -05:00
Botond Ballo
20adb2fb8e Bug 900092 - Remove FrameMetrics::ROOT_SCROLL_ID. r=kats,tn 2013-11-08 19:07:00 -05: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
Mike Hommey
f0d1cd1e10 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Ryan VanderMeulen
ab53bf3ef7 Merge b2g-inbound to m-c on a CLOSED TREE. 2013-11-14 20:57:32 -05:00
Botond Ballo
b158af9af4 Bug 937274 - Fix a crash in GestureEventListener::HandlePinchGestureEvent(). r=kats 2013-10-18 17:13:26 -04:00
Benoit Girard
780e082d42 Bug 918671 - Add test for cairo clipping bug. r=jrmuizel 2013-11-12 16:47:40 -05: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
Botond Ballo
e23a67dc35 Bug 932525 - Better naming for some transformation matrix variables. r=kats 2013-10-31 14:44:33 -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
Mike Hommey
f1c0c07862 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Mike Hommey
df8861ae74 Bug 930380 - Make sure *SOURCES only point to existing files. r=gps 2013-10-25 07:58:17 +09:00
Brian O'Keefe
0cbcd904c7 Bug 928709 - Convert chromium-config.mk to mozbuild, r=mshal 2013-10-02 13:17:55 -04:00
Mike Hommey
80c623bb6a Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps 2013-10-24 08:05:43 +09:00
Mike Hommey
c814e03f96 Bug 929896 - Make GTEST_CPP_SOURCES a StrictOrderingOnAppendList. r=mshal 2013-10-24 07:59:50 +09:00
Benoit Girard
fccf27d2ae Bug 921212 - Rotate buffer in place to avoid gralloc surface allocation. r=Bas 2013-10-11 16:47:47 -04:00
Ryan VanderMeulen
a8368b8b5c Backed out changeset 6150269410b2 (bug 921212) for bustage on a CLOSED TREE. 2013-10-18 10:21:38 -04:00
Benoit Girard
1aa99b3bef Bug 921212 - Rotate buffer in place to avoid gralloc surface allocation. r=Bas 2013-10-11 16:47:47 -04:00
Nicolas Silva
87bb1269a8 Bug 919936 - Add gtests for YCbCr memory textures. r=BenWa 2013-10-15 17:42:03 -07:00
Kartikaya Gupta
8c746fe746 Bug 915831 - When clamping the async zoom amount, take into account the overzoom boundary. r=botond 2013-10-10 17:00:29 -04:00
Kartikaya Gupta
4d36be887f Bug 923431 - Fix the code that adjusts scroll offset while pinching; add tests to go with. r=botond 2013-10-10 12:21:50 -04:00
Ms2ger
df62fb8b0f Bug 900980 - Part a: Move unconditional assignments to EXPORT_LIBRARY to moz.build; rs=gps 2013-10-03 09:11:13 +02:00
Ehsan Akhgari
4f0b573862 Bug 921753 - Part 4: Move DrawMode outside of gfxFont.h so that we won't need to #include that header everywhere DrawMode is needed; r=roc
This patch reduces the number of files that transitively #include
gfx/2d.h from 1268 to 1208.
2013-10-01 17:02:16 -04:00
Kartikaya Gupta
e6cab631c4 Bug 916379 - Follow-up to f6e27e069346 to fix test. r=me 2013-09-30 22:38:29 -04:00
Nicolas Silva
018b593dba Bug 919936 - MemoryTextureClient/Host serialization unittests. r=BenWa 2013-09-25 13:47:14 +02:00
Nicolas Silva
989a0e861d backout changeset 148585:ab5af752fa81 for build bustage 2013-09-25 12:03:47 +02:00
Nicolas Silva
b84b296187 Bug 919936 - MemoryTextureClient/Host serialization unittests. r=BenWa 2013-09-25 11:43:08 +02:00
Benoit Jacob
0f90257361 Bug 913872 - Take nested enums out of gfxASurface - 1/3 : automatic changes - r=jrmuizel
Generated by these regexes:

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(ImageFormat\|SurfaceType\|ContentType\|MemoryLocation\)[0-9A-Za-z_]*\)/gfx\1/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(CONTENT_\|MEMORY_\)[0-9A-Za-z_]*\)/GFX_\1/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(CONTENT_COLOR\|CONTENT_ALPHA\|CONTENT_COLOR_ALPHA\|CONTENT_SENTINEL\|MEMORY_IN_PROCESS_HEAP\|MEMORY_IN_PROCESS_NONHEAP\|MEMORY_OUT_OF_PROCESS\)\($\|[^A-Za-z0-9_]\)/\1GFX_\2\3/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(ImageFormatARGB32\|ImageFormatRGB24\|ImageFormatA8\|ImageFormatA1\|ImageFormatRGB16_565\|ImageFormatUnknown\|SurfaceTypeImage\|SurfaceTypePDF\|SurfaceTypePS\|SurfaceTypeXlib\|SurfaceTypeXcb\|SurfaceTypeGlitz\|SurfaceTypeQuartz\|SurfaceTypeWin32\|SurfaceTypeBeOS\|SurfaceTypeDirectFB\|SurfaceTypeSVG\|SurfaceTypeOS2\|SurfaceTypeWin32Printing\|SurfaceTypeQuartzImage\|SurfaceTypeScript\|SurfaceTypeQPainter\|SurfaceTypeRecording\|SurfaceTypeVG\|SurfaceTypeGL\|SurfaceTypeDRM\|SurfaceTypeTee\|SurfaceTypeXML\|SurfaceTypeSkia\|SurfaceTypeSubsurface\|SurfaceTypeD2D\|SurfaceTypeMax\)\($\|[^A-Za-z0-9_]\)/\1gfx\2\3/g'
2013-09-24 16:45:13 -04:00
Botond Ballo
e77231ff49 Bug 898478 - Have AsyncPanZoomController keep a pointer to the APZCTreeManager. r=kats 2013-08-20 18:10:47 -04:00
Botond Ballo
13d4e37c9e Bug 912806 - Store both cumulative and non-cumulative resolutions in FrameMetrics and use whichever is appropriate. r=kats 2013-09-05 18:26:59 -04:00
Mike Hommey
05b3f24e0e Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Kartikaya Gupta
55c123d4d6 Bug 885023 - Convert mFrameMetrics.mZoom to a CSSToScreenScale. r=BenWa,k17e
The mFrameMetrics.mZoom was previously a "resolution-independent" zoom,
which meant it had to always be multiplied by the CalculateIntrinsicScale()
value to be useful. This patch converts it to a "resolution-dependent" zoom,
and includes the intrinsic scale multiplier already. This means it needs
to be updated if either the viewport or composition bounds (which determine
the intrinsic scale) change, but there are only a few places where this
happens and it makes the rest of the code cleaner.
2013-08-26 09:50:30 -04:00
Ms2ger
8085d723ed Bug 883284 - Part d: Move LIBXUL_LIBRARY into moz.build (f-j); r=bsmedberg 2013-08-22 08:56:00 +02:00
Kartikaya Gupta
f5135c8214 Bug 898443 - Completely extract the transformation calculation from GetTargetAPZC. r=BenWa 2013-08-21 12:03:03 -04:00
Kartikaya Gupta
ee8f12a0ab Bug 890280 - Update the AsyncPanZoomController tests to also test the transformation matrices. r=BenWa 2013-08-15 08:03:31 -04:00
Kartikaya Gupta
b59db3868c Bug 890280 - Apply proper transformations when sending inputs to the APZC and back to the DOM. r=BenWa 2013-08-14 10:15:54 -04:00
Milan Sreckovic
c0b45ceae6 Bug 903526 - Add BaseRect::IsFinite() method. r=bas 2013-08-13 14:48:17 -04:00