Commit Graph

2148 Commits

Author SHA1 Message Date
Kartikaya Gupta
c2a7c58533 Bug 883646 - Apply the mDevPixelsPerCSSPixel scaling factor in a few places. r=kentuckyfriedtakahe 2013-06-20 16:10:57 -04: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
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
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
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
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
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
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
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
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
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
Nicolas Silva
52b7170d0a Bug 875211 - Make the number of temporary compositor textures dynamic. r=bjacob 2013-06-12 11:05:06 +02: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
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
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
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
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