Commit Graph

7180 Commits

Author SHA1 Message Date
Jonathan Kew
b606d6d74d bug 878674 - pt 1 - load Fennec bundled fonts directly from omnijar without copying them out to the filesystem. r=roc 2013-06-25 09:14:03 +01:00
Catalin Iacob
4f03e5bb1a Bug 798914 (part 5) - Use newly introduced mozilla::MallocSizeOf instead of nsMallocSizeOfFun. r=njn.
--HG--
extra : rebase_source : fc472490dd978d165f02f77ed37f07aed6e5bb61
2013-06-23 14:03:39 +02:00
Benoit Girard
cf6e7b3169 Bug 864441 - Add APZC tests. r=kats 2013-06-24 15:24:42 -04:00
Ryan VanderMeulen
69faa42ffb Merge m-c and inbound. 2013-06-24 14:02:59 -04:00
Justin Wood
c8ef983178 Bug 885855 - [Build bustage] gfx\2d\RadialGradientEffectD2D1.h(9) : fatal error C1083: Cannot open include file: 'd2d1_1.h': No such file or directory. r=gps, f=InvisibleSmiley, f=Bas
--HG--
extra : rebase_source : aea4bba00ffa4701315ff563f31be6425a439a23
2013-06-24 13:29:09 -04:00
Matt Woodrow
c68c9da465 Bug 871150 - Call IdentifyTextureHost on ImageBridgeChild so that we create appropriate textures for the compositor. r=nical 2013-06-24 17:28:22 +12:00
Matt Woodrow
48aa80f20f Bug 885573 - Stop forcing layers acceleration when we have OMTC enabled. r=nrc 2013-06-24 17:27:29 +12:00
Cameron McCormack
baadccc2ab Bug 885585 - Work around Quartz issue where a stroke with a dasharray whose gaps add up to zero does not render. r=vlad,longsonr 2013-06-23 15:10:44 +10:00
Phil Ringnalda
57f4aa815e Back out fd367ec484cf (bug 885585) for Windows reftest orange 2013-06-22 20:43:13 -07:00
Cameron McCormack
92d7e26aa1 Bug 885585 - Work around Quartz issue where a stroke with a dasharray whose gaps add up to zero does not render. r=vlad,longsonr 2013-06-23 12:36:23 +10:00
Phil Ringnalda
b462ad2131 Merge birch to m-c 2013-06-22 15:50:24 -07:00
Kartikaya Gupta
19f7d51c44 Bug 883646 - Initialize transform variables for non-Fennec codepaths. r=kentuckyfriedtakahe 2013-06-21 17:03:57 -04:00
Kartikaya Gupta
024410437b Bug 883646 - Scale the critical displayport by the widget scale as well. r=Cwiiis 2013-06-21 17:03:57 -04:00
Kartikaya Gupta
f39a3aa067 Bug 883646 - Update the ViewTransform class to have a LayoutToScreen scale factor. r=kentuckyfriedtakahe, BenWa 2013-06-21 17:03:57 -04:00
Kartikaya Gupta
e6d307eeca Bug 883646 - Propagate the ScaleFactor classes far and wide. r=kentuckyfriedtakahe 2013-06-21 17:03:56 -04:00
Kartikaya Gupta
90a16a9783 Bug 883646 - Fix zoom-to-rect code in APZC to use a proper definition of zoom. r=kentuckyfriedtakahe 2013-06-21 17:03:56 -04:00
Kartikaya Gupta
fa18ae8c8b Bug 883646 - Fix the zoom clamping in APZC and the resolution calculation. r=kentuckyfriedtakahe 2013-06-21 17:03:55 -04:00
Kartikaya Gupta
19a2597e70 Bug 883646 - Apply the mDevPixelsPerCSSPixel scaling factor in a few places. r=kentuckyfriedtakahe 2013-06-21 17:03:55 -04:00
Kyle Machulis
346c0ff7e2 Bug 885266: Fix wrong ifdef in ShadowLayersUtilsGralloc; r=kanru 2013-06-21 12:33:12 -07:00
Bas Schouten
9a59bfc1f7 Bug 883004 - Part 1: Add radial gradient effect code. r=jrmuizel 2013-06-21 05:53:23 +02:00
Bill McCloskey
d747da6b50 Bug 885100 - Need to call ReleaseTexture from CompositorOGL (r=nrc) 2013-06-20 18:04:53 -07:00
Ryan VanderMeulen
89cd9674cd Backed out 7 changesets (bug 883646) for reftest-ipc failures.
Backed out changeset 2272804a8e71 (bug 883646)
Backed out changeset e39d3bdf847a (bug 883646)
Backed out changeset bf46fc332efe (bug 883646)
Backed out changeset 6bb558c3136f (bug 883646)
Backed out changeset d7d5d16e27e0 (bug 883646)
Backed out changeset 14c73096a132 (bug 883646)
Backed out changeset 89f6185a271b (bug 883646)
2013-06-20 17:36:39 -04:00
Matt Woodrow
d6069876ed Bug 756601 - Enable OMTC by default on OSX 10.7 and 10.8. r=roc 2013-06-21 09:32:04 +12:00
Mike Hommey
a8858bb659 Bug 885985 - Missing format string in printf call in gfx/2d/unittest/TestBase.cpp. r=bas 2013-06-22 20:29:39 +09:00
Jeff Muizelaar
3bd854107b Bug 885020. Make Mask() use MaskSurface when drawing with EXTEND_NONE. r=bas
We can avoid the overhead of Mask() in situations where we are drawing with
a surface mask and EXTEND_NONE.

