Commit Graph

174 Commits

Author SHA1 Message Date
Jonathan Kew
681c3a282a bug 836225 - testcase for graphite with supplementary-plane characters. r=jdaggett 2013-10-29 14:04:01 +00: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
Phil Ringnalda
c8edc1d6f9 Bug 922976 - Skip gfx/tests/crashtests/394751.xhtml on Tegras for constant failures to load 2013-10-13 09:39:30 -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
Masatoshi Kimura
216f76200c Bug 911573 - Mochitest fixup to prepare removing Components-in-content with UniversalXPConnect. r=bholley 2013-09-05 01:02:34 +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
Ryan VanderMeulen
7c6f75f871 Merge m-c to inbound. 2013-08-12 17:43:24 -04:00
Kartikaya Gupta
30c87b92e1 Bug 903460 - Back out cset 9813b854b713 because it regresses panning behaviour on Android. r=me 2013-08-12 08:32:11 -04:00
Daniel Holbert
bd3225abb3 Bug 904184: Replace "//" comment with "/**/" comment, to fix GCC "warning: multi-line comment" for trailing backslash in ASCII art. r=BenWa 2013-08-12 13:40:28 -07:00
Kartikaya Gupta
378f96db6d Bug 903460 - Apply the async transform after the CSS transform for a given layer. r=BenWa
Since the CSS transform includes a 1/resolution scaling factor, the translation
amount in the async transform is now in LayoutDevicePixels instead of LayerPixels.
The shadow tree transform is now effectively:
(1/resolution * rest of CSS transform * async translation * async resolution)
Whereas before it was
(async translation * async resolution * 1/resolution * rest of CSS transform)
2013-08-10 11:19:47 -04:00
Trevor Saunders
b2dc01f1a7 bug 886526 - remove IS_COMPONENT and MODULE_NAME makefile vars for things in libxul r=bsmedberg r=glandium 2013-08-08 20:12:37 -04:00
Kartikaya Gupta
24718d2f2e Bug 900742 - Fix APZC hit testing problem introduced by bug 866232. r=BenWa 2013-08-06 16:20:14 -04:00
Benoit Girard
bebd5ab26c Bug 865902 - Port old gfx unit tests. r=milan
--HG--
rename : gfx/tests/TestColorNames.cpp => gfx/tests/gtest/TestColorNames.cpp
rename : gfx/tests/TestRect.cpp => gfx/tests/gtest/TestRect.cpp
rename : gfx/tests/TestRegion.cpp => gfx/tests/gtest/TestRegion.cpp
rename : gfx/tests/gfxFontSelectionTest.cpp => gfx/tests/gtest/gfxFontSelectionTest.cpp
rename : gfx/tests/gfxFontSelectionTests.h => gfx/tests/gtest/gfxFontSelectionTests.h
rename : gfx/tests/gfxSurfaceRefCountTest.cpp => gfx/tests/gtest/gfxSurfaceRefCountTest.cpp
rename : gfx/tests/gfxTextRunPerfTest.cpp => gfx/tests/gtest/gfxTextRunPerfTest.cpp
rename : gfx/tests/gfxWordCacheTest.cpp => gfx/tests/gtest/gfxWordCacheTest.cpp
rename : gfx/tests/per-word-runs.h => gfx/tests/gtest/per-word-runs.h
2013-04-25 19:02:13 -04:00
Kartikaya Gupta
e7eb189cc7 Bug 890932 - Make AsyncPanZoomController::mMonitor re-entrant to reduce code madness. r=BenWa 2013-07-31 08:53:16 -04:00
Kartikaya Gupta
40271aeb0c Bug 866232 - Break assumption of a single global root layer tree. r=BenWa, mattwoodrow 2013-07-30 14:03:43 -04:00
Kartikaya Gupta
0ab038a3d2 Bug 866232 - Only fire mozbrowserasyncscroll events on the top-level scrollable for backwards compatibility. r=BenWa 2013-07-30 14:03:42 -04:00
Kartikaya Gupta
c27169836e Bug 866232 - Update and re-enable the test for hit detection in the APZC tree. r=BenWa 2013-07-30 14:03:41 -04:00
Kartikaya Gupta
288b98292e Bug 866232 - Add visible region tracking and hit-testing code for APZCTreeManager. r=BenWa, mattwoodrow 2013-07-30 14:03:41 -04:00
Kartikaya Gupta
ef737ecf30 Bug 866232 - Extract a GetCurrentAsyncTransform method in APZC. r=BenWa 2013-07-30 14:03:41 -04:00
Kartikaya Gupta
81eb2a5995 Bug 866232 - Add code to build the APZC tree on layer updates. r=BenWa, mattwoodrow 2013-07-30 14:03:40 -04:00
Kartikaya Gupta
3a19367421 Bug 866232 - Add support for delaying APZC creation until the layer update. r=BenWa 2013-07-30 14:03:40 -04:00
Trevor Saunders
64dbc43c4d backout bug 886526 because it probably made us use a lot more memory to link on windows 2013-07-29 11:03:21 -04:00
Benoit Girard
fe89091f81 Bug 890279 - Create ScrollInfoLayers for frames we want APZC support. r=kats 2013-07-02 11:16:05 -04:00
Kartikaya Gupta
a5b48f45da Bug 866265 - Add tests for the transformation equations in APZC. r=BenWa 2013-07-08 15:53:51 -04:00
Trevor Saunders
ace23958ea bug 886526 - disallow MODULE_NAME and IS_COMPONENT for makefiles in libxul r=bsmedberg 2013-06-25 11:15:21 -04:00
Benoit Girard
38f8cfba6c Bug 775459 - Implement hit testing on layer tree + tests. r=kats
--HG--
extra : rebase_source : c596cc4c4dd9810319830ec8105a5e251e9b0ddb
2013-07-02 12:27:17 -04:00