Commit Graph

11200 Commits

Author SHA1 Message Date
pchang@mozilla.com
e156d1a1d8 Bug 796722 - Send screen update when there is only rotation changed event happened. r=roc 2012-11-06 17:11:43 +08:00
Jonathan Kew
a294160dcc bug 816483 - cache instantiated user fonts and share them across pages that use the same resources. r=roc 2012-12-10 09:31:07 +00:00
Steve Singer
d7d49d78c3 Bug 817356. the skia image resizers need to respect endian order when finding the alpha values. r=joedrew 2012-12-09 21:20:41 +01:00
Ed Morley
2f3183fde3 Backout 55d5f3cd5c85, d89ae7f40549 & 270391fca858 (bug 663776) for assertions 2012-12-07 12:37:36 +00:00
Robert O'Callahan
ed26918aaa Bug 663776. Part 3: Refactor layer transform snapping to distinguish translation-snapping from rect-snapping, and don't snap translation+scale transforms when we don't know all four edges of the rect that needs to be snapped. r=mattwoodrow
This separates SnapTransform into SnapTransformTranslation, which just snaps translations
and nothing else, and SnapTransform, which snaps translation+scale of rectangles.
2012-12-07 12:58:13 +13:00
Robert O'Callahan
5bac7c566d Bug 663776. Part 2: Move TransformRectToRect from nsCSSRendering to gfxUtils. r=mattwoodrow 2012-12-07 12:58:13 +13:00
Matt Woodrow
01f8a59a96 Bug 791644 - Refactor nsDisplayTransform::GetResultingTransformMatrix into two functions with less optional parameters. r=roc 2012-09-18 10:34:21 +12:00
Chris Lord
f192c200fc Bug 818169 - Add a pref to configure resolution of low precision buffer. r=bgirard 2012-12-05 17:10:41 +00:00
Nicolas Silva
5ae5211f6b b=811730 - Take skip into account when copying video frames into shared memory. r=cpeterson 2012-12-04 11:36:33 +01:00
Ryan VanderMeulen
e350083f53 Backed out changeset 65f06a1e7b1b (bug 799401) for Windows build bustage. 2012-12-04 21:43:52 -05:00
Tobias Netzel
a8f635d832 Bug 818004 - New Blurring code isn't big endian compatible. r=joedrew 2012-12-04 21:00:39 -05:00
Anthony Jones
f2916335d3 Bug 799401 - Throttle APZC paint requests. r=cjones 2012-12-04 21:00:38 -05:00
Bas Schouten
0c1dad40d2 Bug 789933: Support non-D2D targets for getting a Path off ScaledFontDWrite. r=nrc 2012-12-05 01:11:02 +01:00
Nicholas Cameron
413fea71f6 Bug 814828. DEST_OUT has no affect outside the source; r=bas
--HG--
extra : rebase_source : 098f3e3e64ba5504530264016d7fa9425c065f99
2012-12-05 13:02:52 +13:00
Chris Lord
c36b428346 Bug 818025 - Fix BasicTiledThebesLayer fast path. r=bgirard
When disabling low precision and progressive rendering, BasicTiledThebesLayer
takes a fast path that avoids a lot of region operations, transformation and
iterations. Unfortunately, it also forgets to check if the mask layer exists
before trying to draw it, which causes an immediate crash in most cases.
2012-12-04 15:24:24 +00:00
Mats Palmgren
924e59e0d0 Bug 817574 - Replace NS_ABS with std::abs. r=roc 2012-12-04 13:33:33 +01:00
Chris Jones
61c95ce59c Bug 813372: Guard against TiledTextureImage with dimensions of 0. r=mattwoodrow a=blocking-basecamp 2012-12-04 00:39:21 -08:00
Tobias Netzel
402385fd80 Bug 817045 - Note and patch in gfx/cairo. r=jmuizelaar 2012-12-03 20:26:16 -05:00
Tobias Netzel
87abbd02db Bug 817045 - Enable libpixman VMX acceleration. r=jmuizelaar 2012-12-03 20:26:16 -05:00
Joe Drew
e55d6da2f5 Bug 813090 - Fix license block on imported Chromium code. r=gerv 2012-12-03 18:04:22 -05:00
Chris Jones
b66feb6e56 Bug 813356: Skip subtrees with null roots during resolution. r=roc a=blocking-basecamp 2012-12-03 12:45:42 -08:00
Mats Palmgren
12d75f8fb4 Bug 817459 - Include mozilla/mozalloc.h when needed to avoid link errors. r=tbsaunde 2012-12-03 20:53:27 +01:00
Anthony Jones
58cf321b9c Bug 798194 - Fix problem with resizing the composition bounds. r=roc 2012-12-02 20:33:53 -05:00
Trevor Saunders
97fe774225 bug 801466 - part 2 remove usage of prmem in gfx/ r=jmuizelaar 2012-12-02 15:33:59 -05:00
Chris Lord
64f87da2cf Bug 814437 - Address review comments that were missed. r=bgirard
In my haste, I forgot to address review comments before pushing. This
corrects indentation in PanningPerf.java, moves GetValidLowPrecisionRegion from
Layer to TiledLayerComposer and corrects checkerboard measurement when there
isn't a low precision buffer and when the display ports don't cover the screen.
2012-11-30 23:11:37 +00:00
Ehsan Akhgari
0419d82de3 Backed out changeset 5368aced79b3 (bug 814437) because it breaks Android builds 2012-11-30 15:41:08 -05:00
Chris Lord
6d77e6f162 Bug 814437 - Address review comments that were missed. r=bgirard
In my haste, I forgot to address review comments before pushing. This
corrects indentation in PanningPerf.java, moves GetValidLowPrecisionRegion from
Layer to TiledLayerComposer and corrects checkerboard measurement when there
isn't a low precision buffer and when the display ports don't cover the screen.
2012-11-30 19:52:17 +00:00
Daniel Holbert
2dde075af9 Bug 816885: Guard GetDisplayportCoverage() in LayerManagerOGL.cpp with #ifdef MOZ_ANDROID_OMTC, since it's only used in #ifdef-guarded code. r=Cwiiis 2012-11-30 09:59:00 -08:00
Michael Wu
cdd4879e5b Bug 774458 - Only send clicks on confirmed single taps, r=cjones 2012-11-29 21:26:11 -05:00
Matt Woodrow
6d2e1e3a69 Bug 810302 - Don't try to draw layers with a singular transform on BasicLayers. r=roc 2012-11-30 11:11:04 +13:00
Boris Zbarsky
9a39de6d40 Bug 815671 part 4. Remove some array copying in gfx code. r=roc 2012-11-29 11:14:13 -05:00
Chris Lord
774deb4cea Bug 814864 - Reconcile frame resolution difference in layer rendering. r=bgirard
Reconcile the difference when rendering a buffer that has a different frame
resolution to the primary buffer. This is handy for low precision buffers that
are updated at a different rate to primary buffers.
2012-11-29 13:08:41 +00:00
Chris Lord
10015d52a1 Bug 814864 - Do high precision updates before low precision updates. r=bgirard
Rather than interleaving high and low precision updates, do low after high.
This patch also refactors the code somewhat so that we don't needlessly
recalculate the values required for repeated transactions.
2012-11-29 13:08:40 +00:00
Chris Lord
53958037df Bug 814437 - Fix checkerboard measurement when using a critical displayport. r=bgirard
The checkerboard measurement depended on the displayport coverage of the
viewport, which was calculated in LayerRenderer. When using a critical
displayport, this value changes, but this was not being accounted for.