--HG--
extra : rebase_source : 578d1ab2de5dee536215ffccc5f80a907efb2140
2013-06-19 17:14:24 -04:00
Jeff Muizelaar
72a7ac139c Bug 885016. Avoid using uninitiated extend in gfxPattern. r=bas
This changes gfxPattern to use GraphicsExtend. All of the inputs and outputs
are GraphicsExtend so there's no point storing it in a type of ExtendMode. We
also intialize gfxPattern to EXTEND_NONE when constructing it for Azure.

--HG--
extra : rebase_source : 576a620b45d5222a5548dd79520537d52ed5659e
2013-06-19 17:06:42 -04:00
Jeff Muizelaar
2b16cfb484 Bug 885621. Fix gfxPattern::GetMatrix() with azure and add GetInverseMatrix(). r=bas
Currently SetMatrix will take the Inverse of the passed in matrix but GetMatrix
doesn't not invert it on the way out. This fixes that and adds a
GetInverseMatrix() so that we don't double invert it when we need the inverse.

--HG--
extra : rebase_source : 6bb2049ccee22c62b1825687ecd09ddd1aad8b2e
2013-06-21 14:55:24 -04:00
Kartikaya Gupta
c81853a96f Bug 883646 - Scale the critical displayport by the widget scale as well. r=Cwiiis 2013-06-20 16:10:59 -04:00
Kartikaya Gupta
f1493d9dae Bug 883646 - Update the ViewTransform class to have a LayoutToScreen scale factor. r=kentuckyfriedtakahe, BenWa 2013-06-20 16:10:58 -04:00
Kartikaya Gupta
bc7a93a250 Bug 883646 - Propagate the ScaleFactor classes far and wide. r=kentuckyfriedtakahe 2013-06-20 16:10:58 -04:00
Kartikaya Gupta
e62d2d67e2 Bug 883646 - Fix zoom-to-rect code in APZC to use a proper definition of zoom. r=kentuckyfriedtakahe 2013-06-20 16:10:57 -04:00
Kartikaya Gupta
396b2af0f0 Bug 883646 - Fix the zoom clamping in APZC and the resolution calculation. r=kentuckyfriedtakahe 2013-06-20 16:10:57 -04:00
Kartikaya Gupta
c2a7c58533 Bug 883646 - Apply the mDevPixelsPerCSSPixel scaling factor in a few places. r=kentuckyfriedtakahe 2013-06-20 16:10:57 -04:00
Tatiana Meshkova
2644c6aa00 Bug 876043 - Build for multi qt4/qt5 ubuntu environment. r=romaxa, r=glandium 2013-06-19 15:08:44 -07:00
Markus Stange
fb22daa8da Bug 875335 - When using OMTC, always recomposite when viewWillDraw is called because our WindowOverlay may have changed. r=mattwoodrow 2013-06-20 15:01:20 +02:00
Ed Morley
2302a6db27 Merge mozilla-central and inbound 2013-06-20 09:20:10 +01:00
Ed Morley
32d0858db7 Merge latest green birch changeset and mozilla-central 2013-06-20 09:01:19 +01:00
Brian O'Keefe
5f8b5163e8 Bug 875934 - Move LIBRARY_NAME to moz.build (batch #1); r=mshal
--HG--
extra : rebase_source : 385d3fd65475ffc18ee44ae088753649470e214b
2013-06-17 15:21:01 -04:00
Bas Schouten
178c9b506d Bug 878032 - Part 2: Factor out partial bitmap uploading and scaling. r=jrmuizel 2013-06-19 22:48:40 +02:00
Bas Schouten
339613f6ba Bug 878032 - Part 1: Factor out some simle none-RenderTarget dependent functions. r=jrmuizel 2013-06-19 22:48:40 +02:00
Ehsan Akhgari
87dd79fd6e Backed out 2 changesets (bug 878032) because of Windows build bustage
Backed out changeset 3cb61a7d5746 (bug 878032)
Backed out changeset 627c03f469d8 (bug 878032)

Landed on a CLOSED TREE
2013-06-19 17:35:21 -04:00
Bas Schouten
533345357e Bug 878032 - Part 2: Factor out partial bitmap uploading and scaling. r=jrmuizel 2013-06-19 22:48:40 +02:00
Bas Schouten
20fd8ab1d8 Bug 878032 - Part 1: Factor out some simle none-RenderTarget dependent functions. r=jrmuizel 2013-06-19 22:48:40 +02:00
Peter Chang
e251e1288e Bug 881460 - Drawing color of CrystallSkull is not correct in master. r=vlad, r=nrc 2013-06-11 18:14:33 +08:00
Bas Schouten
1a57f2aa38 Bug 883352 - With OMTC enabled on Metro Firefox, we crash when scrolling. r=jmuizelaar 2013-06-19 08:57:59 -04:00
Kan-Ru Chen (陳侃如)
18f8de225c Bug 783451 - Remove outdated FIXME comment. r=nrc,bent DONTBUILD
--HG--
extra : rebase_source : 374ea9d0259081dc532c1c64f168fbf95f6fe9eb
2013-06-19 17:11:25 +08:00
Jeff Muizelaar
f582fb2011 Bug 880836. Fix a typo caught by joe.
--HG--
extra : rebase_source : deabe5a79c8ac27497cfbeb42d5f98b7b882a7a3
2013-06-18 20:31:17 -04:00
Jeff Muizelaar
6fc104ba83 Bug 880836. Add MaskSurface() to Azure. r=bas
This gives a substantial performance improvement over the more general Mask():

Test (MaskSurface10x10):  1.93042ms +/- 0.305028
Test (MaskSurface100x100):  2.33435ms +/- 1.00807
Test (MaskSurface500x500):  28.0472ms +/- 0.820744
Test (MaskSurface1000x1000):  107.656ms +/- 6.44615
Test (Mask10x10):  13.5237ms +/- 0.0932034
Test (Mask100x100):  14.0742ms +/- 1.21005
Test (Mask500x500):  96.5596ms +/- 1.81415
Test (Mask1000x1000):  356.891ms +/- 9.30592

--HG--
extra : rebase_source : a3031305302fb4abe93aa480df35ed0936d68cd8
2013-06-12 23:57:51 -04:00
James Willcox
9ebe1f9867 Bug 883201 - Make SourceSurfaceSkia::GetData keep pixels alive as necessary r=gal 2013-06-18 12:49:05 -04:00
Ryan VanderMeulen
01296b90c1 Backed out changeset 8dcb029b9ca5 (bug 880836) for asserts.
CLOSED TREE
2013-06-18 12:08:19 -04:00
Jeff Muizelaar
f7aa0ef397 Bug 880836. Add MaskSurface() to Azure. r=bas
This gives a substantial performance improvement over the more general Mask():

Test (MaskSurface10x10):  1.93042ms +/- 0.305028
Test (MaskSurface100x100):  2.33435ms +/- 1.00807
Test (MaskSurface500x500):  28.0472ms +/- 0.820744
Test (MaskSurface1000x1000):  107.656ms +/- 6.44615
Test (Mask10x10):  13.5237ms +/- 0.0932034
Test (Mask100x100):  14.0742ms +/- 1.21005
Test (Mask500x500):  96.5596ms +/- 1.81415
Test (Mask1000x1000):  356.891ms +/- 9.30592

--HG--
rename : layout/reftests/svg/text/dynamic-non-scaling-stroke-ref.svg => layout/reftests/svg/non-scaling-stroke-03-ref.svg
rename : layout/reftests/svg/text/dynamic-non-scaling-stroke.svg => layout/reftests/svg/non-scaling-stroke-03.svg
extra : rebase_source : a1218b8bc5cdcec7d4dd94561d841fb6e2a8ce5d
2013-06-12 23:57:51 -04:00
Matt Woodrow
6d01a3cdf3 Bug 873944 - When we have OMTC, don't invalidate and wait for the widget paint event, just call DidPaint immediately. If we do get a widget paint event (from an OS initiated resize or similar), then block until the compositor has drawn the frame. r=roc 2013-06-18 19:59:29 +12:00
Matt Woodrow
c764b148d3 Bug 873944 - Add FlushRendering API to the compositor interface. r=nrc 2013-06-18 19:58:43 +12:00
Jonathan Kew
4f43e21bf5 bug 877203 - consistently use pixel-rounded values for maxAscent/Descent in the FT2 font metrics. r=roc 2013-06-18 07:50:02 +01:00
Benoit Girard
b31e09199e Bug 865824 - Add Layers unit test. r=milan
--HG--
extra : rebase_source : 18ac8eac6c2f35365fca6ecb518e78dba5a29544
2013-04-25 15:54:59 -04:00
James King
595a78c82d Bug 738869 - Implement OES_vertex_array_object. r=jgilbert 2013-06-17 16:17:59 -04:00
Matt Woodrow
220b14ec00 Bug 877534 - Use a shutdown listener to destroy the compositor from nsBaseWidget. r=roc
This prevents a case where the nsBaseWidget isn't destroyed until the cycle collector is shutdown,
and we are too late in the shutdown sequence to process the events that get queued during
Compositor teardown.
2013-06-17 14:50:32 +12:00
Matt Woodrow
8fea304dcb Bug 882590 - Fix invalid assertion when creating a SharedSurface_GLTexture without a consumer GLContext. r=jgilbert 2013-06-17 14:48:41 +12:00
Matt Woodrow
b28bde11a2 Bug 877949 - Restrict maximum texture size on nvidia cards on OSX 10.6 and 10.7 to 4096. r=bjacob 2013-06-17 14:46:53 +12:00
Jonathan Kew
4779580162 bug 881946 - update graphite2 library to release 1.2.3. r=jdaggett 2013-06-14 22:19:23 +01:00
Kartikaya Gupta
a53496f124 Bug 880676 - Remove ToCSSIntRectRoundIn and convert APZC::CalculateResolution to return a ScaleFactor. r=kentuckyfriedtakahe 2013-06-14 16:11:44 -04:00
Kartikaya Gupta
51f680d22e Bug 880676 - Convert WidgetSpaceToCompensatedViewportSpace to the new gfx types. r=kentuckyfriedtakahe 2013-06-14 16:11:32 -04:00
Kartikaya Gupta
94dd1b2c73 Bug 880676 - Replace a couple of Rect scaling functions with strongly typed operators. r=BenWa 2013-06-14 16:11:31 -04:00
Kartikaya Gupta
3c498464ed Bug 880676 - Introduce a ScaleFactor struct and use it to type conversions between units. r=BenWa,kentuckyfriedtakahe 2013-06-14 16:11:31 -04:00
Kartikaya Gupta
5ce3e1c211 Bug 880676 - Move the RoundToInt functions to be standalone in the gfx headers. r=BenWa 2013-06-14 16:11:31 -04:00
Kartikaya Gupta
35149c0bb7 Bug 880676 - Make the ViewTransform classes store the unscaled layer translation. r=BenWa 2013-06-14 16:11:30 -04:00
Kartikaya Gupta
d93f0bdac3 Bug 880676 - Convert some things in APZC::SampleContentTransformForFrame. r=kentuckyfriedtakahe 2013-06-14 16:11:29 -04:00
Kartikaya Gupta
6b45d7c64f Bug 880676 - Convert another gfx::Point to a ScreenPoint. r=BenWa 2013-06-14 16:11:29 -04:00
Kartikaya Gupta
aef5a03609 Bug 880676 - Correct the composition bounds to be in screen coordinates rather than layer coordinates. r=kentuckyfriedtakahe 2013-06-14 16:11:29 -04:00
Benoit Girard
b4ce70a8e0 Bug 844852 - Run GTest on make check. r=ted
--HG--
extra : rebase_source : dabb338ee02acf390dabf1cda8ed6d89f8857fdf
2013-04-25 13:56:43 -04:00
Anthony Jones
593c96b025 Bug 880932 - Fixed lack of response to APZC paint requests; r=BenWa
All paint requests get tagged with the current nsPresShellId. TabChild will
always trigger a response so APZC doesn't get left hanging.
2013-06-14 12:33:16 +12:00
Anthony Jones
50ba360467 Bug 880578 - Fix updating of scroll position; r=BenWa 2013-06-14 12:33:13 +12:00
Nicholas Cameron
f6d032217d Bug 866567. Mask layers for client container layers. r=mattwoodrow 2013-06-14 11:34:15 +12:00
Joe Drew
a9a4d2d5eb Bug 882173 - Build pixman with TLS support. r=jrmuizel 2013-06-12 16:05:39 -04:00
Nicholas Cameron
df35964b26 Bug 874855. Add some more security to attaching compositors to compositables. r=nical 2013-06-14 08:19:39 +12:00
Ehsan Akhgari
0cae3ba5bd Bug 579517 follow-up: Remove NSPR types that crept in 2013-06-12 21:26:59 -04:00
Ehsan Akhgari
5c7be7deb4 Bug 886185 - Remove two unused variables from TestMoz2D.cpp; r=BenWa 2013-06-24 10:57:19 -04:00
Benoit Girard
7853228760 Bug 844288 - Dual link libxul.so and libxul-unit.so and replace enable-gtest by enable-test r=ted,glandium
- Remove enable GTest
- Add a general target to create gtestxul
- Update mach target
- Run GTest from make check

--HG--
rename : gfx/2d/unittest/GTestMain.cpp => gfx/tests/gtest/TestMoz2D.cpp
rename : gfx/layers/TestTiledLayerBuffer.cpp => gfx/tests/gtest/TestTiledLayerBuffer.cpp
extra : rebase_source : 862c39b9145328c8e9f85ae9d1963af374af76f1
2013-03-11 14:47:40 -04:00
Benoit Girard
69f19300e6 Bug 775459 - Add layer border for scrollable container. r=joe 2013-06-12 14:25:17 -04:00
Guillaume Abadie
b5251e2b36 bug 843667 - implement WEBGL_draw_buffers and add the user preference webgl.enable-draft-extensions - r=bjacob 2013-06-21 19:44:17 -04:00
Ed Morley
4138b6a41f Backed out changeset 4290ee7475c1 (bug 864441) for compilation failures on a CLOSED TREE 2013-06-21 18:07:45 +01:00
Benoit Girard
9aaf661794 Bug 864441 - Add APZC tests. r=kats 2013-06-20 13:53:39 -04:00
Kartikaya Gupta
b1f533a64e Bug 879011 - Convert AsyncPanZoomController::ScrollBy to use templated gfx classes. r=kentuckyfriedtakahe 2013-06-11 18:13:11 -04:00
Kartikaya Gupta
fa8050e549 Bug 879011 - Convert nsIntPoint instances in InputData.h to types with units. r=kentuckyfriedtakahe 2013-06-11 18:13:11 -04:00
Kartikaya Gupta
72c1ef610f Bug 879011 - Turn some ints into floats to avoid rounding error. r=kentuckyfriendtakahe 2013-06-11 18:13:11 -04:00
Jonathan Kew
3cd56434ca bug 866033 - eliminate redundant function gfxFontUtils::CharRangeBit() and its supporting data. r=jdaggett 2013-06-12 13:08:53 +01:00
Jonathan Kew
b623f84556 bug 880690 - pt 3 - update the sanitizer check for the glyph index ranges. r=roc 2013-06-12 11:07:30 +01:00
Jonathan Kew
66049a0a86 bug 880690 - pt 1 - fix handling of glyph ID range in SVG glyph index entries. r=roc 2013-06-12 10:48:35 +01:00
Nicolas Silva
52b7170d0a Bug 875211 - Make the number of temporary compositor textures dynamic. r=bjacob 2013-06-12 11:05:06 +02:00
Martin Stransky
a32d506ac3 Bug 877626 - Port GTK2 to GTK3 - build config, gfx dir. r=karlt 2013-06-11 13:40:27 -04:00
Ryan VanderMeulen
dce9bc1e0d Merge m-c to inbound. 2013-06-11 10:41:06 -04:00
Kartikaya Gupta
1d2c4c97c5 Bug 785929 - Kill FrameMetrics.mContentRect. r=kentuckyfriedtakahe 2013-06-11 09:46:51 -04:00
Matt Woodrow
ab44f0173c Bug 867226 - Don't crash if we can't create a valid framebuffer. r=bjacob 2013-06-11 11:38:03 +12:00
Guillaume Abadie
b86d0dd632 Bug 879954 - Implement OES_texture_float_linear - r=bjacob 2013-06-10 16:00:52 -04:00
Ed Morley
a5fe50957e Merge mozilla-central and birch 2013-06-11 09:38:18 +01:00
Kyle Machulis
d90cdf598a Bug 871624 - gralloc in b2g doesn't work on the Nexus S [r=bjacob r=mwu] 2013-06-05 13:42:00 -07:00
Ryan VanderMeulen
52f3758e3b Merge m-c to inbound. 2013-06-10 12:26:38 -04:00
Kartikaya Gupta
66b11d043e Bug 877728 - Use a local variable instead of a ref to store a temporary. r=Ms2ger 2013-06-10 11:37:24 -04:00
Thomas Zimmermann
404ae4689c Bug 838995: Improve component swapping when reading texture in RGBA format r=vlad
The function SwapRAndBComponents spends a lot of time in the loops while
walking over the image data. This patch reworks the looping such that the
function only takes 75% of its original time.
2013-06-10 16:00:58 +02:00
Kartikaya Gupta
752fd9f999 Bug 879004 - Add types to the remaining methods in GeckoContentController. r=kentuckyfriedtakahe 2013-06-10 09:05:44 -04:00
Kartikaya Gupta
8eed7300fd Bug 879004 - Convert the async scroll offset fields in APZC.h to CSSPoints. r=kentuckyfriedtakahe 2013-06-10 09:05:44 -04:00
Kartikaya Gupta
09fbbbf606 Bug 879004 - Cleanups for consistency; no functional changes. r=BenWa, ketuckyfriedtakahe 2013-06-10 09:05:43 -04:00
Kartikaya Gupta
480d3251f0 Bug 879004 - Change FrameMetrics.mViewport to be a CSSRect. r=BenWa 2013-06-10 09:05:43 -04:00
Kartikaya Gupta
9b6d544096 Bug 879004 - Move template methods to header file. r=BenWa 2013-06-10 09:05:43 -04:00
Kartikaya Gupta
8cf123d18d Bug 879004 - Convert mDisplayport and mCriticalDisplayport in FrameMetrics to CSSRects. r=BenWa 2013-06-10 09:05:42 -04:00
Matt Woodrow
949de08277 Backout Bug 861805 for causing Bug 871729. rs=roc 2013-06-10 12:13:10 +12:00
Ryan VanderMeulen
4dc928a360 Merge m-c to inbound. 2013-06-07 15:28:41 -04:00
Daniel Holbert
c7f5977137 Bug 880662 - Remove unused variable from YCbCrImageDataDeserializerBase::IsValid(). r=nical 2013-06-07 15:21:50 -04:00
Sotaro Ikeda
cefbc254da Bug 880268 - Handle default pixel format in BytesPerPixelForPixelFormat(). r=vlad 2013-06-07 12:05:03 -04:00
Daniel Holbert
aeea3813af back out ac18c74b3a2c (Bug 874736) since it was independently fixed elsewhere 2013-06-07 08:16:45 -04:00
Ryan VanderMeulen
5d668fe5f6 Merge m-c to inbound. 2013-06-07 08:01:37 -04:00
Ryan VanderMeulen
8432dd8da6 Merge m-c to birch. 2013-06-06 15:20:09 -04:00
Michael Wu
8644c6a810 Bug 880095 - ShadowLayerUtilsGralloc.cpp uses pixel formats removed on gonk-JB, r=vlad 2013-06-06 14:01:30 -04:00
James Willcox
91c353d366 Bug 848482 - Make SourceSurface work with SkiaGL r=mattwoodrow
--HG--
extra : rebase_source : ef4a315401edfad5e574ffd387c9951b12f1e9d7
2013-06-06 10:58:45 -04:00
Karl Tomlinson
3f51c42b11 b=810252 remove default-unused Pango shaping code r=jfkthame
--HG--
extra : transplant_source : %19%97%F6%D5%F7h%1D-Yg%D6%08%226h%BE%D3%E4%12%22
2013-06-06 15:21:40 +12:00
Nicholas Cameron
f343abae2a Bug 880441. Fix erroneous assertion with double buffering; r=mattwoodrow 2013-06-07 20:52:23 +12:00
Matt Woodrow
216f53a34a Bug 879149 - Don't attempt to use ContentClientIncremental when not using GL layers. r=nrc 2013-06-07 17:10:31 +12:00
Jeff Gilbert
1f854cb413 Bug 876721 - Allow for failing during creation of ANGLE ShSurf. - r=bjbas 2013-06-06 13:56:15 -07:00
Jeff Gilbert
60923ee14b Bug 878365 - Fallback to Basic ShSurf as needed, not permanently. - r=bjacob 2013-06-06 13:56:12 -07:00
Arnaud Sourioux
03e5646d73 Bug 874736 - Annotate "using CompositableHost::EnsureTextureHost;" to fix warnings with -Woverloaded-virtual in gfx/layers/composite. r=nical 2013-06-06 12:42:57 -04:00
Nicholas Cameron
e856edd560 Bug 862952, Re-enable Composer2D after layers refactoring. r=bjacob,f=diego
--HG--
extra : rebase_source : eb394b6a7157b399d2e67baf695e9684835bbfcf
2013-06-06 10:14:51 +12:00
Benoit Girard
c29751a829 Bug 879916 - Remove gfxTestCocoaHelper. r=joe DONTBUILD as NOPTB for obsolete files on a CLOSED TREE 2013-06-05 16:23:26 -04:00
Ehsan Akhgari
788d65e368 Backed out changeset ae2b07dfd3d0 (bug 875218) because of build bustage on a CLOSED TREE 2013-06-05 14:54:43 -04:00
George Wright
94923e6b15 Bug 874682 - Ensure SkThread_pthreads is built on platforms which use pthreads r=bjacob 2013-05-29 18:47:59 -04:00
George Wright
f71f7293a2 Bug 875218 - Ensure the GrContext's lifetime is managed properly by DrawTargetSkia r=bjacob 2013-05-29 14:04:25 -04:00
Vladimir Vukicevic
903320a647 b=843599; use gralloc buffers for WebGL streaming on B2G; r=nical,jgilbert,jrmuizel 2013-05-27 10:12:13 -04:00
Jonathan Kew
f2be763bd2 bug 875629 - handle UTF-16 surrogate pairs in the SVG-in-OpenType glyphchar attribute. r=roc 2013-06-05 12:34:48 +01:00
Timothy Nikkel
d38e381feb Bug 879494. Remove bug685516 annotations from reftests, they are not needed anymore. r=khuey 2013-06-05 00:18:54 -05:00
David Zbarsky
0e1d99b9e0 Bug 788549 Part 13: Sample animations on shadow layers update in testing mode r=roc 2013-06-04 20:11:56 -07:00
Jeff Gilbert
d6a23b5cdc Bug 874823 - Support unknown consumer for ShSurf_GLTex. - r=mattwoodrow 2013-06-04 17:05:28 -07:00
Jeff Gilbert
c8881f9564 Bug 875696 - Disable oes_standard_derivatives for Adreno 320 for being broken. - r=bjacob 2013-06-04 15:23:40 -07:00
Nicolas Silva
801ed20893 Bug 875211 - fix windows build on a CLOSED TREE 2013-06-04 21:08:15 +02:00
Nicolas Silva
c9a158b2e5 Bug 875211 - fix build on a CLOSED TREE 2013-06-04 21:02:52 +02:00
Nicolas Silva
11575bb513 Bug 875211 - use one global gl texture per texture unit rather than one per GrallocTextureHostOGL. r=bjacob 2013-06-04 20:44:37 +02:00
David Zbarsky
4e666d420d Bug 779395 - Add support for skew transforms to compositor-driven animations r=dbaron 2013-05-21 18:22:44 +08:00
Nicholas Cameron
88238a55e8 Bug 863635. Make gfxPlatform smarter about when we can use Moz2D for content rendering r=Bas 2013-05-28 10:04:37 +12:00
Nicholas Cameron
5d63f21d00 Bug 878522. Don't permit Azure/content/Cairo on Linux. r=kentuckyfriedtakahe 2013-06-04 17:18:27 +12:00
Bas Schouten
a2627198c4 Bug 829954 - Part 2: Check for allocation success inside AlphaBoxBlur::Blur. r=jrmuizel 2013-06-04 03:13:53 +02:00
Bas Schouten
0bdbcac645 Bug 829954 - Part 1: Make AlignedArray fallible. r=jrmuizel 2013-06-04 03:13:53 +02:00
Kartikaya Gupta
390f0e432f Bug 877728 - Make the screen render offset a ScreenPoint. r=BenWa 2013-06-03 10:00:02 -04:00
Kartikaya Gupta
7a734ca654 Bug 877728 - Convert the page rect passed to SetFirstPaintViewport to LayerIntRect. r=BenWa 2013-06-03 09:58:34 -04:00
Kartikaya Gupta
87e727d3cd Bug 877728 - Convert a couple of nsInt* variables to LayerInt*. r=BenWa 2013-06-03 09:58:07 -04:00
Kartikaya Gupta
ad6e359f34 Bug 877728 - Convert the scroll offset out-param to SyncViewportInfo from nsIntPoint to ScreenPoint. r=BenWa
Also deletes a bunch of dead code, and makes some variables local
variables instead of member variables since they are only used in
a single function and don't need to be persisted.
2013-06-03 09:53:32 -04:00
Kartikaya Gupta
e1db212150 Bug 877728 - Convert some CSS rects passed to Java from gfx::Rect to CSSRect. r=BenWa 2013-06-03 09:52:44 -04:00
Nicholas Cameron
8d864dd1dc Bug 876661. Fix function hidden warnings. r=mattwoodrow
--HG--
extra : rebase_source : d008e636467c573723bc7de9cd0e13262d4ee9c1
2013-05-31 16:36:19 +12:00
Milan Sreckovic
80778bc74f Bug 876208: only evaluate the preference for gfx.direct2d.* once, and require restart before any further changes to the preferences take effect in the code, r=bas 2013-05-30 16:53:37 -04:00
Connor Behan
9d20f65d5f Bug 722975: Unbreak builds using --with-system-cairo. r=bas 2013-06-01 00:23:05 +02:00
David Zbarsky
c0f443c23f Bug 788549 Part 10: Fix RecvGetTransform to handle scale animations correctly r=roc 2013-05-31 11:06:57 -07:00
Phil Ringnalda
c6b0156488 Merge m-c to a CLOSED TREE m-i 2013-05-31 07:41:20 -07:00
Phil Ringnalda
29fb49d007 Back out dc76402b8471 (bug 844288) on suspicion of breaking dep builds
CLOSED TREE
2013-05-31 07:39:56 -07:00
Kartikaya Gupta
99a4283e34 Bug 877726 - Convert FrameMetrics.mScrollOffset to be a CSSPoint. r=kentuckyfriedtakahe 2013-05-30 21:30:13 -04:00
David Zbarsky
4c9888e06b Bug 788549 Part 7: Make RecvGetTransform() return the untranslated transform since that is what getComputedStyle returns r=roc 2013-05-30 17:45:17 -07:00
Anthony Jones
a97740f473 Bug 831237 - Reduce APZC buffer churn; r=BenWa
Prevents the display port from getting smaller as the visible region
approaches the edges of the scrollable rect.
2013-05-28 16:17:09 +12:00
Nicolas Silva
e67255b9a8 Bug 868946 - Make GrallocTextureHostOGL not crash when it doesn't have a GL context. r=bjacob 2013-05-07 16:19:15 -04:00
Benoit Girard
6adb6cba1f Bug 844288 - Dual link libxul.so and libxul-unit.so and replace enable-gtest by enable-test r=ted,glandium
- Remove enable GTest
- Add a general target to create gtestxul
- Update mach target
- Run GTest from make check

--HG--
rename : gfx/2d/unittest/GTestMain.cpp => gfx/tests/gtest/TestMoz2D.cpp
rename : gfx/layers/TestTiledLayerBuffer.cpp => gfx/tests/gtest/TestTiledLayerBuffer.cpp
extra : rebase_source : 5b9be0892323195d4e24f11ae785f0663ff38fd0
2013-03-11 14:47:40 -04:00
Chiajung Hung
fff321711e Bug 875246 - Ensure that UpdateTexture DispatchImageClientUpdate only dispatches if not in the ImageBridge thread. r=kchen
DispatchImageClientUpdate is a helper function to dispatch IPC message, only dispatch when not in the ImageBridge thread can improve responsibility.
2013-05-30 08:10:02 -04:00
Phil Ringnalda
68025a3c2f Back out 816311e43409 (bug 844288) on suspicion of causing dep OS X universal builds to fail in packaging
CLOSED TREE
2013-05-29 23:42:20 -07:00
Robert O'Callahan
cc51ef48ef Bug 868405. Support 'enabled' attribute on MediaStreamTrack. r=jesup
--HG--
extra : rebase_source : ec29ae2e45979baaf1b6a085549755ba86cadd40
2013-05-30 16:44:43 +12:00
Jonathan Kew
5e335bb455 bug 847344 followup - explicitly cast the AutoSwap type to avoid ambiguity r=roc 2013-05-20 11:33:16 +08:00
Kyle Huey
3cc4ccd2f5 Bug 876555: Avoid including xpcprivate.h in most generated dom binding code. r=bz 2013-05-30 11:15:31 +08:00
Matt Woodrow
82bb31726e Bug 877034 - Initialize MemoryImage to 0 to match the behaviour of Shmem. r=nical 2013-05-30 14:44:08 +12:00
Benoit Girard
9bd97dc15d Bug 844288 - Dual link libxul.so and libxul-unit.so and replace enable-gtest by enable-test r=ted,glandium
- Remove enable GTest
- Add a general target to create gtestxul
- Update mach target
- Run GTest from make check

--HG--
rename : gfx/2d/unittest/GTestMain.cpp => gfx/tests/gtest/TestMoz2D.cpp
rename : gfx/layers/TestTiledLayerBuffer.cpp => gfx/tests/gtest/TestTiledLayerBuffer.cpp
extra : rebase_source : 04c9c2efbc7db1c04c121cf3022612b488f83eb4
2013-03-11 14:47:40 -04:00
David Zbarsky
cab7c337c7 Bug 788549 Part 5: Add a function to get opacity and transform property values from layers r=roc 2013-05-29 17:38:27 -07:00
Jeff Gilbert
ea987c7dd2 Bug 877382 - Remove THEBES_API decorator. - r=BenWa 2013-05-29 14:59:24 -07:00
Chris Coulson
978a4888ab Bug 877110 - Fix format-security errors introduced by bug 867656. r=mattwoodrow 2013-05-29 19:26:41 -04:00
James Willcox
a71d3a5593 Bug 854556 - Only hold SkCanvas in DrawTargetSkia r=mattwoodword 2013-05-29 12:49:40 -04:00
Kartikaya Gupta
8d97eb65cb Bug 865735 - Add a units template parameter to the gfx Point, Size, and Rect classes. r=bas,roc 2013-05-29 09:32:30 -04:00
Jonathan Kew
4ee4e4da05 bug 876069 - update graphite2 library to release 1.2.2. r=jdaggett 2013-05-28 14:49:25 +01:00
Nicolas Silva
3d80aaa983 Bug 867656 - Part 2. Implement Dump for CompositableHost classes. r=mattwoodrow 2013-05-26 04:44:24 +02:00
Nicolas Silva
d73451b721 Bug 867656 - Part 1. Implement GetAsSurface for GL TextureHosts. r=bjacob 2013-05-26 04:43:43 +02:00
Bas Schouten
c2ad8ea605 Bug 843555 - Part 2: Optimize paint with operator source when there's no clip. r=jrmuizel 2013-05-28 14:12:30 +02:00
Bas Schouten
249badbf42 Bug 843555 - Part 1: Use a content texture client for Canvas. r=nical 2013-05-28 14:12:01 +02:00
David Zbarsky
8afdf30279 Bug 788549 Part 4: Add the ability to pause and sample animations on compositors at a specified time r=roc 2013-05-27 16:47:45 -07:00
David Zbarsky
98d3a0b99a Backed out changeset 6c1cf4694a13 for not building on windows and android 2013-05-27 17:14:33 -07:00
David Zbarsky
02c736e319 Bug 788549 Part 4: Add the ability to pause and sample animations on compositors at a specified time r=roc 2013-05-27 16:47:45 -07:00
Mike Shal
994cfe0b6b Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Markus Stange
e2c9b54971 Bug 876256 - Restore the previous scissor rect at the end of CompositorOGL::DrawQuad. r=mattwoodrow 2013-05-27 14:48:15 +02:00
Stephen Pohl
0cf8e74945 Bug 869314: Fix missing dropmarkers in non-native styled combobox controls when overlay scrollbars are used. r=roc 2013-05-26 15:05:10 -07:00
Stephen Pohl
2acc2dfcba Back out bug 869314 for missing r='s. 2013-05-26 15:00:17 -07:00
Stephen Pohl
e41e125889 Bug 869314: Fix missing dropmarkers in non-native styled combobox controls when overlay scrollbars are used. 2013-05-26 14:40:16 -07:00
Jonathan Kew
f092eb387c backout changesets d8f3694dd6df (bug 871961 pt 2) and b77d5e403c3d (bug 871961 pt 4) for making the browser crashy. r=me 2013-05-25 21:06:59 +08:00
Chris Lord
56ccb7b5b7 Bug 870055 - Fix AsynPanZoomController continuing movement when touch point doesn't move. r=kats 2013-05-24 15:53:58 +01:00
Aryeh Gregor
18866d81dc Bug 867101 - Fix more implicit conversion to already_AddRefed; r=Ms2ger 2013-04-28 14:52:10 +03:00
Anthony Jones
015375f697 Bug 868047 - Use a PresShell ID to eliminate stale APZC events; r=roc,benwa 2013-05-24 09:43:36 +08:00
Nicolas Silva
f47be48b4f Bug 874726 -split ShmemYCbCrImage into YCbCrImageDataSerializer and YCbCrImageDataDeserializer. r=jrmuizel
--HG--
rename : gfx/layers/ipc/ShmemYCbCrImage.cpp => gfx/layers/YCbCrImageDataSerializer.cpp
rename : gfx/layers/ipc/ShmemYCbCrImage.h => gfx/layers/YCbCrImageDataSerializer.h
2013-05-23 09:17:10 +02:00
Jonathan Kew
0980c2cd57 bug 871961 pt 4 - on xpcom-shutdown notification, release any SVG-glyphs documents held by fonts. r=roc 2013-05-22 23:48:55 +08:00
Markus Stange
67e8c4fec5 Bug 861332 - Ensure that the drawing rect used for DrawWindowOverlay doesn't depend on the window's position on the screen, so that for example the 10.6 window resizer is drawn in the correct place. r=mattwoodrow
--HG--
extra : rebase_source : d47ea3f871a619bfab065dd0eddb74d8c309fed1
2013-05-22 11:42:49 +02:00
Jeff Gilbert
e05a3d5cbe Bug 859608 - Flush GL on overdraw on Tegra devices. - r=bjacob 2013-05-22 00:05:38 -07:00
Matt Woodrow
bb67ab0a14 Bug 874369 - Use normal memory instead of Shmem when only sharing between processes. r=Bas 2013-05-22 15:04:12 +08:00
Jonathan Kew
7160043c3a bug 874349 - cached webfonts that were loaded in private browsing mode should not leak out to normal windows. r=ehsan,roc 2013-05-22 14:42:30 +08:00
Matt Woodrow
1134362932 Backout 85d108f0b422 (bug 874369) for causing b2g reftest failures. 2013-05-22 13:18:19 +08:00
Jonathan Kew
b95f14bee7 bug 862222 pt 2 - empty the webfont cache in response to cacheservice:empty-cache notification. r=roc 2013-05-22 12:39:47 +08:00
Jonathan Kew
676e01f94f bug 862222 pt 1 - bypass the webfont cache when force-reloading the page. r=roc 2013-05-22 12:39:39 +08:00
Matt Woodrow
ce8fcc565c Bug 874369 - Use normal memory instead of Shmem when only sharing between processes. r=Bas 2013-05-22 11:36:39 +08:00
Matt Woodrow
2c3b027765 Bug 874370 - Make ContentClientIncremental use a no-swap transaction. r=nical 2013-05-22 11:36:38 +08:00
Matt Woodrow
14e553db2b Bug 874367 - Release TextureUpdateRequest memory in the destructor to prevent leaks. r=nical 2013-05-22 11:36:38 +08:00
Ryan VanderMeulen
26a69bd344 Backed out changesets 619cdf937af1 and 381492b19e3f (bug 869314) for Windows mochitest failures.
CLOSED TREE
2013-05-21 10:13:25 -04:00
Ed Morley
a8ea0bbb16 Backed out changeset 1d056bb94292 (bug 779395) for reftest failures on Tegras 2013-05-21 14:03:43 +01:00
Stephen Pohl
79f83908c9 Bug 869314 - Fix missing dropmarkers in non-native styled combobox controls when overlay scrollbars are used. r=roc 2013-05-21 08:27:14 -04:00
David Zbarsky
61bdbeaa88 Fix an incorrect comment, no bug, r=me 2013-05-21 18:22:45 +08:00