Benoit Jacob
2df15d2001
Bug 968825 - Null pointer checks in LayerTransactionParent - r=jrmuizel
2014-02-21 16:50:25 -05:00
Morris Tseng
5cfad48454
Bug 975121 - Fix reversed colors with gfx.xrender.enabled = false. r=gal
2014-02-24 10:09:55 -05:00
Mason Chang
55fca4eb95
Bug 917416 - Make App Renderframe Opaque. r=roc
2014-02-24 10:09:55 -05:00
Robert O'Callahan
e099a6db18
Bug 973767. Put the compositor into test mode via an IPDL transaction. r=mattwoodrow
...
--HG--
extra : rebase_source : d40cf8624f93b85298cc501ff315522220522fb6
2014-02-12 17:41:57 +13:00
Ehsan Akhgari
8212be10db
Bug 935778 - Part 0.2: Spray some MOZ_DECLARE_REFCOUNTED_TYPENAME across the tree
2014-02-20 21:33:49 -05:00
Wes Kocher
09174e398b
Backed out changeset cf6a31bca4e0 (bug 939276) for webgl reftest crash
...
--HG--
rename : gfx/gl/SkiaGLGlue.cpp => gfx/gl/GLContextSkia.cpp
2014-02-20 15:23:52 -08:00
Kartikaya Gupta
7a0456fa50
Bug 965945 - Prevent the parent process from running out of memory if the child process requests a giant gralloc buffer. r=bjacob
2014-02-19 12:08:00 -05:00
James Willcox
1715424e2c
Bug 939276 - Use a single GLContext for all SkiaGL canvases r=vlad,gwright,bjacob
...
--HG--
rename : gfx/gl/GLContextSkia.cpp => gfx/gl/SkiaGLGlue.cpp
extra : rebase_source : 8e85dd34a67c2e193480e9f1f5baf68a898790fe
2014-02-20 16:20:28 -06:00
Benoit Jacob
be25d16da4
Bug 971695 - 2/2 - make YCbCrImageDataSerializer check data size - r=nical
2014-02-20 16:04:13 -05:00
Benoit Jacob
f005673003
Bug 971695 - 1/2 - make ImageDataSerializer check data size - r=nical
2014-02-20 16:04:11 -05:00
Benoit Jacob
eec374bcb3
Bug 971678 - Validate the compositable type in SetCompositableHost - r=nical
2014-02-20 15:07:04 -05:00
Benoit Jacob
5efd6e4c38
Bug 969549 - Make PCompositableTransaction check actual layer types before casting - r=nical
2014-02-20 15:05:48 -05:00
Benoit Jacob
83a89d27ad
Bug 968001 - In OpSetRoot, check that the new root is a root - r=nical
2014-02-20 15:05:08 -05:00
Benoit Jacob
c2040dc3c9
Bug 963974 - Null mCurrentCompositeTask after calling Cancel() on it - r=mattwoodrow
2014-02-20 11:41:39 -05:00
Benoit Jacob
6943c09600
Bug 968833 - 2/2 - ThebesLayerComposite should be TYPE_THEBES, not TYPE_SHADOW - r=nical
2014-02-20 11:41:04 -05:00
Benoit Jacob
e0ddb2e185
Bug 968833 - 1/2 - Make PLayerTransaction check actual layer types before casting - r=jrmuizel
2014-02-20 11:40:55 -05:00
Benoit Jacob
22d2b8f8da
Bug 967330 - UpdateThebes should fail gracefully instead of aborting - r=nical
2014-02-20 08:05:32 -05:00
Benoit Jacob
be272d4026
Bug 967824 - Make SetCompositableHost gracefully handle errors instead of just aborting - r=nical
2014-02-20 08:05:30 -05:00
Kartikaya Gupta
a20adb29b4
Back out 679e69e79fe2 (bug 965945) for causing C2 bustage on B2G emulator builds. r=backout
2014-02-19 17:21:09 -05:00
Ryan VanderMeulen
41ed3ca169
Backed out changesets a6831c02d8cf, 5ab4f97a3220, 2784838dbc94, and 6364146ddb19 (bug 973892) for B2G bustage.
...
CLOSED TREE
2014-02-19 14:28:05 -05:00
Nicolas Silva
88320a86ed
Bug 973892 - Fix b2g bustage on a CLOSED TREE.
2014-02-19 20:00:50 +01:00
Nicolas Silva
69010e7545
Bug 973892 - part 2) Specify the moz2d backend when creating a TextureClient. r=Bas
2014-02-19 18:17:49 +01:00
Nicolas Silva
49e89a77d5
Bug 973892 - Part 1) Choose the backend in ImageDataSerializer::GetAsDrawTarget. r=mattwoodrow
2014-02-19 18:17:40 +01:00
Kartikaya Gupta
fcc987ee4f
Bug 965945 - Prevent the parent process from running out of memory if the child process requests a giant gralloc buffer. r=bjacob
2014-02-19 12:08:00 -05:00
Morris Tseng
a9831398d7
Bug 974189 - Black screen in content area during browser start with OMTC enabled. r=gal
2014-02-19 11:37:25 -05:00
Nicolas Silva
84f9e2482e
Bug 973875 - Make CanvasClient2D not keep a TextureClient's DrawTarget after unlocking its memory. r=bjacob
2014-02-19 16:53:26 +01:00
Nicolas Silva
60ed1b2d02
Bug 973869 - Make SharedPlanarYCbCrImage properly Lock its TextureClient. r=mattoodrow
2014-02-19 16:53:14 +01:00
Chris Lewis
23f546b52c
Bug 974097 - AppendChild operation in LayersMessages.idplh should be called PrependChild. r=gal
2014-02-24 09:41:55 -05:00
Kartikaya Gupta
ea01e580ff
Bug 976030 - Fix a typo in my patch for bug 898563. r=me and DONTBUILD because trivial
...
Thanks to Maks Naumov's eagle eyes for spotting it.
2014-02-24 08:31:58 -05:00
Nicolas Silva
c10a56f5ab
Bug 974841 - Fix TextureClientX11::Lock. r=jrmuizel
2014-02-24 11:42:54 +01:00
Milan Sreckovic
cdd2e94e6e
Bug 971942: 6. layers.low-precision-resolution, layers.prefer-opengl, layers.prefer-d3d9, layers.enable-tiles, gfx.direct2d.disabled, gfx.direct2d.force-enabled, moved to gfxPrefs. r=bschouten
2014-02-26 21:53:32 -05:00
Milan Sreckovic
bc67325654
Bug 971942: 5. nglayout.debug.widget_update_flashing, canvas.azure.accelerated, layers.offmainthreadcomposition.enabled, layers.offmainthreadcomposition.testing.enabled, layers.offmainthreadcomposition.force-enabled, layers.acceleration.disabled moved to gfxPrefs. r=bschouten
2014-02-26 21:53:32 -05:00
Milan Sreckovic
5c4cd11666
Bug 971942: 4. layers.frame-counter, layers.draw-borders, layers.draw-tile-borders, layers.draw-bigimage-borders, layers.dump, layers.frame-counter, layers.progressive-paint, layers.low-precision-buffer moved to gfxPrefs. r=nsilva
2014-02-26 21:53:31 -05:00
Milan Sreckovic
6d1dbe84a1
Bug 971942: 3. layers.bufferrotation.enabled, layers.componentalpha.enabled, layers.scroll-graph, layers.acceleration.disabled, layers.acceleration.force-enabled moved to gfxPrefs. r=clord
2014-02-26 21:53:27 -05:00
Milan Sreckovic
6e2f6474ed
Bug 971942: 2. layout.frame_rate, layers.offmainthreadcomposition.frame-rate, layers.orientation.sync.timeout moved to gfxPrefs. The layers.offmainthreadcomposition.frame-rate is also changed to be a live preference so it does not need a restart. r=bgirard
2014-02-26 21:52:54 -05:00
Wes Kocher
cc152eb194
Merge m-c to inbound on a CLOSED TREE
2014-02-26 18:31:11 -08:00
Cameron McCormack
233ee6f330
Bug 976908 - Remove unncessary TelemetryHistogramEnums.h inclusion from Layers.cpp. r=mattwoodrow
2014-02-27 10:29:18 +11:00
L. David Baron
4f04bcdc57
Bug 976350 patch 1: Move the contents of nsTraceRefcnt.h into nsISupportsImpl.h. r=bsmedberg
...
This makes sense since the file no longer contains anything with the
nsTraceRefcnt name in it, and it will allow renaming nsTraceRefcntImpl
back to nsTraceRefcnt.
2014-02-26 13:36:35 -08:00
Benoit Jacob
ffe3e8f738
Bug 974629 - Make TextureChild hold on to its CompositableForwarder - r=nical
2014-02-26 16:23:51 -05:00
Benoit Jacob
2b3d048aa5
Bug 968001 - Missing null pointer check in TOpSetRoot - r=jrmuizel
2014-02-26 16:23:51 -05:00
Kartikaya Gupta
31032942ac
Bug 941995 - Disable double-tapping and click delay on pages that are device-width or narrower (B2G). r=mbrubeck,botond
2014-02-24 19:22:45 -05:00
Matt Woodrow
bdb53ca253
Bug 974197 - Fire MozAfterPaint after the compositor runs. r=roc
2014-02-25 12:55:39 +13:00
Kartikaya Gupta
c7c58f4554
Bug 969483 - Fix the RepositionChild function and add a test for it. r=BenWa
2014-02-18 16:38:30 -05:00
Ryan VanderMeulen
6bcf42d1bf
Merge inbound to m-c.
2014-02-18 15:18:19 -05:00
Sotaro Ikeda
b4c7025963
Bug 965440 - Try GRALLOC_PLANAR_YCBCR in VideoData::Create on gonk r=nical,doublec
2014-02-18 06:50:20 -08:00
Sotaro Ikeda
85774eaa54
Bug 972494 - Use RefPtr to hold GrallocTextureClientOGL pointer r=nical
2014-02-18 06:46:13 -08:00
Tom Schuster
a7d362236a
Bug 973227 - Add a new X11TextureSourceOGL for upload x11 pixmaps to textures. r=nical
2014-02-18 01:30:05 +01:00
Tom Schuster
d2a80abaa7
Bug 973227 - Split up TextureHostX11 into TextureSource and TextureHost file, make it backend independent. r=nical
...
--HG--
rename : gfx/layers/basic/TextureHostX11.cpp => gfx/layers/basic/X11TextureSourceBasic.cpp
rename : gfx/layers/basic/TextureHostX11.h => gfx/layers/basic/X11TextureSourceBasic.h
rename : gfx/layers/basic/TextureHostX11.cpp => gfx/layers/composite/X11TextureHost.cpp
rename : gfx/layers/basic/TextureHostX11.h => gfx/layers/composite/X11TextureHost.h
2014-02-18 01:30:05 +01:00
Tom Schuster
a79164e45e
Bug 973227 - Add GetBackendType to every Compositor class. r=nical
2014-02-18 01:30:05 +01:00
Masatoshi Kimura
dfb3f0e76b
Bug 969918 - Use decltype to declare pointers for dynamic-loaded functions. r=jimm sr=roc
2014-02-18 07:32:52 +09:00
Matt Woodrow
a23b676cac
Bug 966543 - Group implementations in MacIOSurfaceTextureHost. r=nical
2014-02-18 09:36:57 +13:00
Matt Woodrow
a017d9c311
Bug 966543 - null check mSurface in MacIOSurfaceTextureHostOGL. r=nical
2014-02-18 09:32:49 +13:00
Matt Woodrow
9022ad7535
Bug 889959 - Don't clear compositor when detaching compositables. r=nical
2014-02-17 11:24:08 +13:00
Matt Woodrow
6dc1fe08d0
Bug 889959 - Implement GetTextureClient for CairoImage. r=nical
2014-02-17 11:23:39 +13:00
Phil Ringnalda
ac63c0f4a1
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
f815da0685
Bug 889959 - Don't clear compositor when detaching compositables. r=nical
2014-02-17 11:24:08 +13:00
Matt Woodrow
5e0f91a29a
Bug 889959 - Implement GetTextureClient for CairoImage. r=nical
2014-02-17 11:23:39 +13:00
Sotaro Ikeda
49dcb1911f
Bug 972623 - Call SetCompositableBackendSpecificData() in ImageHost::Composite() r=nical
2014-02-15 17:00:16 -08:00
Kartikaya Gupta
c58fc54268
Bug 967671 - Insure apzc always acknowledges scroll offset updates. r=botond
2014-02-15 07:06:27 -06:00
Ehsan Akhgari
de8052b706
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
48175fc2e0
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
57b623c1fe
Back out assertion in bug 963952 for crashes
2014-02-14 13:35:49 -08:00
Andreas Pehrson
5f6eee106c
Bug 959154 - Part 6: Move away from DeprecatedDirectUpdate and remove them. r=nical
2014-02-13 17:27:19 +01:00
Andreas Pehrson
053d840d5b
Bug 959154 - Part 4: Deprecate thebes version of GLTextureImage::DirectUpdate. r=nical
2014-02-13 17:25:36 +01:00
Ryan VanderMeulen
344dd922c4
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
3e1ad2460f
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
ce51738acb
Bug 959154 - Part 6: Move away from DeprecatedDirectUpdate and remove them. r=nical
2014-02-13 17:27:19 +01:00
Andreas Pehrson
eeb6b7bfe7
Bug 959154 - Part 4: Deprecate thebes version of GLTextureImage::DirectUpdate. r=nical
2014-02-13 17:25:36 +01:00
Morris Tseng
6998680bed
Bug 926128 - Use a single configurable shader in OpenGL layers backend. r=vlad, r=nical, r=gal
2013-11-07 22:22:05 -08:00
Ali Akhtarzada
2c7bbd2605
Bug 972843 - Make Image::GetAsSourceSurface pure virtual. r=nical
2014-02-18 08:59:34 -05:00
Nicolas Silva
dc6575b9c7
Bug 972397 - Fix BufferTextureClient::Lock. r=jrmuizel
2014-02-14 10:20:41 +01:00
Wes Kocher
382e4b472b
Merge b2g-inbound to m-c
2014-02-13 17:02:58 -08:00
Ryan VanderMeulen
41ac0e7e12
Merge m-c to b2g-inbound.
2014-02-13 10:32:21 -05:00
Sotaro Ikeda
78cb423d30
Bug 946720 - Enable new textures at ContentClient/ContentHost classes on gonk. r=nical
2014-02-13 09:46:59 -05:00
Nicolas Silva
f3df1dc1c3
Bug 971744 - Move checks from GetAsDrawTarget to Lock in D3D9 TextureClient. r=mattwoodrow
2014-02-13 11:45:13 +01:00
Ryan VanderMeulen
8ca6124007
Merge inbound to m-c.
2014-02-12 15:48:01 -05:00
Ali Akhtarzada
e3ab81296b
Bug 959121 - Moz2Dify ImageClientSingle::UpdateImage. r=nical
2014-02-12 10:24:21 -05:00
Ali Akhtarzada
1b57105f97
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
40b0cfa157
Bug 958727 - Thebes textures leak memory if visible region shrinks. r=mattwoodrow
2014-02-12 10:24:20 -05:00
Sotaro Ikeda
57345cecff
Bug 968872 - Remove TEXTURE_DEALLOCATE_DEFERRED flag. r=nical
2014-02-12 09:54:23 -05:00
Bill McCloskey
785a0402ee
Bug 963952 - [e10s] Don't use basic compositor when using D3D11 compositor (r=mattwoodrow)
2014-02-13 08:53:50 -08:00
Dmitry Rozhkov
f95cf51eb6
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
b1c632ce74
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
a31d080fc6
Bug 948765 - Implement BasicImageLayer::Paint. r=nical
2014-02-12 10:07:47 -05:00
Tor Arvid Lund
298876b747
Bug 948765 - Implement BasicColorLayer::Paint. r=nical
2014-02-12 10:07:47 -05:00
Tor Arvid Lund
09df5cf35c
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
b272755e2d
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
2247452040
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
06c5f9e5cc
Bug 970429 - Don't allow using INITGUID in unified sources. r=Ehsan
2014-02-12 10:59:05 +01:00
Nicolas Silva
320150da1a
Bug 957560 - Fix some issues with CairoTextureClientD3D9 and DataTextureSourceD3D. r=Bas
2014-02-11 17:13:14 +01:00
Kartikaya Gupta
8fce3ba9b2
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
828b60ea42
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
cb96bdf766
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
2eb7116930
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
69270deb38
Bug 966679 - Mark Layers as Mutated if they have an invalid region. r=roc
2014-02-11 17:01:49 +13:00
Matt Woodrow
a008f620fb
Bug 966679 - Resolve RefLayers during IPDL transactions. r=nical
2014-02-11 17:01:20 +13:00
Matt Woodrow
c6e16097b9
Bug 966679 - Make LayerProperties aware of RefLayers. r=roc
2014-02-11 17:00:46 +13:00
Matt Woodrow
ce3484f7e9
Bug 966679 - Make sure all RefLayers are resolved before calling BeginTransaction. r=nical
2014-02-11 17:00:16 +13:00
Matt Woodrow
bf435a520d
Bug 966679 - Implement widget paint flashing for BasicCompositor. r=roc
2014-02-11 16:59:39 +13:00
Bill McCloskey
5fa762bf98
Bug 970736 - Make basic compositor handle texture wrapping correctly (r=mattwoodrow)
2014-02-10 18:46:34 -08:00
Bill McCloskey
2f2362b1f6
Bug 970711 - Fix typo in MemoryTextureClientData destructor (r=mattwoodrow)
2014-02-10 18:46:27 -08:00
Bill McCloskey
1e5217ce6b
Bug 970711 - Make basic compositor respect TexturedEffect filter (r=mattwoodrow)
2014-02-10 18:45:11 -08:00
L. David Baron
28f1ae0664
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
0bbb9d4f11
Bug 970496 - Make sure software compositor's invalid region is sane (r=mattwoodrow)
2014-02-10 16:43:32 -08:00
Wes Kocher
8c388d8430
Backed out changeset bde8b5894490 (bug 965381) for APZC failures
2014-02-10 16:02:06 -08:00
Kartikaya Gupta
4666e09d4c
Bug 965381 - Delay the single tap notification until after the touchdown is handled. r=daleharvey
2014-02-10 17:34:24 -05:00
Sotaro Ikeda
5bfce7e8fc
Bug 962101 - Handle Remove Texture in Compositable level. r=nical
2014-02-10 15:52:35 -05:00
Ryan VanderMeulen
7c4efd7351
Merge m-c to inbound.
2014-02-10 15:43:52 -05:00
Ryan VanderMeulen
afbec0e4a9
Merge inbound to m-c.
2014-02-10 15:42:58 -05:00
Ryan VanderMeulen
912aae99b9
Backed out changeset 68de70a3d9f8 (bug 969591) for assertions.
2014-02-10 11:04:20 -05:00
Mason Chang
41c5e4f8da
Bug 969591 - Cleanup Thebes Layer if mRegionToDraw is Empty and we still have a buffer allocated. r=mattwoodrow
2014-02-10 08:56:31 -05:00
Kartikaya Gupta
bae6d34e37
Bug 969455 - Update FrameMetrics logging to include scroll generation. r=drs
2014-02-10 10:27:06 -05:00
Bill McCloskey
760c7bf9bb
Bug 968635 - Store texture flags in the right place in TextureClientX11 (r=mattwoodrow)
2014-02-10 11:28:50 -08:00
Morris Tseng
8c18931d08
Bug 959114 - Remove websockify dependency from LayerScope. r=vlad, r=cku
2014-02-10 08:45:15 -05:00
Matt Woodrow
8b97bc5e71
Bug 966679 - Mark the layer as invalid when we get an async texture update. r=nical
2014-02-10 15:24:28 +13:00
Matt Woodrow
26747ba645
Bug 966679 - Use correct texture format when coverting YCbCr image data back into an image surface. r=nical
2014-02-10 15:24:28 +13:00
Matt Woodrow
938e9aa493
Bug 926745 - Don't call ForceRemove manually in compositable code. r=nical,sotaro
2014-02-10 15:24:27 +13:00
Ms2ger
479e9f45c5
Bug 952033 - Part b: Use IntSize in CreateOffscreenSurface; r=roc
2014-02-09 09:04:38 +01:00
Bas Schouten
015f37c6a6
Bug 805406: Do not validate ThebesLayers when the D2D device is invalid. r=jrmuizel
2014-02-08 19:37:38 +00:00
Doug Sherk
ffbaa8e658
Bug 964421 - Add a mechanism to HandleLongTap(Up) to allow content to preventDefault touches and stop panning while long tapping. r=kats
2014-02-07 18:13:50 +01:00
Nicolas Silva
4086b78a8f
Bug 967505 - Fix build bustage on a CLOSED TREE.
2014-02-10 11:50:43 +01:00
Nicolas Silva
893ee25418
Bug 967505 - Fix a crash with the D2D debug layer. r=Bas
2014-02-10 11:21:11 +01:00
Kartikaya Gupta
df17f0338e
Bug 965593 - Flush repaints along the entire overscroll handoff chain on touch-end. r=botond
2014-02-07 14:11:32 -05:00
Kartikaya Gupta
acb83e518a
Bug 969072 - Move the CANCEL event handling into the pinch gesture code. r=drs
2014-02-07 11:26:32 -05:00
Kartikaya Gupta
5d224ed419
Bug 969072 - Make GestureEventListener only accept MultiTouchInput types. r=drs
2014-02-07 11:25:58 -05:00
Kartikaya Gupta
d0da890d30
Bug 969072 - Only pass events to the GestureEventListener if it is a multitouch input. r=drs
2014-02-07 11:25:58 -05:00
Carsten "Tomcat" Book
8548aba581
Backed out changeset de4503ebba6a (bug 968222) for causing m2 test failures on B2G ICS Emulator Opt on a CLOSED TREE
2014-02-07 15:05:25 +01:00
Nicolas Silva
c001bc916a
Bug 965096 - Use image surfaces for ARGB content with non-deprecated textures. r=BenWa
2014-02-07 14:30:01 +01:00
Nicolas Silva
a22bfcb0ef
Bug 965096 - Backed out changeset 224e15123ae0 because of wrong bug number. r=me
2014-02-07 14:24:30 +01:00
Nicolas Silva
eb64d872aa
Bug 955096 - Use image surfaces for ARGB content with non-deprecated textures. r=BenWa
2014-02-07 14:20:19 +01:00
Nicolas Silva
1d8c9546b3
Bug 968811 - TextureClientD3D11::ImplementsLocking. r=mattwoodrow
2014-02-07 12:28:49 +01:00
Dmitry Rozhkov
3555ffdb1f
Bug 968222 - Update zoom scale in APZC upon orientation change. r=botond,kats
...
From f60ff14c5fdd1f7fef29ea5b2d7b4c8fa5710157 Mon Sep 17 00:00:00 2001
---
gfx/layers/ipc/AsyncPanZoomController.cpp | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
2014-02-06 11:57:42 +02:00
Sotaro Ikeda
81d019b34f
Bug 966446 - Handle GrallocBufferActor::ActorDestroy for new texture. r=nical
2014-02-06 20:32:29 -05:00
Ryan VanderMeulen
a8eeeeb85c
Merge m-c to inbound.
2014-02-12 15:58:22 -05:00
Benoit Girard
9836451746
Bug 971875 - Fix regression to HWC on b2g. r=sotaro
...
--HG--
extra : rebase_source : 8aaa3818d1dbfe1e07137010a7734a2da8dc3379
2014-02-12 15:25:52 -05:00
Tor Arvid Lund
1bae72e9bf
Bug 968746 - Remove unused CanvasLayer::Data::mSurface. r=nical
...
Since no code path ever set CanvasLayer::Data::mSurface, remove the field
entirely
2014-02-06 09:46:30 -05:00
Carsten "Tomcat" Book
81787587f6
Merge mozilla-central to mozilla-inbound
2014-02-06 13:22:35 +01:00
Carsten "Tomcat" Book
5c1b7c4a12
merge b2g-inbound to mozilla-central
2014-02-06 13:17:08 +01:00
Nicolas Silva
2284c460b0
Bug 966528 - Use a specific IPDL message for component alpha. r=mattwoodrow
2014-02-06 12:28:29 +01:00
Ryan VanderMeulen
6b9d35a219
Merge m-c to b2g-inbound on a CLOSED TREE.
2014-02-05 16:12:18 -05:00
Ryan VanderMeulen
76412a3cd2
Merge b2g-inbound to m-c.
2014-02-05 15:47:36 -05:00
Bill McCloskey
d7dfb24c4a
Backout bug 947045 for build failures on a CLOSED TREE
2014-02-05 09:05:25 -08:00
David Anderson
3c130dd88c
Bug 947045 - Use Xlib surfaces in basic compositor (r=mattwoodrow)
2014-02-05 08:39:02 -08:00
Doug Sherk
d1fcb70c41
Bug 967449: Enlarge the opposite axis's displayport when an axis's scrollable rect <= composition bounds rect r=kats
2014-02-04 16:27:10 +00:00
Chris Lord
9c00de3115
Bug 967502 - Disallow checkerboarding when using APZC. r=kats
...
This modifies the asynchronous scroll position so that unrendered content is
never revealed.
2014-02-05 15:12:20 +00:00
Nicolas Silva
ed0c8d838b
Bug 966999 - Remove some deprecated GL textures code. r=vlad
2014-02-04 21:47:20 +01:00
Nicolas Silva
ab6c3237f1
Bug 952507 - Flush the back buffer after syncing with the front buffer in the buffered ContentClient. r=Bas
2014-02-04 21:35:22 +01:00
Nicolas Silva
79df86a0f4
Bug 967573 - Better document TextureClient. r=sotaro
2014-02-04 21:32:02 +01:00
Nicolas Silva
134849ee58
Bug 967473 - Fix layer diagnostics with tiling. r=BenWa
2014-02-04 17:18:10 +01:00
Ryan VanderMeulen
7196939775
Merge b2g-inbound to m-c.
2014-02-04 14:43:23 -05:00
Matt Woodrow
2258859236
Bug 966543 - Ensure that the MacIOSurfaceTextureHost has taken a ref to the surface before letting the client side object be destroyed. r=nical
2014-02-04 12:25:22 +13:00
Fabrice Desré
bee4276789
Bug 967098 - Expose settings to twiddle displayport prefs - followup r=me
2014-02-03 16:37:45 -08:00
Kartikaya Gupta
2ca9faf598
Bug 967098 - Add a couple of prefs to control displayport calculation behaviour at runtime. r=botond
2014-02-03 18:57:34 -05:00
Doug Sherk
df0b993f93
Bug 968112: Remove acceleration code from APZC r=kats
2014-02-05 15:15:05 +01:00
Mason Chang
f6aafc146f
Bug 960673 - Improve scrollgraph to track layer transform. r=benwa
2014-01-31 21:50:06 -05:00
Jeff Muizelaar
33d1508c1d
Bug 962721. Handle the flip for CopyTexImage2D. r=bjacob
...
This fixes a regression from b75d69931d4a. This call to CopyTexImage2D was
forgotten during the move to handling the flip in the compositor.
2014-01-31 10:59:14 -05:00
Benoit Jacob
3991287fb7
Bug 964442 - Make CreateImage just take a plain format parameter - r=jrmuizel
2014-01-30 17:58:51 -05:00
Benoit Jacob
e6d46b061f
Bug 962784 - Convert ImageTypes.h to typed enums - r=jrmuizel
...
find content/media media/webrtc gfx/layers gfx/tests dom/camera dom/plugins image/src layout/base -type f | grep -v 'gfx/layers/ImageTypes.h' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(GRALLOC_PLANAR_YCBCR\|PLANAR_YCBCR\|SHARED_RGB\|CAIRO_SURFACE\|MAC_IOSURFACE\|REMOTE_IMAGE_BITMAP\|SHARED_TEXTURE\|REMOTE_IMAGE_DXGI_TEXTURE\|D3D9_RGB32_TEXTURE\)\($\|[^A-Za-z0-9_]\)/\1ImageFormat::\2\3/g'
find content/media media/webrtc gfx/layers gfx/tests dom/camera dom/plugins image/src layout/base -type f | grep -v 'gfx/layers/ImageTypes.h' | xargs sed -i 's|ImageFormat\:\:ImageFormat|ImageFormat|g'
find content/media media/webrtc gfx/layers gfx/tests dom/camera dom/plugins image/src layout/base -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)STEREO_MODE_\(MONO\|LEFT_RIGHT\|RIGHT_LEFT\|BOTTOM_TOP\|TOP_BOTTOM\)\($\|[^A-Za-z0-9_]\)/\1StereoMode::\2\3/g'
find content/media media/webrtc gfx/layers gfx/tests dom/camera dom/plugins image/src layout/base -type f | grep -v 'gfx/layers/ImageTypes.h' | xargs sed -i 's|StereoMode\:\:StereoMode|StereoMode|g'
2014-01-30 17:58:49 -05:00
Kartikaya Gupta
01b69ed9b2
Bug 964997 - When scrolling is disabled, don't apply the velocity transformations to the displayport. r=botond
2014-01-30 13:37:06 -05:00
snigdha
39733b3b9c
Bug 962826 - Return the product from GetTouchStartTolerance(). r=botond
2014-01-30 13:26:54 -05:00
Sotaro Ikeda
8039dc9590
Bug 964976 - Prevent crash of unsupported pixel format gralloc allocation. r=nical
2014-01-30 11:17:10 -05:00
Jeff Gilbert
999af5c8f5
Bug 960319 - Don't use GLTextures for non-ANGLE D3D WebGL layers. r=vlad
2014-01-30 10:59:16 -05:00
Nicholas Cameron
f1c44fc909
Bug 959781. Ensure we are using the correct content type in BeginPaint and BorrowDrawTargetForPainting. r=mattwoodrow
2014-01-30 22:39:11 +13:00
Benoit Girard
b352a57e15
Bug 956263 - Add a preference to control the compositor frame-rate. r=mstange
2014-01-29 18:26:38 -05:00
Vladimir Vukicevic
f5982a8788
b=951799, cache uniforms in OGLShaderProgram, part 3 - inline; r=bjacob
2014-01-29 17:53:38 -05:00
Vladimir Vukicevic
2862b29b17
b=951799, cache uniforms in OGLShaderProgram, part 2 - fix LayerProgramProjectionMatrix; r=bjacob
2014-01-29 17:53:38 -05:00
Vladimir Vukicevic
60cf58f1f2
b=951799, cache uniforms in OGLShaderProgram, part 1; r=bjacob
2014-01-29 17:53:37 -05:00
Nicolas Silva
cef0bf3210
Bug 965250 - Fix TextureHostD3D9. r=Bas
2014-01-29 17:27:01 +01:00
Nicolas Silva
298c0624fc
Bug 964794 - Remove extra Lock and minimize DT creation/destruction in D3D11 TextureClient. r=Bas
2014-01-29 17:26:42 +01:00
Doug Sherk
448c66aeb3
Bug 937343: Remove pan start logic on pinch end from APZC r=botond
2014-01-24 22:13:12 +00:00
Doug Sherk
01131fb434
Bug 937343: Spoof a touch start event on pinch end in GestureEventListener r=botond
2014-01-24 22:13:10 +00:00
Ali Akhtarzada
95480d503e
Bug 964745 - GetAsSourceSurface in SharedTextureImage and DeprecatedSharedRGBImage. r=nical
2014-01-28 10:27:36 -05:00
Ali Akhtarzada
d571d6ea36
Bug 961715 - Implement D3D9SurfaceImage::GetAsSourceSurface. r=nical
2014-01-28 09:14:10 -05:00
Ali Akhtarzada
638ef75fa6
Bug 961713 - Implement GrallocImage::GetAsSourceSurface. r=nical
2014-01-28 09:13:58 -05:00
Ali Akhtarzada
c34462e5f5
Bug 961714 - Implement RemoteDXGITextureImage::GetAsSourceSurface. r=nical
2014-01-28 09:00:10 -05:00
Nicholas Cameron
10f1fdf1a0
Bug 944087. Missing comment change addressing reviewer comment. r=Bas DONTBUILD (comment only)
2014-01-28 21:44:15 +13:00
Kartikaya Gupta
d2967684eb
Bug 950301 - Add another assertion to detect scenarios where we botch the layer tree. r=BenWa
2014-01-27 23:36:57 -05:00
David Zbarsky
05bdc40a75
Bug 952977: Convert AsyncCompositionManager to gfx::Matrix4x4 r=nical
2014-01-27 15:25:21 -05:00
David Zbarsky
20476fcd10
Bug 952977: Convert AutoMaskData to gfx::Matrix4x4 r=nical
2014-01-27 15:25:21 -05:00
David Zbarsky
b03cdd7b39
Bug 952977: Convert CompositingRenderTargetOGL to gfx::Matrix4x4 r=nical
2014-01-27 15:25:21 -05:00
David Zbarsky
8c0287eca2
Bug 952977: Convert DrawTo to gfx::Matrix4x4 r=nical
2014-01-27 15:25:20 -05:00
David Zbarsky
0bbd7b8bd8
Bug 952977: Convert PrepareViewport to gfx::Matrix4x4 r=nical
2014-01-27 15:25:20 -05:00
David Zbarsky
c2e7c2cd0a
Bug 952977: Convert OGLShaderProgram to gfx::Matrix r=nical
2014-01-27 15:25:20 -05:00
David Zbarsky
8a0b149ece
Bug 952977: Perform some cleanup r=nical
2014-01-27 15:25:19 -05:00
David Zbarsky
287bef7020
Bug 952977: Convert shadow transforms to gfx::Matrix4x4 r=nical
2014-01-27 10:29:27 -05:00
David Zbarsky
bed5a418db
Bug 952977: Convert Layer's mTransform to gfx::Matrix4x4 r=nical
2014-01-27 10:29:06 -05:00
David Zbarsky
44eeb608e1
Bug 952977: Convert GetTransform to gfx::Matrix4x4 r=nical
2014-01-27 10:28:47 -05:00
David Zbarsky
1e61d187aa
Bug 952977: Convert SetBaseTransform to gfx::Matrix4x4 r=nical
2014-01-27 10:28:33 -05:00
David Zbarsky
2cef9a18e8
Bug 952977: Convert GetLocalTransform to gfx::Matrix4x4 r=nical
2014-01-27 10:28:18 -05:00
David Zbarsky
4e68a5f47e
Bug 952977: Convert ComputeEffectiveTransforms to gfx::Matrix4x4 r=nical
2014-01-27 10:28:04 -05:00
David Zbarsky
cbdd71e0f8
Bug 952977: Convert SnapTransforms to gfx::Matrix r=nical
2014-01-27 10:27:20 -05:00
Ali Akhtarzada
6bbf31de9b
Bug 963491 - Implement MacIOSurface::GetAsSourceSurface. r=nical
2014-01-27 08:25:50 -05:00
Kartikaya Gupta
5fde241c65
Bug 963278 - Better fix to deal with concurrent scroll updates from APZ and other places. r=tn,botond,jimm
2014-02-05 17:43:20 -05:00
David Anderson
2617e179a9
Bug 947045 - Use Xlib surfaces in basic compositor (r=mattwoodrow)
2014-02-05 08:39:02 -08:00
Nicolas Silva
dbc2384b5d
Bug 950235 - Pick the TextureHost backend in function of the surface descriptor type. r=mattwoodrow
2014-02-05 14:34:16 +01:00
Nicholas Cameron
613fcb3cd7
Bug 944087. Fix main thread unlocking and tidy up. r=Bas
2014-01-27 17:10:40 +13:00
David Zbarsky
0b4e10c2b0
Bug 952977: Convert GetEffectiveTransform to gfx::Matrix4x4 r=nical
2014-01-24 17:49:19 -08:00
David Zbarsky
39799d8dbd
Bug 952977: Convert GetTextureTransform to gfx::Matrix4x4 r=nical
2014-01-24 17:49:02 -08:00
Doug Sherk
2950586b18
Bug 963270: Use first and second touches for pinch gesture detection r=kats
2014-01-23 18:42:49 -05:00
Vivien Nicolas
b634d8d7b0
Bug 963555 - Remove unused mMemoryPressureObserver variable in CompositorChild.h. r=nical
2014-01-24 19:29:04 +01:00
Nicolas Silva
f9d19b4183
Bug 952507 - Fix locking in double buffered ContentClient. r=nrc
2014-01-24 15:25:04 +01:00
Ali Akhtarzada
1dda9df3be
Bug 962288 - Don't call DeprecatedGetAsSurface unless it's Cairo. r=mattwoodrow
...
Changeset from Bug 959123 caused a performance decrease because
DeprecatedGetAsSurface was being called on an image that may not
be a CAIRO_SURFACE.
Reverted CairoImage surface members to public access as they were
before the patch from bug 959123.
2014-01-24 08:42:12 -05:00
Sotaro Ikeda
b3cfeb5636
Bug 959171 - Fix how to bind EGLImage in GrallocTextureHostOGL. r=nical
2014-01-24 08:30:41 -05:00
Nicholas Cameron
02f536a1b9
Bug 959842. Rename ContentClient::ReturnDrawTarget. r=mattwoodrow
2014-01-24 19:58:33 +13:00
Nicholas Cameron
fa1c128e24
Bug 959842. Fix PGO only crash calling ReturnDrawTarget. r=mattwoodrow
2014-01-24 19:58:29 +13:00
Doug Sherk
11807931df
Bug 962278 - Adjust default APZ DPI and settings that depend on it. r=kats
2014-01-23 16:34:31 -05:00
Ryan VanderMeulen
faf802a81e
Merge m-c to inbound.
2014-01-23 15:58:06 -05:00
Ryan VanderMeulen
a528d76af2
Merge b2g-inbound to m-c.
2014-01-23 15:39:44 -05:00
Benoit Girard
fc222ad8db
Bug 962881 - Fix regression to y scrolling with x overflow:hidden. r=botond
...
--HG--
extra : rebase_source : 32cc1c9f4abdb8d9f32319d4b718637e93691155
2014-01-23 11:57:40 -05:00
Oleg Romashin
d5c99bc60c
Bug 962978 - TextureHost leaking mBuffer with OMTC on Linux. r=nical
2014-01-23 07:26:59 -08:00
Carsten "Tomcat" Book
9b33885e9c
Backed out changeset 24668220c9a4 (bug 952507) for OS X Build Bustage on a CLOSED TREE
2014-01-23 15:50:14 +01:00
Nicolas Silva
8ffc85202e
Bug 952507 - Fix locking in double buffered ContentClient. r=nrc
2014-01-23 15:27:06 +01:00
Nicolas Silva
c74f0ea24a
Bug 952507 - Fix locking in ContentClient. r=nrc
2014-01-23 15:26:59 +01:00
Nicolas Silva
e2d0872a60
Bug 962041 - Fix component apha with the new ContentClient/Host. r=mattwoodrow
2014-01-23 15:14:58 +01:00
Nicolas Silva
3db8b58478
Bug 947213 - Fix an e10s with basic layers crash. r=bjacob
2014-01-23 15:11:36 +01:00
Carsten "Tomcat" Book
f88e37b02e
merge fx-team to mozilla-central
2014-01-23 10:19:26 +01:00
Ryan VanderMeulen
bf58190bf3
Merge m-c to fx-team.
2014-01-22 15:57:40 -05:00
Jim Mathies
01d3a37821
Bug 960692 - Avoid crashing in CompositorD3D11::BeginFrame if the ID3D11RenderTargetView is null. r=Bas
2014-01-22 14:12:11 -06:00
Wes Kocher
f1db135ee7
Backed out changeset e0f69ad55edf (bug 962288) under suspicion of leaking on a CLOSED TREE
2014-01-22 14:18:13 -08:00
Ali Akhtarzada
cedb0ffb4b
Bug 962288 - Don't call DeprecatedGetAsSurface unless it's Cairo. r=mattwoodrow
...
Changeset from Bug 959123 caused a performance decrease because
DeprecatedGetAsSurface was being called on an image that may not
be a CAIRO_SURFACE.
2014-01-22 14:12:02 -05:00
Botond Ballo
96cff6c7d4
Bug 916813 - Fix a crash during a layer dump. r=nical
2014-01-21 16:27:01 -05:00
Kartikaya Gupta
56b0e4e0df
Bug 947337 - Ensure the transform of input to Gecko space accounts for inflight paint requests. r=botond
2014-01-21 16:27:20 -05:00
Kartikaya Gupta
942438d756
Bug 947337 - Track the last metrics actually sent to Gecko after coming out of the throttler. r=botond
2014-01-21 16:26:57 -05:00
Kartikaya Gupta
d1075d4513
Bug 947337 - Small refactoring to reduce an unnecessary codepath. r=botond
2014-01-21 16:24:18 -05:00
Sotaro Ikeda
f903a20e0d
Bug 951732 - Keep TextureClient until Transaction complete. r=nical
2014-01-23 09:31:12 -05:00
Botond Ballo
55cc299986
Bug 950488 - Disallow zooming for overflow:hidden frames. r=kats
...
--HG--
extra : rebase_source : eec649c7f5406d6781c4d703fb7bb1055c112d9e
2014-01-21 11:51:46 -05:00
Benoit Girard
49072be9c6
Bug 950488 - Overhaul APZ handling of overflow:hidden. r=botond
...
--HG--
extra : rebase_source : 6ba93899e5ac446b5c4a4cacb18574dd05c54c62
2014-01-21 12:33:52 -05:00
Wes Kocher
76a04cfa54
Backed out 3 changesets (bug 947337) for build test errors
...
Backed out changeset 6ade48b8b9d7 (bug 947337)
Backed out changeset f3095f92e1c3 (bug 947337)
Backed out changeset 5becc07d9dac (bug 947337)
2014-01-21 15:04:22 -08:00
Nicolas Silva
2302a77289
Bug 959615 - Initialize the TextureChild/Parent at creation time. r= bjacob
2014-01-21 23:06:18 +01:00
Kartikaya Gupta
5e1d2a2137
Bug 947337 - Ensure the transform of input to Gecko space accounts for inflight paint requests. r=botond
2014-01-21 16:27:20 -05:00
Kartikaya Gupta
1d05968005
Bug 947337 - Track the last metrics actually sent to Gecko after coming out of the throttler. r=botond
2014-01-21 16:26:57 -05:00
Kartikaya Gupta
bdffe911ee
Bug 947337 - Small refactoring to reduce an unnecessary codepath. r=botond
2014-01-21 16:24:18 -05:00
Ryan VanderMeulen
ad33ff9d95
Backed out changeset 60698fb6579b (bug 959171) for B2G mochitest-3 crashes.
2014-01-21 15:07:48 -05:00
Sotaro Ikeda
3393c67ef8
Bug 961405 - Change GraphicBufferLocked as to use AtomicRefCountedWithFinalize. r=nical, r=pchang, r=doublec, r=mikeh
2014-01-21 13:53:48 -05:00
Ali Akhtarzada
c8d408d444
Bug 959526 - Implement PlanarYCrCbImage and derived classes GetAsSourceSurface. r=nical
...
Implement GetAsSourceSurface in:
* PlanarYCrCbImage
* BasicPlanarYCrCbImage
* SharedPlanarYCrCbImage
2014-01-21 11:49:53 -05:00
Sotaro Ikeda
aea11e910c
Bug 959171 - Fix how to bind EGLImage in GrallocTextureHostOGL. r=nical
2014-01-21 11:49:38 -05:00
Dan Glastonbury
16a54e4041
Bug 879663 - Check for GL Context validity in Pause()/Resume(). r=bjacob
2014-01-22 08:45:35 +10:00
Dmitry Rozhkov
c0166194d3
Bug 960565 - Reset touch counter with every touch start event. r=kats
2014-01-22 16:06:35 +02:00
Chris Lord
381ed51e56
Bug 958549 - Don't move scroll indicators for empty container layers. r=kats
...
If we've applied an async transform to an empty container layer (e.g. a layer
that corresponds to an nsDisplayScrollInfo display item), don't use that
transform on the corresponding scrollbar.
2014-01-22 14:25:44 +00:00
Benoit Jacob
123083a93d
Bug 959380 - Fix a mismatched enum bug revealed by the conversion of gfxImageFormat into a typed enum - no review, trivial build fix
2014-01-23 15:02:23 -05:00
Kartikaya Gupta
a99d3870a7
Bug 961408 - Partial rollback of an incorrect change. No 'this' in static functions. r=me DONTBUILD
2014-01-23 13:50:17 -05:00
Benoit Jacob
67a17b1047
Bug 959448 - Convert most of LayersTypes.h to typed enums - r=nrc
...
find content/media dom/ipc widget/ gfx/tests gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)LAYERS_\(NONE\|BASIC\|OPENGL\|D3D9\|D3D10\|D3D11\|CLIENT\|LAST\)\($\|[^A-Za-z0-9_]\)/\1LayersBackend::LAYERS_\2\3/g'
find widget gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)BUFFER_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1BufferMode::BUFFER_\2\3/g'
find widget gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)BUFFER_\(BUFFERED\)\($\|[^A-Za-z0-9_]\)/\1BufferMode::\2\3/g'
find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)CLIP_\(DRAW\|DRAW_SNAPPED\)\($\|[^A-Za-z0-9_]\)/\1DrawRegionClip::\2\3/g'
find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)CLIP_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1DrawRegionClip::CLIP_\2\3/g'
find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SURFACE_\(NONE\|OPAQUE\|SINGLE_CHANNEL_ALPHA\|COMPONENT_ALPHA\)\($\|[^A-Za-z0-9_]\)/\1SurfaceMode::SURFACE_\2\3/g'
find gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SCALE_\(STRETCH\|SENTINEL\)\($\|[^A-Za-z0-9_]\)/\1ScaleMode::\2\3/g'
find gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SCALE_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1ScaleMode::SCALE_\2\3/g'
2014-01-23 13:26:41 -05:00
Benoit Jacob
93826fc6b0
Bug 959380 - 4/5 - Make gfxContentType a typed enum - r=jrmuizel
...
find . -type f | grep -v '\./obj' | grep -v '\.hg' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)GFX_CONTENT_\(COLOR\|ALPHA\|COLOR_ALPHA\|SENTINEL\)\($\|[^A-Za-z0-9_]\)/\1gfxContentType::\2\3/g'
2014-01-23 13:26:40 -05:00
Benoit Jacob
3846defaec
Bug 959380 - 3/5 - Make gfxSurfaceType a typed enum - r=jrmuizel
...
find . -type f | grep -v '\./obj' | grep -v '\.hg' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)gfxSurfaceType\(Image\|PDF\|PS\|Xlib\|Xcb\|Glitz\|Quartz\|Win32\|BeOS\|DirectFB\|SVG\|OS2\|Win32Printing\|QuartzImage\|Script\|QPainter\|Recording\|VG\|GL\|DRM\|Tee\|XML\|Skia\|Subsurface\|D2D\|Max\)\($\|[^A-Za-z0-9_]\)/\1gfxSurfaceType::\2\3/g'
2014-01-23 13:26:40 -05:00
Benoit Jacob
3369ca8bb6
Bug 959380 - 2/5 - Make gfxImageFormat a typed enum - r=jrmuizel
...
find . -type f | grep -v \./obj | grep -v \.hg | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)gfxImageFormat\(ARGB32\|RGB24\|A8\|A1\|RGB16_565\|Unknown\)\($\|[^A-Za-z0-9_]\)/\1gfxImageFormat::\2\3/g'
2014-01-23 13:26:40 -05:00
Nicolas Silva
776aff8935
Bug 957560 - Clear the newly allocated d3d TextureClient if the allocation flags says so. r=nrc
2014-01-20 14:52:12 +01:00
Kartikaya Gupta
b9dc7b3c75
Bug 961408 - Ensure all the APZC_LOG statements in APZC print the relevant instance. r=botond
2014-01-20 08:25:16 -05:00
Ryan VanderMeulen
0439f91b53
Merge b2g-inbound to m-c.
2014-01-19 15:40:48 -05:00
Sushil Chauhan
dcb369e13a
Bug 953303 - HwcComposer2D should honor HWC_HINT_CLEAR_FB set by hwcomposer. r=ncameron
2014-01-17 18:55:30 -08:00
Kartikaya Gupta
8fe7775e67
Bug 941138 - Make the duplicated code paths consistent. r=botond
2014-01-17 09:53:08 -05:00