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
Benoit Girard
84bc9c78d0
Bug 808746 - Properly calculate the tile's origin when avoiding SinglePaintBuffer. r=bjacob
2012-11-05 23:41:58 -05:00
Nicolas Silva
9163020b45
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
Chris Jones
6249aa79ea
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
Jeff Muizelaar
82d19c2b98
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
2bdfa628ee
Bug 787812 - Add Nexus S pixels constants. r=kchen
2012-10-27 12:48:18 +02:00
Benoit Girard
9247bfc30f
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
Masayuki Nakano
a31fb1c20e
Bug 805761 Fix warning in layers::FrameMetrics::GetScrollOffsetInLayerPixels() r=drs
2012-10-30 10:58:29 +09:00
Chris Lord
b3b5969577
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
5327c7eaab
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
Nicolas Silva
0beab091c2
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
Benoit Girard
5d9fdabc64
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
5ba2ae05c2
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
Matt Joras
2549497ae7
Bug 798033 - Removes "using namespace" directive from gfx headers - r=jmuizelaar
2012-10-25 16:12:59 -04:00
Chris Lord
59e6d65fb8
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
920793b142
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
3675c89168
Bug 805002 - Flush accelerated Quartz canvas before GL composition. r=BenWa
2012-10-24 18:17:00 +02:00
Chris Lord
f5236acf1f
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
3251aebb84
Bug 804949: Change the way panning works. r=cjones a=blocking-basecamp
2012-10-24 01:37:53 -07:00
Phil Ringnalda
e1e45989af
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 Girard
b91e942f5e
Bug 804724 - Add an abort painting marker. r=ehsan
...
--HG--
extra : rebase_source : 10f327e91b15d673303eb607a361c1c4d14a1e92
2012-10-23 17:18:37 -04:00
Chris Lord
7a4b155c59
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
Chris Lord
2caf0bb798
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
Kan-Ru Chen (陳侃如)
b004178115
Bug 791711 - Invalidate again if the SharedImageID was removed. r=nical
2012-10-20 08:18:31 +08:00
Chris Lord
91821fc9ca
Bug 802143 - Clarify coordinate spaces in ReusableTileStoreOGL::DrawTiles. r=bgirard
2012-10-18 12:59:17 +01:00
Chris Lord
555a98443f
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
Nicholas Cameron
c02fbc2f2e
Bug 802518; add Painted() to BasicShadowableCanvasLayer::Paint; r=jgilbert DONTBUILD
2012-10-18 21:40:32 +13:00
Nicholas Cameron
274ef633c7
Back out changeset db4fd6efba17 for wrong bug number r=me
2012-10-18 21:39:15 +13:00
Chris Jones
5c2831faf2
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
46f96abb92
Bug 803518; add Painted() to BasicShadowableCanvasLayer::Paint; r=jgilbert
...
--HG--
extra : rebase_source : 2cad76436370ec2bf1d52208a732e638e62435d5
2012-10-18 11:17:32 +13:00
Matt Woodrow
219b2444d2
Bug 802321 - Use FuzzyEquals to compare matrices in LayerTreeInvalidation. r=roc
2012-10-17 21:00:00 +13:00
Benoit Girard
cab00e8f02
Back out b7f31a736800 for mochitest failures
...
--HG--
extra : rebase_source : 9f77f07db004fe11a20533c0ad017cef825a1a8b
2012-10-15 16:57:43 -04:00
Benoit Girard
0c6e26e826
Back out d5496f32f2e4 for mochitest failures
...
--HG--
extra : rebase_source : 1e0caa0ae6d2c1bec971fde75c348f69e6cc63fe
2012-10-15 16:57:06 -04:00
Benoit Girard
632a14569f
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
15decb515e
back out 621cfd13ceaf for build failures
2012-10-15 13:34:42 -04:00
Matt Joras
ce980ce123
Bug 798033 - Removes "using namespace" directive from gfx headers - r=jmuizelaar
2012-10-15 13:02:21 -04:00
Benoit Girard
3dff7c50b2
Bug 796117 - New Mobile tilestore tiles will now replace equivalent tiles. r=Cwiiis
2012-10-12 17:50:08 -04:00
Oleg Romashin
07bb73f5c2
Bug 801460 - IDXGIFactory2 not declared build errors with --enable-metro. r=bas.schouten
2012-10-14 23:19:13 -07:00
Chris Lord
adab118d74
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
fec9404d96
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
bc223170e4
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
3584642dca
Bug 799956 - Mark BasicLayerManagers that don't retain content as supporting component alpha layers. r=roc
2012-10-15 17:53:37 +13:00
Ed Morley
f71c7a0f14
Merge mozilla-central to mozilla-inbound
2012-10-12 12:22:14 +01:00
Ed Morley
edeb5cd80c
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-10-12 11:59:59 +01:00
Nicholas Cameron
a18fe5707c
Bug 734668; remove Thebes canvas. r=roc
...
--HG--
extra : rebase_source : 57b08c33f72cd611deb30dc1639060a719747849
2012-10-12 22:42:51 +13:00
Chris Jones
c310927390
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
Jeff Muizelaar
538087de5f
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
Makoto Kato
fd5c3140ef
Bug 795594 - Add workaround for MSVC x64 compiler bug. r=roc
2012-10-10 15:17:30 +09:00
Edwin Flores
189f94352a
Bug 794061 - Let OMX hardware decoded video frames be copied to canvas r=kanru
2012-10-09 17:06:35 +13:00
Ed Morley
518e3c5e11
Bug 798419 - Fix incorrect spellings of success(ful) in test output; r=me
2012-10-05 17:48:15 +01:00
Chris Lord
e7de629479
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
8aed17295d
Bug 724666 - Add pref for accelerated canvas on mac. r=jrmuizel
2012-07-31 18:48:40 -04:00
Nicholas Cameron
ee97d8eaae
Bug 796182; fix invalidation on Mac with OMTC; r=cjones
2012-10-04 20:45:48 +13:00
Chris Jones
4f1344c6d2
Bug 780920, part 3: The ultimate compositor has to draw to the readback surface; shadow layers doesn't have access to all the needed rendering state. r=roc
2012-10-04 00:05:24 -07:00
Chris Jones
9582a20f31
Bug 780920, part 1: LayerManagerOGL needs to account for the world transform when reading back into a non-default target. r=roc
2012-10-04 00:05:23 -07:00
Daniel Holbert
4b869cc3a8
Bug 797666: Add unsigned cast in assertion within TiledLayerBuffer::Update(), to fix build warning. r=BenWa
2012-10-03 22:31:59 -07:00
Chris Jones
ca39444b15
Bug 790505, part 3: Add API for scheduling a shadowable-layer mutation to be applied at the next layers transaction. r=mattwoodrow,roc
2012-10-02 22:55:50 -07:00
Ryan VanderMeulen
84b001d90c
Merge m-c to inbound.
2012-10-03 22:24:20 -04:00
Ryan VanderMeulen
c0d8585b0b
Backout 0cd12dcf7f8f, 5ff5e81e6de6, and 0ae09da96f63 (bug 740580) due to bug 797391.
2012-10-03 22:13:14 -04:00
Benoit Girard
2153a3688f
Bug 797359 - Increase size of tile debug overlay. r=Cwiiis
2012-10-03 10:56:41 -04:00
Benoit Girard
6bd7b01ce6
Bug 796939 - Don't use the SinglePaintBuffer if only painting one tile. r=Cwiis
2012-10-03 10:28:04 -04:00
Benoit Girard
f0ee89a810
Bug 796084 - Remove reference to java compositor in comments. r=Cwiiis, DONTBUILD because comment only
...
--HG--
extra : rebase_source : 219138ec908b089e62f1394358a87a921e379383
2012-10-02 09:46:01 -04:00
Chris Lord
821878a16a
Bug 797393 - Fix FrameMetrics == operator. r=roc
2012-10-03 19:51:38 -04:00
Ehsan Akhgari
b9605eaf78
Bug 797614 - Silence the warning about assignment in the condition in BasicTiledThebesLayer.cpp; r=jrmuizel
...
--HG--
extra : rebase_source : 2318567420c513555e2c8ee3cebfa5ff16eeaa3b
2012-10-03 19:36:10 -04:00
Ehsan Akhgari
fd8ffe4dd2
Bug 797604 - Make floor_div in TiledLayerBuffer.h static inline; r=jrmuizel
2012-10-03 18:50:20 -04:00
Chris Jones
17867c12a8
Back out bug 790505 for leaking
2012-10-03 00:21:08 -07:00
Chris Jones
fafda90217
Bug 790505, part 2: Add API for scheduling a shadowable-layer mutation to be applied at the next layers transaction. r=mattwoodrow,roc
2012-10-02 22:55:50 -07:00
George Wright
950c2e8a90
Bug 740580 - Add support for Azure DrawTargets to BasicLayers. r=Bas
2012-10-02 22:09:12 -04:00
Benoit Girard
0dfaad9d0e
bug 795310 - Uninitialised value use in mozilla::layers::BasicTiledThebesLayer::PaintThebes r=cwiiis
...
--HG--
extra : rebase_source : e5c219ce278714699a1bcddf6c98fd2e3c5d7a8f
2012-10-02 14:14:47 -07:00
Chris Jones
40667015b0
Back out 17f942846b9f (bug 795811) for causing startup crashes.
2012-10-02 01:29:53 -07:00
David Zbarsky
83dc4acb46
Bug 795811 - Make GetPrimaryScrollableLayer() return null on all configurations except MOZ_WIDGET_ANDROID r=cjones
2012-10-02 00:19:56 -04:00
Kan-Ru Chen (陳侃如)
c976f43057
Bug 788408 - Part 2. Use glReadPixels to read back when back buffer isn't RGBA compatible. r=jgilbert
2012-10-02 10:42:13 +08:00
Anthony Jones
e464d5aa1b
Bug 793085 - Remove UseAzureContentDrawing() in favour of SupportsAzureContent(). r=ncameron
2012-10-01 22:12:13 -04:00
Benoit Girard
c8f1bc0779
Bug 796084 - Rename MOZ_JAVA_COMPOSITOR -> MOZ_ANDROID_OMTC. r=blassey
2012-10-01 16:01:35 -04:00
Ed Morley
d5d2156e17
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-10-01 14:02:06 +01:00
Matt Woodrow
603381f065
Bug 795694 - Invalidate changed visible regions of layers. r=roc
2012-10-01 16:38:46 +13:00
David Zbarsky
0f0ea1fc19
Bug 790508: SampleAnimations should walk the layer tree from the root instead of from the primary scrollable layer r=cjones
2012-10-01 02:13:49 -04:00
Matt Woodrow
f8a3bcd5dd
Bug 770617 - Always mark inactive CanvasLayers as being dirty. r=cjones
2012-09-30 19:20:25 +13:00
Matt Woodrow
26ce1c54a7
Bug 795631 - Update BasicLayerManager::mPhase variable in release mode as well as debug. r=cjones
2012-09-30 19:20:24 +13:00
Jonathan Kew
1c5f85078f
bug 674373 pt 2 - consistently use client bounds for layer sizing. r=roc
2012-09-29 12:34:41 +01:00
Doug Sherk
6e4a1ee505
Bug 786267: B2G: Lower resolution while doing accelerated panning r=cjones
2012-09-29 00:02:45 -04:00
Doug Sherk
4478c228d5
Bug 787445: B2G: Rip out async paint throttling code, use compression instead r=cjones
2012-09-29 00:02:41 -04:00
Doug Sherk
6e7d4f9757
Bug 746502: Add support for <meta name=viewport> on B2G/async panning and zooming r=cjones,smaug
2012-09-28 22:18:18 -04:00
Doug Sherk
98c60b046f
Bug 784908: Part 3: Distinguish resolution from a new zoom field on FrameMetrics r=roc
2012-09-28 22:16:38 -04:00
Doug Sherk
c0e08ee726
Bug 784908: Part 1: Change names of FrameMetrics variables to be more descriptive, add documentation, change some coordinate spaces. r=roc
2012-09-28 22:16:34 -04:00
Isaac Aggrey
997db4d142
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05:00
foudfou
d72827c0aa
Bug 785542 - Convert usages of PR_MIN and PR_MAX to NS_MIN and NS_MAX; r=ehsan
...
Occurences of PR_MAX in layout/style/nsCSSProps.cpp and xpcom/glue/nsTArray.h
can not be converted without C++11 support (constexpr).
--HG--
extra : rebase_source : 3b4f7e26690fad487dd11594449948411d4e79bc
2012-09-27 23:44:47 +02:00
Matt Woodrow
7786bc1aaa
Bug 786626 - Initialize mLayerProgram. r=joe. landing on a CLOSED TREE
2012-09-29 01:39:35 +12:00
Matt Woodrow
d9a6418c44
Bug 539356 - Revert LayerTreeInvalidation changes to detect Image changes, landed on a CLOSED TREE. r=roc
2012-09-29 01:12:59 +12:00
Matt Woodrow
6cc55ebd06
Bug 539356 - Handled scrolled inactive layers trees correctly. r=roc
2012-09-17 10:57:22 +12:00
Oleg Romashin
67b104cbd1
Bug 539356 - Part 20 - Simplify regions to avoid excessive region calculation. r=roc
2012-08-29 17:48:43 +12:00
Matt Woodrow
1f7adc5ccc
Bug 539356 - Part 12 - Remove unnecessary LayerManagerLayerBuilder indirection. r=roc
2012-08-29 17:48:15 +12:00
Matt Woodrow
5a14809d04
Bug 539356 - Part 9f - Compute the invalid area of the layer tree and pass this to the widget. r=roc
2012-08-29 17:47:18 +12:00
Chris Jones
54070d8c75
Bug 794727: Translate asynchronously-animated transforms by the offset to their reference frame when sampling. r=mattwoodrow
2012-09-27 20:14:33 -07:00
Ed Morley
c863356300
Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE
2012-09-27 16:34:46 +01:00
Matt Woodrow
e4ca2fd71e
Bug 539356 - Handled scrolled inactive layers trees correctly. r=roc
2012-09-17 10:57:22 +12:00
Oleg Romashin
13a2856362
Bug 539356 - Part 20 - Simplify regions to avoid excessive region calculation. r=roc
2012-08-29 17:48:43 +12:00
Matt Woodrow
0725f91922
Bug 539356 - Part 12 - Remove unnecessary LayerManagerLayerBuilder indirection. r=roc
2012-08-29 17:48:15 +12:00
Matt Woodrow
c73c0db2f1
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
2012-08-29 17:38:58 +12:00
Edwin Flores
ee62e2ef92
Bug 759506 - GonkNativeWindow and layers changes for B2G zero-copy OMX hardware decoding r=kanru
2012-09-27 16:33:42 +12:00
Nicolas Silva
51a45aa844
Bug 794233 - Fix for blank video on fennec release. r=cpeterson
2012-09-26 23:32:45 -04:00
Chris Lord
6cc4cbd474
Bug 794465 - Only use progressive tile drawing when scrolling. r=bgirard
...
To prevent seams appearing in updated content, only use progressive tile
drawing when scrolling. This is the most critical time to keep interactivity
consistent.
2012-09-26 21:42:09 +01:00
Chris Lord
bb3f3cc9cd
Bug 794200 - Progressive draw tiles in the direction of scrolling. r=bgirard
...
When scrolling downwards, make sure to fill in tiles from the top, upwards
from the bottom, left from the right and right from the left.
2012-09-26 21:41:56 +01:00
Chris Lord
ed4c547259
Bug 794200 - Draw tiles with no content before tiles with stale content. r=bgirard
...
When using progressive tile drawing, draw tiles that have no content before
tiles that only have stale content.
2012-09-26 21:41:41 +01:00
Karl Tomlinson
1c13765e67
b=763449 Finish X requests on mROFrontBuffer before deleting shadow layer r=cjones
...
--HG--
extra : rebase_source : 7381b234a29d648afdf76eff1f1e89f6e5cd88b5
2012-09-25 16:20:41 +12:00
Chris Lord
abf5767fcd
Bug 793656 - Fix flickering during progressive tile updates. r=bgirard
...
Force a single transaction when the resolution changes and for other updates,
keep stale tiles within the visible region until the transaction is complete.
2012-09-25 20:13:40 +01:00
Chris Jones
57b18a645d
Bug 793365: Make sure (again) that the entire buffer is valid when we might be asynchronously composited. r=roc
2012-09-24 21:15:18 -07:00
Chris Jones
9eb28fa941
Bug 784244: We really, seriously, can only let the BufferTracker take care of our required AutoOpenSurfaces. r=roc
2012-09-24 14:54:01 -07:00
Chris Jones
0a82ec4137
Bug 792663: Don't SyncFrontBufferToBackBuffer() while a buffer tracker isn't around to revoke our buffer provider. r=nrc
2012-09-20 22:59:19 -07:00
Chris Jones
05ae47a5b4
Bug 792663: Temporarily require opting in to allocating cross-process xlib surfaces. r=karl
2012-09-24 14:54:01 -07:00
Marco Castelluccio
7447490c1f
Bug 630346 - Merge LayerManagerOGL::CleanupResources into LayerManagerOGL::Destroy r=karlt
...
--HG--
extra : rebase_source : ef7c3c9855f3a3e22b8a8529d922587eaf71ba43
2012-09-24 11:23:39 +12:00
Chris Jones
226a5ef136
Bug 788411: Set a minimum allocation width for buffers that ThebesLayerBuffer. r=roc
2012-09-20 12:49:03 -07:00
Robert O'Callahan
632c91ff04
Bug 772726. Part 9: Since Azure doesn't support EXTEND_NONE, when blitting a post-3D-transform temporary surface we need to make sure the output is clipped to the area of the surface. r=mattwoodrow
2012-09-08 00:32:21 +12:00
Marco Castelluccio
7993ada104
b=787853 Upload surface when it doesn't support texture_from_pixmap r=karlt
...
--HG--
extra : transplant_source : N%E7%C6%AAt3%F2%82%5B%81%15%BE%A7o%CC%5C%0B%1A%1D0
2012-09-05 01:10:22 +02:00
Karl Tomlinson
6dc247aa1f
b=777946 implement SCALE_STRETCH through ComputeEffectiveTransforms r=Bas
...
--HG--
extra : transplant_source : 6%CC%1F3%D1g%A7%098%7E%24%3DC%1D6N%F5%1Ax%0F
2012-09-18 15:16:15 +12:00
Chris Jones
30b0b269d9
Bug 791167: stride*height is the size of the region. r=roc
2012-09-18 10:00:45 -07:00
Robert O'Callahan
ae49ca014a
Bug 777194. Part 2: Remove RETENTION_THRESHOLD. FrameLayerBuilder limits the complexity of visible regions anyway. r=bas
2012-08-17 11:38:59 +12:00
Robert O'Callahan
ed51a57755
Bug 777194. Part 1: Use an epsilon tolerance value when comparing residual translations. r=tnikkel
2012-08-17 11:38:59 +12:00
Chris Jones
9049bbc981
Bug 791364: Free canvas front buffers that are surface descriptors. r=gal
2012-09-17 17:56:04 -07:00
Ryan VanderMeulen
5cfafbf23a
Backout c2b7be27e412 (bug 791644) due to mochitest orange.
2012-09-17 20:09:42 -04:00
Matt Woodrow
e5d8da2359
Bug 791644 - Refactor nsDisplayTransform::GetResultingTransformMatrix into two functions with less optional parameters. r=roc
2012-09-18 10:34:21 +12:00
Nicolas Silva
531387a325
Bug 790716 - Allocate shared YCbCr images in one shmem. r=jrmuizel.
2012-09-13 16:52:26 -04:00
James Willcox
4f4ac14cc3
Bug 778091 - Use medium precision for SurfaceTexture shader r=vlad
2012-09-17 15:50:33 -04:00
Benoit Girard
cfa8fd3606
Bug 789597 - Should support correlation of profile with capture frames. r=joe
...
--HG--
extra : rebase_source : 66361f31c12774ab7d2bbb9e66a4e673f2a272ba
2012-09-17 13:58:04 -04:00
Ed Morley
6a83e3de8d
Backout 7f86b28171a2 (bug 787853) & e18fdb9a8e12, ba47dac3cf97, e3fdcf7ed7f2, 992ee4c72c87 (bug 777946) for intermittent linux M4 ABORTs
2012-09-17 14:17:02 +01:00
Ms2ger
214123d03d
Merge m-c to m-i.
2012-09-17 12:08:58 +02:00
Ms2ger
8976774677
Bug 787933 - Stop using stdin types in IPC code; r=bsmedberg+cjones sr=cjones
2012-09-17 10:37:20 +02:00
Matt Woodrow
ab9f5929bd
Bug 788044 - Make inactive layer subtrees relative to the ContainerLayer, not the reference frame. r=roc
2012-09-17 10:25:33 +12:00
Doug Sherk
6c4740a37a
Bug 787549 - B2G: Stop simulating mouse events unless there's a tap. r=cjones
2012-09-14 21:16:32 -04:00
Doug Sherk
1b0f8474b3
Bug 780395: Part 1, B2G: Listen to scrollTo calls and metrics being clobbered r=cjones
2012-09-14 17:57:35 -04:00
Marco Castelluccio
aa8b6caada
b=787853 Upload surface when it doesn't support texture_from_pixmap r=karlt
...
--HG--
extra : transplant_source : %85b%86%E4%DBK%D7%A2%14%BEK%A3%40l%5D%B5%29L%EF%F0
2012-09-05 01:10:22 +02:00
Karl Tomlinson
3c96f70178
b=777946 implement SCALE_STRETCH through ComputeEffectiveTransforms r=Bas
...
--HG--
extra : transplant_source : %9AZ%89%90_4%08R%C5%0E%AB1%40g%23.%7Bo%EE%2A
2012-09-17 17:19:59 +12:00
Chris Jones
a67f684009
Bug 780330: Avoid mapping/unmapping buffers when we don't use them. r=mattwoodrow sr=roc
2012-09-12 03:41:34 -07:00
Nicolas Silva
d08a4048c0
Bug 774622 - Fixes fennec exit crash by reference counting the compositor thread and making sure the CompositorParents are not destroyed while running code on the compositor thread. r=cjones
2012-09-11 14:17:05 -04:00
David Anderson
7b438ddde2
Merge IonMonkey to mozilla-central. a=arewefastyet
...
--HG--
rename : content/base/src/nsWebSocket.cpp => content/base/src/WebSocket.cpp
rename : content/base/src/nsWebSocket.h => content/base/src/WebSocket.h
2012-09-11 10:25:14 -07:00
David Anderson
24145fc9a1
Merge from mozilla-central.
2012-09-10 12:16:38 -07:00
David Anderson
b0a287cfcc
Merge from mozilla-central.
2012-09-07 15:17:11 -07:00
David Anderson
6c5722e35b
Merge from mozilla-central.
2012-09-06 18:28:59 -07:00
Chris Jones
25909c8590
Bug 789368: Mind our fenceposts when estimating fps. r=jrmuizel
2012-09-06 20:12:03 -07:00
David Anderson
043ddae94a
Merge from mozilla-central.
...
--HG--
rename : js/jsd/jsd_scpt.c => js/jsd/jsd_scpt.cpp
rename : js/jsd/jsd_stak.c => js/jsd/jsd_stak.cpp
rename : js/jsd/jsd_val.c => js/jsd/jsd_val.cpp
2012-09-05 16:18:11 -07:00
David Anderson
25c3dd55c0
Merge from mozilla-central.
...
--HG--
rename : js/src/sharkctl.cpp => js/src/devtools/sharkctl.cpp
rename : js/src/sharkctl.h => js/src/devtools/sharkctl.h
rename : js/src/MemoryMetrics.cpp => js/src/jsmemorymetrics.cpp
2012-08-29 17:57:37 -07:00
David Anderson
6b403f94c2
Merge from mozilla-central.
...
--HG--
rename : content/base/public/nsIFrameMessageManager.idl => content/base/public/nsIMessageManager.idl
2012-08-29 17:51:24 -07:00
Andrew Quartey
f51538ccc9
Bug 761155 - Extend Mesa LLVMpipe Preference to GLX r=bjacob
2012-09-06 20:16:30 -04:00
David Anderson
188c88907e
Merge from mozilla-central.
2012-08-22 16:09:24 -07:00
David Anderson
1ef4c57410
Merge from mozilla-central.
2012-08-21 15:59:12 -07:00
David Zbarsky
41867d1baa
Bug 783893 - Clean up async animation code r=roc
2012-08-21 00:06:47 -04:00
David Zbarsky
fbb04700b6
Bug 784004 - Don't include Layers.h everywhere Part 3 r=nical
2012-08-21 00:06:46 -04:00
David Zbarsky
329755919f
Fix layer tree dumping code, no bug, r=cjones over irc
2012-08-21 00:06:46 -04:00
David Anderson
565400115a
Merge from mozilla-central.
2012-08-16 14:04:20 -07:00
David Anderson
6fe112e8bf
Merge from mozilla-central.
2012-08-15 14:22:26 -07:00
Jeff Gilbert
74efe81fba
Bug 783663 - Add ReadScreenIntoImageSurface for reading pixels from the screen - r=bgirard
2012-08-20 17:13:32 -07:00
David Anderson
a31e5baded
Merge from mozilla-central.
2012-08-14 12:20:09 -07:00
David Anderson
7ef28ac5ac
Merge from mozilla-central.
2012-08-13 13:40:42 -07:00
Matt Woodrow
0455e245a9
Bug 539356 - Part 30 - Make ShadowContainerLayerD3D10 hold references to child layers. r=roc
2012-08-13 22:10:45 +12:00
Matt Woodrow
c9d19fc306
Bug 539356 - Part 8b - Move painting of retained layers to the view manager flush, and only composite on the paint event. r=roc
...
* * *
Fix Empty transactions with the new paint timing
2012-08-13 22:10:10 +12:00
Matt Woodrow
2b1ef36f45
Bug 539356 - Part 8a - Add END_NO_COMPOSITE to EndTransactionFlags and implement in for all LayerManagers. r=roc
2012-08-13 22:10:10 +12:00
Aryeh Gregor
6a9cec29c8
Bug 626472 part 3 - Remove nsnull for good; r=ehsan
2012-08-12 13:43:47 +03:00
Doug Sherk
071cc14e86
Bug 781734: Implement pinch threshold; fingers need to move a bit before page zooms r=gal
2012-08-13 21:08:38 -07:00
Doug Sherk
d65731c8bf
Bug 781734: Decrease axis lock angle r=gal
2012-08-13 21:08:38 -07:00
Doug Sherk
f0b345995d
Bug 781734: When flinging many times successively in one direction, accelerate them more and more r=gal
2012-08-13 21:08:38 -07:00
Doug Sherk
0fbcb631af
Bug 781734: Greatly increase friction on flings, remove pseudo-kinetic vs. static friction distinction r=gal
2012-08-13 21:08:38 -07:00
Doug Sherk
1e52b34a06
Bug 781734: Detect very light touches and pan the page r=gal
2012-08-13 21:08:38 -07:00
Chris Lord
febff933fb
Bug 782332 - Don't retain fixed-position tiles. r=bgirard
...
Retaining tiles on a fixed position layer often just results in rendering
artifacts. Don't do this.
2012-08-13 22:59:16 -04:00
David Anderson
b620fb6c5c
Merge from mozilla-central.
2012-08-09 13:41:13 -07:00
Ed Morley
61bd42dc2d
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-08-09 12:46:05 +01:00
Ms2ger
26217245c9
Bug 780387 - Part f: Stop using PRBool & PRPackedBool; r=bsmedberg
2012-08-09 09:10:13 +02:00
David Anderson
c9ca5124db
Merge from mozilla-central.
2012-08-08 15:09:49 -07:00
Ehsan Akhgari
0fd9123eac
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Jeff Gilbert
5626f58942
Bug 738833 - Add webgl force-readback pref - r=bjacob
2012-08-21 20:29:06 -07:00
Jeff Gilbert
d394179aac
Bug 782785 - Use temp surfaces to ReadPixels with correct stride - r=bjacob
2012-08-21 16:13:26 -07:00
Kan-Ru Chen (陳侃如)
cd9d182e06
Bug 767480 - Gralloc backed video buffer. r=roc
2012-08-21 18:22:58 +08:00
Kan-Ru Chen (陳侃如)
f5e3f3d680
Bug 767480 - PlanarYCbCrImage Refactoring. r=roc
2012-08-21 18:18:20 +08:00
Kan-Ru Chen (陳侃如)
22db9a8e93
Back out c8f7bace9cf9, 17ec4e01c126 (bug 767480) r=bustage
2012-08-21 17:55:02 +08:00
Kan-Ru Chen (陳侃如)
2225b447e6
Bug 767480 - Gralloc backed video buffer. r=roc
2012-08-21 14:59:42 +08:00
Kan-Ru Chen (陳侃如)
4787af5685
Bug 767480 - PlanarYCbCrImage refactoring. r=roc
2012-08-21 17:31:36 +08:00
David Anderson
3ffd33a2cb
Merge from mozilla-central.
2012-08-07 15:13:28 -07:00
Kan-Ru Chen (陳侃如)
e35ea77a3f
Bug 785339 - Restore BasicPlanarYCbCrImage::SetDelayedConversion. r=roc
2012-09-03 15:36:04 +08:00
David Anderson
9c45c01c55
Merge from mozilla-central.
...
--HG--
rename : layout/base/nsFrameTraversal.cpp => layout/base/nsFrameIterator.cpp
rename : layout/base/nsFrameTraversal.h => layout/base/nsFrameIterator.h
rename : browser/modules/WebappsInstaller.jsm => toolkit/webapps/WebappsInstaller.jsm
2012-08-06 12:44:06 -07:00
David Anderson
ac219f63e6
Merge from mozilla-central.
2012-08-03 18:58:30 -07:00
Matt Woodrow
1ba26c01d5
Bug 782808 - Apply the widget rotation to the gonk LayerManager at all times instead of only during the paint event. r=cjones
2012-08-15 13:10:40 +12:00
David Anderson
ef13f46623
Merge from mozilla-central.
2012-08-02 13:47:20 -07:00
Robert O'Callahan
830bed0e9a
Bug 778045. Add helpful comment to ImageContainer explaining its modes. r=bas
2012-08-03 15:23:27 +12:00
Nicholas Cameron
67fa0ea88a
Bug 779650; handle Cairo DrawTargets in CanvasLayerD3D10; r=bas
2012-08-02 16:01:05 +12:00
David Anderson
bee6a61001
Merge.
...
--HG--
rename : content/base/src/nsGenericElement.h => content/base/public/FragmentOrElement.h
rename : content/base/src/nsGenericElement.cpp => content/base/src/FragmentOrElement.cpp
rename : gfx/thebes/nsCoreAnimationSupport.mm => gfx/2d/QuartzSupport.mm
2012-08-01 11:30:00 -07:00
Jonathan Watt
5c26f1ff5e
Bug 777430 - In BasicLayerManager::PushGroupForLayer, call the less expensive gfxContext::PushGroup instead of gfxContext::PushGroupAndCopyBackground when possible. r=roc.
2012-08-01 11:03:42 +01:00
Jeff Muizelaar
6bdca0472f
Bug 779636. Add SAMPLE_LABELS to gralloc implementation. r=cjones
...
--HG--
extra : rebase_source : ea66610435b3974607bcb8705912004ad3090b4c
2012-08-01 15:49:59 -07:00
David Anderson
9929d37fcc
Merge from mozilla-central.
2012-07-31 17:19:41 -07:00
Nicholas Cameron
db90500fee
Back out bug 779001, bug 746883, bug 778595, bug 776803, bug 7118849
2012-07-31 18:17:23 +12:00
Nicholas Cameron
12480ec1e9
Bug 776802; Give better info about Azure. r=Bas
2012-07-31 13:45:59 +12:00
David Anderson
644c651c3e
Merge from mozilla-central.
2012-07-30 13:15:39 -07:00
Mark Finkle
70a01196ec
Backout 169ff207ed19, a34baed70c1b, f9ccdd490bd7, 39550ed860e6, 2194a2dd66b2, 908eb2e26843, a76e0a267f26 due to mobile viewport bustage (bug 778580)
2012-07-30 14:36:12 -04:00
Chris Jones
513b789a44
Bug 781024: Use the current decoded image as the reference for allocation. r=roc
2012-08-08 10:51:40 -07:00
Aryeh Gregor
e806eeab4f
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
David Zbarsky
a656d3adfe
Bug 778496 - Layer should store ComputedTimingFunction directly rather than as a pointer r=roc
2012-07-29 18:59:26 -07:00
David Anderson
88ed1ce560
Merge from mozilla-central.
2012-07-26 18:19:02 -07:00
David Anderson
83c5be4f84
Merge from mozilla-central.
2012-07-25 14:30:08 -07:00
David Anderson
5fc5a16b63
Merge from mozilla-central.
2012-07-24 16:32:08 -07:00
Matt Brubeck
2e41f92cb5
Back out f4f5189b1d0c, 3b4f0606c547, b8a5a1ab8a5f, 5078933d6954, 7e0260c45de9 (bug 768440, bug 755084, bug 706179) because of reftest failures
2012-07-23 20:25:51 -07:00
David Anderson
10352157a6
Merge from mozilla-central.
2012-07-23 12:37:49 -07:00
Matt Brubeck
6ead01e8d2
Back out 9fb78d71f361, 28f8ce199bed, 78ffaa79a3de, 9f6f9b74d685 (bug 779940 and bug 778036) because of Android failures
2012-08-06 21:59:01 -07:00
Matt Woodrow
0eb0792320
Bug 779940 - Add a ShadowLayer transaction fps counter. r=cjones
2012-08-07 15:00:42 +12:00
Matt Woodrow
5175ff1115
Bug 778036 - Only mark Layers as Mutated if the property values are different. r=roc
2012-08-07 15:00:41 +12:00
Matt Woodrow
af3016ac22
Bug 778036 - Retain RefLayers instead of creating them every frame. r=roc
2012-08-07 15:00:41 +12:00
Sergey Glushchenko
970c894833
Bug 776429: Unify scattered M_PI definitions into mfbt/Constants.h r=dRdR
2012-08-06 13:32:11 -07:00
Robert O'Callahan
228dd8c270
Backout c1878d925ef5 (bug 776940) due to leaks on Mac
2012-07-25 17:39:47 +12:00
Chris Jones
6699a16b74
Bug 776940: Fix shutdown protocol of shadow OGL layers. r=roc
2012-07-24 19:46:32 -07:00
Nicholas Cameron
ed2f5019f3
Bug 775215; remove D3D10_RESOURCE_MISC_GDI_COMPATIBLE. r=Bas
...
--HG--
extra : rebase_source : bb05c51a4e7f57dc2db0c17cb321160dc619ecb6
2012-07-25 12:28:20 +12:00
David Zbarsky
669aea118d
Remove trailing semicolons in GeckoContentController, no bug, r=dRdR
2012-07-24 12:12:11 -07:00
Chris Jones
cbd13d8e9d
Bug 776217: Support gecko-implemented screen rotation with omtc. r=roc
2012-07-24 12:01:09 -07:00
Doug Sherk
6b093e6dd1
Bug 776226: Implement axis locking when panning along one axis r=roc
2012-07-22 23:49:07 -04:00
Matt Woodrow
315e04aaec
Bug 539356 - Part 21 - BasicLayers should always retain content. r=roc
2012-07-23 15:00:37 +12:00
Matt Woodrow
0bc8f48c38
Bug 741682 - Flatten component alpha layers into their parent layer with BasicLayers. r=roc
2012-07-23 15:00:36 +12:00
Doug Sherk
8fbb6b6928
Bug 776413: Temporary workaround, fix initial displayport on page load. r=gal
...
This needs to be fixed properly by setting the displayport to a larger area than
just the viewport but before the page has already been loaded. This patch will
mask it to look decent once the page has finished loading and before panning.
2012-07-22 21:51:38 -04:00
Doug Sherk
ffe8a7b8f4
Bug 776226: Improve displayport sizing, account for velocity, and properly clip edges r=cjones
2012-07-22 21:51:23 -04:00
Doug Sherk
1d205454ca
Bug 776310: Tune flinging friction and logic in AsyncPanZoomController r=cjones
2012-07-22 21:50:41 -04:00
Doug Sherk
c856c6237b
Bug 776149: Fix Gecko panning code to account for time deltas for displacements r=cjones
2012-07-22 21:43:37 -04:00
David Anderson
7b87cb9a76
Merge from mozilla-central.
2012-07-20 12:02:04 -07:00
Doug Sherk
dbc1d2e5d5
Bug 776203: Add virtual dtor to GeckoContentController r=gal
2012-07-22 13:37:13 -07:00
David Zbarsky
dfd3e3d5ba
Bug 706179: Add support for animations to the Layers API r=roc, dbaron, cjones
2012-07-23 17:34:22 -07:00
Chris Jones
708bd2e4ae
Bug 771350, part 2: Use OpenDescriptorForTexturing() in ShadowThebesLayerOGL, where possible. r=BenWa
2012-07-23 16:58:37 -07:00
Chris Jones
73a85b798a
Bug 771350, part 1: Add GLContext::CreateDirectTextureImage and OpenDescriptorForTexturing to more easily support direct texturing without updates. r=vlad
2012-07-23 16:58:37 -07:00
Chris Jones
f9af5d6888
Bug 771350, part 0: Remove some dead code to make later patches clearer. r=BenWa
2012-07-23 16:58:35 -07:00
Chris Jones
ef35aa58e9
Bug 750977: Implement glue code for asynchronous panning/zooming. r=jlebar,roc,vingtetun
...
This is a rollup of three separate patches
- Add nsIDocShell.asyncPanZoomEnabled. r=jlebar
- Have BrowserElementChild service repaint requests and handle fallback synchronous scrolling (for now). r=jlebar,vingtetun
- Glue async pan/zoom logic up between compositing, event dispatch, and repaint requests. r=roc
--HG--
rename : b2g/chrome/content/webapi.js => dom/browser-element/BrowserElementScrolling.js
2012-07-19 23:48:27 -07:00
Doug Sherk
df87148215
Bug 750974: Move basic pan/zoom logic into Gecko C++ r=cjones,roc sr=smaug[widget/]
2012-07-19 23:48:25 -07:00
Jonathan Watt
e52e0a6f49
Bug 775697 - Cancel layer transactions that haven't ended after nsDisplaySVGEffects::PaintAsLayer returns. r=roc.
2012-07-20 00:53:55 -04:00
Chris Jones
a297e6c928
Followup to bug 775436: Fix thinko. r=gal
2012-07-19 21:34:21 -07:00
David Anderson
180cbd4d9d
Merge from mozilla-central.
2012-07-19 14:34:36 -07:00
David Anderson
921bd834c9
Merge from mozilla-central.
...
--HG--
rename : js/xpconnect/wrappers/CrossOriginWrapper.cpp => js/xpconnect/wrappers/WaiveXrayWrapper.cpp
rename : js/xpconnect/wrappers/CrossOriginWrapper.h => js/xpconnect/wrappers/WaiveXrayWrapper.h
2012-07-18 19:02:32 -07:00
Doug Sherk
83f3cf231d
Bug 775463: Implement tolerance in double tap detection r=cjones
2012-08-08 21:39:11 -07:00
Doug Sherk
de15346fad
Bug 775463: Implement double-tap-to-zoom content r=cjones
2012-08-08 21:39:02 -07:00
Doug Sherk
90a980f807
Bug 775451: Reduce diagonal checkerboarding r=cjones
2012-08-08 13:38:23 -07:00
Doug Sherk
64b39b128f
Bug 779572: Properly protect state in AsyncPanZoomController with a monitor r=cjones
2012-08-08 13:38:20 -07:00
Doug Sherk
c0451be7fd
Bug 779572: Factor zoom into min pan distance before moving the viewport r=cjones
2012-08-08 13:38:16 -07:00
Doug Sherk
660329b4cb
Bug 780210: Fix B2G focus point calculation for pinching r=kats
2012-08-08 13:38:14 -07:00
Doug Sherk
7eb9a065a8
Bug 775448: Add gesture cancelling support during sync subframe scrolling r=cjones
2012-08-08 13:38:10 -07:00
Doug Sherk
71ccfa781a
Bug 775448: Disable async scrolling when we detect a scrollable subframe r=cjones
2012-08-08 13:38:06 -07:00
Doug Sherk
a1e5523a38
Bug 775447: Properly count number of touch listeners in AsyncPanZoomController r=cjones
2012-08-08 13:37:57 -07:00
David Zbarsky
88371b030a
[Bug 774505] Don't include Layers.h everywhere r=cjones
2012-07-18 12:31:40 -04:00
Randell Jesup
eedf93a21d
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Marco Castelluccio
3563dc501a
Bug 778029 - Fix distorted windowless flash with X11 GL layers. r=BenWa
2012-09-01 11:35:56 -04:00
Jeff Gilbert
e635ec0e37
Bug 784925 - Add MakeCurrent for OGL Layers Readback path - r=bjacob
2012-08-31 16:44:33 -07:00
David Anderson
c36e0f89e0
Merge from mozilla-central.
2012-07-13 19:50:02 -07:00
Ms2ger
0a56bc3482
Bug 776142 - Back out bug 687267 / changeset 8571114112b2 on a CLOSED TREE.
2012-07-22 14:02:18 +02:00
Robert O'Callahan
fc590c6356
Bug 772726. Part 2: When BasicLayers is compositing directly to an Azure DrawTarget, Transform3D should handle the destination not having a CurrentSurface. r=mattwoodrow
...
--HG--
extra : rebase_source : 838f6b643d9ab4ca10a0bf9612eb2081e728288f
2012-07-18 01:02:07 -04:00
Jeff Gilbert
af031de17f
Bug 774688 - Mark reused buffer as dirty in BasicCanvasLayer - r=bas
2012-07-17 21:27:49 -07:00
David Anderson
b93d6b9c04
Merge from mozilla-central.
2012-07-12 13:23:26 -07:00
David Anderson
56d1e29054
Merge from mozilla-central.
...
--HG--
rename : editor/libeditor/base/DeleteElementTxn.cpp => editor/libeditor/base/DeleteNodeTxn.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicBuffers.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicBuffers.h
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicCanvasLayer.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicColorLayer.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicContainerLayer.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicContainerLayer.h
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicImageLayer.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicLayerManager.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicLayersImpl.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicLayersImpl.h
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicThebesLayer.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicThebesLayer.h
rename : js/src/jsobj.cpp => js/src/builtin/Eval.cpp
2012-07-10 19:45:14 -07:00
Ed Morley
e7e93c1b7e
Backout 6087689a0745, 153e82923805, 255445a0a851 (bug 728524) on suspicion of causing bug 772405
2012-07-10 16:06:42 +01:00
Ali Juma
5a4cee66b0
Bug 762101 - Correctly convert from screen coordinates to buffer coordinates in ShadowBufferOGL::Upload. r=cjones
2012-07-10 10:25:17 -04:00
Nicholas Cameron
fad09f613e
Bug 767337; remove D3D10_RESOURCE_MISC_GDI_COMPATIBLE flag from D3D10 layer manager. r=roc
2012-07-18 15:02:12 -04:00
Rafael Ávila de Espíndola
6fa6b984a6
Bug 775134 - Remove extra ; r=ehsan.
...
--HG--
extra : rebase_source : 1d44663679e8f1944649d54608e5e6e6694e88c5
2012-07-18 12:15:47 -04:00
Benoit Girard
358e391815
Bug 771219 - Added a pref for progressive painting. r=ajuma
2012-07-06 14:38:50 -04:00
Joshua Cranmer
4ad48824ad
Bug 702877 - Replace NS_OVERRIDE with MOZ_OVERRIDE. r=ehsan
...
--HG--
extra : rebase_source : 1843575683c3897f96f3966cbce26140ff1a7d90
2012-07-06 13:15:45 -05:00
James Willcox
80029db926
Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert,blassey
2012-07-20 15:20:51 -04:00
Ed Morley
69ac41ee19
Backout 4987ffd173a4 (bug 687267) for bustage
2012-07-23 14:47:54 +01:00
James Willcox
9c75650095
Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert,blassey
...
--HG--
extra : rebase_source : 450055ae3e71ea84f74252d3bf100fe970d29d14
2012-07-20 15:20:51 -04:00
Aryeh Gregor
e57dd159b2
Bug 626472 part 1 - Define nsnull as nullptr where available; r=ehsan
2012-07-20 14:16:17 +03:00
Benoit Girard
d637f02a21
Bug 771219 - Implement tile based progressive drawing. r=ajuma
2012-07-06 14:02:10 -04:00
Benoit Girard
330ecc7585
Bug 771219 - Add Repeatable transactions. r=ajuma
2012-07-06 13:58:01 -04:00
Chris Jones
9af2a80734
Bug 745148, part 9: Hook up the pieces and enable direct compositor. r=roc
2012-07-17 16:59:45 -07:00
Chris Jones
df4d81a2c8
Bug 745148, part 8: Implement the little boilerplate-y bits and pieces needed for cross-process compositor. r=ajuma,BenWa
2012-07-17 16:59:45 -07:00
Chris Jones
ba57040674
Bug 745148, part 7: Create a RefLayer type to temporarily contain a foreign layer subtree during composition. r=BenWa sr=roc
2012-07-17 16:59:45 -07:00
Chris Jones
52df2c5fbb
Bug 745148, part 6: Allow layer trees to be given IDs so that the referent can be used in another context. r=ajuma sr=roc
2012-07-17 16:59:45 -07:00
Chris Jones
30ad2db6df
Bug 745148, part 5: Pass the layer tree to ShadowLayersUpdate(). r=ajuma
2012-07-17 16:59:44 -07:00
Chris Jones
261ec69d02
Bug 745148, part 4: Remove duplicated code in Basic*ContainerLayer. r=roc
2012-07-17 16:59:44 -07:00
Matt Woodrow
963214988b
Bug 539356 - Part 6 - Add compositing paint flashing to BasicLayers. r=roc
2012-07-17 13:03:51 -04:00
Matt Woodrow
8c49e4a361
Bug 539356 - Part 2 - Add new API to BasicLayers. r=roc
2012-07-17 13:03:51 -04:00
Matt Woodrow
d857e4f101
Bug 539356 - Part 1 - Allow LayerManagers to have multiple user data objects. r=roc
2012-07-17 13:03:50 -04:00
Mike Hommey
6173fa297f
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Mike Hommey
4e998b1d36
Backout changeset 2ef51674316a (bug 774032 bonus) for various Mochitest bustages on a CLOSED TREE
2012-08-04 10:38:41 +02:00
Mike Hommey
17fb6cad2d
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 08:48:56 +02:00
Benjamin Peterson
99d3c15c8b
backout 6609595c84eb for leaking mutex
2012-08-03 20:32:57 -07:00
Matt Woodrow
452cca761a
Bug 778036 - Add Has function to gfx::UserData and use it in Layers to correctly check for existance of user data. r=roc
2012-08-03 17:38:44 -07:00
Matt Woodrow
bd240c97f8
Bug 780260 - Add serial numbers to Images and use it to check if an image has been painted to its BasicShadowableImageLayer already. r=cjones
2012-08-03 17:09:13 -07:00
David Zbarsky
a2c20d2493
Bug 706179 Part 3: Turn on the use of scaling for layers in FrameLayerBuilder r=mattwoodrow
2012-08-03 14:29:22 -07:00
Brian R. Bondy
e51fe56eda
Bug 770694 - Fix for snapped view windows size. r=bas
2012-07-04 20:36:37 -04:00
Chris Jones
db8fe81f49
Bug 773192: Only proxy drawing to a non-default target in BasicShadowableLayerManager, i.e. drawWindow(USE_WIDGET_LAYERS) for a content context, when the request is same-process. r=ajuma
2012-07-12 14:07:13 -07:00
Steve Fink
f20c2ef916
Backed out changeset afd9e75374e8 from a CLOSED TREE for breaking Windows builds
2012-07-19 14:55:48 -07:00
James Willcox
67949244f1
Bug 687267 - Initial support for Flash on Honeycomb r=benwa,vlad
2012-07-19 16:15:40 -04:00
cbrocious@mozilla.com
e2ba0ff957
Strip out the progressive upload logic and other unnecessary upload paths from ShadowThebesLayerOGL (bug 775436, r=cjones).
2012-07-19 01:52:45 -07:00
Nicolas Silva
501a64223f
Bug 776957 - Use OpenDescriptorForDirectTexturing when available in CanvasLayerOGL to avoid useless texture upload. r=cjones
2012-08-09 10:32:48 -04:00
David Anderson
8cc88ca2e4
Merge from mozilla-central.
2012-06-28 15:17:18 -07:00
Kan-Ru Chen
65a340614f
Bug 774552 - Draw GraphicBuffer directly. r=roc,BenWa
2012-07-17 10:12:58 +08:00
David Anderson
af248c16a6
Merge from mozilla-central.
2012-06-27 11:00:48 -07:00
Joe Drew
05d2135de5
Bug 781679 - Assert that we're not in the middle of a transaction when we switch layer managers. r=mattwoodrow
2012-08-15 17:55:38 -04:00
Justin Lebar
4ae3ae1f2c
Bug 782971 - Fix crash resulting from not initializing an argument in ShadowThebesLayerOGL::Swap(). r=cjones
2012-08-15 14:36:44 -04:00
Kan-Ru Chen (陳侃如)
abc77a9c59
Bug 785001 - Add default constructor to PlanarYCbCrImage::Data. r=roc
2012-08-26 20:14:20 -03:00
Matt Woodrow
69d5c7c425
Bug 779940: Meter layers transactions in addition to composites. r=cjones
2012-08-07 14:41:29 +12:00
Kan-Ru Chen (陳侃如)
b6dc323f77
Bug 767480 - Remove offset field from PlanarYCbCrImage::Data. r=roc
2012-08-26 00:22:51 -03:00
David Zbarsky
e0fe5ae49b
Bug 785657 - Enable async animations in content processes r=cjones
2012-08-25 21:27:28 -04:00
Nicholas Cameron
ec4082e8bb
Bug 768079; mask layers force an intermediate surface for their containers. r=roc
2012-06-27 08:06:32 +12:00
Ed Morley
ef4179d2d4
Backout de70e79ced32, ddd519d0767e, 9b952d924953 & 03efce585669 (bug 758620) for reftest failures
2012-06-26 16:13:33 +01:00
Chris Lord
b05770560f
Bug 758620 - Respect the Layers' anchor points in CompositorParent. r=ajuma
...
When asynchronously zooming, respect a Layer's anchor point so that it stays in
the correct position.
2012-06-26 14:43:18 +01:00
Chris Lord
1448e862c1
Bug 758620 - Force fixed-position frames to have their own layers. r=roc
...
Introduce a new display-list item 'nsDisplayFixedPosition' that represents
fixed-position elements. This item cannot be merged, which forces fixed
position elements to have their own layer, and has a BuildLayer implementation
that sets the necessary metadata on a Layer to be able to maintain its
position correctly during composition when asynchronously panning and zooming.
2012-06-26 14:43:11 +01:00
Nicholas Cameron
6be9877aaf
Bug 757347; checking the format of images. r=roc
2012-06-26 14:43:31 +12:00
Nicholas Cameron
88e40f4fe1
Bug 757346; Use A8 textures (OGL). r=roc
2012-06-26 14:43:31 +12:00
Nicholas Cameron
9f19c1a23a
Bug 757346; Use A8 textures (DX9). r=roc
2012-06-26 14:43:31 +12:00
Nicholas Cameron
03e8305815
Bug 757346; mask image format stuff - use A8 textures (except DX10) and some small, misc fixes. r=roc
2012-06-26 14:43:31 +12:00
Nicholas Cameron
34289b5948
Bug 757347; Add a shutdown hook and remove MaskImageFormat(). r=roc
2012-06-26 14:43:30 +12:00
Nicholas Cameron
dde00bf60b
Bug 757347; changes to FrameLayerBuilder. r=roc
2012-06-26 14:43:30 +12:00
Nicholas Cameron
549b63d97d
Back out bug 757346
...
--HG--
extra : rebase_source : 8a07c2c56ca9dbc165012b679d421435cc886c2c
2012-06-26 10:54:05 +12:00
Nicholas Cameron
e0a38b326b
Bug 757347; checking the format of images. r=roc
2012-06-26 09:44:41 +12:00
Nicholas Cameron
14b8ef1f95
Bug 757346; Use A8 textures (OGL). r=roc
2012-06-26 09:44:41 +12:00
Nicholas Cameron
ac7e54e7fc
Bug 757346; Use A8 textures (DX9). r=roc
2012-06-26 09:44:41 +12:00
Nicholas Cameron
aae4ecb5d0
Bug 757346; mask image format stuff - use A8 textures (except DX10) and some small, misc fixes. r=roc
2012-06-26 09:44:41 +12:00
Nicholas Cameron
f7821afd6f
Bug 757347; Add a shutdown hook and remove MaskImageFormat(). r=roc
2012-06-26 09:44:41 +12:00
Nicholas Cameron
6f0ff4bb34
Bug 757347; changes to FrameLayerBuilder. r=roc
2012-06-26 09:44:41 +12:00
David Zbarsky
4e2cd5f742
no bug, avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor in APZ, blanket r=bz
2012-07-20 16:49:12 -04:00
James Willcox
f0d7883166
Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert
2012-07-20 15:20:51 -04:00
Andreas Gal
9b43cdb80d
Remove dead code from upload path (bug 775863, r=cjones).
2012-07-20 00:36:19 -07:00
Brian R. Bondy
cd57d05a97
Bug 750898 - GFX code for Metro. r=bas
2012-07-17 21:53:28 -04:00
Chris Jones
a461883264
Bug 765734, part 6: Integrate gralloc buffers into the shadow-layers pipelines. r=gal
...
--HG--
extra : rebase_source : f7d46aeab3c44d237c8f2ab690caf00f6cd3270d
2012-07-12 05:51:58 -07:00
Chris Jones
2e1fa258fd
Bug 765734, part 5: Disable texture-upload hacks on b2g. (This code is dead for android currently too, to be removed soon.) r=BenWa
...
--HG--
extra : rebase_source : d78019d51647bf55ff8bded0f35549100e72dd6c
2012-07-12 05:51:58 -07:00
Chris Jones
f2d2a7bb3b
Bug 765734, part 4: Add an RAII helper to open/close SurfaceDescriptors and mark usage of SurfaceDescriptor as ReadOnly or ReadWrite. r=BenWa,nrc sr=roc
...
--HG--
extra : rebase_source : 34d9f4f021bac540e96b82eceb855c9c2ce59ce6
2012-07-12 05:51:58 -07:00
Chris Jones
e0f72354fe
Bug 765734, part 3: Remove unused code. r=mattwoodrow
...
--HG--
extra : rebase_source : 9c7f8b54b501ebcc9d3f8e757044b8d3f52d1cd9
2012-07-12 05:51:57 -07:00
Chris Jones
fae577c2a7
Bug 765734, part 2: Migrate ImageLayers to SurfaceDescriptor. r=mattwoodrow,roc
...
--HG--
extra : rebase_source : 19fc8b0ae4cfffdf9a098911deac3b48c2f5d768
2012-07-12 05:51:57 -07:00
Chris Jones
4b8927b5f1
Bug 765734, part 1: Let clients specify capabilities required of cross-process surfaces. Only MAP_AS_IMAGE_SURFACE needed for now. r=roc
...
--HG--
extra : rebase_source : a2e4411772b4504ce86900826d2dc812dcaa68be
2012-07-12 05:51:57 -07:00
Chris Jones
70375ea1b1
Bug 765734, part 0.2: Remove \r from basic layers files. r=nrc
...
--HG--
extra : rebase_source : c79a1469e473865a22d83b503c947ef3a6b26889
2012-07-12 05:51:57 -07:00
David Zbarsky
1e9fefd64e
Bug 706179 Part 2: Add a BaseTransform and scaling to layers, r=roc, cjones
2012-07-30 19:20:00 -07:00
David Zbarsky
06ea1f66f2
Bug 778519 - Don't include Layers.h everywhere Part 2 r=cjones
2012-07-30 17:42:26 -07:00
Doug Sherk
4b06950c82
Bug 775463: Recognize double tap gestures while still supporting single taps r=cjones
2012-07-27 19:24:24 -07:00
Ryan VanderMeulen
0a6e3c1d9a
Backout e0e33c1c7c17 and 3d0fb7ac961a (bug 775463) due to bustage.
2012-07-27 20:46:49 -04:00
Doug Sherk
4e801b42e1
Bug 775463: Fix a mistake in a comment r=none DONTBUILD
2012-07-27 17:26:14 -07:00
Doug Sherk
42ecca33c0
Bug 775463: Recognize double tap gestures while still supporting single taps
2012-07-27 17:23:51 -07:00
David Zbarsky
9bf8a70491
Bug 706179 Part 2: Add a BaseTransform to layers r=roc
2012-07-27 13:23:45 -07:00
David Zbarsky
7dcf199c9c
Bug 755084 Part 3: Move checks for whether to animate opacity and transforms on the compositor thread to nsLayoutUtils, and make them also check whether the compositor is actually running r=cjones,dbaron
2012-07-27 13:23:45 -07:00
David Zbarsky
12752872fe
Bug 706179: Add support for animations to the Layers API r=roc, dbaron, cjones
2012-07-27 13:23:44 -07:00
Doug Sherk
a178e53bd6
Bug 777264: Remove timer-based repaint throttling r=cjones
2012-07-27 00:33:57 -07:00
Doug Sherk
c1d2060973
Bug 777264: Fix AsyncPanZoomController and Axis to use CSS pixels for dimension checking r=cjones
2012-07-27 00:33:53 -07:00
Doug Sherk
b6a7422619
Bug 777264: Throttle repaint requests in Gecko panning/zooming r=cjones
2012-07-27 00:33:48 -07:00
David Zbarsky
87e7b8b42a
[Bug 777657] Fix some opt build warnings r=cjones
2012-07-26 21:02:05 -07:00
Doug Sherk
2b84631ef6
Bug 779344: Properly transform B2G panning/zooming after layers changes r=dzbarsky
2012-07-31 16:19:25 -07:00
Karl Tomlinson
4f22ae8780
b=775848 Initialize BasicShadowLayerManager::mRepeatTransaction appropriately r=BenWa
...
--HG--
extra : transplant_source : %3F%14R%1BD%CCL%AFL4%B2%ACN%1EP%D03%F5%27D
2012-07-31 14:54:36 +12:00
Karl Tomlinson
efce7d7c15
b=778031 add FinishX to XSync less frequently and use it r=cjones
...
--HG--
extra : transplant_source : %BC%2C%80%F65%1DV%B7YVI%80%B2%FD%FE%F1%18G%06%26
2012-07-31 14:54:21 +12:00
David Zbarsky
f4b0395707
Bug 755084 Part 3: Move checks for whether to animate opacity and transforms on the compositor thread to nsLayoutUtils, and make them also check whether the compositor is actually running r=cjones,dbaron
2012-07-31 10:28:22 -07:00
David Zbarsky
1ab8257975
Bug 706179 Part 1: Add support for animations to the Layers API r=roc, dbaron, cjones
2012-07-31 10:28:20 -07:00
Benoit Girard
be1e81f90f
Bug 724666 - Part 2: Add CGIOSurfaceContext to azure. r=jmuizelaar
2012-07-31 11:17:43 -04:00
Benoit Girard
d38270d473
Bug 724666 - Part 1: Refactor nsCoreAnimation support into azure QuartzSupport. r=jmuizelaar
...
--HG--
rename : gfx/thebes/nsIOSurface.h => gfx/2d/MacIOSurface.h
rename : gfx/thebes/nsCoreAnimationSupport.mm => gfx/2d/QuartzSupport.mm
2012-07-31 11:11:57 -04:00
David Anderson
eccdd8879b
Merge from mozilla-central.
2012-06-26 15:37:34 -07:00
Nicholas Cameron
d11aac3e65
Bug 746883; fix the bustage possibly caused by 746896. r=mattwoodrow
2012-07-26 14:30:20 +12:00
Nicholas Cameron
7aa563c2b9
Bug 764125; remove AzureEnabled from gfxInfo and replace with backend check. r=roc
2012-07-26 13:56:42 +12:00
Nicholas Cameron
97d6423dfa
Bug 764125; sort out preferred and fallback Azure backends for all platforms (gfxPlatform). r=Bas
2012-07-25 12:45:58 +12:00
Matt Brubeck
0e09726934
Back out 156eaa94f73c (bug 782786) and 05d1a3fba90b (bug 777028) for frequent Linux reftest failures on a CLOSED TREE
2012-08-23 14:47:07 -07:00
Benoit Jacob
6ea52aa860
Bug 782786 - BasicCanvasLayer: avoid UpdateSurface of non-dirty canvases - r=BenWa
2012-08-23 14:56:23 -04:00
Andrew McCreight
a74f801bd7
Back out Bug 773440 for causing M2 orange on Android on this CLOSED TREE.
2012-08-23 10:01:14 -07:00
James Willcox
ccf900e735
Bug 783754 - Fix Flash on the Galaxy SII r=BenWa
2012-08-23 12:00:23 -04:00
Nicolas Silva
14c4540bd8
Bug 773440 - Remove one video frame copy when using async-video. r=roc
2012-08-23 10:56:36 -04:00
Oleg Romashin
ee5b6a2485
Bug 728524 - Public shared texture API + Canvas impl. r=bgirard,vlad,jgilbert
2012-05-31 21:30:08 -04:00
Oleg Romashin
677d4767fa
Bug 728524 - Minor rework for TexImage filter setup. r=bgirard
2012-07-09 21:30:14 -04:00
Benoit Girard
e453aa1d7e
Bug 788400 - Part 2: Add a frame number to profiles. r=ehsan
2012-09-05 11:45:17 -04:00
Benoit Girard
66021a3fc5
Bug 788400 - Part 1: Add a frame counter to OGLLayers. r=jmuizelaar
2012-09-05 16:24:54 -04:00
Chris Jones
d0c5ba562a
Bug 780074: Change the fps counter to provide better estimates of instantaneous fps. r=jrmuizel
2012-09-04 22:17:13 -07:00
Marco Castelluccio
e3de72832f
Bug 788042 - Use MOZ_X11 instead of MOZ_WIDGET_GTK2 under gfx/layers. r=karlt
2012-09-04 21:01:57 -04:00
Benoit Girard
34d1b7b2ff
Bug 787416 - Invalidate tiled layers when the format changes. r=joe
2012-09-04 18:05:31 -04:00
Anthony Jones
15fa44db66
Bug 780792 - Fix save/restore leak in basic layer when needsGroup, is2D, and clipIsEmpty are all true. r=roc
2012-09-10 18:31:38 -04:00
Vladimir Vukicevic
45877a1b01
b=765150, HTML5 video playback shows purple screen on Motorola/Tegra 2 devices; r=jrmuizel
2012-07-05 14:34:04 -04:00
Phil Ringnalda
eef64f0e00
Back out f79077bad960 and 94dd16a365d9 (bug 765150) for bustage
2012-07-05 09:07:18 -07:00
Vladimir Vukicevic
3185d5d982
b=765150, HTML5 video playback shows purple screen on Motorola/Tegra 2 devices -- now with correctly generated shaders include; r=jrmuizel
2012-07-05 11:27:26 -04:00
Vladimir Vukicevic
624a5a712f
b=765150, HTML5 video playback shows purple screen on Motorola/Tegra 2 devices; r=jrmuizel
2012-07-05 10:00:23 -04:00