Commit Graph

1579 Commits

Author SHA1 Message Date
Ryan VanderMeulen
9a58e28e80 Backed out changeset b5c86318a3ee (bug 801918) for various regressions. 2012-11-10 12:09:50 -05:00
Benoit Girard
5bca4fa175 Bug 809493 - Restore the blend equation state after drawing the underlay. r=joe 2012-11-08 10:10:51 -05:00
Chris Jones
a868506921 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
d7c71cef32 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.
2012-11-07 21:35:54 -05:00
Jeff Muizelaar
ca9f21dc48 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
Benoit Girard
4acfc37434 Bug 800944 - Use fuzzy float equal to prevent harvesting tiles causing assertion. r=Cwiiis 2012-10-30 12:08:22 -04:00
Chris Lord
caa87c3c83 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
263d2197a7 Bug 805792 - Avoid another extra copie when calling RenderTile. r=Cwiiis
* * *
Bug 805907 - Handle memory pressure notification in the TileStore. r=Cwiiis,ehsan
2012-10-29 18:10:45 -04:00
Benoit Girard
d22455ead7 Bug 805792 - Avoid another extra copie when calling RenderTile. r=Cwiiis 2012-10-26 10:44:48 -04:00
Benoit Girard
01dd837910 Bug 805792 - Avoid extra copies when calling RenderTile. r=Cwiiis 2012-10-26 09:38:44 -04:00
Chris Lord
3082b7dbb5 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
dc22a316d9 Bug 805002 - Flush accelerated Quartz canvas before GL composition. r=BenWa 2012-10-24 18:17:00 +02:00
Chris Lord
7ade72d32d 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
Chris Lord
1a42e63eeb Bug 802143 - Clarify coordinate spaces in ReusableTileStoreOGL::DrawTiles. r=bgirard 2012-10-18 12:59:17 +01:00
Chris Lord
f93159f971 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
Benoit Girard
a07545e5b0 Back out b7f31a736800 for mochitest failures 2012-10-15 16:57:43 -04:00
Benoit Girard
1665b65c7d Back out d5496f32f2e4 for mochitest failures 2012-10-15 16:57:06 -04:00
Benoit Girard
749ecb3f6f Bug 796117 - Keep tiles cached when changing resolution. r=Cwiiis 2012-10-15 15:08:45 -04:00
Benoit Girard
a245dce839 Bug 796117 - New Mobile tilestore tiles will now replace equivalent tiles. r=Cwiiis 2012-10-12 17:50:08 -04:00
Benoit Girard
e24e886d41 Bug 724666 - Add pref for accelerated canvas on mac. r=jrmuizel 2012-07-31 18:48:40 -04:00
Chris Jones
df81a31877 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
Chris Jones
1691aa71df 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
Benoit Girard
d6d2a9a314 Bug 796084 - Remove reference to java compositor in comments. r=Cwiiis, DONTBUILD because comment only 2012-10-02 09:46:01 -04:00
Kan-Ru Chen (陳侃如)
b765830c6d 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
Benoit Girard
789871769f Bug 796084 - Rename MOZ_JAVA_COMPOSITOR -> MOZ_ANDROID_OMTC. r=blassey 2012-10-01 16:01:35 -04:00
Matt Woodrow
e761dadd2b Bug 770617 - Always mark inactive CanvasLayers as being dirty. r=cjones 2012-09-30 19:20:25 +13:00
Jonathan Kew
96b4dcf660 bug 674373 pt 2 - consistently use client bounds for layer sizing. r=roc 2012-09-29 12:34:41 +01:00
Doug Sherk
0428a4ac02 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
990e90e88a Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
foudfou
096b0d2aae 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).
2012-09-27 23:44:47 +02:00
Matt Woodrow
3942e5e02f Bug 786626 - Initialize mLayerProgram. r=joe. landing on a CLOSED TREE 2012-09-29 01:39:35 +12:00
Oleg Romashin
1cc3c7b20e Bug 539356 - Part 20 - Simplify regions to avoid excessive region calculation. r=roc 2012-08-29 17:48:43 +12:00
Matt Woodrow
19164d9447 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
Ed Morley
ed4fe023b5 Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE 2012-09-27 16:34:46 +01:00
Oleg Romashin
48670dd613 Bug 539356 - Part 20 - Simplify regions to avoid excessive region calculation. r=roc 2012-08-29 17:48:43 +12:00
Matt Woodrow
24eaff95c9 Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt 2012-08-29 17:38:58 +12:00
Edwin Flores
ae210d4763 Bug 759506 - GonkNativeWindow and layers changes for B2G zero-copy OMX hardware decoding r=kanru 2012-09-27 16:33:42 +12:00
Marco Castelluccio
a51ca5bb29 Bug 630346 - Merge LayerManagerOGL::CleanupResources into LayerManagerOGL::Destroy r=karlt 2012-09-24 11:23:39 +12:00
Marco Castelluccio
28a50f4312 b=787853 Upload surface when it doesn't support texture_from_pixmap r=karlt 2012-09-05 01:10:22 +02:00
Karl Tomlinson
ebb45f3543 b=777946 implement SCALE_STRETCH through ComputeEffectiveTransforms r=Bas 2012-09-18 15:16:15 +12:00
Chris Jones
e3ef3eb0b0 Bug 791364: Free canvas front buffers that are surface descriptors. r=gal 2012-09-17 17:56:04 -07:00
Nicolas Silva
5a7909f266 Bug 790716 - Allocate shared YCbCr images in one shmem. r=jrmuizel. 2012-09-13 16:52:26 -04:00
James Willcox
99fd80f12a Bug 778091 - Use medium precision for SurfaceTexture shader r=vlad 2012-09-17 15:50:33 -04:00
Benoit Girard
751d0b0de4 Bug 789597 - Should support correlation of profile with capture frames. r=joe 2012-09-17 13:58:04 -04:00
Ed Morley
bc7eac1c76 Backout 7f86b28171a2 (bug 787853) & e18fdb9a8e12, ba47dac3cf97, e3fdcf7ed7f2, 992ee4c72c87 (bug 777946) for intermittent linux M4 ABORTs 2012-09-17 14:17:02 +01:00
Marco Castelluccio
c2735a0b81 b=787853 Upload surface when it doesn't support texture_from_pixmap r=karlt 2012-09-05 01:10:22 +02:00
Karl Tomlinson
2176d66471 b=777946 implement SCALE_STRETCH through ComputeEffectiveTransforms r=Bas 2012-09-17 17:19:59 +12:00
Chris Jones
3b727174ec Bug 789368: Mind our fenceposts when estimating fps. r=jrmuizel 2012-09-06 20:12:03 -07:00
Andrew Quartey
8746165b31 Bug 761155 - Extend Mesa LLVMpipe Preference to GLX r=bjacob 2012-09-06 20:16:30 -04:00
Benoit Girard
3b1705cd41 Bug 788400 - Part 2: Add a frame number to profiles. r=ehsan 2012-09-05 11:45:17 -04:00