Commit Graph

3457 Commits

Author SHA1 Message Date
Matt Woodrow
b5987bbf40 Bug 889959 - Don't clear compositor when detaching compositables. r=nical 2014-02-17 11:24:08 +13:00
Matt Woodrow
a6e0daab7c Bug 889959 - Implement GetTextureClient for CairoImage. r=nical 2014-02-17 11:23:39 +13:00
Phil Ringnalda
71b27f8c88 Backed out 3 changesets (bug 972703, bug 889959) for build failures and crashes
CLOSED TREE

Backed out changeset ef3d90780478 (bug 972703)
Backed out changeset 34c95e937671 (bug 889959)
Backed out changeset 5e25912d6696 (bug 889959)
2014-02-16 15:17:01 -08:00
Matt Woodrow
5c5e3de5e8 Bug 889959 - Don't clear compositor when detaching compositables. r=nical 2014-02-17 11:24:08 +13:00
Matt Woodrow
551fc01152 Bug 889959 - Implement GetTextureClient for CairoImage. r=nical 2014-02-17 11:23:39 +13:00
Sotaro Ikeda
abff10a46a Bug 972623 - Call SetCompositableBackendSpecificData() in ImageHost::Composite() r=nical 2014-02-15 17:00:16 -08:00
Kartikaya Gupta
34db632e35 Bug 967671 - Insure apzc always acknowledges scroll offset updates. r=botond 2014-02-15 07:06:27 -06:00
Ehsan Akhgari
dc28f1ce88 Backed out 2 changesets (bug 939276) because of build bustage
Backed out changeset 1cedc759f877 (bug 939276)
Backed out changeset 61cef3b533ba (bug 939276)

--HG--
rename : gfx/gl/SkiaGLGlue.cpp => gfx/gl/GLContextSkia.cpp
2014-02-14 18:48:05 -05:00
James Willcox
7b82ee95c1 Bug 939276 - Use a single GLContext for all SkiaGL canvases r=bjacob,gwright,dglastonbury
--HG--
rename : gfx/gl/GLContextSkia.cpp => gfx/gl/SkiaGLGlue.cpp
2014-02-14 15:55:58 -06:00
Bill McCloskey
337d1fec3b Back out assertion in bug 963952 for crashes 2014-02-14 13:35:49 -08:00
Andreas Pehrson
920f9c11d5 Bug 959154 - Part 6: Move away from DeprecatedDirectUpdate and remove them. r=nical 2014-02-13 17:27:19 +01:00
Andreas Pehrson
7969de45f2 Bug 959154 - Part 4: Deprecate thebes version of GLTextureImage::DirectUpdate. r=nical 2014-02-13 17:25:36 +01:00
Ryan VanderMeulen
87113f5765 Backed out 8 changesets (bug 959154) for various oranges.
Backed out changeset 00e465be0552 (bug 959154)
Backed out changeset 0f9be8d2caaf (bug 959154)
Backed out changeset 6ca9ba706c94 (bug 959154)
Backed out changeset c6ec9df2d729 (bug 959154)
Backed out changeset 53da6aef5629 (bug 959154)
Backed out changeset 88a6337fc8fb (bug 959154)
Backed out changeset b2535f63d78e (bug 959154)
Backed out changeset fffb200a94bc (bug 959154)
2014-02-14 13:30:39 -05:00
Ehsan Akhgari
f6735f6300 Bug 969865 - Fix the allocation handling of frame time recording; r=avih
The size of these arrays can be controlled by a pref, but the max size
is bound to 216k, therefore we do not need to do a fallible allocation
for them.
2014-02-14 12:56:35 -05:00
Andreas Pehrson
1eada6baf8 Bug 959154 - Part 6: Move away from DeprecatedDirectUpdate and remove them. r=nical 2014-02-13 17:27:19 +01:00
Andreas Pehrson
919b8e3183 Bug 959154 - Part 4: Deprecate thebes version of GLTextureImage::DirectUpdate. r=nical 2014-02-13 17:25:36 +01:00
Nicolas Silva
1589113786 Bug 972397 - Fix BufferTextureClient::Lock. r=jrmuizel 2014-02-14 10:20:41 +01:00
Wes Kocher
57a27d0812 Merge b2g-inbound to m-c 2014-02-13 17:02:58 -08:00
Ryan VanderMeulen
0e311b4331 Merge m-c to b2g-inbound. 2014-02-13 10:32:21 -05:00
Sotaro Ikeda
ccd1c78ece Bug 946720 - Enable new textures at ContentClient/ContentHost classes on gonk. r=nical 2014-02-13 09:46:59 -05:00
Nicolas Silva
27d133cd82 Bug 971744 - Move checks from GetAsDrawTarget to Lock in D3D9 TextureClient. r=mattwoodrow 2014-02-13 11:45:13 +01:00
Ryan VanderMeulen
37a64da0e4 Merge inbound to m-c. 2014-02-12 15:48:01 -05:00
Ali Akhtarzada
cf5f5c5cfa Bug 959121 - Moz2Dify ImageClientSingle::UpdateImage. r=nical 2014-02-12 10:24:21 -05:00
Ali Akhtarzada
8779b97143 Bug 959120 - Moz2Dify AutoLockImage contructor. r=nical
Changed the AutoLockImage constructor to take a SourceSurface
instead of a gfxASurface
2014-02-12 10:24:21 -05:00
Mason Chang
d92f7844bd Bug 958727 - Thebes textures leak memory if visible region shrinks. r=mattwoodrow 2014-02-12 10:24:20 -05:00
Sotaro Ikeda
c11af41305 Bug 968872 - Remove TEXTURE_DEALLOCATE_DEFERRED flag. r=nical 2014-02-12 09:54:23 -05:00
Bill McCloskey
414cc1efff Bug 963952 - [e10s] Don't use basic compositor when using D3D11 compositor (r=mattwoodrow) 2014-02-13 08:53:50 -08:00
Dmitry Rozhkov
2c9373d718 Bug 968222 - Update zoom scale and devPixelsPerPx in APZC upon orientation change. r=kats,botond 2014-02-12 21:27:45 +02:00
Tor Arvid Lund
471e8c6b58 Bug 948765 - Simplify (and fix issue) with CanvasLayerD3D9. r=nical
There seemed to be some duplication of code in the UpdateSurface method,
as well as an issue with updating that caused some reftests to fail.