We have all the context we need for this Gecko-side, so move this code into
LayerManagerOGL::ComputeRenderIntegrity and account for displayport coverage
correctly.
2012-11-29 12:03:38 +00:00
Chris Lord
7d410314ef Bug 814437 - Count low precision rendering 0.5x towards checkerboarding. r=bgirard 2012-11-29 12:03:27 +00:00
Benjamin Chen
261e6627b6 Bug 804985 - [browser] don't try to zoom out wider than the page width r=cjones
1. bring the zoom factor into BrowserElementScrollng.js
2. fix the zoom ratio in AsyncPanZoomController::ZoomToRect
3. fix the relation between _isRectZoomedIn and AsyncPanZoomController::ZoomToRect
4. zoom it out if the rect reach the device maximal zoom ratio
2012-11-28 17:18:12 +08:00
Cervantes Yu
1203283ade Bug 806596 - Don't fire double tap if the delayed task to timeout the 1st tap fails to run in time. r=roc 2012-11-28 22:46:50 -05:00
Mats Palmgren
ae5054469e Bug 815489 - Don't let Blur() swap mData since the buffer is also used by the image surface. r=roc 2012-11-28 19:55:36 +01:00
Nicholas Nethercote
65cbbd034d Bug 711901 - When possible, measure, don't compute, the size of imgFrame::mImageSurface. r=joedrew.
--HG--
extra : rebase_source : 72dc61c2618166262ec6d83778d7bd2a3a7b5d61
2012-11-26 16:29:56 -08:00
Jeff Gilbert
a9a0fc4866 Bug 811958 - Move TextureImage into its own files - r=bgirard 2012-11-26 14:23:27 -08:00
Jeff Gilbert
601bff1c6f Bug 811958 - Fix and move ShateType type - r=bgirard 2012-11-26 14:23:27 -08:00
Jeff Gilbert
65a2d009d3 Bug 811958 - Pull GLContext out of Cocoa stuff - r=bgirard 2012-11-26 14:23:27 -08:00
Jeff Gilbert
1039582660 Backed out csets 807f2c3df974, 1637c39b4ed6, ec29e09a270e (bug 811958) for burning android 2012-11-26 13:48:20 -08:00
Jeff Gilbert
e744903408 Bug 811958 - Move TextureImage to its own files - r=bgirard 2012-11-26 12:51:58 -08:00
Jeff Gilbert
f8b6d7d465 Bug 811958 - Fix and move ShareType type - r=bgirard 2012-11-26 12:51:57 -08:00
Jeff Gilbert
8695ebcda9 Bug 811958 - Pull GLContext out of Cocoa stuff - r=bgirard 2012-11-26 12:51:57 -08:00
Oleg Romashin
13c706ad44 Bug 814979 - Fennec build fails with Mer SDK: invalid inclusion of GLXLibrary.h. r=glandium,mattwoodrow 2012-11-26 00:08:22 -08:00
Brian R. Bondy
6247c94cd0 Bug 793719 - Fix for D2D error on shutdown with VS2012. r=bas 2012-11-25 14:00:31 -05:00
Joe Drew
fe7f705923 Bug 813124 - Make Cairo's image surface correctly handle having multiple clip paths set on the context. r=jrmuizel,roc 2012-11-23 11:57:10 -05:00
George Wright
05131526b2 Bug 751418 - Move common functions from DrawTargetSkia to HelpersSkia r=mattwoodrow 2012-10-16 17:16:45 -04:00