Jeff Muizelaar
eaa55a2edc
Bug 860466: Properly deal with SharedTextureHostOGL. r=nical
...
There were a number of issues with the current implementation. It couldn't deal
with NULL mSharedHandles. Additionally it was binding things to the wrong
samplers. Finally it was not properly setting the texture transform (which
defaults to all 0). Finally in a debug build an assert would be hit upon client
shutdown due to it not clearing mDescriptor.
This patch fixes all of those issues which makes flash work again.
--HG--
extra : rebase_source : 733f242d2cd82c145ef6e3af9584f832af3c1f5d
2013-04-11 19:42:26 -04:00
Jeff Muizelaar
e728e1b1c4
Bug 860446: Properly readback from WebGL with B2G. r=bjacob
...
--HG--
extra : rebase_source : ed6f0374cbc5912bcde84680eccfaa2da6c9d1d5
2013-04-11 12:37:07 -04:00
Bas Schouten
341383c413
Bug 825928: Land layers refactoring. r=jrmuizel,bas,nical,mattwoodrow,roc,nrc,benwa,bjacob,jgilbert,kchen CLOSED TREE
...
Please contact Bas Schouten <bschouten@mozilla.com>, Nicolas Silva <nsilva@mozilla.com> or Nicholas Cameron <ncameron@mozilla.com> with general questions. Below is a rough list of authors to contact with specific questions.
Authors:
gfx/layers/Compositor.* gfx/layers/Effects.h - Compositor Interface - bas,nrc,nical
gfx/layers/d3d* - D3D9/D3D10 - bas
gfx/layers/ThebesLayer* - ThebesLayers - nrc,bas
gfx/layers/composite/* - CompositeLayers - nrc,nical
gfx/layers/client/* - Client - nrc,nical,bas
gfx/layers/*Image* - nical
gfx/layers/ipc ipc - IPC - nical
gfx/layers/opengl - CompositorOGL - nrc,nical
gfx/2d - bas,nrc
gfx/gl - GLContext - bjacob
dom/* layout/* - DOM - mattwoodrow
2013-04-10 09:20:52 +00:00
Daniel Holbert
a7356d0abd
Bug 859517: Move LayerManagerOGL::Initialize's helper-nsRunnable from function-scope to class-scope to fix build warning about ignored visibility attribute. r=BenWa
2013-04-08 15:06:28 -07:00
Sotaro Ikeda
17e4c83d74
Bug 850566 - Part 2: Render gralloc buffer by using image size. r=roc
2013-03-28 09:59:48 -04:00
Diego Wilson
6eef212eb8
Bug 846236 - Verify the buffer descriptor is a shared texture. r=ncameron
2013-03-25 17:22:10 -07:00
Benoit Girard
fc10a7cfe4
Bug 851611 - Part 3: Rename headers. r=jrmuizel
...
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 6ea7c660764a4390cdd8dd91561fff1d7bad6035
2013-03-18 15:25:50 +01:00
Benoit Girard
9d12529d78
Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
...
--HG--
extra : rebase_source : f76accc3d3dd86c75cb3e9750734f23ec9c29941
2013-03-16 00:47:02 -04:00
Ed Morley
29e1999869
Backed out changeset b43bbab312e7 (bug 829747) for ABORTs on Android 2.2; CLOSED TREE
2013-03-22 19:10:24 +00:00
James Willcox
706ba55f37
Bug 829747 - Update WebGL canvases asynchronously r=bgirard,jgilbert
...
--HG--
extra : rebase_source : ba0f95badd9b5d7e537b3c83e0057665bd5ced86
2013-03-22 12:13:21 -04:00
Ed Morley
b2109c458f
Backed out changeset c75481a07302 (bug 851611)
2013-03-18 14:10:35 +00:00
Ed Morley
2b1775b4e9
Backed out changeset d195190adc48 (bug 851611)
...
--HG--
rename : tools/profiler/GeckoProfiler.h => tools/profiler/sampler.h
rename : tools/profiler/GeckoProfilerImpl.h => tools/profiler/sps_sampler.h
2013-03-18 14:10:30 +00:00
Benoit Girard
664cf994b4
Bug 851611 - Part 3: Rename headers. r=jrmuizel
...
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 552fe1d3ff61d15b264aaf86f7c8cb4f4eff69d1
2013-03-18 14:41:02 +01:00
Benoit Girard
c4c6a0ddf5
Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
...
--HG--
extra : rebase_source : 3032aaf7e50cdf9c350da688ec34e50a695fc7ca
2013-03-16 00:47:02 -04:00
Ms2ger
c4380f4933
Bug 845374 - Part r: Stop including nsTArray.h in nsReadableUtils.h; r=khuey
2013-03-17 08:55:16 +01:00
Jeff Gilbert
6c0312078d
Bug 848023 - Backout 123989 for mistaken push on r-
2013-03-07 14:13:09 -08:00
Milan Sreckovic
9cff8595a2
Bug 848023 - Use the same adjusted max texture size everywhere. r=bjacob
2013-03-05 13:56:27 -05:00
Ed Morley
2e90a500bf
Backed out changeset cacb9f3ee44d (bug 840693)
2013-03-04 14:37:43 +00:00
Anthony Jones
fffa15107b
Bug 840693 - Change to using gfx:: types in AsyncPanZoomController; r=cjones
2013-03-04 13:25:26 +13:00
Matt Woodrow
5db1257ac3
Bug 835045 - Use CreateThebesSurfaceAliasForDrawTarget_hack to avoid having multiple cairo_surface_quartz objects for a single CGContext. r=nrc
2013-02-26 10:18:52 +13:00
Jeff Gilbert
4ed4901299
Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad
...
--HG--
extra : rebase_source : 3fb4230127df8a265d930fb779bdc93e05626c8b
2013-02-13 15:26:24 -08:00
Ed Morley
c878d63b6a
Backed out changeset 82747d694e7a (bug 716859) for android reftest-2 timeouts
2013-02-21 19:54:25 +00:00
Jeff Gilbert
1da9dd6cd2
Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad
...
--HG--
extra : rebase_source : 5dad29809733a54a19cd3e5030498f00597d1dc8
2013-02-13 15:26:24 -08:00
Ryan VanderMeulen
438b3ab061
Backed out changeset b46c006a7696 (bug 716859) and changeset 6a14e4c15aa6 (bug 841836) for B2G test failures on a CLOSED TREE.
2013-02-20 10:01:20 -05:00
Jeff Gilbert
d348a03b58
Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad
2013-02-13 15:26:24 -08:00
Benoit Girard
01b22053d4
Bug 840856 - Check component alpha surface for allocation failure. r=mattwoodrow
2013-02-12 23:37:08 -05:00
Jeff Muizelaar
6b916e79b2
Bug 787017. Die more verbosely on Android during Layers init. r=bjacob
...
This might give us some more information on what's happening.
--HG--
extra : rebase_source : f2865e0d59746170d8b258334673acbd301dca54
2013-02-11 15:56:26 -05:00
Nicholas Cameron
0ad7a5b129
Bug 836058; remove UseTiledThebes; r=BenWa
2013-01-29 14:38:46 +13:00
Benoit Jacob
7f759366c7
Bug 827170 - Clamp intermediate surface's framebuffer dimensions to what is supported by the GL - r=BenWa
...
Without this, we have assertion failures as we fail to create our textures and subsequently
we have incomplete framebuffers. The present patch is a short-term compromise: to avoid
asserting, we just clamp texture sizes. That can result in fuzzy rendering. Ideally
(with some suitable tiling) we wouldn't have to do that.
2013-01-25 13:40:38 -05:00
Benoit Jacob
f801627b1e
Bug 827170 - back out a920571903da to see if it is what caused SVG reftests (android R4) to fail - no review, bustage on a CLOSED TREE
2013-01-25 17:50:29 -05:00
Benoit Jacob
f8931fa873
Bug 827170 - Clamp intermediate surface's framebuffer dimensions to what is supported by the GL - r=BenWa
...
Without this, we have assertion failures as we fail to create our textures and subsequently
we have incomplete framebuffers. The present patch is a short-term compromise: to avoid
asserting, we just clamp texture sizes. That can result in fuzzy rendering. Ideally
(with some suitable tiling) we wouldn't have to do that.
2013-01-25 13:40:38 -05:00
Daniel Holbert
2a155710d2
Bug 831023: Remove unused non-mac-platform version of MakeIOSurfaceTexture. r=BenWa
2013-01-15 18:16:47 -08:00
Mats Palmgren
6c53161814
Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan
2013-01-15 13:22:03 +01:00
Oleg Romashin
5b19e14034
Bug 824428 - Add Environment option which would allow to use Tiled Thebes Layers. r=bgirard
2013-01-14 20:21:02 -08:00
Diego Wilson
105835da4b
Bug 810501: Get buffer offset from ThebesLayer when composing with hwc. r=cjones a=blocking-basecamp
2013-01-10 11:51:43 +01:00
Kan-Ru Chen (陳侃如)
63c704f38d
Bug 826628 - Release the texture after unbind it. r=jgilbert
2013-01-05 11:20:50 +08: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
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
Benoit Jacob
d95f4d2833
Bug 814716 - correct the way that we tweak max sizes - r=jgilbert
2012-12-11 16:57:30 -05: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 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
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
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
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 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
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
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 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
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
Ryan VanderMeulen
3b3a4a2c86
Backed out changeset b5c86318a3ee (bug 801918) for various regressions.
2012-11-10 12:09:50 -05: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
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
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
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
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
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
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
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
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
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 Girard
3dff7c50b2
Bug 796117 - New Mobile tilestore tiles will now replace equivalent tiles. r=Cwiiis
2012-10-12 17:50:08 -04:00
Benoit Girard
8aed17295d
Bug 724666 - Add pref for accelerated canvas on mac. r=jrmuizel
2012-07-31 18:48:40 -04: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
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
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
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
Benoit Girard
c8f1bc0779
Bug 796084 - Rename MOZ_JAVA_COMPOSITOR -> MOZ_ANDROID_OMTC. r=blassey
2012-10-01 16:01:35 -04:00
Matt Woodrow
f8a3bcd5dd
Bug 770617 - Always mark inactive CanvasLayers as being dirty. r=cjones
2012-09-30 19:20:25 +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
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
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
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
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
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
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
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
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
9049bbc981
Bug 791364: Free canvas front buffers that are surface descriptors. r=gal
2012-09-17 17:56:04 -07: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
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
25909c8590
Bug 789368: Mind our fenceposts when estimating fps. r=jrmuizel
2012-09-06 20:12:03 -07:00
Andrew Quartey
f51538ccc9
Bug 761155 - Extend Mesa LLVMpipe Preference to GLX r=bjacob
2012-09-06 20:16:30 -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
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
Kan-Ru Chen (陳侃如)
13812a1212
Bug 787045 - Call TexParameter on the correct target. r=bgirard
2012-08-30 15:39:01 -03:00
Kan-Ru Chen (陳侃如)
3c509a0dcc
Bug 786747 - Fix the BindTexture order and re-bind textures correctly. r=jgilbert
...
--HG--
extra : rebase_source : 87c790e359ca64d1b7dcc34920281e9861d16db9
2012-08-29 18:20:30 -03:00
Chris Lord
d599966391
Bug 785333 - Add ContainerLayer::RepositionChild. r=bas
...
Add a function that can be used to quickly reposition a layer child, rather
than forcing removal/insertion and the extra work that can involve.
2012-08-29 11:52:55 +01:00
Chris Lord
b66d5cde2d
Bug 785333 - Synchronise layer InsertAfter/RemoveChild methods. r=bas
...
InsertAfter/RemoveChild in the Direct3D and OpenGL Layer backends have fallen
behind the implementation in BasicContainerLayer. Synchronise them.
2012-08-29 11:52:44 +01:00
Matt Woodrow
69d5c7c425
Bug 779940: Meter layers transactions in addition to composites. r=cjones
2012-08-07 14:41:29 +12:00
James Willcox
ccf900e735
Bug 783754 - Fix Flash on the Galaxy SII r=BenWa
2012-08-23 12:00:23 -04:00
Ehsan Akhgari
57ac5ddc72
Merge the landing of bug 579517 to mozilla-inbound
2012-08-22 12:12:15 -04:00
Doug Sherk
b018fea56e
Bug 780397: Convert FrameMetrics.mViewportScrollOffset from nsIntPoint to gfx::Point r=roc
2012-08-21 21:37:15 -07: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 (陳侃如)
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 (陳侃如)
4787af5685
Bug 767480 - PlanarYCbCrImage refactoring. r=roc
2012-08-21 17:31:36 +08:00
Jeff Gilbert
74efe81fba
Bug 783663 - Add ReadScreenIntoImageSurface for reading pixels from the screen - r=bgirard
2012-08-20 17:13:32 -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
Matt Woodrow
7591d1ef12
Bug 782372 - Fix clang build. r=nical
2012-08-20 14:39:10 +12:00
David Zbarsky
b258e9a808
Bug 783841 - Fix build warnings in layers r=cjones
2012-08-19 20:07:31 -04:00
Nicolas Silva
047b99ba78
Bug 782372 - Splits ImageLayers.h into ImageLayers.h ImageContainer.h and ImageTypes.h, r=bgirard
2012-08-19 15:33:25 -04:00
Kan-Ru Chen
e5d2297f13
Bug 757341 - Camera direct texturing with async video. r=cjones
2012-08-17 18:56:55 +08:00
Kan-Ru Chen
798e162082
Bug 757341 - Move GonkIOSurfaceImage to its own header. r=roc
2012-08-17 18:56:49 +08: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
Aryeh Gregor
6a9cec29c8
Bug 626472 part 3 - Remove nsnull for good; r=ehsan
2012-08-12 13:43:47 +03: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
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
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 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
David Zbarsky
06ea1f66f2
Bug 778519 - Don't include Layers.h everywhere Part 2 r=cjones
2012-07-30 17:42:26 -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
Aryeh Gregor
e806eeab4f
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03: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
David Zbarsky
87e7b8b42a
[Bug 777657] Fix some opt build warnings r=cjones
2012-07-26 21:02:05 -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
34ba57113f
Back out bug 746883, bug 764125, bug 761895, bug 746883, bug 748116
2012-07-26 18:48:24 +12:00
Nicholas Cameron
19a20aa645
Bug 746883; fix the bustage possibly caused by 746896. r=mattwoodrow
2012-07-26 14:30:20 +12:00
Chris Jones
ec5933ed72
Bug 776940: Fix shutdown protocol of shadow OGL layers. r=vlad
2012-07-24 19:46:32 -07:00
Ed Morley
be8bf4beae
Backout 1244b8a8e57a (bug 755084), 32d16d0f87c9 (bug 706179), 8548e016d4a9 (bug 768440), 697f5b87eae9 (bug 768440), 808fc2bd4e8c (bug 755084), 54b1484cd125 (bug 755084), 876726b632c0 (bug 706179) for xul android R3 failures
2012-07-25 16:37:04 +01:00
David Zbarsky
2008ff368b
Bug 706179: Add support for animations to the Layers API r=roc, dbaron, cjones
2012-07-25 01:48:09 -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
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 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
f9af5d6888
Bug 771350, part 0: Remove some dead code to make later patches clearer. r=BenWa
2012-07-23 16:58:35 -07: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
Ms2ger
0a56bc3482
Bug 776142 - Back out bug 687267 / changeset 8571114112b2 on a CLOSED TREE.
2012-07-22 14:02:18 +02: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
Chris Jones
a297e6c928
Followup to bug 775436: Fix thinko. r=gal
2012-07-19 21:34:21 -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
David Zbarsky
88371b030a
[Bug 774505] Don't include Layers.h everywhere r=cjones
2012-07-18 12:31:40 -04: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
Kan-Ru Chen
65a340614f
Bug 774552 - Draw GraphicBuffer directly. r=roc,BenWa
2012-07-17 10:12:58 +08:00
Oleg Romashin
e8ff7a5510
Bug 728524 - Public shared texture API + Canvas impl. r=bgirard,vlad,jgilbert
2012-05-31 21:30:08 -04:00
Oleg Romashin
9d63823eac
Bug 728524 - Minor rework for TexImage filter setup. r=bgirard
2012-07-15 11:11:05 -04:00
Nicolas Silva
1ada2b604f
Bug 598868: Add support for pushing video frames directly to the compositor thread, bypassing the content thread. r=cjones
2012-07-13 15:38:09 -04: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
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
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
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
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
Ehsan Akhgari
cee73c3f9e
Backout changeset d97bd4246317 (bug 539356) because of performance and correctness regressions
2012-07-03 20:26:18 -04:00
Ehsan Akhgari
5e6974df88
Backout changeset f568fc280fb0 (bug 539356) because of performance and correctness regressions
2012-07-03 20:24:55 -04:00
Ehsan Akhgari
f3e27db850
Backout changeset cb1ac88bedc2 (bug 539356) because of performance and correctness regressions
2012-07-03 20:14:11 -04:00
Oleg Romashin
95b7a73ba9
Bug 539356 - Part 20 - Simplify regions to avoid excessive region calculation. r=roc
2012-06-30 15:06:13 +12:00
Matt Woodrow
cbd39105d9
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
2012-06-30 15:06:11 +12:00
Matt Woodrow
36717ce675
Bug 539356 - Part 8a - Add END_NO_COMPOSITE to EndTransactionFlags and implement in for all LayerManagers. r=roc
2012-06-30 15:06:10 +12: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
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
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
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
Jeff Muizelaar
633fcc1dfd
Bug 759866. Crash more aggressively if we aren't going to be able to paint. r=bgirard
...
This should make it easier to get an idea how common these kinds of failures are.
--HG--
extra : rebase_source : c5c029ebfe723fc4d32d604528beb1769c21d98c
2012-05-31 17:51:52 -04:00
Gervase Markham
d4eb7d5782
Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
...
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Kartikaya Gupta
8a9a864a95
Bug 748384 - Propagate page bounds and CSS page bounds in via compositor. r=Cwiiis,ajuma,mats
2012-05-23 10:51:39 -04:00
Kartikaya Gupta
0f2c633486
Bug 748384 - Back out 330e9c52f9ac, 9ba1078559fe, 2ed39c12d792, f53f05ecacd5 for build bustage. r=bustage
2012-05-23 11:08:19 -04:00
Kartikaya Gupta
6ab5f951cd
Bug 748384 - Propagate page bounds and CSS page bounds in via compositor. r=Cwiiis,ajuma,mats
2012-05-23 10:51:39 -04:00
Nicholas Cameron
8e7e5c8a18
Bug 753784; force mask layers to have a single tile - misc bits and pieces. r=roc
2012-05-17 10:30:10 +12:00
Nicholas Cameron
1ee2935580
Bug 753784; allow access to the max texture size from FrameLayerBuilder. r=roc
2012-05-22 19:15:16 -04:00
Nicholas Cameron
ff3f144642
Bug 753784; add the ability to force a single tile. r=roc
2012-05-22 19:14:03 -04:00
Gervase Markham
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Kartikaya Gupta
4a9c2f95a6
Bug 756555 - Intersect the upload region with the valid region. r=ajuma
2012-05-18 21:19:43 -04:00
David Zbarsky
bf5c7b36c2
Bug 756171 - Fix warning in LayerManagerOGLProgram.h. r=bgirard
2012-05-18 11:42:04 -04:00
Benoit Girard
1f9de263ac
Bug 754233 - Handle negative layer coordinate in Tiled layers. r=ajuma
2012-05-17 15:47:53 -04:00
Nicolas Silva
14a397d2c7
Bug 751163 - Release ShadowImageLayerOGL's YUV textures in ShadowImageLayerOGL::CleanupResources. r=bgirard
...
--HG--
extra : rebase_source : 97cfcda1374519f71b4e9e01a6636ce4b701a5c1
2012-05-15 15:17:33 -04:00
Benoit Jacob
a9ae5c6dae
Bug 754056 - call ReadUnlock() before replacing tiles - r=bgirard
2012-05-12 16:56:55 -04:00
Benoit Jacob
875848ef77
Bug 739648 - add mFlags field to TextureImage; introduce GetSrcTileRect flipping tile y-coords as needed; use it in DirectUpdate() to fix WebGL compositing bug - r=bgirard
2012-05-09 16:55:31 -04:00
Joe Drew
a74effcbd2
Bug 725105 - Fix the single-buffered (i.e., not default) case in LayerManagerOGL. r=bjacob
2012-05-07 17:46:25 -04:00
Benoit Girard
b87c85ed4e
Bug 748649 - Shallow copy BasicTiledLayerBuffer to work around bug 747811. r=ajuma
...
--HG--
extra : rebase_source : 914f0602e64557481f91f96bd78fb9c6ed2dc4b5
2012-05-01 15:59:41 -04:00
Chris Lord
f55a32191b
Bug 750535 - Fix invalidation of retained tiles. r=ajuma a=blocking-fennec
...
When the layer size changed, reused tiles that then fell out of the layer area
would be incorrectly rendered. Fix this by deriving the rendered content area
from set display-ports and correctly invalidating when harvesting tiles, and
clipping when drawing them.
--HG--
extra : rebase_source : 6427be89b9cfb1e54feb0582fb64fa97d7d42bde
2012-05-03 20:55:08 -04:00
Benoit Jacob
37788a6a83
Backing out bug 739648 for linux build failure
2012-05-03 16:26:04 -04:00
Benoit Jacob
b5690cc915
Bug 739648 - WebGL rendering is broken on Android due to tiles being rendered at y-flipped coordinates - r=bgirard
2012-05-03 15:59:19 -04:00
Nicholas Cameron
f17d7b7065
Bug 716439; compile OGL shaders lazily. r=BenWa
2012-05-02 14:54:40 +12:00
Nicholas Cameron
9b7506b604
Bug 716439; shadow layer support. r=BenWa
2012-03-19 12:02:38 +13:00
Nicholas Cameron
fa10a91faf
Bug 716439; change build process to genshaders statically. r=BenWa
2012-03-27 11:13:34 +13:00
Nicholas Cameron
ece642df25
Bug 716439; using mask layers in OGL. r=BenWa
2012-03-19 09:08:53 +13:00
Nicholas Cameron
925f7ef466
Bug 716439; load a mask texture in the OGL backend. r=BenWa
2012-03-19 09:08:49 +13:00
Nicholas Cameron
55a1863333
Bug 716439; managing mask layer shaders in OpenGL. r=BenWa
2012-03-19 09:07:25 +13:00
Nicholas Cameron
4e849c3e85
Bug 716439; shaders for OpenGL mask layers. r=BenWa
2012-03-19 09:07:25 +13:00
Nicholas Cameron
44c6d07ba4
Bug 733894; changing the framework for representing shaders in the OGL
...
layers backend. r=BenWa
2012-03-19 09:07:25 +13:00
Daniel Holbert
2dade77e16
Bug 750356: fix signed/unsigned comparison build warnings in ReusableTileStoreOGL.cpp. r=chrislord
2012-04-30 15:47:42 -07:00
Benoit Girard
db592d1ce0
Bug 749107 - Set the texture unit before binding the tile texture and change the texture ordering in ImageLayer to leave texture unit 0 bound. r=jmuizelaar
2012-04-30 14:51:05 -04:00
Benoit Girard
9177b22315
Bug 749357 - TiledThebesLayerOGL can draw un-rendered areas of tiles. r=chrislord
2012-04-30 10:19:17 -04:00
Chris Lord
077e78ae9e
Bug 749630 - Fix single-colour checkerboard and masking. r=kats
...
Bug 748718 tried to fix masking of the checkerboard layer, but incorrectly
calculated the values for the right and bottom sides of the page, causing
less masking to occur than should happen.
It also possibly broke single-colour layer drawing (though I'm not sure this
worked previously), which this fixes by clearing to the page colour instead of
generating and drawing a texture for it.
2012-04-27 12:54:18 -04:00
Chris Lord
a7e24267f0
Bug 749143 - Don't draw retained tiles outside of layer bounds. r=bgirard
...
It is possible for the content that layers represent to change size, causing
tiles to be reused where they shouldn't. Make sure that tiles that are outside
of content bounds are not drawn, and that they get evicted when harvesting
tiles.
2012-04-26 12:53:14 -04:00
Benoit Girard
ca9934cd5d
Bug 748645 - Upload TiledThebesLayerOGL outside the transaction. r=chrislord
...
--HG--
rename : mozglue/linker/Elfxx.h => mozglue/linker/CustomElf.h
rename : toolkit/devtools/debugger/server/dbg-server.js => toolkit/devtools/debugger/server/dbg-server.jsm
extra : rebase_source : 547cc2fb5871ba58b1c133824a06eab9d4027524
2012-04-25 11:32:10 -04:00
Chris Lord
8f9b90984f
Bug 745177 - Retain and re-use uploaded GL tiles. r=ajuma
...
Rather than discarding uploaded tiles once they fall outside of the valid
region, shuffle them off into a separate tile-store with all the metadata they
need to render them, and render them in the areas that our current valid
region doesn't cover in TiledThebesLayerOGL::RenderLayer.
2012-04-24 22:48:33 -04:00
Matt Brubeck
68fdd39a98
Back out 4114c654f5d0 (bug 745177) because of Mac build errors
2012-04-24 20:18:50 -07:00
Chris Lord
7f2c8c3737
Bug 745177 - Retain and re-use uploaded GL tiles. r=ajuma
...
Rather than discarding uploaded tiles once they fall outside of the valid
region, shuffle them off into a separate tile-store with all the metadata they
need to render them, and render them in the areas that our current valid
region doesn't cover in TiledThebesLayerOGL::RenderLayer.
2012-04-24 22:48:33 -04:00