Jonathan Kew
b5eb6d02d5
Bug 826226 - update harfbuzz to release 0.9.10. r=jdaggett
2013-01-08 14:03:18 +00:00
Ehsan Akhgari
c023e35440
Make OrientationSyncPrefsObserver final, no bug, blanket-r=bzbarsky
2013-01-07 18:34:38 -05:00
Robert O'Callahan
0970e2f92e
Bug 717178. Part 3 alternative: don't put Win32 cairo_font_face_ts into the font-face cache if they were created with an explicit HFONT. r=jrmuizel
...
--HG--
extra : rebase_source : 8bbba7328f422807de458cb64e0e5ce4e8060b31
2013-01-02 19:18:53 +13:00
Adrian Johnson
9f7a8e7829
win32: fix font_face hashing
...
win32: Use a font_face hash table to provide unique font faces
win32-font: Improve static data reset function
Bug 717178. Part 2: Import changesets eb29a25d, 6e3e3291 and 101fab7c from upstream.
======
From 101fab7cd8a90f7cf3d8113c792b3f8c2a9afb7d Mon Sep 17 00:00:00 2001
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
======
From eb29a25dd6dddc511388bf883c9b95843ecdb823 Mon Sep 17 00:00:00 2001
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
some bugs were discovered while testing with firefox
======
--HG--
extra : rebase_source : 6bbb299194f2296522e36bfeb68d1e8ebc2d1f17
2010-11-18 12:37:45 +00:00
Ehsan Akhgari
1fc28fc2a4
Merge mozilla-central into mozilla-inbound
2013-01-05 16:00:35 -05:00
Chris Peterson ext:(%2C%20Shih-Chiang%20Chien%20%3Cschien%40mozilla.com%3E%20and%20Chris%20Jones%20%3Cjones.chris.g%40gmail.com%3E)
56e0349b73
Gecko work for bug 823619: Dispatch spec-compliant mouse events when touch events are available. r=cjones,jlebar,schien,vingtetun a=blocking-basecamp
...
This is a rollowup of the following patches
Bug 823619, part 1: Make TabChild dispatch spec-compliant compat mouse events. r=mwu
Bug 823619, part 2: Use touch event for scrolling if available. r=cjones,schien,vingtetun a=blocking-basecamp
2013-01-05 15:53:16 +01:00
Oleg Romashin
abea18c939
Bug 825556 - RequestContentRepaint frequency should be possible to limit with some timeout. r=drs
2013-01-04 19:24:15 -08:00
Kan-Ru Chen (陳侃如)
0136604f20
Bug 826628 - Release the texture after unbind it. r=jgilbert
2013-01-05 11:20:50 +08:00
Jonathan Kew
dc68a4ac60
bug 825875 - shape long words directly into the textrun instead of using word caching. r=roc
2013-01-04 18:35:37 +00:00
Jonathan Kew
32fd2a26de
bug 825871 - refactor gfxTextRun and gfxShapedWord to share a common abstract base class (gfxShapedText) and shaping interface. r=roc
2013-01-04 18:35:37 +00:00
Jonathan Kew
b366d014bc
bug 826288 - remove the obsolete aFamily parameter from gfxFontEntry constructor. r=roc
2013-01-04 14:01:44 +00:00
Avi Halachmi
28ffc25c71
Bug 820167 - Tab open/close animation prints performance data to error console when enabled. r=jmuizelaar,dao
2013-01-03 21:53:15 -05:00
Oleg Romashin
eb1040047b
Bug 825809 - mWaitingForContentToPaint should be true after mPaintThrottler.TaskComplete post new task. r=ajones
2013-01-03 11:58:15 -08:00
Nicholas Cameron
cc0c1bd501
Bug 825995; fix scissor rect logic in GLContext. r=jgilbert
2013-01-03 15:11:54 +13:00
Jonathan Kew
531d3c6676
bug 825504 - fix gfxPangoFontGroup::FindFamilyNameAt for user fonts, to resolve MathML fonts breakage. r=roc
2013-01-02 22:27:49 +00:00
Masatoshi Kimura
9a4812e054
Bug 824247 - Part 3: Disable FAIL_ON_WARNINGS on not-yet-warning-free directories on MSVC. r=ted
2013-01-03 00:56:38 +09:00
Nicholas Nethercote
b7723e3c58
Bug 819819 (part 2) - Remove |name| from NS_MEMORY_REPORTER_MALLOC_SIZEOF_FUN. r=jlebar.
...
--HG--
rename : dom/tests/mochitest/localstorage/test_localStorageQuotaPrivateBrowsing_perwindowpb.html => dom/tests/mochitest/localstorage/test_localStorageQuotaPrivateBrowsing.html
rename : toolkit/components/places/tests/browser/browser_favicon_privatebrowsing_perwindowpb.js => toolkit/components/places/tests/browser/browser_favicon_privatebrowsing.js
extra : rebase_source : 557cc60522970ce7eea3b006d357284d9b4694c4
2012-12-23 16:59:51 -08:00
Ms2ger
09400dc8df
Backout bug 814718, bug 717178 for exceptions in test_text.html on Windows.
2013-01-01 13:34:34 +01:00
Robert O'Callahan
d224021f24
Bug 717178. Part 3: gfxGDIFont should pass ownership of its mFont to cairo_font_face_t. r=jrmuizel
2013-01-01 17:53:39 +13:00
Robert O'Callahan
1abce7564f
bug 717178. Part 2.5: Make cairo_win32_font_face_create_for_logfontw_hfont take ownership of the HFONT. r=jrmuizel
2013-01-01 17:53:32 +13:00
Andrea Canciani
f29ed4b405
win32-font: Improve static data reset function
...
Bug 717178. Part 2: Import changesets eb29a25d, 6e3e3291 and 101fab7c from upstream.
======
From 101fab7cd8a90f7cf3d8113c792b3f8c2a9afb7d Mon Sep 17 00:00:00 2001
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
======
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
======
2011-06-15 09:37:36 +00:00
Oleg Romashin
e1a410c7ea
Bug 825002 - We should not start compositor thread if it is already started. r=nsilva
2012-12-30 18:07:11 -08:00
Matt Brubeck
bfd6ac84aa
Merge from mozilla-central to mozilla-inbound
2012-12-27 14:53:29 -08:00
Daniel Holbert
668351f091
Merge inbound to m-c
2012-12-27 13:53:16 -08:00
George Wright
1984b6bdba
Bug 815795 - Fix an integer overflow by casting unit_x to int64_t. From upstream commit de60e2e0e3eb6084f8f14b63f25b3cbfb r=jrmuizel
2012-12-19 18:10:07 -05:00
Benjamin Chen
f016ff4111
Bug 805746 - Send CustomScroll domevent to browser.js. r=cjones
2012-12-25 14:09:34 +08:00
Robert O'Callahan
90f9d2a33d
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
66c066653a
Bug 663776. Part 2: Move TransformRectToRect from nsCSSRendering to gfxUtils. r=mattwoodrow
2012-12-07 12:58:13 +13:00
Anthony Jones
8ada9278ac
Bug 811950 - Refactoring to use gfxPoint and gfxSize more. r=cjones
2012-12-23 10:51:39 -05:00
Anthony Jones
f0fee81267
Bug 811950 - Add scaling operators to BaseSize and gfxPoint. r=roc
2012-12-23 10:50:30 -05:00
Anthony Jones
8afece0eef
Bug 811950 - Fix async scrolling of position:fixed. r=cjones
2012-12-23 10:50:04 -05:00
Anthony Jones
8c175aefe5
Bug 811950 - Remove fixed position environment variable. r=roc
2012-12-23 10:47:16 -05:00
Ms2ger
5f321c6ded
Bug 805939 followup: include Hal.h correctly.
2012-12-23 14:48:07 +01:00
David Zbarsky
38adc80db2
Fix initializer order warning, no bug
2012-12-22 23:54:23 -05:00
Neil Rashbrook
41d5c4cd99
Bug 818861 Shouldn't allow promising a flat string from a flat string r=dbaron
2012-12-22 20:40:37 +00:00
Chiajung Hung
a3797d3442
Bug 805939: Wait for shadow trees to update orientation before recompositing. r=cjones
2012-11-22 10:40:57 +08:00
Jonathan Kew
0c8a150c5c
bug 765700 - part 1 - trigger PresContext to reflow when Mac font list is updated. r=jdaggett
2012-12-21 09:48:39 +00:00
Mark Hammond
e249240d97
Backout cf585138ff25 (bug 805939) for Windows build bustage on a CLOSED TREE
2012-12-21 15:30:02 +11:00
Chiajung Hung
2708f65d81
Bug 805939: Wait for shadow trees to update orientation before recompositing. r=cjones
2012-11-22 10:40:57 +08:00
Oleg Romashin
a233ad4a43
Bug 823066 - Provide API for CompositorParent to use custom AsyncPanZoomController. r=drs
...
--HG--
extra : rebase_source : b2bfaa468261d0a270719215c2bf89c361d0145e
2012-12-20 14:37:20 -08:00
Steven Michaud
1007db2ced
Bug 821304 - Unbreak plugins that use subclasses of CALayer in CoreAnimation mode. r=bgirard
2012-12-20 15:14:20 -06:00
Jeff Muizelaar
ef84a35a51
Bug 823393. Breakage fix for partially commited Bug 823148.
...
Only some hunks of the patch for bug 823148 made it into the
tree. I've no idea why.
--HG--
extra : rebase_source : 629e6d74e2e6cf4255e7875a8a1eb044241eec23
2012-12-20 01:16:45 -05:00
Jeff Muizelaar
99b4d14555
Bug 823148. Make IsPatternSupportedByD2D match its name. r=bgirard
...
The name of this function got inverted but its implementation stayed the same.
2012-12-19 23:19:45 -05:00
Nicholas Nethercote
51f20b1833
Bug 820132 - Measure imgFrame::mOptSurface's size where possible, instead of calculating it. r=joedrew.
...
--HG--
extra : rebase_source : da7616356429242e924a09df1124b1dbab13ad60
2012-12-18 21:59:30 -08:00
Ed Morley
c46531d501
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-12-19 19:30:22 +00:00
Jonathan Kew
a03d1dc724
bug 821442 - eliminate the unreliable mFamily back-pointer in gfxFontEntry, and instead pass/track font family explicitly where needed. r=roc
2012-12-19 09:42:25 +00:00
Jeff Gilbert
b1595c1045
Bug 797664 - Don't spew wwhen optional functions aren't found - r=vlad
2012-12-18 23:16:02 -08:00
Jeff Gilbert
1c14ac4a01
Bug 797664 - Add runtime asserts so calling null functions is more obvious - r=bjacob
2012-12-18 23:16:01 -08:00
Jeff Gilbert
64d807747a
Bug 797664 - Pull logic out of all GLContex::raw_ functions - r=vlad
2012-12-18 23:16:01 -08:00
Oleg Romashin
09597e2391
Bug 822115 - nglayout.debug.widget_update_flashing pref cache is not thread safe. r=mattwoodrow
2012-12-16 11:25:04 -08:00
Benoit Jacob
743c19d5f0
Bug 819248 - avoid adding null Layers into the output of SortLayersBy3DZOrder - r=mattwoodrow
2012-12-17 16:12:55 -05:00
Ed Morley
7fff174f46
Backout 9864a836aa35 (bug 820167) for crashes
2012-12-18 15:36:07 +00:00
Avi Halachmi
e8c8e34813
Bug 820167: Enable performance measurement of tab animation. r=jmuizelaar,dao
2012-12-18 09:31:01 -05:00
Chris Jones
4be2c5bab6
Back out bug 814252.
2012-12-18 16:19:54 -08:00
Yazen Ghannam
330dcb43aa
Bug 795378 - Clean up the high-quality scaler - Merge upstream changes to image_operations.cpp. r=joe
2012-12-18 16:25:07 -05:00
Milan Sreckovic
430f21acef
Bug 814839 - Disable WebGL depth textures on Mac NVIDIA - r=jgilbert,bjacob, a=abillings
2012-12-18 16:23:40 -05:00
Jonathan Kew
a0edfcb37c
bug 822048 - use a /fonts/ subdir for any locally-added fonts stored in the profile. r=blassey
2012-12-18 11:18:56 +00:00
Jeff Gilbert
9e4b74bfe1
Bug 821191 - Fix mysterious 5-space indent region in GLContext.h - r=bjacob
2012-12-17 17:58:44 -08:00
Jeff Gilbert
db09531eff
Bug 821191 - Switch recent files from accidental windows line endings to unix line endings - r=bjacob
2012-12-17 17:58:44 -08:00
Dão Gottwald
3e5deace1e
Backed out changeset e14c7409ede7
2012-12-18 01:04:30 +01:00
Avi Halachmi
a1d09d0622
Bug 820167: Enable performance measurement of tab animation. r=jmuizelaar
2012-12-17 18:48:01 -05:00
Benoit Jacob
669a59fe4e
Bug 817774 - Let nsIntRect not have a nsIntRect static data member, as that kills GDB printing it - r=dholbert
2012-12-17 16:59:53 -05:00
Ed Morley
dc578abc7a
Backout 97061a550935 (bug 817774) for build bustage on a CLOSED TREE
2012-12-17 22:22:08 +00:00
Benoit Jacob
f462597ba7
Bug 817774 - Let nsIntRect not have a nsIntRect static data member, as that kills GDB printing it - r=dholbert
2012-12-17 16:59:53 -05:00
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