In this patch, I remove the mSurface member variable from
CanvasLayerD3D9.h, and instead call mDrawTarget->Snapshot() as needed.

I also reuse the code to draw into the D3DLOCKED_RECT so that we don't
duplicate that portion anymore. It seems now to be more similar to the way
CanvasLayerD3D10 works.

The reftests now pass.
2014-02-12 10:07:47 -05:00
Tor Arvid Lund
19730a14f2 Bug 948765 - Implement BasicImageLayer::Paint. r=nical 2014-02-12 10:07:47 -05:00
Tor Arvid Lund
ea7fb02614 Bug 948765 - Implement BasicColorLayer::Paint. r=nical 2014-02-12 10:07:47 -05:00
Tor Arvid Lund
edf342c191 Bug 948765 - Port CopyableCanvasLayer to Moz2D. r=nical
This patch deprecates the UpdateSurface and PaintWithOpacity methods in the
CCL class. To do this, many other changes were made in the process.

BasicImplData::Paint was deprecated, and its mOperator was ported to Moz2D.
This caused changes in several *Layer subclasses.

GLScreenBuffer::Readback was deprecated.

I want to change the usages of the (now) deprecated functions, so that they
use the new Moz2D ones: CanvasClient::Update has been updated, but the big
one (BasicLayerManager::PaintSelfOrChildren) will have to be its own
project.
2014-02-12 10:07:46 -05:00
Tor Arvid Lund
3b6d00b226 Bug 948765 - Add a LayerUtils file in gfx/layers. r=nical
This file is currently just a helper for doing PremultiplySurface in
Moz2D. It corresponds to an existing Thebes one in the gfxUtils class.

An upcoming patch will require this PremultiplySurface method. The
existing one in gfxUtils has been renamed internally to
DeprecatedPremultiplyTables.
2014-02-12 10:07:46 -05:00
Kartikaya Gupta
773eff20ab Bug 970070 - Update the last-dispatched-paint metrics when we get a scroll update from layout. r=botond 2014-02-12 09:04:38 -05:00
Jacek Caban
d58401494a Bug 970429 - Don't allow using INITGUID in unified sources. r=Ehsan 2014-02-12 10:59:05 +01:00
Nicolas Silva
a98bb5a45e Bug 957560 - Fix some issues with CairoTextureClientD3D9 and DataTextureSourceD3D. r=Bas 2014-02-11 17:13:14 +01:00
Kartikaya Gupta
40bb6ba9dc Bug 965381 - Delay the single tap notification until after the touchdown is handled. r=daleharvey 2014-02-11 10:42:42 -05:00
Benoit Girard
fd8eb83796 Bug 963821 - Port FPS counter to the Compositor API. r=bas
--HG--
rename : gfx/layers/opengl/FPSCounter.h => gfx/layers/composite/FPSCounter.h
2014-02-10 17:14:11 -05:00
Doug Sherk
247f79eba5 Bug 969860: Set GEL's state back to GESTURE_NONE after spoofing a touch start on pinch end r=kats 2014-02-10 12:43:12 -05:00
Matt Woodrow
ede8359603 Bug 966679 - Follow-up to fix bustage on gcc 4.4, split Compose() into separate functions. CLOSED TREE 2014-02-11 17:58:01 +13:00
Matt Woodrow
aefec0df73 Bug 966679 - Mark Layers as Mutated if they have an invalid region. r=roc 2014-02-11 17:01:49 +13:00
Matt Woodrow
5179f9a16e Bug 966679 - Resolve RefLayers during IPDL transactions. r=nical 2014-02-11 17:01:20 +13:00
Matt Woodrow
21ada525f1 Bug 966679 - Make LayerProperties aware of RefLayers. r=roc 2014-02-11 17:00:46 +13:00
Matt Woodrow
1b9e2a7317 Bug 966679 - Make sure all RefLayers are resolved before calling BeginTransaction. r=nical 2014-02-11 17:00:16 +13:00
Matt Woodrow
2a1194062e Bug 966679 - Implement widget paint flashing for BasicCompositor. r=roc 2014-02-11 16:59:39 +13:00
Bill McCloskey
f98d7e2332 Bug 970736 - Make basic compositor handle texture wrapping correctly (r=mattwoodrow) 2014-02-10 18:46:34 -08:00
Bill McCloskey
9dc45e266e Bug 970711 - Fix typo in MemoryTextureClientData destructor (r=mattwoodrow) 2014-02-10 18:46:27 -08:00
Bill McCloskey
f9915544fb Bug 970711 - Make basic compositor respect TexturedEffect filter (r=mattwoodrow) 2014-02-10 18:45:11 -08:00
L. David Baron
fb212fb7fe Bug 969898: Make gfx/heap-textures memory reporter support 64-bit numbers on 64-bit platforms. r=njn 2014-02-10 17:03:24 -08:00
Bill McCloskey
2fde094e5b Bug 970496 - Make sure software compositor's invalid region is sane (r=mattwoodrow) 2014-02-10 16:43:32 -08:00