Jeff Muizelaar
95453f865d
Bug 822143. Remove unused pattern from CreateSamplingRestrictedDrawable. r=mstange
...
Seems this got left behind when converting to gfxDrawable in bug 572680.
--HG--
extra : rebase_source : 48fcd3ec1307539b2d587a44e245359fabcd9de5
2012-12-17 15:08:40 -05:00
Julian Seward
3bce45872a
Bug 821395 - Uninitialised value use in gfxUtils::GetYCbCrToRGBDestFormatAndSize r=nical
2012-12-17 12:21:56 +01:00
Matt Woodrow
aac3d85f58
Bug 820061 - Clamp layer scale factors to inverse powers of 2 as well. r=roc
2012-12-17 17:30:51 +13:00
Ting-Yuan Huang
daa4759375
Bug 815473 - Replace runtime computed sUnpremultiplyTable/sPremultiplyTable with constants. r=roc
2012-12-16 19:20:01 -05:00
Kartikaya Gupta
5ed801d300
Bug 818060 - Add a memory reporter for graphics textures. r=BenWa,njn
2012-12-16 19:16:26 -05:00
Jeff Walden
120886ca73
Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger
2012-12-14 18:58:45 -05:00
Ed Morley
44da20404d
Backout 09d66d9ccb2e (bug 818060) for build failures on Windows
2012-12-13 17:17:12 +00:00
Kartikaya Gupta
555f703aa1
Bug 818060 - Add a memory reporter for graphics textures. r=njn,BenWa
2012-12-13 11:38:37 -05:00
Bas Schouten
59113e4e98
Bug 814952: Further cleanup state management surrounding paths and pathbuilders. r=joedrew
2012-12-13 16:34:51 +01:00
Edwin Flores
908e13aa20
Bug 803394 - Add image type for RGB images in shared memory r=nical
...
--HG--
extra : rebase_source : 3be9bbbcf827c0796d7b0a39724f3372ac080632
2012-12-13 11:47:28 +13:00
Ehsan Akhgari
89b2a80954
Backed out 2 changesets (bug 814952) because it breaks the build
...
Backed out changeset 974417414266 (bug 814952)
Backed out changeset 315707349606 (bug 814952)
2012-12-12 16:16:35 -05:00
Bas Schouten
e7a8b3b796
Bug 814952: Further cleanup state management surrounding paths and pathbuilders. r=jrmuizel
2012-12-12 21:37:09 +01:00
Rik Cabanier
e415179e91
Bug 748433: Adds support for blending to the canvas globalCompositeOperator. r=jrmuizel
2012-12-12 21:28:17 +01:00
Rik Cabanier
def515871e
Bug 809927: Add new blend modes and implement them for Direct2D. r=bas
2012-12-12 21:28:17 +01:00
Justin Lebar
f59a238e0b
Bug 820540 - Build more things with -funwind-tables when DMD is enabled on ARM. r=glandium
...
This allows our backtraces to trace into more files.
As part of this fix, fix typo in gfx/cairo/cairo/src/Makefile.in introduced in bug 785422.
2012-12-12 11:15:35 -05:00
Jonathan Kew
5ed0d42bd7
bug 820707 - consistently set familyHasItalic flag on GDI font entries, to avoid referring back to the family during font instantiation. r=roc
2012-12-12 14:09:50 +00:00
Robert O'Callahan
fae9165b76
Bug 663776. Part 0.5: Mark layers that could have their transforms changed via off-main-thread animations or empty transactions, and treat all ThebesLayerOGL descendants of such layers as potentially resampled so that their buffers are put into the correct state and size. r=mattwoodrow
...
--HG--
extra : rebase_source : d3c78cc61f1a3d5f12dedb57180371b41b1647f6
2012-12-12 18:21:23 +13:00
Shih-Chiang Chien
551b1dede5
Bug 814252 - use touch event for scrolling if available. r=cjones.
2012-11-28 13:51:50 +08:00
Mats Palmgren
4a453b2f3b
Bug 820230 - Move PaintSVGGlyph and GetSVGGlyphExtents from nsContentUtils to nsSVGUtils. r=roc
2012-12-12 00:15:07 +01:00
Benoit Jacob
72594565fa
Bug 805814 - import ANGLE r1317 (only that revision) - r=jgilbert
2012-12-11 16:57:30 -05:00
Benoit Jacob
e1e4bb7a0f
Bug 814716 - correct the way that we tweak max sizes - r=jgilbert
2012-12-11 16:57:30 -05:00
Bill Gianopoulos
1e198b525f
Bug 814716 - Limit MaxCubeMapTextureSize for Nouveau to 2K - r=jgilbert
2012-11-26 18:21:39 -05:00
Nicholas Cameron
c54f8d4754
Bug 780692; throttle OMTA (rollup patch). r=dbaron,bz
...
--HG--
extra : rebase_source : 1207275df5c509ac1974e2b9333c738b995f9d5e
2012-12-12 10:12:43 +13:00
Ed Morley
7980450712
Backout 2044222a3f1d (bug 820230) for build failures on a CLOSED TREE
2012-12-11 16:24:11 +00:00
Mats Palmgren
a8375e7e07
Bug 820230 - Move PaintSVGGlyph and GetSVGGlyphExtents from nsContentUtils to nsSVGUtils. r=roc
2012-12-11 16:45:51 +01:00
Nicholas Nethercote
7d32dc00e9
Bug 717853 - Add a native version of DMD. r=jlebar,glandium.
...
--HG--
extra : rebase_source : 9b824556591abd63b42aa7ff823e9cd25976c162
2012-12-10 16:05:07 -08:00
Julian Seward ext:(%2C%20Benoit%20Girard%20%3Cbgirard%40mozilla.com%3E)
80a44473db
Bug 726586 - Uninitialised value use in build_input_gamma_table. r=jrmuizel
...
--HG--
extra : rebase_source : c156458305645abe6e2fa39697c3281f24588822
2012-12-10 11:10:26 -05:00
Anthony Jones
1cc8f4f693
Bug 799401 - Throttle APZC paint requests. r=cjones
2012-12-10 08:50:24 -05:00
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
George Wright
4f2bed6ee9
Bug 814171 - Intercept calls for maximum texture/framebuffer sizes in GLContext::fGetIntegerv r=jgilbert
2012-11-13 17:35:35 -05:00
Chris Pearce
4e9ee5bd7e
Bug 814541 - Silence warnings in gfx/layers/d3d9/Nv3DVUtils.cpp. r=Bas
2012-11-23 15:21:20 +13:00
Bas Schouten
b084ef8c84
Bug 814101: Respect system-wide cleartype setting. r=jrmuizel,jfkthame
2012-11-23 02:53:12 +01:00
David Zbarsky ext:(%2C%20David%20Baron%20%3Cdbaron%40dbaron.org%3E%2C%20Chris%20Jones%20%3Cjones.chris.g%40gmail.com%3E)
49219cce40
Bug 788409: When the compositor runs past the end of an animation, just fill forwards until the main thread catches up. r=dbaron a=blocking-basecamp
2012-11-22 15:49:06 -08:00
Benoit Jacob
c70efb7365
Bug 814159 - disable the global context on EGL altogether - r=jrmuizel
...
Was already disabled on Windows, Android, B2G. Only EGL platform remaining was Meego. This simplifies code quite a bit. If this doesn't break things, we can do further dead code removal.
2012-11-22 13:53:11 -05:00
Andrea Marchesini
e1aa912c8f
Bug 808266 - Add memory reporter for GrallocBufferActor. r=cjones
2012-11-22 08:39:56 -05:00
Chris Lord
ba78c1a393
Bug 783368 - Add a pref to control low precision tile rendering. r=bgirard
...
Add pref 'layers.low-precision-buffer', enabled on mobile/android.
2012-11-21 22:34:20 +00:00
Chris Lord
236ebe5411
Bug 783368 - Uncouple low precision updates from standard. r=bgirard
...
Allow low precision updates to happen regardless of the state of the unscaled
tile buffer.
2012-11-21 22:34:20 +00:00
Chris Lord
63545be6bc
Bug 783368 - Fix progressive tile update coherency issues. r=bgirard
...
Fix some progressive tile updating coherency issues caused by aborting at
inopportune times and tile draw ordering.
2012-11-21 22:34:19 +00:00
Chris Lord
d85f10cccd
Bug 783368 - Send the correct display port when rendering low precision. r=kats,bgirard
...
When doing a low precision update, send the display-port instead of the
critical display port so that more appropriate cancelling decisions can be
made.
2012-11-21 22:34:19 +00:00
Chris Lord
17b0c18452
Bug 783368 - Don't duplicate high precision rendering in low precision region. r=bgirard
...
Don't render valid high precision region in the low precision buffer.
2012-11-21 22:34:19 +00:00
Chris Lord
beb61c6567
Bug 783368 - Add a low precision buffer to tiled thebes layers. r=bgirard,kats
...
If there is a critical display port set, render the area outside it into a
lower precision buffer.
2012-11-21 22:34:19 +00:00
Chris Lord
f08ea7da39
Bug 783368 - Disable ReusableTileStoreOGL by default. r=blassey
...
Add layers.reuse-invalid-tiles to control use of the reusable tile store and
disable it by default.
2012-11-21 22:34:19 +00:00
Chris Lord
919f718011
Bug 783368 - Add resolution to TiledLayerBuffer. r=bgirard
...
Add the concept of resolution to TiledLayerBuffer and add support for it in
BasicTiledThebesLayer and TiledThebesLayerOGL.
2012-11-21 22:34:18 +00:00
Chris Lord
f1ccd55d96
Bug 783368 - Prefer the critical display port, when set, in basic tiled layers. r=bgirard
...
If a critical display port is set, only validate content within it when using
basic tiled layers.
2012-11-21 22:34:18 +00:00
Chris Lord
3bdec04a47
Bug 783368 - Add critical display port content property. r=roc
...
Add a property to represent a sub-rectangle of the display port that is
considered 'critical' to render correctly.
2012-11-21 22:34:18 +00:00
Ehsan Akhgari
f90938a237
Backed out 11 changesets (bug 783368) because of build bustage on a CLOSED TREE
...
Backed out changeset 2bc4310263c4 (bug 783368)
Backed out changeset a35c83a8d99d (bug 783368)
Backed out changeset afb9b2a661ba (bug 783368)
Backed out changeset 3926f510f9be (bug 783368)
Backed out changeset 9d1fe200ff87 (bug 783368)
Backed out changeset b6e4f88f5730 (bug 783368)
Backed out changeset bc53f7dba7c6 (bug 783368)
Backed out changeset 1948fa2fccc1 (bug 783368)
Backed out changeset 9af163388fd1 (bug 783368)
Backed out changeset 7a2256e1aa7c (bug 783368)
Backed out changeset 4da1958a9885 (bug 783368)
2012-11-21 14:57:02 -05:00
Jonathan Kew
db03ce96d0
bug 799869 - [harfbuzz] improve heuristic for choosing between shapers for khmer fonts. r=behdad
2012-11-21 19:31:35 +00:00
Chris Lord
86af4e1c99
Bug 783368 - Add a pref to control low precision tile rendering. r=bgirard
...
Add pref 'layers.low-precision-buffer', enabled on mobile/android.
2012-11-21 19:16:53 +00:00
Chris Lord
ea1f724d0e
Bug 783368 - Uncouple low precision updates from standard. r=bgirard
...
Allow low precision updates to happen regardless of the state of the unscaled
tile buffer.
2012-11-21 19:16:53 +00:00
Chris Lord
fa9cf633f0
Bug 783368 - Fix progressive tile update coherency issues. r=bgirard
...
Fix some progressive tile updating coherency issues caused by aborting at
inopportune times and tile draw ordering.
2012-11-21 19:16:52 +00:00
Chris Lord
5f7ade4071
Bug 783368 - Send the correct display port when rendering low precision. r=kats,bgirard
...
When doing a low precision update, send the display-port instead of the
critical display port so that more appropriate cancelling decisions can be
made.
2012-11-21 19:16:52 +00:00
Chris Lord
f81ec133cd
Bug 783368 - Don't duplicate high precision rendering in low precision region. r=bgirard
...
Don't render valid high precision region in the low precision buffer.
2012-11-21 19:16:52 +00:00
Chris Lord
f38c6a6a8c
Bug 783368 - Add a low precision buffer to tiled thebes layers. r=bgirard,kats
...
If there is a critical display port set, render the area outside it into a
lower precision buffer.
2012-11-21 19:16:52 +00:00
Chris Lord
5c9a4aaab2
Bug 783368 - Disable ReusableTileStoreOGL by default. r=blassey
...
Add layers.reuse-invalid-tiles to control use of the reusable tile store and
disable it by default.
2012-11-21 19:16:52 +00:00
Chris Lord
7117aa6079
Bug 783368 - Add resolution to TiledLayerBuffer. r=bgirard
...
Add the concept of resolution to TiledLayerBuffer and add support for it in
BasicTiledThebesLayer and TiledThebesLayerOGL.
2012-11-21 19:16:51 +00:00
Chris Lord
5321d3f0d8
Bug 783368 - Prefer the critical display port, when set, in basic tiled layers. r=bgirard
...
If a critical display port is set, only validate content within it when using
basic tiled layers.
2012-11-21 19:16:51 +00:00
Chris Lord
a231be5912
Bug 783368 - Add critical display port content property. r=roc
...
Add a property to represent a sub-rectangle of the display port that is
considered 'critical' to render correctly.
2012-11-21 19:16:51 +00:00
Benoit Jacob
84817fac47
Bug 813783 - don't create a global context at all #ifdef ANDROID, including B2G - r=cjones
2012-11-20 21:45:13 -05:00
Jonathan Watt
ae1c92d135
Bug 802440 - Some elements are invalidated when other elements are scrolled off the screen. r=roc.
2012-11-21 02:23:57 +00:00
Justin Lebar
e09dffecb5
Bug 812957 - Follow-up: Replace void\n* with void*\n. r=oops DONTBUILD
2012-11-19 23:14:14 -05:00
Nicholas Nethercote
5c550b9fd6
Bug 812957 - Add memory reporter for Freetype. r=karlt,jlebar
2012-11-19 22:00:19 -05:00
Ehsan Akhgari
5866920e6f
Merge mozilla-central into mozilla-inbound
2012-11-19 17:07:53 -05:00
Chris Jones
270f8e37db
Bug 804852: Support for the hwc implementation of Composer2D. r=mattwoodrow,mwu,roc sr=roc
...
This is a rollup of the following patches
part 0: Add a dynamic cast to ColorLayer*
part 1: Add a Composer2D interface to enable implementations to more efficiently compose layer trees
part 2: Let widgets expose Composer2Ds, if they have them
part 3: Expose a layers ogl "friend" API that Composer2D will consume
part 4: Hook Composer2D into the LayerManagerOGL rendering pipeline
part 5: Implement all the goop to let widget/gonk use a Composer2D (HwcComposer2D)
2012-11-19 09:58:38 -08:00
Ed Morley
fe95ea51b2
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-11-19 15:35:06 +00:00
Jonathan Kew
b4ef33a9cc
bug 811312 - part 2 - fold CGFontEntry subclass into MacOSFontEntry. r=jdaggett
2012-11-19 10:22:10 +00:00
Jonathan Kew
9c1f586890
bug 811312 - part 1 - remove the ATSFontEntry class (not needed on 10.6 and later). r=jdaggett
2012-11-19 10:01:43 +00:00
Jonathan Kew
db55b55aa6
bug 801410 - update harfbuzz to release 0.9.6 plus recent commits (to upstream 977f1740..c2ec7c74). r=jdaggett,joe
2012-11-19 09:35:39 +00:00
Nicolas Silva
898bf5f30f
b=811115 - remove MOZ_EGL_XRENDER_COMPOSITE dead code. r=jgilbert
2012-11-18 16:47:57 +01:00
Nicolas Silva
b196ace209
Bug 806428 - Do not abort when a ThebesLayer's size changes when previous size was (0,0). r=BenWa
2012-11-15 07:23:13 +01:00
Jeff Muizelaar
a9a9a2445b
Bug 813071. Remove unncessary AOSP License block. r=gerv
...
This code is the same as the public domain code at
"Bit Twiddling Hacks"
--HG--
extra : rebase_source : 813c7bec84250227bee13a51e2f2ca23c628055b
2012-11-19 13:27:41 -05:00
Ryan VanderMeulen
65d56ab8ce
Backed out changeset 224fe2a12a04 (bug 779029) for Windows reftest failures.
2012-11-15 21:34:14 -05:00
Yury
c1d893e99b
Bug 812039 - mozIsPointInPath leaks CGPath objects. r=jmuizelaar
2012-11-15 20:34:57 -05:00
Jonathan Kew
4f3a72173c
bug 811382 - update OTS library to r.95. r=jdaggett
2012-11-15 17:04:57 -08:00
Bas Schouten
5cb2973f6d
Bug 779029: Try to respect EXTEND_NONE when masking. r=jrmuizel
2012-11-16 00:30:08 +00:00
Daniel Holbert
950d579a4d
(no bug) fix typo in header comment for AsyncPanZoomController::CalculateIntrinsicScale(). DONTBUILD (comment-only)
2012-11-15 09:16:03 -08:00
Jeff Muizelaar
8c9b653c40
Bug 811919. Include the pattern transform when painting patterns in DrawTargetCG. r=benwa
...
This fixes a lot of azure content bugs.
--HG--
extra : rebase_source : be84084aa7753862920ddd7b04fbfb0bd0b54ded
2012-11-14 16:52:02 -08:00
Bas Schouten
bdac5bc9bf
Bug 811850: Fix gfx 2d recording to be 64-bit neutral. r=jrmuizel
2012-11-14 20:55:02 +00:00
Jeff Muizelaar
cfce24e060
Bug 801918. OpenGL: Avoid doing extra invalidation when unrotating a buffer. r=mwoodrow
...
This approach ends up calling BlitTextureImage three extra times instead of
changing BlitTextureImage to support rotated buffers.
Supporting rotated buffers in BlitTextureImage is somewhat tricky because of
TiledTextureImage, and calling it three more times shouldn't be too bad (it
should be better than having to repaint)
Unfortunately, the rectangle manipulation code is a bit hairy.
--HG--
extra : rebase_source : a1018a22932675b154b76533f403a1328aa29cb5
2012-11-13 15:09:31 -08:00
Jeff Muizelaar
86d9197dd0
Bug 809603. Simplify border radius drawing. r=roc
...
This adds a RoundedRect class that we use to do the offsetting. This class can
probably also be used elsewhere. With this patch we handle the Gmail checkboxes
in a single draw instead of in pieces like we currently do.
--HG--
extra : rebase_source : 8809f12b386eef2ce7364fb98e681fba343efdfe
2012-11-12 17:55:26 -08:00
Brendan Dahl
e3eb98c915
Bug 791466 - Fix direct write cairo scaled font. r=Bas
2012-11-12 11:35:49 -08:00
Matt Woodrow
5fbd933167
Bug 805197 - Compute a region in LayerTreeInvalidation. r=roc
2012-11-12 10:31:15 -08:00
Nicholas Cameron
fe12cc1084
Bug 782311; put back D3D10_RESOURCE_MISC_GDI_COMPATIBLE. r=Bas
2012-11-10 11:14:13 -08:00
Justin Lebar
a9e6d9a0c8
Bug 802366 - The main event: Let a browser process inherit its app's id. r=bz,cjones
...
The main bug fixed here is that in half of our interfaces, we use "is browser frame/element" to mean "browser or app", and in the other half, we use it to mean "is browser not app".
There's a related, functional bug also fixed here, which is that a browser process doesn't inherit its parent's app-id. This causes problems e.g. for IndexedDB: If a browser inside an app uses IndexedDB, the DB should have the app's app-id.
I also modified Tab{Parent,Child} and nsFrameLoader to call "app" "ownOrContainingApp", to emphasize that we might have inherited the app from a parent process. I left nsIDocShell::appId alone, because changing that would have necessitated changing nsILoadGroup and therefore a /lot/ of users in Necko; it's also not clear it would have clarified anything in those cases.
2012-11-10 10:32:37 -08:00
Ryan VanderMeulen
655117d4ff
Backed out changeset b5c86318a3ee (bug 801918) for various regressions.
2012-11-10 12:09:50 -05:00
Ryan VanderMeulen
3eff16d324
Backed out 12 changesets (bug 806127, bug 802366, bug 806168) for Windows build bustage.
...
--HG--
rename : dom/indexedDB/test/webapp_clearBrowserData.js => dom/indexedDB/test/test_webapp_clearBrowserData.html
2012-11-09 20:14:40 -05:00
Justin Lebar
785d3c9b2f
Bug 802366 - The main event: Let a browser process inherit its app's id. r=bz,cjones
...
The main bug fixed here is that in half of our interfaces, we use "is browser frame/element" to mean "browser or app", and in the other half, we use it to mean "is browser not app".
There's a related, functional bug also fixed here, which is that a browser process doesn't inherit its parent's app-id. This causes problems e.g. for IndexedDB: If a browser inside an app uses IndexedDB, the DB should have the app's app-id.
I also modified Tab{Parent,Child} and nsFrameLoader to call "app" "ownOrContainingApp", to emphasize that we might have inherited the app from a parent process. I left nsIDocShell::appId alone, because changing that would have necessitated changing nsILoadGroup and therefore a /lot/ of users in Necko; it's also not clear it would have clarified anything in those cases.
2012-11-09 16:37:39 -08:00
Brian R. Bondy
1f148689cc
Bug 797013 - CheckInterfaceSupport fails on some hardware in metrofx. Do not rely on it. r=bas
2012-11-08 21:34:44 -05:00
Nathan Froyd
a9bf69763f
Bug 809967 - include ostream instead of iostream in PathRecording.h to avoid static initializers; r=Bas
2012-11-08 14:22:16 -05:00
Andrea Marchesini
8dde3fc959
Bug 796275 - Context menu fires on wrong target out of process. r=cjones
2012-11-08 14:35:02 -05:00
Benoit Girard
89fb41bb16
Bug 809448 - Make ns(Int)Region ToString const. r=bas
...
--HG--
extra : rebase_source : 3d0916bf70c0fd0681ebb192b8757c44917f6ff5
2012-11-08 14:23:43 -05:00
Benoit Girard
dc5c406e03
Bug 794337 - Properly alias canvas image data when using Quartz compositing. r=jrmuizel
...
--HG--
extra : rebase_source : fb4c0e1a9bac0ac1cf54ddc23c66756060bbfdab
2012-11-02 16:24:37 -04:00
Edwin Flores
d8cb7f5d9b
Bug 809904 - Create gralloc images in ImageContainerChild::CreateImage r=nical
2012-11-09 06:44:11 +13:00
Benoit Girard
9599013340
Bug 809493 - Restore the blend equation state after drawing the underlay. r=joe
2012-11-08 10:10:51 -05:00
Edwin Flores
09399621e1
Bug 798448 - Add YVU420SP to RGB565 conversion function r=gal
2012-11-08 17:24:02 +13:00
Edwin Flores
9646e6b313
Bug 804906 - Plug leak in GonkIOSurfaceImage::GetAsSurface r=doublec
2012-11-08 17:24:01 +13:00
Chris Jones
18843b20e1
Bug 806029: Have remote content drop their buffers when they're hidden. r=mattwoodrow sr=roc
2012-11-07 19:51:55 -08:00
Jeff Muizelaar
ebb2c3ae41
Bug 801918. OpenGL: Avoid doing extra invalidation when unrotating a buffer. r=mwoodrow
...
This approach ends up calling BlitTextureImage three extra times instead of
changing BlitTextureImage to support rotated buffers.
Supporting rotated buffers in BlitTextureImage is somewhat tricky because of
TiledTextureImage, and calling it three more times shouldn't be too bad (it
should be better than having to repaint)
Unfortunately, the rectangle manipulation code is a bit hairy.
--HG--
extra : rebase_source : a1018a22932675b154b76533f403a1328aa29cb5
2012-11-07 21:35:54 -05:00
Bas Schouten
69f705ff64
Bug 509052: Add new, faster blurring code. r=derf
2012-11-07 09:29:54 +01:00
Ed Morley
0d699ad09b
Backout e89f1fce980d (bug 509052) for an assortment of timeouts and crashes
2012-11-07 10:47:27 +00:00
Bas Schouten
cbb586e21a
Bug 509052: Add new, faster blurring code. r=derf
2012-11-07 09:29:54 +01:00
Matt Woodrow
07869c9c29
Bug 808469 - Use gfxQuartzSurface for OMTC drawing on mac. r=cjones
2012-11-07 19:56:56 +13:00
Matt Woodrow
61fe215c09
Bug 808469 - Make gfxSharedImageSurface take a template parameter for the base surface type. r=cjones
...
--HG--
rename : gfx/thebes/gfxSharedImageSurface.cpp => gfx/thebes/gfxBaseSharedMemorySurface.cpp
rename : gfx/thebes/gfxSharedImageSurface.h => gfx/thebes/gfxBaseSharedMemorySurface.h
2012-11-07 19:56:54 +13:00
Ryan VanderMeulen
ff740d59ea
Backout c3933841e06e (bug 793013) for possible Win7 reftest failures.
2012-11-06 21:27:09 -05:00
Tobias Schneider
4e7558b2c4
Bug 803124 - Implement mozIsPointInStroke. r=jmuizelaar
2012-10-29 16:54:53 +01:00
Anthony Jones
0508e2aafe
Bug 793013 - Use EnumSet in gfxPlatform instead of 1 << n. r=ncameron
2012-11-06 18:23:13 -05:00
Anthony Jones
e4c4f98a12
Bug 793013 - Remove unnecessary whitespace.
2012-11-06 18:23:13 -05:00
Jeff Gilbert
d9a04350b5
Bug 797120 - GLContext::CanUploadNonPowerOfTwo() should not call AddBoolVarCache() when off the main thread. r=bjacob
2012-11-07 11:39:38 +13:00
Matt Woodrow
f0004b2afd
Bug 807408 - Cache the temporary surface used when drawing ThebesLayers with BasicLayers. r=jrmuizel
2012-11-07 11:39:35 +13:00
Jonathan Kew
f07070b8e3
bug 805760 - update graphite2 lib to commit 51e72e74b9a6. r=jdaggett
2012-11-06 18:11:58 +00:00
Nicolas Silva
d3ba646030
Bug 797893 - Fix trivial warning in ImageBridgeParent.cpp. r=dholbert
2012-10-05 22:46:01 +02:00
Phil Ringnalda
a2030265e5
Back out 0d4e09ade336 (bug 808746) for Android reftest bustage
2012-11-05 22:35:59 -08:00
Benoit Girard
702e24d2c3
Bug 808746 - Properly calculate the tile's origin when avoiding SinglePaintBuffer. r=bjacob
2012-11-05 23:41:58 -05:00
Benoit Girard
d6c2573d25
Bug 679527 - Avoid float operation in qcms transforms. r=jrmuizel
2012-10-19 18:23:07 -04:00
Benoit Girard
778fa3932c
Bug 679527 - Use floorf/ceilf in qcms transform function. r=jrmuizel
2012-10-19 16:35:36 -04:00
Benoit Girard
f3eedbbb1b
Bug 679527 - Prefer floorf over floor in qcms. r=jrmuizel
2012-10-19 16:35:24 -04:00
Nicolas Silva
3953edb7c4
Bug Bug 773440 - Remove unnecessary frame copies with async-video by stroring video frames in shared memory earlier in the pipeline. r=roc
2012-11-05 11:38:03 +01:00
Jonathan Kew
3b3c053bb3
bug 808288 - render missing glyphs as hexboxes in <canvas> text. r=bas
2012-11-04 10:51:03 +00:00
Ed Morley
37f767edf7
Backout 5eec0a5b76ff, 64e143317082 & f356d9b2524c (bug 808288) for reftest failures
2012-11-04 00:53:06 +00:00
Jonathan Kew
160f118d31
bug 808288 - part 3 - draw missing-glyph hexboxes for <canvas> text, similar to missing glyphs in HTML text. r=bas
2012-11-03 23:01:33 +00:00
Chris Jones
061dec3e69
Bug 807142: Make containers for DisplayRemote behave like leaf layers when we're resolution-scaling. r=mattwoodrow
2012-11-02 00:13:08 -07:00
Andrew Quartey
d21a5d8004
Bug 792581 - part 23: Replace LL_INIT and LL_UDIVMOD macros. r=ehsan
2012-11-01 20:57:25 -04:00
Tobias Schneider
ffb42aab23
Bug 806780 - PathSkia::ContainsPoint should use SkPath::contains(x, y). r=jmuizelaar
2012-10-30 10:19:16 +01:00
Brad Lassey
3a50e711e7
bug 798826 - crash in gfxFT2FontList::FindFonts @ mozilla::scache::StartupCache::WaitOnWriteThread, speculative null check r=jfkthame
2012-11-01 09:31:58 -04:00
Jeff Muizelaar
230002819a
Bug 805689. Don't copy when we don't need subpixel AA. r=mwoodrow
...
Avoid copying the background for subpixel AA when we aren't using
subpixel AA rendering.
2012-10-31 22:12:26 -04:00
Alexandre Lissy
7bbfdb495d
Bug 787812 - Add Nexus S pixels constants. r=kchen
2012-10-27 12:48:18 +02:00
Jacek Caban
e760c89282
Bug 803063 - Skia cross compilation for Windows fails on case sensitive OS r=gwright
...
--HG--
extra : rebase_source : 89da358d123edefc2093e5d66f4ab6d326e9ff21
2012-10-31 09:34:07 +01:00
Karl Tomlinson
7edd55a95b
b=797568 destroy GLXPixmap on Finish r=roc
...
--HG--
extra : transplant_source : 5%969%9A%B7%97%B2%EC%15%CA%7FPSWP%26Y%9DS%AE
2012-10-31 15:54:20 +13:00
Robert O'Callahan
344c63740a
Bug 804062. Move device-pixels-per-CSS-pixel preference logic into nsIWidget::GetDefaultScale. r=jfkthame
...
The only behavior change caused by this patch should be that nsDeviceContexts with no widget
(mainly printing, I think), default to a devpixel-per-CSS-pixel ratio of 1.0, ignoring
any prefs set.
2012-10-31 11:31:35 +11:00
Nicholas Cameron
fc47915e6f
Bug 801465; DataSourceSurfaceD2D; r=Bas
2012-10-31 12:30:25 +13:00
Benoit Girard
b384d6568b
Bug 800944 - Use fuzzy float equal to prevent harvesting tiles causing assertion. r=Cwiiis
...
--HG--
extra : rebase_source : 6878c7d6b4b345feaf46a58a0a61037ab57290c2
2012-10-30 12:08:22 -04:00
Jonathan Kew
e623b31a10
bug 806059 - make gfxQuartzNativeDrawing aware of backing scale factor when rendering native widgets. r=smichaud
2012-10-29 09:22:30 +00:00
Nathan Froyd
4c61ef9ec5
Bug 806618 - rewrite PR_NewLogModule calls to not generate static initializers; r=ehsan
2012-10-29 19:32:10 -04:00
Masayuki Nakano
19f3259090
Bug 805761 Fix warning in layers::FrameMetrics::GetScrollOffsetInLayerPixels() r=drs
2012-10-30 10:58:29 +09:00
Daniel Holbert
9824fbf2fb
Bug 795655: Mark "StringFromPtr()" in RecordedEvent.h as inline, not static, so that it doesn't trigger build warnings in cpp files that don't use it. r=bas
2012-10-29 16:15:31 -07:00
Chris Lord
7859590c51
Bug 796117 - Fix ReusableTileStoreOGL. r=bgirard
...
Changes to FrameMetrics and progressive tiling caused ReusableTileStoreOGL
to basically not work anymore. Refactor to provide the same function as it did
previously taking into account the platform changes.
2012-10-29 22:46:54 +00:00
Benoit Girard
41441be0a4
Bug 805792 - Avoid another extra copie when calling RenderTile. r=Cwiiis
...
* * *
Bug 805907 - Handle memory pressure notification in the TileStore. r=Cwiiis,ehsan
--HG--
extra : rebase_source : 976deda3ab13c2e178f9a6922b7c17c294175fad
2012-10-29 18:10:45 -04:00
Jacek Szpot
761b11160f
Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan
2012-10-26 15:32:10 +02:00
Nicolas Silva
15561dd107
Bug 792252 - Clean up ImageContainerChild (before implementing SharedPlanarYCbCrImage to remove the extra video frame copy). r=kanru
2012-10-29 16:08:06 +01:00
Bas Schouten
b48e5c0b2c
Bug 805831: Add a cache for border corner gradients. r=joedrew
2012-10-27 06:32:52 +02:00
Phil Ringnalda
95b4fda2c5
Back out fbd8fdb7c544 (bug 805831) for build failures
2012-10-26 21:53:41 -07:00
Bas Schouten
0169a197cf
Bug 805831: Add a cache for border corner gradients. r=joedrew
2012-10-27 06:32:52 +02:00
Benoit Girard
09de587ee4
Bug 805792 - Avoid another extra copie when calling RenderTile. r=Cwiiis
...
--HG--
rename : layout/style/test/test_viewport_units.html => layout/style/test/test_rem_unit.html
extra : rebase_source : 3b18b7c42691b655264b615044e28cb448fde7a6
2012-10-26 10:44:48 -04:00
Benoit Girard
efee4c428e
Bug 805792 - Avoid extra copies when calling RenderTile. r=Cwiiis
...
--HG--
rename : toolkit/components/passwordmgr/test/auth2/authenticate.sjs => toolkit/components/passwordmgr/test/authenticate.sjs
extra : rebase_source : 30755a7e578743530c51f6f1953ca25bf5c0e149
2012-10-26 09:38:44 -04:00
Jacek Caban
8be05d02a3
Bug 803066 - graphite2 fails to cross compile for Windows from case sensitive OS r=jfkthame
2012-10-26 10:48:06 +02:00
Matt Joras
aae7d1c44d
Bug 798033 - Removes "using namespace" directive from gfx headers - r=jmuizelaar
2012-10-25 16:12:59 -04:00
Chris Lord
a90397b263
Bug 805014 - Disable progressive tiles when a shadow target is set. r=bgirard
...
The testing framework doesn't react well to paints not coming in synchronously.
Disable progressive tile painting when a shadow target is set on the layer
manager for now.
2012-10-25 17:27:08 +01:00
Chris Lord
0206c993d6
Bug 805028 - Add LayerManagerOGL::ComputeRenderIntegrity. r=bgirard
...
Add a function to LayerManagerOGL that can compute how much of the last
rendered area was incomplete (i.e. is pending update when progressive tile
drawing is enabled).
2012-10-25 17:23:42 +01:00
Markus Stange
fda164eb61
Bug 770524 - Fix FuzzyEqual to not return false for equal floats which are smaller than -2048.0f. r=roc
2012-10-25 12:54:15 +02:00
Anthony Jones
154f3090d2
Bug 796418 - Check cairo matrix before drawing. r=joe
2012-10-24 22:03:21 -04:00
Matt Woodrow
71fcce7552
Bug 775228. r=joe
2012-10-25 12:04:41 +13:00
Benoit Jacob
f370bc35f7
Bug 793126 - import ANGLE r1278 to get the fix for ANGLE bug 350, a WebGL crasher - r=jgilbert
2012-10-24 16:26:54 -04:00
Markus Stange
19e24f8f1c
Bug 805002 - Flush accelerated Quartz canvas before GL composition. r=BenWa
2012-10-24 18:17:00 +02:00
Chris Lord
2f34d4e618
Bug 803013 - Update valid region progressively with tiles. r=bgirard
...
When updating tiles progressively, make sure the valid region is also updated
progressively to avoid flickering.
2012-10-24 15:49:03 +01:00
Doug Sherk
652bd75bad
Bug 804949: Change the way panning works. r=cjones a=blocking-basecamp
2012-10-24 01:37:53 -07:00
Jonathan Kew
cd35ecb8fa
bug 803347 - update graphite2 lib to upstream commit 4ddfa0f51098. r=jdaggett
2012-10-24 09:20:13 +01:00
Phil Ringnalda
88595db498
Backout 8cc37887f621 and b6bd9f564650 (bug 795259) and 8b9c7bf80449 (bug 803013) to investigate the effect on Android reftest-1 and -4 permaorange
2012-10-23 23:35:13 -07:00
Benoit Jacob
ca1f69c4d3
Bug 801158 - update ANGLE README.mozilla with detailed update instructions to help someone else learn how to do ANGLE updates - no review, DONTBUILD
2012-10-23 18:31:31 -04:00
Benoit Girard
952ce640c7
Bug 804724 - Add an abort painting marker. r=ehsan
...
--HG--
extra : rebase_source : 10f327e91b15d673303eb607a361c1c4d14a1e92
2012-10-23 17:18:37 -04:00
Ehsan Akhgari
c30ff4796b
Backout changeset d587ce3af2f3 (bug 791428) because of performance regressions
2012-10-23 16:01:45 -04:00
Chris Lord
805b9fc752
Bug 803013 - Update valid region progressively with tiles. r=bgirard
...
When updating tiles progressively, make sure the valid region is also updated
progressively to avoid flickering.
2012-10-23 19:30:35 +01:00
Jonathan Kew
6fc36fa6e9
bug 715798 pt 3 - support Color Emoji font in the gfx/2d quartz backend. r=jrmuizel
2012-10-23 10:07:14 +01:00
Jonathan Kew
2452bcd15e
bug 715798 pt 2.1 - add patch for huge emoji support to the gfx/cairo directory (NPOTB)
2012-10-23 10:05:53 +01:00
Jonathan Kew
8cd04846fc
bug 715798 pt 2 - fall back to show_text_glyphs even at huge sizes if scaled_font_glyph_path didn't work. r=jrmuizel
2012-10-23 10:04:32 +01:00
Jonathan Kew
172bbba808
bug 715798 pt 1.1 - add patch for Apple color emoji support to the gfx/cairo directory (NPOTB)
2012-10-23 10:03:12 +01:00
Jonathan Kew
883dd45a49
bug 715798 pt 1 - support Apple Color Emoji font in cairo-quartz backend. r=jrmuizel
2012-10-23 09:58:13 +01:00
Robert O'Callahan
f94f27b6ec
Backing out 20279718e3c7 (bug 717178 part 2) for test bustage on a CLOSED TREE
2012-10-23 16:31:12 +13:00
Anthony Jones
dcf38e4630
Bug 791428 - Limit pixel sizes so that they can't exceed app unit limits. r=roc
2012-10-22 22:22:27 -04:00
Adrian Johnson ext:(%2C%20Andrea%20Canciani%20%3Cranma42%40gmail.com%3E)
13ae87c1ff
Bug 717178. Part 2: Import changesets eb29a25d, 6e3e3291 and 101fab7c from upstream. r=jrmuizel
...
======
From eb29a25dd6dddc511388bf883c9b95843ecdb823 Mon Sep 17 00:00:00 2001
From: Adrian Johnson <ajohnson@redneon.com>
Date: Tue, 16 Nov 2010 13:18:39 +0000
Subject: win32: Use a font_face hash table to provide unique font faces
Similar to the freetype and toy font backends, use a hash table
to map logfont,hfont to font faces.
This fixes the multiple embedding of the same font in PDF.
https://bugs.freedesktop.org/show_bug.cgi?id=24849
======
From 6e3e329170ab4b96bc0d587c8071e869e228e758 Mon Sep 17 00:00:00 2001
From: Adrian Johnson <ajohnson@redneon.com>
Date: Thu, 18 Nov 2010 12:37:45 +0000
Subject: win32: fix font_face hashing
some bugs were discovered while testing with firefox
======
From 101fab7cd8a90f7cf3d8113c792b3f8c2a9afb7d Mon Sep 17 00:00:00 2001
From: Andrea Canciani <ranma42@gmail.com>
Date: Wed, 15 Jun 2011 09:37:36 +0000
Subject: win32-font: Improve static data reset function
The hashtable is guaranteed to only contain font faces which are
currently referenced, hence there is no need to remove any font face
when it is reset (just like for toy-font).
This makes the function simpler and fixes the assertion
Assertion failed: predicate != NULL, file cairo-hash.c, line 373
hit by multiple tests (the first one being "clear").
See https://bugs.freedesktop.org/show_bug.cgi?id=38049
======
--HG--
extra : rebase_source : 73172c901f80e2f6e9f52035e1d6eab2a220642f
2012-10-23 12:43:29 +13:00
Robert O'Callahan
3a3124a625
Bug 717178. Part 1: Don't crash when passing a nil scaled-font to _name_tables_match. r=jfkthame
...
--HG--
extra : rebase_source : ba6ada662a871fbf3bdd2ee3b2a8f031fd213e4b
2012-10-23 12:37:28 +13:00
Bas Schouten
70dbd4cbf2
Bug 758531: DWrite fonts create mScaledFont on demand. This causes GetCairoScaledFont to return NULL. This subsequently caused the surface to go into an error status which caused the CreateSimilar call to fail for that surface. This patch properly uses the call which will create the cairo_scaled_font_t if it's not there yet. r=jrmuizel
2012-10-23 02:26:27 +02:00
Chris Lord
13bc605c08
Bug 803013 - Maintain coherency when progressively updating visible areas. r=bgirard
...
When rendering progressively, make sure that any previously visible area that
is still visible is updated at the same time. This helps maintain visual
coherency on pages that invalidate previously visible areas while scrolling,
and when losing layers between updates.
This supersedes the previous method of only doing progressive updates while
scrolling.
2012-10-22 20:18:14 +01:00
Mats Palmgren
4c765506a6
Bug 798853, gfx. r=roc
2012-10-22 15:53:31 +02:00
Jonathan Kew
42d1b03c30
bug 772640 - fix for incorrect glyph positioning in multi-glyph RTL clusters generated by Graphite shaping. r=jdaggett
2012-10-22 08:47:03 +01:00
Jonathan Kew
db78ff9af9
bug 803483 - opentype script support no longer dependent on OS X version. r=jdaggett
2012-10-22 08:47:01 +01:00
Kan-Ru Chen (陳侃如)
e86eff5cd3
Bug 791711 - Invalidate again if the SharedImageID was removed. r=nical
2012-10-20 08:18:31 +08:00
Isaac Aggrey
c984edf823
Bug 794510: Part 2: Use more stdint types instead of protypes.h types; r=ehsan
2012-10-11 18:38:04 -05:00
Jonathan Kew
3c186fb958
bug 802223 - suppress harfbuzz build warning that isn't relevant to our usage. r=jdaggett
2012-10-18 15:44:21 +01:00
Chris Lord
775e317e62
Bug 802143 - Clarify coordinate spaces in ReusableTileStoreOGL::DrawTiles. r=bgirard
2012-10-18 12:59:17 +01:00
Chris Lord
b774e1aa45
Bug 802143 - Fix calculation of content bounds in ReusableTileStoreOGL. r=bgirard
...
FrameMetrics changed at some point so that the content rect and scroll offset
are stored pre-multiplied by the render resolution. The display-port calculation
in this function appears to have always been wrong(?)
2012-10-18 12:53:33 +01:00
Robert O'Callahan
1a8e38dbb4
Bug 776505. Assert that nsDeviceContext is created on the main thread only. r=mats
...
--HG--
extra : rebase_source : fcda449b3bf25c9827c2fa2f000c20460819ce53
2012-10-17 17:51:58 +13:00
Nicholas Cameron
3a351d99c3
Bug 802518; add Painted() to BasicShadowableCanvasLayer::Paint; r=jgilbert DONTBUILD
2012-10-18 21:40:32 +13:00
Nicholas Cameron
ceb65c08d3
Back out changeset db4fd6efba17 for wrong bug number r=me
2012-10-18 21:39:15 +13:00
Chris Jones
f79f5f15fd
Bug 799644: Need to clear areas of rgba buffers we're about to repaint. r=mattwoodrow
2012-10-17 22:44:26 -07:00
Nicholas Cameron
865ffca289
Bug 803518; add Painted() to BasicShadowableCanvasLayer::Paint; r=jgilbert
...
--HG--
extra : rebase_source : 2cad76436370ec2bf1d52208a732e638e62435d5
2012-10-18 11:17:32 +13:00
Bill McCloskey
fadcc33157
Bug 714050 - Add support for optional JS helper threads (r=luke)
2012-10-16 11:57:09 -07:00
Joe Drew
7f41dae0d8
Bug 798053 - Do a more accurate test for the return value of Scale(). r=gw280
...
--HG--
extra : rebase_source : c26a57f060f172e9b7864eef69fa782064b4fae5
2012-10-10 11:35:23 -04:00
Aryeh Gregor
9582ec9bf0
Bug 802069 - Make "macintosh" the canonical name of its encoding, not "x-mac-roman"; r=smontagu
...
--HG--
rename : intl/uconv/tests/unit/test_decode_x_mac_roman.js => intl/uconv/tests/unit/test_decode_macintosh.js
rename : intl/uconv/tests/unit/test_encode_x_mac_roman.js => intl/uconv/tests/unit/test_encode_macintosh.js
2012-10-17 12:15:23 +02:00
Matt Woodrow
ebd7c262da
Bug 802321 - Use FuzzyEquals to compare matrices in LayerTreeInvalidation. r=roc
2012-10-17 21:00:00 +13:00
Steven Michaud
90b6155078
bug 794038 pt 3 - plugins support for resolution change. r=bgirard
2012-10-16 20:41:21 +01:00
Matthew Gregan
d712138607
Bug 789075 - Handle odd sized WebM video frames correctly. r=derf
2012-10-16 16:03:43 +13:00
Benoit Girard
98ca10d456
Back out b7f31a736800 for mochitest failures
...
--HG--
extra : rebase_source : 9f77f07db004fe11a20533c0ad017cef825a1a8b
2012-10-15 16:57:43 -04:00
Benoit Girard
68cffeeeea
Back out d5496f32f2e4 for mochitest failures
...
--HG--
extra : rebase_source : 1e0caa0ae6d2c1bec971fde75c348f69e6cc63fe
2012-10-15 16:57:06 -04:00
Benoit Girard
dba6881f18
Bug 796117 - Keep tiles cached when changing resolution. r=Cwiiis
...
--HG--
extra : rebase_source : fdc4bb831c367d2d33dadb75c6d1f9784b97d44d
2012-10-15 15:08:45 -04:00
Benoit Jacob
96865bc6d7
back out 621cfd13ceaf for build failures
2012-10-15 13:34:42 -04:00
Matt Joras
243e78c48b
Bug 798033 - Removes "using namespace" directive from gfx headers - r=jmuizelaar
2012-10-15 13:02:21 -04:00
Benoit Girard
2d402ab95f
Bug 796117 - New Mobile tilestore tiles will now replace equivalent tiles. r=Cwiiis
2012-10-12 17:50:08 -04:00
Oleg Romashin
7b68e36201
Bug 801460 - IDXGIFactory2 not declared build errors with --enable-metro. r=bas.schouten
2012-10-14 23:19:13 -07:00
Chris Lord
9baaa8cb1b
Bug 749063 - Improve progressive tile update draw order. r=bgirard
...
Now that the region can be more complicated due to tile prioritisation, the
previous code for draw order doesn't work as intended. Robustify/simplify the
code by making it region-based.
2012-10-15 09:33:56 +01:00
Chris Lord
a0f91e8972
Bug 749063 - Prioritise visible tiles when progressively updating. r=bgirard
...
When progressively updating tiles, prioritise tiles that intersect with the
current viewport before off-screen tiles. New content is still prioritised
over stale content.
2012-10-15 09:33:48 +01:00
Chris Lord
b3c7e8e90c
Bug 749063 - Replace shouldAbort with generic callback for progressive updates. r=bgirard
...
Replace ShouldAbortProgressiveUpdate with ProgressiveUpdateCallback, that
provides more contextual information about how the update will get used.
2012-10-15 09:33:34 +01:00
Matt Woodrow
c50bd6b87c
Bug 799956 - Mark BasicLayerManagers that don't retain content as supporting component alpha layers. r=roc
2012-10-15 17:53:37 +13:00