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