Commit Graph

6345 Commits

Author SHA1 Message Date
Anthony Jones
6ac5d06135 Bug 799401 - Throttle APZC paint requests. r=cjones 2012-12-04 21:00:38 -05:00
Bas Schouten
59275a8c4f Bug 789933: Support non-D2D targets for getting a Path off ScaledFontDWrite. r=nrc 2012-12-05 01:11:02 +01:00
Nicholas Cameron
dbf7f78ed3 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
a961c59e8b 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
e6ad33709d Bug 817574 - Replace NS_ABS with std::abs. r=roc 2012-12-04 13:33:33 +01:00
Chris Jones
e67677ce8b Bug 813372: Guard against TiledTextureImage with dimensions of 0. r=mattwoodrow a=blocking-basecamp 2012-12-04 00:39:21 -08:00
Tobias Netzel
87e6033bb0 Bug 817045 - Note and patch in gfx/cairo. r=jmuizelaar 2012-12-03 20:26:16 -05:00
Tobias Netzel
d010e2972f Bug 817045 - Enable libpixman VMX acceleration. r=jmuizelaar 2012-12-03 20:26:16 -05:00
Joe Drew
915318f7cd Bug 813090 - Fix license block on imported Chromium code. r=gerv 2012-12-03 18:04:22 -05:00
Chris Jones
31e9b5c3bc Bug 813356: Skip subtrees with null roots during resolution. r=roc a=blocking-basecamp 2012-12-03 12:45:42 -08:00
Mats Palmgren
ea73e01986 Bug 817459 - Include mozilla/mozalloc.h when needed to avoid link errors. r=tbsaunde 2012-12-03 20:53:27 +01:00
Anthony Jones
079e618a7c Bug 798194 - Fix problem with resizing the composition bounds. r=roc 2012-12-02 20:33:53 -05:00
Trevor Saunders
8f3dd5f313 bug 801466 - part 2 remove usage of prmem in gfx/ r=jmuizelaar 2012-12-02 15:33:59 -05:00
Chris Lord
9b229ca87b 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
12de3548e2 Backed out changeset 5368aced79b3 (bug 814437) because it breaks Android builds 2012-11-30 15:41:08 -05:00
Chris Lord
524e13922f 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
bd93e9aac8 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
9bc0b72544 Bug 774458 - Only send clicks on confirmed single taps, r=cjones 2012-11-29 21:26:11 -05:00
Matt Woodrow
7ff4b0f6f1 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
4adc2730f3 Bug 815671 part 4. Remove some array copying in gfx code. r=roc 2012-11-29 11:14:13 -05:00
Chris Lord
e0d69bfa1b 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
6f781344f3 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
8df438c5af 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
c9fb3330b3 Bug 814437 - Count low precision rendering 0.5x towards checkerboarding. r=bgirard 2012-11-29 12:03:27 +00:00
Benjamin Chen
cbf8129880 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
de45932fd3 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
edf8cdeef3 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
da226d8e42 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
0466aaefe7 Bug 811958 - Move TextureImage into its own files - r=bgirard 2012-11-26 14:23:27 -08:00
Jeff Gilbert
f0fdb0504f Bug 811958 - Fix and move ShateType type - r=bgirard 2012-11-26 14:23:27 -08:00
Jeff Gilbert
495dc78702 Bug 811958 - Pull GLContext out of Cocoa stuff - r=bgirard 2012-11-26 14:23:27 -08:00
Jeff Gilbert
31671553a5 Backed out csets 807f2c3df974, 1637c39b4ed6, ec29e09a270e (bug 811958) for burning android 2012-11-26 13:48:20 -08:00
Jeff Gilbert
c8b0be7790 Bug 811958 - Move TextureImage to its own files - r=bgirard 2012-11-26 12:51:58 -08:00
Jeff Gilbert
08572e4b8e Bug 811958 - Fix and move ShareType type - r=bgirard 2012-11-26 12:51:57 -08:00
Jeff Gilbert
c11ab4f1da Bug 811958 - Pull GLContext out of Cocoa stuff - r=bgirard 2012-11-26 12:51:57 -08:00
Oleg Romashin
cba29c6203 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
19fd7aceb1 Bug 793719 - Fix for D2D error on shutdown with VS2012. r=bas 2012-11-25 14:00:31 -05:00
Joe Drew
3e41b25008 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
cf706b0313 Bug 751418 - Move common functions from DrawTargetSkia to HelpersSkia r=mattwoodrow 2012-10-16 17:16:45 -04:00
George Wright
73099f5a78 Bug 814171 - Intercept calls for maximum texture/framebuffer sizes in GLContext::fGetIntegerv r=jgilbert 2012-11-13 17:35:35 -05:00
Chris Pearce
70e5180d4e Bug 814541 - Silence warnings in gfx/layers/d3d9/Nv3DVUtils.cpp. r=Bas 2012-11-23 15:21:20 +13:00
Bas Schouten
0aef574264 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)
1b8a2e6d1c 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
9a4a91a17e 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
69e6efa6ee Bug 808266 - Add memory reporter for GrallocBufferActor. r=cjones 2012-11-22 08:39:56 -05:00
Chris Lord
fba6244af3 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
f15533b7e5 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
8b4fb00720 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
b85091b04e 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
a50634bd4c 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
26ab25e0a5 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
687263ae68 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
e4979bfca9 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
f3fe8a5a5d 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
30136b7c25 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
a1ca146c7c 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
3b93444ed3 bug 799869 - [harfbuzz] improve heuristic for choosing between shapers for khmer fonts. r=behdad 2012-11-21 19:31:35 +00:00
Chris Lord
d51cbc3aac 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
561141a84b 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
960993b01b 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
9dafa73eb6 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
2016290103 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
a66bf654b5 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
ef4d0255cb 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
d5ad57cd7c 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
7a7a8a8ebd 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
9a58cff763 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
59a3487ccc 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
3d7cc44fd1 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
b37e42c834 Bug 812957 - Follow-up: Replace void\n* with void*\n. r=oops DONTBUILD 2012-11-19 23:14:14 -05:00
Nicholas Nethercote
671d8d20c1 Bug 812957 - Add memory reporter for Freetype. r=karlt,jlebar 2012-11-19 22:00:19 -05:00
Ehsan Akhgari
f111e7c0fb Merge mozilla-central into mozilla-inbound 2012-11-19 17:07:53 -05:00
Chris Jones
0263e5a9c4 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
56142d1801 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-11-19 15:35:06 +00:00
Jonathan Kew
28b9f823ec bug 811312 - part 2 - fold CGFontEntry subclass into MacOSFontEntry. r=jdaggett 2012-11-19 10:22:10 +00:00
Jonathan Kew
3a52dd6d41 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
031ec941d4 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
499651a424 b=811115 - remove MOZ_EGL_XRENDER_COMPOSITE dead code. r=jgilbert 2012-11-18 16:47:57 +01:00
Nicolas Silva
e4f96fc0f6 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
cf282fc37b 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
6d8db1611a Backed out changeset 224fe2a12a04 (bug 779029) for Windows reftest failures. 2012-11-15 21:34:14 -05:00
Yury
fc06b33fb9 Bug 812039 - mozIsPointInPath leaks CGPath objects. r=jmuizelaar 2012-11-15 20:34:57 -05:00
Jonathan Kew
94659d64b3 bug 811382 - update OTS library to r.95. r=jdaggett 2012-11-15 17:04:57 -08:00
Bas Schouten
3dfe9e7a7b Bug 779029: Try to respect EXTEND_NONE when masking. r=jrmuizel 2012-11-16 00:30:08 +00:00
Daniel Holbert
dc4c4f689d (no bug) fix typo in header comment for AsyncPanZoomController::CalculateIntrinsicScale(). DONTBUILD (comment-only) 2012-11-15 09:16:03 -08:00
Jeff Muizelaar
7b6c5f3e23 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
da71daaa87 Bug 811850: Fix gfx 2d recording to be 64-bit neutral. r=jrmuizel 2012-11-14 20:55:02 +00:00
Jeff Muizelaar
b2f147f5ac 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
abde875b55 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
49dd7a2abe Bug 791466 - Fix direct write cairo scaled font. r=Bas 2012-11-12 11:35:49 -08:00
Matt Woodrow
c39ede05cb Bug 805197 - Compute a region in LayerTreeInvalidation. r=roc 2012-11-12 10:31:15 -08:00
Nicholas Cameron
1e690cd966 Bug 782311; put back D3D10_RESOURCE_MISC_GDI_COMPATIBLE. r=Bas 2012-11-10 11:14:13 -08:00
Justin Lebar
e80ccc6058 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
b0097ea4f1 Backed out changeset b5c86318a3ee (bug 801918) for various regressions. 2012-11-10 12:09:50 -05:00
Ryan VanderMeulen
a9dc8e795f 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
37f4a955e5 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
9155d11e55 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
3520137968 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
d2e9fb6a55 Bug 796275 - Context menu fires on wrong target out of process. r=cjones 2012-11-08 14:35:02 -05:00
Benoit Girard
b9c37615d2 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
06cb6800a0 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
d4b61e8263 Bug 809904 - Create gralloc images in ImageContainerChild::CreateImage r=nical 2012-11-09 06:44:11 +13:00
Benoit Girard
986e390562 Bug 809493 - Restore the blend equation state after drawing the underlay. r=joe 2012-11-08 10:10:51 -05:00
Edwin Flores
d4f885daa6 Bug 798448 - Add YVU420SP to RGB565 conversion function r=gal 2012-11-08 17:24:02 +13:00
Edwin Flores
c9abceda4c Bug 804906 - Plug leak in GonkIOSurfaceImage::GetAsSurface r=doublec 2012-11-08 17:24:01 +13:00
Chris Jones
3b6afccf0e 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
2d52f78c4f 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
0c44a0904a Bug 509052: Add new, faster blurring code. r=derf 2012-11-07 09:29:54 +01:00
Ed Morley
7955e755b0 Backout e89f1fce980d (bug 509052) for an assortment of timeouts and crashes 2012-11-07 10:47:27 +00:00
Bas Schouten
18e314acfd Bug 509052: Add new, faster blurring code. r=derf 2012-11-07 09:29:54 +01:00
Matt Woodrow
2146637de4 Bug 808469 - Use gfxQuartzSurface for OMTC drawing on mac. r=cjones 2012-11-07 19:56:56 +13:00
Matt Woodrow
f63b23664a 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
1e6a5f0d3a Backout c3933841e06e (bug 793013) for possible Win7 reftest failures. 2012-11-06 21:27:09 -05:00
Tobias Schneider
8b298f4026 Bug 803124 - Implement mozIsPointInStroke. r=jmuizelaar 2012-10-29 16:54:53 +01:00
Anthony Jones
217bb02bf0 Bug 793013 - Use EnumSet in gfxPlatform instead of 1 << n. r=ncameron 2012-11-06 18:23:13 -05:00
Anthony Jones
3a8e7334df Bug 793013 - Remove unnecessary whitespace. 2012-11-06 18:23:13 -05:00
Jeff Gilbert
6b85c63580 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
f0fabd4a39 Bug 807408 - Cache the temporary surface used when drawing ThebesLayers with BasicLayers. r=jrmuizel 2012-11-07 11:39:35 +13:00
Jonathan Kew
509fb43edc bug 805760 - update graphite2 lib to commit 51e72e74b9a6. r=jdaggett 2012-11-06 18:11:58 +00:00
Nicolas Silva
dcda690370 Bug 797893 - Fix trivial warning in ImageBridgeParent.cpp. r=dholbert 2012-10-05 22:46:01 +02:00
Phil Ringnalda
30fad36dc1 Back out 0d4e09ade336 (bug 808746) for Android reftest bustage 2012-11-05 22:35:59 -08:00
Benoit Girard
8d660d9bcc Bug 808746 - Properly calculate the tile's origin when avoiding SinglePaintBuffer. r=bjacob 2012-11-05 23:41:58 -05:00
Benoit Girard
7fe23ff866 Bug 679527 - Avoid float operation in qcms transforms. r=jrmuizel 2012-10-19 18:23:07 -04:00
Benoit Girard
2f0a721520 Bug 679527 - Use floorf/ceilf in qcms transform function. r=jrmuizel 2012-10-19 16:35:36 -04:00
Benoit Girard
7e6980a486 Bug 679527 - Prefer floorf over floor in qcms. r=jrmuizel 2012-10-19 16:35:24 -04:00
Nicolas Silva
a297627bd6 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
2d1f625e26 bug 808288 - render missing glyphs as hexboxes in <canvas> text. r=bas 2012-11-04 10:51:03 +00:00
Ed Morley
0c1158c097 Backout 5eec0a5b76ff, 64e143317082 & f356d9b2524c (bug 808288) for reftest failures 2012-11-04 00:53:06 +00:00
Jonathan Kew
aff29a1863 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
d4ed1a1c10 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
36ae7e6c05 Bug 792581 - part 23: Replace LL_INIT and LL_UDIVMOD macros. r=ehsan 2012-11-01 20:57:25 -04:00
Tobias Schneider
d12338f402 Bug 806780 - PathSkia::ContainsPoint should use SkPath::contains(x, y). r=jmuizelaar 2012-10-30 10:19:16 +01:00
Brad Lassey
fd0415480e 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
7cb5d16857 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
c41c62ae2a Bug 787812 - Add Nexus S pixels constants. r=kchen 2012-10-27 12:48:18 +02:00
Jacek Caban
015aac00f5 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
76513d2702 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
4b853e748f 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
9918b32c5c Bug 801465; DataSourceSurfaceD2D; r=Bas 2012-10-31 12:30:25 +13:00
Benoit Girard
4cb2f77234 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
9b7556492c 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
f9b2a74082 Bug 806618 - rewrite PR_NewLogModule calls to not generate static initializers; r=ehsan 2012-10-29 19:32:10 -04:00
Masayuki Nakano
d5a93b094c Bug 805761 Fix warning in layers::FrameMetrics::GetScrollOffsetInLayerPixels() r=drs 2012-10-30 10:58:29 +09:00
Daniel Holbert
f2f61487b3 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
eda62c08cb 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
4203da214f 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
bea8356b2c Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan 2012-10-26 15:32:10 +02:00
Nicolas Silva
adf5395310 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
e52a32f0ff Bug 805831: Add a cache for border corner gradients. r=joedrew 2012-10-27 06:32:52 +02:00
Phil Ringnalda
8ef69d2aac Back out fbd8fdb7c544 (bug 805831) for build failures 2012-10-26 21:53:41 -07:00
Bas Schouten
688168bfaf Bug 805831: Add a cache for border corner gradients. r=joedrew 2012-10-27 06:32:52 +02:00
Benoit Girard
37d3385e8d 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
5954e48580 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
09b0dc834b 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
cb9f8ae9e7 Bug 798033 - Removes "using namespace" directive from gfx headers - r=jmuizelaar 2012-10-25 16:12:59 -04:00
Chris Lord
2bdabb168c 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
ea24fe8f7e 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
19d18b4803 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
66ba4ec646 Bug 796418 - Check cairo matrix before drawing. r=joe 2012-10-24 22:03:21 -04:00
Matt Woodrow
e813ffaf37 Bug 775228. r=joe 2012-10-25 12:04:41 +13:00
Benoit Jacob
d39687ef3f 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
92957d10b7 Bug 805002 - Flush accelerated Quartz canvas before GL composition. r=BenWa 2012-10-24 18:17:00 +02:00
Chris Lord
e22cbeea8a 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
20620b38aa Bug 804949: Change the way panning works. r=cjones a=blocking-basecamp 2012-10-24 01:37:53 -07:00
Jonathan Kew
000afaf24f bug 803347 - update graphite2 lib to upstream commit 4ddfa0f51098. r=jdaggett 2012-10-24 09:20:13 +01:00
Phil Ringnalda
d6c4126193 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
1df855d53e 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
6d8362a8e3 Bug 804724 - Add an abort painting marker. r=ehsan
--HG--
extra : rebase_source : 10f327e91b15d673303eb607a361c1c4d14a1e92
2012-10-23 17:18:37 -04:00
Ehsan Akhgari
14ea91459d Backout changeset d587ce3af2f3 (bug 791428) because of performance regressions 2012-10-23 16:01:45 -04:00
Chris Lord
ec28ea4248 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
8797c7fbb0 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
aa0dfab72a 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
f02066c4bb 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
e05d1cc423 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
5d6d10ae42 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
8c694ead4c Backing out 20279718e3c7 (bug 717178 part 2) for test bustage on a CLOSED TREE 2012-10-23 16:31:12 +13:00
Anthony Jones
429690fd65 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)
e273d9a236 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
0c634d7c05 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
0180262fe6 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
92a8e8eb5b 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
e74ed98939 Bug 798853, gfx. r=roc 2012-10-22 15:53:31 +02:00
Jonathan Kew
9720ae3df4 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
e38a8fa3ef 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 (陳侃如)
c162c0d48f Bug 791711 - Invalidate again if the SharedImageID was removed. r=nical 2012-10-20 08:18:31 +08:00
Isaac Aggrey
9e41ce2fa0 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
43e399f0a3 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
f417dde98c Bug 802143 - Clarify coordinate spaces in ReusableTileStoreOGL::DrawTiles. r=bgirard 2012-10-18 12:59:17 +01:00
Chris Lord
ba0b96675c 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
ef3b486fb1 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
ae19046b6a Bug 802518; add Painted() to BasicShadowableCanvasLayer::Paint; r=jgilbert DONTBUILD 2012-10-18 21:40:32 +13:00
Nicholas Cameron
c6451f58a1 Back out changeset db4fd6efba17 for wrong bug number r=me 2012-10-18 21:39:15 +13:00
Chris Jones
f085790e09 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
40b388f762 Bug 803518; add Painted() to BasicShadowableCanvasLayer::Paint; r=jgilbert
--HG--
extra : rebase_source : 2cad76436370ec2bf1d52208a732e638e62435d5
2012-10-18 11:17:32 +13:00
Bill McCloskey
0728920867 Bug 714050 - Add support for optional JS helper threads (r=luke) 2012-10-16 11:57:09 -07:00
Joe Drew
ed27f21e03 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
88f480b3d0 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
c266c7fcf4 Bug 802321 - Use FuzzyEquals to compare matrices in LayerTreeInvalidation. r=roc 2012-10-17 21:00:00 +13:00
Steven Michaud
5a116d7578 bug 794038 pt 3 - plugins support for resolution change. r=bgirard 2012-10-16 20:41:21 +01:00
Matthew Gregan
be00aa7981 Bug 789075 - Handle odd sized WebM video frames correctly. r=derf 2012-10-16 16:03:43 +13:00
Benoit Girard
cfdf0a021b Back out b7f31a736800 for mochitest failures
--HG--
extra : rebase_source : 9f77f07db004fe11a20533c0ad017cef825a1a8b
2012-10-15 16:57:43 -04:00
Benoit Girard
6fc234d810 Back out d5496f32f2e4 for mochitest failures
--HG--
extra : rebase_source : 1e0caa0ae6d2c1bec971fde75c348f69e6cc63fe
2012-10-15 16:57:06 -04:00
Benoit Girard
7278b49e9c 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
c78c87a1ca back out 621cfd13ceaf for build failures 2012-10-15 13:34:42 -04:00
Matt Joras
db700742e9 Bug 798033 - Removes "using namespace" directive from gfx headers - r=jmuizelaar 2012-10-15 13:02:21 -04:00
Benoit Girard
ec26b16506 Bug 796117 - New Mobile tilestore tiles will now replace equivalent tiles. r=Cwiiis 2012-10-12 17:50:08 -04:00
Oleg Romashin
5aa9617314 Bug 801460 - IDXGIFactory2 not declared build errors with --enable-metro. r=bas.schouten 2012-10-14 23:19:13 -07:00
Chris Lord
dca6278f92 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
dba95137af 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
5bf1712318 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
fcce8cbd82 Bug 799956 - Mark BasicLayerManagers that don't retain content as supporting component alpha layers. r=roc 2012-10-15 17:53:37 +13:00
Makoto Kato
bd55d44862 Bug 800667 - typo wih NATIVE_OUTPUT in qcms. r=jmuizelaar 2012-10-15 13:34:52 +09:00
Ed Morley
58b2b67062 Merge mozilla-central to mozilla-inbound 2012-10-12 12:22:14 +01:00
Ed Morley
730f7084d0 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-10-12 11:59:59 +01:00
Nicholas Cameron
ab7f6035bf Bug 734668; remove Thebes canvas. r=roc
--HG--
extra : rebase_source : 57b08c33f72cd611deb30dc1639060a719747849
2012-10-12 22:42:51 +13:00
Chris Jones
b00b1e25b0 Bug 795657: Integrate native viewport configuration better into async pan-zoom code. r=jwir3,roc
This is a rollup of the following patches
 - Change the interpretation of FrameMetrics.mZoom to a "resolution-indepedent zoom", instead of a resolution-depedent scale factor. r=roc
 - Remove mention of "meta" from TabChild. r=roc
 - Remove some useless logging. r=roc
 - Tag FrameMetrics with its composition bounds at paint time. r=roc
 - Add a helper to calculate the render resolution for a FrameMetrics. r=roc
 - Add a helper to compute the approximate CSS dimensions a FrameMetrics will cover during composition. r=roc
 - BrowserElementScrolling doesn't actually care about zoom or resolution. r=roc
 - Accept the viewport that content has calculated, when it's received the latest widget geometry update. r=roc
 - Mechanically separate uses of zoom/resolution based on new definitions. r=roc
 - Convert GetViewportInfo()'s resolution-dependent scale into resolution-indepedent zoom. r=roc
 - Reinterpret defaultZoom == 0.0 as "intrinsic scale". r=jwir3,roc
