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