Botond Ballo
b674de9ffc
Bug 976605 - Fix up APZ gtests to call APZC::SetAllowedTouchBehavior() at the correct time. r=kats
...
--HG--
extra : source : f168fc394c3d61b7375530d0d294d84cecc6207a
2014-04-14 14:59:20 -04:00
Ed Morley
af222c635b
Backed out changeset 037f46cdfd80 (bug 976605)
2014-04-15 17:45:10 +01:00
Botond Ballo
3098266152
Bug 976605 - Fix up APZ gtests to call APZC::SetAllowedTouchBehavior() at the correct time. r=kats
...
--HG--
extra : source : f299251a7c7ba65a8dca6443a1ab695a89c9230b
2014-04-14 14:59:20 -04:00
Nicolas Silva
9e8cef9fee
Bug 990876 - Remove TextureClientSurface. r=mattwoodrow
2014-04-14 21:29:42 +02:00
Jonathan Watt
0a3e4f5955
Bug 995454 - Kill off TextureClientSurface's GetAsSurface and UpdateSurface methods (Moz2D migration). r=mattwoodrow
2014-04-13 11:07:12 +01:00
Nicolas Silva
13e06cf7e2
Bug 993417 - Make TextureClient::ToSurfaceDescriptor protected and document it's quirk. r=Bas
2014-04-10 09:24:59 +02:00
Chris Lord
4b3c68d60c
Bug 990608 - Make tile size configurable. r=tn,nical,bgirard
2014-04-04 18:42:44 +01:00
Mike Hommey
edf4794405
Bug 988168 - Better integrate gtest libxul in the build system. r=mshal. DONTBUILD
...
--HG--
rename : toolkit/library/Makefile.in => toolkit/library/libxul.mk
rename : toolkit/library/moz.build => toolkit/library/libxul.mozbuild
2014-03-31 13:21:38 +02:00
Mike Hommey
3dbd6f1f57
Backed out changeset 561b9329d832 (bug 988168) for wrong attribution.
2014-04-01 13:17:50 +09:00
Jacek Caban
258449c186
Bug 988168 - Better integrate gtest libxul in the build system. r=mshal
...
--HG--
rename : toolkit/library/Makefile.in => toolkit/library/libxul.mk
rename : toolkit/library/moz.build => toolkit/library/libxul.mozbuild
2014-03-31 13:21:38 +02:00
Kartikaya Gupta
2de7dc006b
Bug 989829 - Move all APZ prefs into gfxPrefs and move all documentation into AsyncPanZoomController.cpp. r=botond
2014-03-31 13:05:38 +08:00
Mike Hommey
b4ed5e9a80
Backout changesets ca413634eba3 and a92851ff7444 (bug 988168) for likely windows PGO perf regression
2014-03-29 16:49:19 +09:00
Kartikaya Gupta
fa67f60503
Bug 989336 - Silence 'uninteresting call' warning from mock object. r=dmitry.rojkov
2014-03-28 17:58:23 -07:00
Mike Hommey
d55f8470ad
Bug 988168 - Better integrate gtest libxul in the build system. r=mshal
...
--HG--
rename : toolkit/library/Makefile.in => toolkit/library/libxul.mk
rename : toolkit/library/moz.build => toolkit/library/libxul.mozbuild
2014-03-29 07:50:08 +09:00
Dmitry Rozhkov
275ecc3b0c
Bug 985541 - Turn GestureEventListener into Finite-state machine. r=kats,drs
2014-03-27 14:04:39 +02:00
Chadd Williams
1035df8afc
Bug 980493 - Transition FrameMetrics::mScrollId to use a getter/setter. r=botond
...
--HG--
extra : histedit_source : 1c84496d4b61f019e6e6cc24591ee3a10434e4cc
2014-03-21 17:48:08 -04:00
Nicolas Silva
7af3bc6aad
Bug 973892 - Make TextureClient::GetAsDrawTarget work with canvas. r=bas
2014-03-17 22:35:20 +01:00
Botond Ballo
81f6add29a
Bug 980493 - Transition FrameMetrics::mZoom to use a getter/setter. r=kats
2014-03-12 12:46:57 -04:00
Botond Ballo
c169aeed9c
Bug 980493 - Transition FrameMetrics::mScrollOffset to use a getter/setter. r=kats
2014-03-13 02:34:34 -04:00
Kartikaya Gupta
f3c8ac7c3e
Bug 981029 - Change the GeckoContentController interface to take CSSPoint instead of CSSIntPoint. r=botond
2014-03-12 15:27:45 -04:00
Oleg Romashin
23525da941
Bug 982118 - Move ui.click_hold_context_menus.delay to gfxPrefs. r=kats
...
--HG--
extra : rebase_source : 18b7d36e512c8c1a6c0bc042a054aad5e7ee9801
2014-03-11 09:10:50 -07:00
Botond Ballo
70dfe7ab91
Bug 935219 - Fix composition bounds calculation and APZC hit testing (again). r=kats,tn
...
--HG--
extra : amend_source : 06c6bb658dfead6907250831bbe73fae6c20b45c
2014-03-10 17:56:59 -04:00
Milan Sreckovic
000e6f1c01
Bug 978274: Initialize gfxPrefs earlier, rename some methods, delete MigratePrefs from gfxPlatform. r=bgirard.
2014-03-04 12:26:33 -05:00
Milan Sreckovic
044020c7cf
Bug 977833 - Initialize gfxPrefs so that the tests have access to preferences evaluated that way. r=bgirard
2014-02-28 12:45:27 -05:00
Kartikaya Gupta
31032942ac
Bug 941995 - Disable double-tapping and click delay on pages that are device-width or narrower (B2G). r=mbrubeck,botond
2014-02-24 19:22:45 -05:00
Maksim Lebedev
75a9a7ddd0
Bug 973660 - TEST-UNEXPECTED-FAIL AsyncPanZoomController.LongPress when touch action enabled r=drs,kats
2014-02-24 01:31:18 -05:00
Benoit Jacob
021c61cf16
Bug 970747 - 5/6 - Make ContainerLayer::RepositionChild always perform checks and return bool - r=mattwoodrow
2014-02-21 16:50:25 -05:00
Benoit Jacob
2ad50f33a8
Bug 970747 - 3/6 - Make ContainerLayer::RemoveChild always perform checks and return bool - r=mattwoodrow
2014-02-21 16:50:25 -05:00
Benoit Jacob
874a145907
Bug 970747 - 1/6 - Make ContainerLayer::InsertAfter always perform checks and return bool - r=mattwoodrow
2014-02-21 16:50:25 -05:00
Benoit Jacob
be25d16da4
Bug 971695 - 2/2 - make YCbCrImageDataSerializer check data size - r=nical
2014-02-20 16:04:13 -05:00
Ryan VanderMeulen
41ed3ca169
Backed out changesets a6831c02d8cf, 5ab4f97a3220, 2784838dbc94, and 6364146ddb19 (bug 973892) for B2G bustage.
...
CLOSED TREE
2014-02-19 14:28:05 -05:00
Nicolas Silva
17025ef500
Bug 973892 - Fix gtest bustage on a CLOSED TREE.
2014-02-19 19:29:01 +01:00
Nicolas Silva
69010e7545
Bug 973892 - part 2) Specify the moz2d backend when creating a TextureClient. r=Bas
2014-02-19 18:17:49 +01:00
Nicolas Silva
29711aa9df
Bug 969388 - Fix locking in textures gtest. r=kats
2014-02-19 17:34:49 +01:00
Kartikaya Gupta
c7c58f4554
Bug 969483 - Fix the RepositionChild function and add a test for it. r=BenWa
2014-02-18 16:38:30 -05:00
Kartikaya Gupta
b12da413a8
Bug 969483 - Remove stub test code that is inferior to the real code. r=BenWa
2014-02-18 16:38:29 -05:00
Doug Sherk
783858dcf1
Bug 970578: Add tests for preventDefault and long tap behavior to gtest. r=kats
2014-02-13 11:24:53 -05:00
L. David Baron
20ae29ccff
Backed out changeset 31bc303caa56 (bug 970578) for failing to compile on many platforms, on a CLOSED TREE.
2014-02-14 20:55:41 -08:00
Doug Sherk
2ac33b874c
Bug 970578: Add tests for preventDefault and long tap behavior to gtest. r=kats
2014-02-13 11:24:53 -05:00
Kartikaya Gupta
8fce3ba9b2
Bug 965381 - Delay the single tap notification until after the touchdown is handled. r=daleharvey
2014-02-11 10:42:42 -05:00
Wes Kocher
8c388d8430
Backed out changeset bde8b5894490 (bug 965381) for APZC failures
2014-02-10 16:02:06 -08:00
Kartikaya Gupta
4666e09d4c
Bug 965381 - Delay the single tap notification until after the touchdown is handled. r=daleharvey
2014-02-10 17:34:24 -05:00
Ms2ger
479e9f45c5
Bug 952033 - Part b: Use IntSize in CreateOffscreenSurface; r=roc
2014-02-09 09:04:38 +01:00
Doug Sherk
a305bc27b9
Bug 964421 - Fix APZC gtest to simulate some TabChild behavior. r=kats
2014-02-06 16:34:39 +01:00
Doug Sherk
ffbaa8e658
Bug 964421 - Add a mechanism to HandleLongTap(Up) to allow content to preventDefault touches and stop panning while long tapping. r=kats
2014-02-07 18:13:50 +01:00
Kartikaya Gupta
5fde241c65
Bug 963278 - Better fix to deal with concurrent scroll updates from APZ and other places. r=tn,botond,jimm
2014-02-05 17:43:20 -05:00
Benoit Jacob
e6d46b061f
Bug 962784 - Convert ImageTypes.h to typed enums - r=jrmuizel
...
find content/media media/webrtc gfx/layers gfx/tests dom/camera dom/plugins image/src layout/base -type f | grep -v 'gfx/layers/ImageTypes.h' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(GRALLOC_PLANAR_YCBCR\|PLANAR_YCBCR\|SHARED_RGB\|CAIRO_SURFACE\|MAC_IOSURFACE\|REMOTE_IMAGE_BITMAP\|SHARED_TEXTURE\|REMOTE_IMAGE_DXGI_TEXTURE\|D3D9_RGB32_TEXTURE\)\($\|[^A-Za-z0-9_]\)/\1ImageFormat::\2\3/g'
find content/media media/webrtc gfx/layers gfx/tests dom/camera dom/plugins image/src layout/base -type f | grep -v 'gfx/layers/ImageTypes.h' | xargs sed -i 's|ImageFormat\:\:ImageFormat|ImageFormat|g'
find content/media media/webrtc gfx/layers gfx/tests dom/camera dom/plugins image/src layout/base -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)STEREO_MODE_\(MONO\|LEFT_RIGHT\|RIGHT_LEFT\|BOTTOM_TOP\|TOP_BOTTOM\)\($\|[^A-Za-z0-9_]\)/\1StereoMode::\2\3/g'
find content/media media/webrtc gfx/layers gfx/tests dom/camera dom/plugins image/src layout/base -type f | grep -v 'gfx/layers/ImageTypes.h' | xargs sed -i 's|StereoMode\:\:StereoMode|StereoMode|g'
2014-01-30 17:58:49 -05:00
David Zbarsky
44eeb608e1
Bug 952977: Convert GetTransform to gfx::Matrix4x4 r=nical
2014-01-27 10:28:47 -05:00
David Zbarsky
1e61d187aa
Bug 952977: Convert SetBaseTransform to gfx::Matrix4x4 r=nical
2014-01-27 10:28:33 -05:00
David Zbarsky
4e68a5f47e
Bug 952977: Convert ComputeEffectiveTransforms to gfx::Matrix4x4 r=nical
2014-01-27 10:28:04 -05:00
Benoit Jacob
67a17b1047
Bug 959448 - Convert most of LayersTypes.h to typed enums - r=nrc
...
find content/media dom/ipc widget/ gfx/tests gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)LAYERS_\(NONE\|BASIC\|OPENGL\|D3D9\|D3D10\|D3D11\|CLIENT\|LAST\)\($\|[^A-Za-z0-9_]\)/\1LayersBackend::LAYERS_\2\3/g'
find widget gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)BUFFER_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1BufferMode::BUFFER_\2\3/g'
find widget gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)BUFFER_\(BUFFERED\)\($\|[^A-Za-z0-9_]\)/\1BufferMode::\2\3/g'
find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)CLIP_\(DRAW\|DRAW_SNAPPED\)\($\|[^A-Za-z0-9_]\)/\1DrawRegionClip::\2\3/g'
find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)CLIP_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1DrawRegionClip::CLIP_\2\3/g'
find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SURFACE_\(NONE\|OPAQUE\|SINGLE_CHANNEL_ALPHA\|COMPONENT_ALPHA\)\($\|[^A-Za-z0-9_]\)/\1SurfaceMode::SURFACE_\2\3/g'
find gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SCALE_\(STRETCH\|SENTINEL\)\($\|[^A-Za-z0-9_]\)/\1ScaleMode::\2\3/g'
find gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SCALE_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1ScaleMode::SCALE_\2\3/g'
2014-01-23 13:26:41 -05:00
Benoit Jacob
3369ca8bb6
Bug 959380 - 2/5 - Make gfxImageFormat a typed enum - r=jrmuizel
...
find . -type f | grep -v \./obj | grep -v \.hg | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)gfxImageFormat\(ARGB32\|RGB24\|A8\|A1\|RGB16_565\|Unknown\)\($\|[^A-Za-z0-9_]\)/\1gfxImageFormat::\2\3/g'
2014-01-23 13:26:40 -05:00
Kartikaya Gupta
3f3757a2fb
Bug 947337 - Update APZC tests to exercise the newly introduced transform. r=botond
2014-01-22 13:37:30 -05:00
Nick Lebedev
e43c2b2978
Bug 795567 - Part 7: Add gtests for the apzc to cover touch-action stuff. r=kats
2014-01-15 10:03:16 -05:00
Kartikaya Gupta
df5655f5e4
Bug 957790 - Initialize the APZC with zooming disabled until we know for sure if it is allowed. r=botond,jimm
...
On Metro we don't support the meta-viewport tag yet, so we need to re-enable
zooming there.
2014-01-13 12:35:00 -05:00
Benoit Jacob
3a7886f0e9
Bug 958375 - 7/9 - Make Font-related enums typed - r=Bas
...
Specifically:
r=Bas for manual changes
f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:16 -05:00
Benoit Jacob
55e7c24065
Bug 958375 - 4/9 - Make SurfaceFormat a typed enum - r=Bas
...
Specifically:
r=Bas for manual changes
f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:16 -05:00
Jonathan Kew
34a42a397f
bug 955957 - pt 1.1 - update gfxSkipChars test for revised API (no gfxSkipCharsBuilder any longer). r=roc
2014-01-10 09:42:05 +00:00
Jonathan Kew
31b10dfce6
bug 955957 - pt 0 - add a simple unit test for gfxSkipChars functionality. r=roc
2014-01-10 09:42:04 +00:00
Carsten "Tomcat" Book
736fcee1d3
Backed out changeset 4ab32fa7732f (bug 955957) for Build Bustage on a CLOSED TREE
2014-01-10 09:30:43 +01:00
Carsten "Tomcat" Book
5bc4a66e8a
Backed out changeset e285a5fbea6c (bug 955957) for Build Bustage on a CLOSED TREE
2014-01-10 09:30:07 +01:00
Jonathan Kew
65039413c8
bug 955957 - pt 1.1 - update gfxSkipChars test for revised API (no gfxSkipCharsBuilder any longer). r=roc
2014-01-10 07:48:11 +00:00
Jonathan Kew
5d40c6e32d
bug 955957 - pt 0 - add a simple unit test for gfxSkipChars functionality. r=roc
2014-01-10 07:47:53 +00:00
Kartikaya Gupta
9ae1485883
Bug 915985 - Refactoring to introduce a ZoomConstraints class. r=botond
2014-01-06 13:26:44 -05:00
Ehsan Akhgari
ebd358dfd7
Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
...
This patch was automatically generated by the following script:
#!/bin/bash
# Command to convert PRUnichar to char16_t
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*modules/libmar*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name prtypes.h \
! -name Char16.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Ms2ger
9b8e245bf9
Bug 950143 - Remove the implicit conversion operator from nsIntSize to IntSize; r=roc
2013-12-31 10:06:12 +01:00
Tor Arvid Lund
0f9fdd2d39
Bug 950677 - Change gfxIntSize to gfx::IntSize in ImageContainer.h. r=nical
2013-12-20 11:46:29 -05:00
Ryan VanderMeulen
cb5b5eee51
Merge m-c to inbound on a CLOSED TREE.
2013-12-11 22:39:20 -05:00
Dale Harvey
7870fd7c06
Bug 942929 - Use longtapup event to handle firing clicks when longtap not handled. r=kats
2013-12-12 00:39:06 +00:00
Kartikaya Gupta
bb5ac9289e
Bug 946661 - Add APZC tests for short and medium length taps. r=daleharvey
2013-12-11 17:19:33 +00:00
Nicolas Silva
97b38370cc
Bug 897452 - Part 5 - Fix a TextureClient gtest crash - r=BenWa
2013-12-11 20:44:51 -05:00
Nicolas Silva
f8d884874b
Bug 897452 - Part 3 - Clean up some unused code after PTexture change - r=mattwoodrow
2013-12-11 20:44:47 -05:00
Ryan VanderMeulen
f9166936cb
Backed out 17 changesets (bug 897452) for OSX crashes on a CLOSED TREE.
...
Backed out changeset 11ad8608bc27 (bug 897452)
Backed out changeset 6bcc629e76f9 (bug 897452)
Backed out changeset b91c858a43f5 (bug 897452)
Backed out changeset 38ba49ee3e97 (bug 897452)
Backed out changeset ea184ef84762 (bug 897452)
Backed out changeset 686cc5122149 (bug 897452)
Backed out changeset 3685a8018e49 (bug 897452)
Backed out changeset be7ef6240068 (bug 897452)
Backed out changeset f95c20e70947 (bug 897452)
Backed out changeset 4a370d2a1c62 (bug 897452)
Backed out changeset 1222f6ab66d2 (bug 897452)
Backed out changeset 5e9d3c681ee9 (bug 897452)
Backed out changeset 3b9ddce12b7a (bug 897452)
Backed out changeset 7aec6387f3e9 (bug 897452)
Backed out changeset eb1fe464fdaf (bug 897452)
Backed out changeset 07deaa53b6fd (bug 897452)
Backed out changeset ddab7d071d69 (bug 897452)
2013-12-11 14:52:50 -05:00
Nicolas Silva
0174584ce6
Bug 897452 - Part 5 - Fix a TextureClient gtest crash - r=BenWa
2013-12-11 13:05:17 -05:00
Nicolas Silva
82e5ac3f48
Bug 897452 - Part 3 - Clean up some unused code after PTexture change - r=mattwoodrow
2013-12-11 13:05:13 -05:00
Birunthan Mohanathas
759ab69b0a
Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
...
--HG--
rename : mfbt/Util.h => mfbt/ArrayUtils.h
2013-12-08 21:52:54 -05:00
Benoit Girard
c89f1d8081
Bug 904227 - Expect any number of calls to SendAsyncScrollDOMEvent. r=kats
2013-12-07 12:45:19 -05:00
Anthony Jones
582919bf02
Bug 839911 - Separate animation out from layer code; r=kats
2013-12-06 16:21:39 +13:00
Benoit Girard
fd07b9c161
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
b21fdbc0d6
Bug 904227 - Ignore gmock warnings from MockContentController. r=kats
2013-11-18 20:54:22 -05:00
Botond Ballo
cc2d1d28c8
Bug 944521 - Scroll-grabbing elements shouldn't grab tap gestures. r=Cwiiis
2013-11-29 16:40:21 -05:00
Ms2ger
a129edb4cb
Merge mozilla-inbound to mozilla-central.
2013-11-29 09:54:12 +01:00
Ms2ger
0830a3df32
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
a88cf8354a
Bug 937224 - Part a: Move LOCAL_INCLUDES to moz.build in gfx/; r=mshal
2013-11-28 15:10:38 +01:00
Ehsan Akhgari
6265857bfe
Bug 943983 - Build gfx/tests/gtest in unified mode; r=BenWa
2013-11-28 14:10:33 -05:00
Andreas Pehrson
801b8841c8
Bug 907292 - Change gfxImageSurface to gfx::DataSourceSurface in TextureHost et al
2013-11-27 10:59:01 +01:00
Matt Brubeck
72385391d3
Bug 942689 - Include modifer info in tap gesture events [r=roc,jimm,botond]
2013-11-25 20:30:26 -08:00
Mike Hommey
62cde4eed8
Bug 940407 - Kill GTEST_SOURCES. r=gps
2013-11-26 11:48:58 +09:00
Birunthan Mohanathas
0816e609ee
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
b75d9dd1de
Bug 900092 - Remove FrameMetrics::ROOT_SCROLL_ID. r=kats,tn
2013-11-08 19:07:00 -05: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
Mike Hommey
bb6779efe3
Bug 939044 - Remove most definitions of MODULE. r=mshal
2013-11-19 11:47:39 +09:00
Ryan VanderMeulen
b435761165
Merge b2g-inbound to m-c on a CLOSED TREE.
2013-11-14 20:57:32 -05:00
Botond Ballo
86f61558f5
Bug 937274 - Fix a crash in GestureEventListener::HandlePinchGestureEvent(). r=kats
2013-10-18 17:13:26 -04:00
Benoit Girard
789736d76d
Bug 918671 - Add test for cairo clipping bug. r=jrmuizel
2013-11-12 16:47:40 -05: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
Botond Ballo
42c1f6350b
Bug 932525 - Better naming for some transformation matrix variables. r=kats
2013-10-31 14:44:33 -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
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
Brian O'Keefe
4c98f61956
Bug 928709 - Convert chromium-config.mk to mozbuild, r=mshal
2013-10-02 13:17:55 -04:00
Mike Hommey
61124c1afc
Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps
2013-10-24 08:05:43 +09:00
Mike Hommey
6231fee0c3
Bug 929896 - Make GTEST_CPP_SOURCES a StrictOrderingOnAppendList. r=mshal
2013-10-24 07:59:50 +09:00
Benoit Girard
13dc5bcf12
Bug 921212 - Rotate buffer in place to avoid gralloc surface allocation. r=Bas
2013-10-11 16:47:47 -04:00
Ryan VanderMeulen
1ab6618e4f
Backed out changeset 6150269410b2 (bug 921212) for bustage on a CLOSED TREE.
2013-10-18 10:21:38 -04:00
Benoit Girard
15eddaacf4
Bug 921212 - Rotate buffer in place to avoid gralloc surface allocation. r=Bas
2013-10-11 16:47:47 -04:00
Nicolas Silva
7b37a01911
Bug 919936 - Add gtests for YCbCr memory textures. r=BenWa
2013-10-15 17:42:03 -07:00
Kartikaya Gupta
b24142bef9
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
e154831e7b
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
7ffcd856c2
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
7e5b2154cf
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
867f76bf10
Bug 916379 - Follow-up to f6e27e069346 to fix test. r=me
2013-09-30 22:38:29 -04:00
Nicolas Silva
b1610dce26
Bug 919936 - MemoryTextureClient/Host serialization unittests. r=BenWa
2013-09-25 13:47:14 +02:00
Nicolas Silva
d1fe7deee2
backout changeset 148585:ab5af752fa81 for build bustage
2013-09-25 12:03:47 +02:00
Nicolas Silva
6220c02999
Bug 919936 - MemoryTextureClient/Host serialization unittests. r=BenWa
2013-09-25 11:43:08 +02:00
Benoit Jacob
c1d7f88886
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
19874dc045
Bug 898478 - Have AsyncPanZoomController keep a pointer to the APZCTreeManager. r=kats
2013-08-20 18:10:47 -04:00
Botond Ballo
5fa50f4b24
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
f1cf3b4238
Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps
2013-09-05 09:01:46 +09:00
Kartikaya Gupta
c9052e6e85
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
dba42e4001
Bug 883284 - Part d: Move LIBXUL_LIBRARY into moz.build (f-j); r=bsmedberg
2013-08-22 08:56:00 +02:00
Kartikaya Gupta
bfdee90774
Bug 898443 - Completely extract the transformation calculation from GetTargetAPZC. r=BenWa
2013-08-21 12:03:03 -04:00
Kartikaya Gupta
5f324bf8f9
Bug 890280 - Update the AsyncPanZoomController tests to also test the transformation matrices. r=BenWa
2013-08-15 08:03:31 -04:00
Kartikaya Gupta
0e2d856f7e
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
1e3436bf95
Bug 903526 - Add BaseRect::IsFinite() method. r=bas
2013-08-13 14:48:17 -04:00
Ryan VanderMeulen
ae8458b977
Merge m-c to inbound.
2013-08-12 17:43:24 -04:00
Kartikaya Gupta
6bf3464260
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
85c396a165
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
8792f2231a
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
7da524d402
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
fcf357b7f1
Bug 900742 - Fix APZC hit testing problem introduced by bug 866232. r=BenWa
2013-08-06 16:20:14 -04:00
Benoit Girard
3a14303c1c
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
9b2fc07177
Bug 890932 - Make AsyncPanZoomController::mMonitor re-entrant to reduce code madness. r=BenWa
2013-07-31 08:53:16 -04:00
Kartikaya Gupta
8a21c3e5f3
Bug 866232 - Break assumption of a single global root layer tree. r=BenWa, mattwoodrow
2013-07-30 14:03:43 -04:00
Kartikaya Gupta
e0f930eb52
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
6c95b81e60
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
01acbedef2
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
2435f93954
Bug 866232 - Extract a GetCurrentAsyncTransform method in APZC. r=BenWa
2013-07-30 14:03:41 -04:00
Kartikaya Gupta
28585ff1be
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
205f0b42a0
Bug 866232 - Add support for delaying APZC creation until the layer update. r=BenWa
2013-07-30 14:03:40 -04:00
Trevor Saunders
6b3c839046
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
123c3a85d6
Bug 890279 - Create ScrollInfoLayers for frames we want APZC support. r=kats
2013-07-02 11:16:05 -04:00
Kartikaya Gupta
bf6168ff9f
Bug 866265 - Add tests for the transformation equations in APZC. r=BenWa
2013-07-08 15:53:51 -04:00
Trevor Saunders
6be251fe42
bug 886526 - disallow MODULE_NAME and IS_COMPONENT for makefiles in libxul r=bsmedberg
2013-06-25 11:15:21 -04:00
Benoit Girard
bc2d13d376
Bug 775459 - Implement hit testing on layer tree + tests. r=kats
...
--HG--
extra : rebase_source : c596cc4c4dd9810319830ec8105a5e251e9b0ddb
2013-07-02 12:27:17 -04:00
Brian O'Keefe
9d0dec8408
Bug 885019 - Move GTEST_CPPSRCS, GTEST_CMMSRCS, and GTEST_CSRCS to moz.build as GTEST_CPP_SOURCES, GTEST_CMM_SOURCES, and GTEST_C_SOURCES. r=gps
2013-06-22 10:33:31 -04:00
Ryan VanderMeulen
07fdc2a0d3
Backed out changeset 94c939eeb5f6 (bug 885019) for bustage.
2013-06-26 10:14:08 -04:00
Brian O'Keefe
357eafe1e0
Bug 885019 - Move GTEST_CPPSRCS, GTEST_CMMSRCS, and GTEST_CSRCS to moz.build as GTEST_CPP_SOURCES, GTEST_CMM_SOURCES, and GTEST_C_SOURCES. r=gps
2013-06-22 10:33:31 -04:00
Benoit Girard
cf6e7b3169
Bug 864441 - Add APZC tests. r=kats
2013-06-24 15:24:42 -04:00