2012-10-11 22:46:24 -07:00
Jan Beich
303211e484 Bug 800058 - Unbreak graphite2-1.2.0 on clang/libc++. r=jfkthame 2012-10-11 10:53:19 +01:00
Jan Beich
c0e9926e32 Bug 799813 - Qt/Linux needs GetGLXPixmap() after bug 788042. r=karlt 2012-10-10 21:11:15 -04:00
Trevor Saunders
e2db6e1941 bug 798595 - remove useless prmem.h includes r=ehsan 2012-10-04 02:14:06 -04:00
Jeff Muizelaar
07b8aa36d6 Bug 800031. Include paint time int tab switch telemetry. r=ehsan,dao,bjcaob
This adds a new FX_TAB_SWITCH_TOTAL_MS that should more accurately represent
the user experience of tab switch time than FX_TAB_SWITCH_UPDATE_MS.
FX_TAB_SWITCH_UPDATE_MS is being kept because it gives a good indication of how
much time is being spent in the front end parts vs the painting parts.

This works by measuring the time between beginTabSwitch() and the first call to
LayerManager::PostPresent().
2012-10-11 13:54:27 -04:00
Ed Morley
b21550a382 Backout 2231b8e778a3 (bug 715658) for errors linking on Windows 2012-10-10 12:15:30 +01:00
Anthony Jones
15656b2623 Bug 795763 - Support extend mode for gradient patterns in DrawTargetCairo. r=joe 2012-10-10 06:32:36 -04:00
Uli Schlachter
f82676933a Bug 722975 - --enable-system-cairo build is broken after Bug 715658 fixed. r=Bas 2012-10-10 06:32:36 -04:00
Makoto Kato
5a7e84e7fe Bug 795594 - Add workaround for MSVC x64 compiler bug. r=roc 2012-10-10 15:17:30 +09:00
Jonathan Kew
638a0abf59 bug 789687 - update harfbuzz to upstream commit fecdfa95daf4916695f23e7dab89ab363be11b89. r=jdaggett 2012-10-09 13:11:24 +01:00
Jonathan Kew
dca13f88d5 Bug 799062 - eliminate "warning: '&&' within '||'" messages in gfxFont.cpp. r=bas 2012-10-09 13:11:20 +01:00
Anthony Jones
1ad1473852 Bug 793923 - Fixed gfxPlatform to use gfx.content.azure.backends properly. r=ncameron,roc
--HG--
extra : rebase_source : 2aecac9b17cb570a87ad34bb7680847db7a8f457
2012-10-09 11:45:35 +02:00
Jacek Caban
28992e5e05 Bug 795839 - Include iostream in PathRecording.h r=bas
--HG--
extra : rebase_source : 3774e2bdd21b05b009301269e8241acac8468003
2012-10-09 11:44:11 +02:00
Jonathan Kew
aca101d057 bug 797863 - change #includes of <cstdio> to <stdio.h> in graphite2 to work around bug 721839. r=jdaggett 2012-10-09 10:33:41 +01:00
Jonathan Kew
219b9419db bug 797863 - fixes for minor build problems in graphite2 v1.2. r=jdaggett 2012-10-09 10:33:22 +01:00
Jonathan Kew
009686fa5e bug 797863 - update graphite2 library to release 1.2 (http://projects.palaso.org/attachments/download/298/graphite2-1.2.0.tgz). r=jdaggett 2012-10-09 10:33:00 +01:00
Edwin Flores
efd294e673 Bug 794061 - Let OMX hardware decoded video frames be copied to canvas r=kanru 2012-10-09 17:06:35 +13:00
Bas Schouten
3e59ae2b30 Bug 793175: Discard a cached SourceSurface if it was created for the wrong BackendType. r=jrmuizel 2012-10-08 15:44:36 +13:00
Bas Schouten
d8b7eca98f Backed out changeset 41b5180cf6af DONTBUILD 2012-10-08 12:56:00 +02:00
Bas Schouten
a813e80bc2 Bug 793175: Discard a cached SourceSurface if it was created for the wrong BackendType. r=jrmuizel 2012-10-08 15:44:36 +13:00
Bas Schouten
c333193b1d Bug 798931: Push clip layers to the correct render targets. r=roc 2012-10-08 12:17:17 +02:00
Ed Morley
42f0125a9a Backout 6c89d2b6ea4b (bug 793175) on suspicion of somehow causing Win7 opt permaorange in browser_updatessl.js and friends 2012-10-08 10:31:57 +01:00
Bas Schouten
2452b636ce Bug 793175: Discard a cached SourceSurface if it was created for the wrong BackendType. r=jrmuizel
--HG--
extra : rebase_source : b94e3deb2ba3cf7d461ebc25588c7ea45361b521
2012-10-08 15:44:36 +13:00
Ehsan Akhgari
3239e8a0d5 Bug 579517 follow-up: Remove NSPR types that crept in 2012-10-07 18:26:08 -04:00
Oleg Romashin
17cd21e011 Bug 796927 - Gfx Build fix, missing cstring include for memcpy. r=joe 2012-10-06 13:59:01 -07:00
Joe Drew
6343da8f62 Bug 798061 - Fix mismatched malloc vs delete[] in mozilla::gfx::AlphaBoxBlur::~AlphaBoxBlur(). r=jmuizelaar 2012-10-06 21:53:23 -04:00
Bas Schouten
e24cd566f3 Bug 784382 - Part 2: Use new ID2D1DeviceContext interface in Azure. r=jrmuizel 2012-10-07 01:43:16 +02:00
Ed Morley
fd14735924 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-10-06 20:30:35 +01:00
Jeff Muizelaar
7cf4f06f92 Bug 798758. qcms: Fix component order typo. r=Bas
This was caused by bug 791422 (bd16a5d51273)
2012-10-06 08:20:50 -04:00
Brad Lassey
415ed19020 bug 790139 - crash in FT2FontEntry::CreateFontEntry when visiting any site in CM10 r=jfkthame 2012-10-05 17:46:02 -04:00
Andrew Quartey
5fcf688c9c Bug 792581 - part 9: Replace LL_ADD with mathematical plus operator. r=ehsan 2012-10-05 01:05:27 -04:00
Ed Morley
29308c09dd Bug 798419 - Fix incorrect spellings of success(ful) in test output; r=me 2012-10-05 17:48:15 +01:00
Chris Lord
cea8d6a6c4 Bug 794130 - Abort drawing if appropriate when using progressive tile updates. r=bgirard,blassey
Add a function to BasicLayerManager to check if it's appropriate to abort an
ongoing progressive update, and add an Android-specific implementation in
mobile/android/base/gfx/GeckoLayerClient.java.

--HG--
extra : rebase_source : edbd20acb53660340d52265591849aacafd179c4
2012-10-04 14:45:16 -04:00
Benoit Girard
af307e1729 Bug 724666 - Add pref for accelerated canvas on mac. r=jrmuizel 2012-07-31 18:48:40 -04:00
Bas Schouten
38c31a9d1f Bug 797797: Get the new device offset after pushing the new DT. r=roc 2012-10-04 14:54:57 +02:00