David Zbarsky
4fa35a184b
Fix initializer order warning, no bug
2012-12-22 23:54:23 -05:00
Chiajung Hung
cb2c3eaf66
Bug 805939: Wait for shadow trees to update orientation before recompositing. r=cjones
2012-11-22 10:40:57 +08:00
Mark Hammond
014d7213d5
Backout cf585138ff25 (bug 805939) for Windows build bustage on a CLOSED TREE
2012-12-21 15:30:02 +11:00
Chiajung Hung
f1e80feb7a
Bug 805939: Wait for shadow trees to update orientation before recompositing. r=cjones
2012-11-22 10:40:57 +08:00
Oleg Romashin
a8e1a54334
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
Oleg Romashin
a24ab17713
Bug 822115 - nglayout.debug.widget_update_flashing pref cache is not thread safe. r=mattwoodrow
2012-12-16 11:25:04 -08:00
Chris Jones
2e3484e3be
Back out bug 814252.
2012-12-18 16:19:54 -08:00
Benoit Jacob
741c97f6b0
Bug 819248 - avoid adding null Layers into the output of SortLayersBy3DZOrder - r=mattwoodrow
2012-12-17 16:12:55 -05:00
Ed Morley
4b9183ba5d
Backout 9864a836aa35 (bug 820167) for crashes
2012-12-18 15:36:07 +00:00
Avi Halachmi
1db1f190b1
Bug 820167: Enable performance measurement of tab animation. r=jmuizelaar,dao
2012-12-18 09:31:01 -05:00
Dão Gottwald
8074dbee73
Backed out changeset e14c7409ede7
2012-12-18 01:04:30 +01:00
Avi Halachmi
a22a349cdd
Bug 820167: Enable performance measurement of tab animation. r=jmuizelaar
2012-12-17 18:48:01 -05:00
Julian Seward
b2c7b70731
Bug 821395 - Uninitialised value use in gfxUtils::GetYCbCrToRGBDestFormatAndSize r=nical
2012-12-17 12:21:56 +01:00
Kartikaya Gupta
51d1e3218d
Bug 818060 - Add a memory reporter for graphics textures. r=BenWa,njn
2012-12-16 19:16:26 -05:00
Jeff Walden
7146c23e80
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
d6f5564918
Backout 09d66d9ccb2e (bug 818060) for build failures on Windows
2012-12-13 17:17:12 +00:00
Kartikaya Gupta
39f41efede
Bug 818060 - Add a memory reporter for graphics textures. r=njn,BenWa
2012-12-13 11:38:37 -05:00
Edwin Flores
283f1651ad
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
Robert O'Callahan
bb1dcd8d55
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
7e9adbd060
Bug 814252 - use touch event for scrolling if available. r=cjones.
2012-11-28 13:51:50 +08:00
Benoit Jacob
d95f4d2833
Bug 814716 - correct the way that we tweak max sizes - r=jgilbert
2012-12-11 16:57:30 -05:00
Nicholas Cameron
04002c184f
Bug 780692; throttle OMTA (rollup patch). r=dbaron,bz
...
--HG--
extra : rebase_source : 1207275df5c509ac1974e2b9333c738b995f9d5e
2012-12-12 10:12:43 +13:00
Anthony Jones
d448b6b02b
Bug 799401 - Throttle APZC paint requests. r=cjones
2012-12-10 08:50:24 -05:00
pchang@mozilla.com
28ce01a44f
Bug 796722 - Send screen update when there is only rotation changed event happened. r=roc
2012-11-06 17:11:43 +08:00
Ed Morley
e987323650
Backout 55d5f3cd5c85, d89ae7f40549 & 270391fca858 (bug 663776) for assertions
2012-12-07 12:37:36 +00:00
Robert O'Callahan
3c9cac31fa
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
Matt Woodrow
d79e024902
Bug 791644 - Refactor nsDisplayTransform::GetResultingTransformMatrix into two functions with less optional parameters. r=roc
2012-09-18 10:34:21 +12:00
Chris Lord
f157f692e5
Bug 818169 - Add a pref to configure resolution of low precision buffer. r=bgirard
2012-12-05 17:10:41 +00:00
Nicolas Silva
5e6401deba
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
73f2cb97af
Backed out changeset 65f06a1e7b1b (bug 799401) for Windows build bustage.
2012-12-04 21:43:52 -05:00
Anthony Jones
d4d4a663f1
Bug 799401 - Throttle APZC paint requests. r=cjones
2012-12-04 21:00:38 -05:00
Chris Lord
36d127329a
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
60ccae9fe3
Bug 817574 - Replace NS_ABS with std::abs. r=roc
2012-12-04 13:33:33 +01:00
Chris Jones
22e24dcf2b
Bug 813372: Guard against TiledTextureImage with dimensions of 0. r=mattwoodrow a=blocking-basecamp
2012-12-04 00:39:21 -08:00
Chris Jones
09dfcb2bb1
Bug 813356: Skip subtrees with null roots during resolution. r=roc a=blocking-basecamp
2012-12-03 12:45:42 -08:00
Anthony Jones
f9f890b7d6
Bug 798194 - Fix problem with resizing the composition bounds. r=roc
2012-12-02 20:33:53 -05:00
Chris Lord
77c6546972
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
48c687113c
Backed out changeset 5368aced79b3 (bug 814437) because it breaks Android builds
2012-11-30 15:41:08 -05:00
Chris Lord
b2b8133657
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
c5a90eaf89
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
be51825214
Bug 774458 - Only send clicks on confirmed single taps, r=cjones
2012-11-29 21:26:11 -05:00
Matt Woodrow
56ba57d515
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
53f339800c
Bug 815671 part 4. Remove some array copying in gfx code. r=roc
2012-11-29 11:14:13 -05:00
Chris Lord
c03d30e218
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
7e85fd7d95
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
0997087f82
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
3d5740023e
Bug 814437 - Count low precision rendering 0.5x towards checkerboarding. r=bgirard
2012-11-29 12:03:27 +00:00
Benjamin Chen
4bc6260040
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
f436443f50
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
Jeff Gilbert
5ea164ca57
Bug 811958 - Fix and move ShateType type - r=bgirard
2012-11-26 14:23:27 -08:00
Jeff Gilbert
9c9ac2fca3
Bug 811958 - Pull GLContext out of Cocoa stuff - r=bgirard
2012-11-26 14:23:27 -08:00
Jeff Gilbert
144687e59c
Backed out csets 807f2c3df974, 1637c39b4ed6, ec29e09a270e (bug 811958) for burning android
2012-11-26 13:48:20 -08:00
Jeff Gilbert
6db824094c
Bug 811958 - Fix and move ShareType type - r=bgirard
2012-11-26 12:51:57 -08:00
Jeff Gilbert
7cf8b80673
Bug 811958 - Pull GLContext out of Cocoa stuff - r=bgirard
2012-11-26 12:51:57 -08:00
Oleg Romashin
962c7d9b70
Bug 814979 - Fennec build fails with Mer SDK: invalid inclusion of GLXLibrary.h. r=glandium,mattwoodrow
2012-11-26 00:08:22 -08:00
Chris Pearce
27142adde4
Bug 814541 - Silence warnings in gfx/layers/d3d9/Nv3DVUtils.cpp. r=Bas
2012-11-23 15:21:20 +13:00
David Zbarsky ext:(%2C%20David%20Baron%20%3Cdbaron%40dbaron.org%3E%2C%20Chris%20Jones%20%3Cjones.chris.g%40gmail.com%3E)
a8ed311e40
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
Andrea Marchesini
7791d789d4
Bug 808266 - Add memory reporter for GrallocBufferActor. r=cjones
2012-11-22 08:39:56 -05:00
Chris Lord
11a5503d3c
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
daa0c0b91b
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
7f5b805f96
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
dcd77547c6
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
b4f19d1caf
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
f068580516
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
221843e04f
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
dced911b41
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
4e2898c1cf
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
49699652e2
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
abcfaa316e
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
Chris Lord
9ec8b6a2e5
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
ebcd7b9479
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
f56c6a2dd4
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
2cf7007f77
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
5b0bde0e57
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
c341a5ec2a
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
53df955001
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
231a433699
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
6ae9b705d9
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
78b87d6c47
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
Jonathan Watt
03a812f65b
Bug 802440 - Some elements are invalidated when other elements are scrolled off the screen. r=roc.
2012-11-21 02:23:57 +00:00
Chris Jones
8c1774d31e
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
Nicolas Silva
0b59dd32e0
b=811115 - remove MOZ_EGL_XRENDER_COMPOSITE dead code. r=jgilbert
2012-11-18 16:47:57 +01:00
Nicolas Silva
064dc74d8e
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
Daniel Holbert
cc5f3de1d7
(no bug) fix typo in header comment for AsyncPanZoomController::CalculateIntrinsicScale(). DONTBUILD (comment-only)
2012-11-15 09:16:03 -08:00
Jeff Muizelaar
4c788785a7
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
Matt Woodrow
bcdaf96109
Bug 805197 - Compute a region in LayerTreeInvalidation. r=roc
2012-11-12 10:31:15 -08:00
Nicholas Cameron
1f29551184
Bug 782311; put back D3D10_RESOURCE_MISC_GDI_COMPATIBLE. r=Bas
2012-11-10 11:14:13 -08:00
Ryan VanderMeulen
3b3a4a2c86
Backed out changeset b5c86318a3ee (bug 801918) for various regressions.
2012-11-10 12:09:50 -05:00
Andrea Marchesini
848b592697
Bug 796275 - Context menu fires on wrong target out of process. r=cjones
2012-11-08 14:35:02 -05:00
Benoit Girard
a678c602e4
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
b45039f01f
Bug 809904 - Create gralloc images in ImageContainerChild::CreateImage r=nical
2012-11-09 06:44:11 +13:00
Benoit Girard
057737fe06
Bug 809493 - Restore the blend equation state after drawing the underlay. r=joe
2012-11-08 10:10:51 -05:00
Edwin Flores
2480df5b0a
Bug 798448 - Add YVU420SP to RGB565 conversion function r=gal
2012-11-08 17:24:02 +13:00
Edwin Flores
3294528a2f
Bug 804906 - Plug leak in GonkIOSurfaceImage::GetAsSurface r=doublec
2012-11-08 17:24:01 +13:00
Chris Jones
8a2473fc33
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
3d8c760074
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
Matt Woodrow
b5b0a2f7d2
Bug 808469 - Use gfxQuartzSurface for OMTC drawing on mac. r=cjones
2012-11-07 19:56:56 +13:00
Matt Woodrow
7cbf5162ba
Bug 807408 - Cache the temporary surface used when drawing ThebesLayers with BasicLayers. r=jrmuizel
2012-11-07 11:39:35 +13:00
Nicolas Silva
0ee0d2e02b
Bug 797893 - Fix trivial warning in ImageBridgeParent.cpp. r=dholbert
2012-10-05 22:46:01 +02:00
Phil Ringnalda
25c4f24ae3
Back out 0d4e09ade336 (bug 808746) for Android reftest bustage
2012-11-05 22:35:59 -08:00