Kyle Huey
b6957123df
Bug 991812: Remove uses of AtomicRefCounted<T> that live in Gecko. r=ehsan
...
--HG--
extra : rebase_source : 0d14e02c64d548fd3177681248d722683aaa87c3
2014-04-14 12:04:25 -07:00
Kyle Huey
4b25f94dc9
Bug 991812: Remove uses of RefCounted<T> that live in Gecko. r=ehsan
...
--HG--
extra : rebase_source : 239ff77ec3765a3f190ed75b1645c6011e5d1dbd
2014-04-14 12:04:24 -07:00
Matt Woodrow
cde7f29c88
Bug 974197 - Fire MozAfterPaint after the compositor has composited the frame. r=roc
2014-03-07 16:24:32 +13:00
Ryan VanderMeulen
601b02224e
Backed out changesets ddbac34527fe and fa82f32d0c39 (bug 991812) for B2G bustage.
...
CLOSED TREE
2014-04-14 16:16:18 -04:00
Nicolas Silva
9e8cef9fee
Bug 990876 - Remove TextureClientSurface. r=mattwoodrow
2014-04-14 21:29:42 +02:00
Kyle Huey
acd8c16b76
Bug 991812: Remove uses of AtomicRefCounted<T> that live in Gecko. r=ehsan
2014-04-14 12:04:25 -07:00
Kyle Huey
d7199fa836
Bug 991812: Remove uses of RefCounted<T> that live in Gecko. r=ehsan
2014-04-14 12:04:24 -07:00
L. David Baron
c47ecde7e8
Bug 995721 patch 1 - Honor the translation on mShadowTarget in ClientLayerManager::MakeSnapshotIfRequired. r=mattwoodrow
...
This switches from DrawTarget::CopySurface (which ignores the transform)
to DrawSurface (which honors the transform).
2014-04-14 11:12:00 -07:00
Nicolas Silva
bdb01d9e0f
Bug 994024 - Discard TextureClients that we failed to allocate or lock. r=bjacob
2014-04-11 18:48:10 +02:00
Jonathan Watt
0a3e4f5955
Bug 995454 - Kill off TextureClientSurface's GetAsSurface and UpdateSurface methods (Moz2D migration). r=mattwoodrow
2014-04-13 11:07:12 +01:00
Nicolas Silva
266db399dd
Bug 990871 - Move TextureClientDrawTarget into TextureClient. r=mattwoodrow
2014-04-10 10:14:28 +02:00
Carsten "Tomcat" Book
f39d10cc48
Backed out changeset 3747c80a1cde (bug 990871) for bustage on a CLOSED TREE
2014-04-10 13:15:47 +02:00
Nicolas Silva
7713255f54
Bug 990933 - Moz2Dify SimpleTiledContentClient. r=jrmuizel
2014-04-10 10:14:33 +02:00
Nicolas Silva
f09851069a
Bug 990871 - Move TextureClientDrawTarget into TextureClient. r=mattwoodrow
2014-04-10 10:14:28 +02:00
Matt Woodrow
15c07b67c1
Bug 992486 - Part 5: Fix copying the front buffer to back buffer. r=roc
2014-04-10 20:42:29 +12:00
Nicolas Silva
13e06cf7e2
Bug 993417 - Make TextureClient::ToSurfaceDescriptor protected and document it's quirk. r=Bas
2014-04-10 09:24:59 +02:00
Ryan VanderMeulen
5de13f836a
Backed out changeset c81707878977 (bug 974197) for Gaia integration test failures on a CLOSED TREE.
2014-04-09 22:14:13 -04:00
Matt Woodrow
23d9392934
Bug 974197 - Fire MozAfterPaint after the compositor has composited the frame. r=roc
2014-03-07 16:24:32 +13:00
Matt Woodrow
82aca77140
Bug 993784 - Part 1: Use Moz2D mask data for BasicThebesLayer drawing. r=roc
2014-04-09 21:15:19 +12:00
Matt Woodrow
cab17b499b
Bug 991513 - Part 3: Combine BeginPaint/PrepareFrame and EndPaint/OnTransaction. r=nrc
2014-04-09 21:15:19 +12:00
Matt Woodrow
e1bcde7e2c
Bug 991513 - Part 2: Don't lock ContentClientSingleBuffered's textures until we need the buffers. r=nrc
2014-04-09 21:15:18 +12:00
Matt Woodrow
7f5d17124b
Bug 991513 - Part 1: Don't lock ContentClientDoubleBuffered's texture until we need the buffers. r=nrc
2014-04-09 21:15:18 +12:00
Matt Woodrow
4fb665e081
Bug 992486 - Part 4: Make ClientThebesLayer use multiple draws. r=roc
2014-04-09 21:15:18 +12:00
Matt Woodrow
85f537988a
Bug 992486 - Part 3: Clean up ClientThebesLayer a bit. r=roc
2014-04-09 21:15:18 +12:00
Matt Woodrow
52993e5933
Bug 992486 - Part 1: Add API to RotatedContentBuffer for drawing in multiple passes. r=roc
2014-04-09 21:15:17 +12:00
Kyle Huey
8465d25d7c
Back out bug 991812 for bustage on a CLOSED TREE. r=me
2014-04-08 17:26:33 -07:00
Kyle Huey
7d49ea1ba1
Bug 991812: Remove uses of RefCounted in code that lives solely in Gecko. r=ehsan
2014-04-08 16:37:05 -07:00
Nicolas Silva
8d9fc4c39b
Bug 993360 - Check for the max texture size when allocating d3d TextureClients. r=mattwoodrow
2014-04-08 14:50:49 +02:00
Chris Lord
4b3c68d60c
Bug 990608 - Make tile size configurable. r=tn,nical,bgirard
2014-04-04 18:42:44 +01:00
Tom Schuster
97f5591dbc
Bug 980582 - Fall back to the slow 2d path for cross process webgl. r=jrmuizel
2014-04-07 11:01:45 +02:00
Matt Woodrow
e205c4c136
Bug 904890 - Part 3: Add a layers API to expose the compositor backend. r=roc
2014-04-07 15:11:17 +12:00
Matt Woodrow
a9b43e4ed3
Bug 991028 - Get rid of OpenDescriptor/CloseDescriptor. r=nical
2014-04-07 13:32:49 +12:00
Matt Woodrow
b236972144
Bug 991028 - Stop using OpenDescriptor in ContentClientIncremental. r=nical
2014-04-07 13:32:49 +12:00
Matt Woodrow
7eef44b9f5
Bug 991028 - Remove AutoOpenSurface. r=nical
2014-04-07 13:32:48 +12:00
Peter Chang
9b952453a0
Bug 988713 - Fix the race condition between TextureClient::Finalize() and TextureChild::ActorDestroy(), r=nical
2014-04-07 10:02:31 +08:00
Phil Ringnalda
18f873ac9e
Backed out 4 changesets (bug 991028) for nonunified bustage
...
CLOSED TREE
Backed out changeset 147581a518c3 (bug 991028)
Backed out changeset e5bacc566e58 (bug 991028)
Backed out changeset 6dc852777a4d (bug 991028)
Backed out changeset 780bec5571b9 (bug 991028)
2014-04-06 21:21:38 -07:00
Matt Woodrow
49d74266e5
Bug 991028 - Get rid of OpenDescriptor/CloseDescriptor. r=nical
2014-04-07 13:32:49 +12:00
Matt Woodrow
3e992116e2
Bug 991028 - Stop using OpenDescriptor in ContentClientIncremental. r=nical
2014-04-07 13:32:49 +12:00
Matt Woodrow
a64bf46575
Bug 991028 - Remove AutoOpenSurface. r=nical
2014-04-07 13:32:48 +12:00
Nicolas Silva
e3b0430659
Bug 989904 - Remove the remaining deprecated textures code. r=mattwoodrow
2014-04-03 14:04:04 +08:00
Matt Woodrow
09255ba257
Bug 990338 - Pass CanvasLayer Y-flip flag through layers. r=nical
2014-04-01 15:52:47 +08:00
Matt Woodrow
67805dc4e2
Bug 990338 - Use Moz2D for updating CanvasClient. r=nical
2014-04-01 15:51:10 +08:00
Nicolas Silva
8540bd9f80
Bug 989904 - Remove some of the deprecated backend-independent textures. r=mattwoodrow
2014-04-01 14:28:23 +08:00
Nicolas Silva
6f153811f7
Bug 989883 - Remove deprecated ContentClient/Host. r=mattwoodrow
2014-04-01 14:28:05 +08:00
Nicolas Silva
788de6da4a
Bug 989883 - Remove deprecated ImageClient/Host. r=mattwoodrow
2014-04-01 14:28:00 +08:00
Ryan VanderMeulen
8636d21ab3
Backed out changesets 0b596070fe54 and ed6969e4fb6f (bug 957560) for causing bug 990027 on a CLOSED TREE.
2014-03-31 14:31:52 -04:00
Chris Lord
39c1e80d93
Bug 988370 - Don't use progressive/low precision rendering on fixed layers. r=mattwoodrow
...
Fixed layers don't async scroll, so it doesn't make sense for them to have
a low precision region or for them to be rendered progressively.
2014-03-31 17:42:32 +01:00
Matt Woodrow
f521c52eb9
Bug 988771 - Remove DeprecatedCanvasClient. r=nical
...
--HG--
extra : rebase_source : 3dbca3237e08a6ab18e2d5805cacf18659a40d69
2014-03-31 22:50:27 +08:00
Benoit Jacob
e708bac914
Bug 987311 - Fix a bad enum conversion bug found by converting TextureFlags to typed enums - r=nical
2014-03-31 05:10:49 -04:00
Nicolas Silva
0b275eb92e
Bug 957560 - Fix WError build bustage on a CLOSED TREE.
2014-03-31 11:31:39 +08:00
Nicolas Silva
db25bebbdc
Bug 957560 - Fix new textures on windows (OMTC). r=mattwoodrow
2014-03-31 11:07:40 +08:00
Wes Kocher
3e4da18062
Merge b2g-inbound to m-c
2014-03-28 16:38:35 -07:00
Sotaro Ikeda
27223aa396
Bug 983971 - Do not use gralloc for small size on ICS gonk r=nical
2014-03-28 07:35:21 -07:00
Chris Lord
687be7aed2
Bug 983169 - Fix handling of tile resolution in TiledContentClient. r=bas
2014-03-27 18:52:09 +00:00
Kartikaya Gupta
31afc0a194
Bug 948377 - Remove unwanted rounding in CalculateCompositedRectInCssPixels; add a CalculateCompositedSizeInCssPixels also. r=botond
2014-03-28 10:36:47 -04:00
Matt Woodrow
ebd1398b79
Bug 980642 - Implement Clear regions for ClientLayerManager/LayerManagerComposite. r=roc
2014-03-28 16:38:32 +13:00
George Wright
2947e6dfdc
Bug 981005 - Ensure the correct GLContext is current before trying to update in CanvasClientSurfaceStream r=snorp
2014-03-27 17:59:38 -04:00
Sotaro Ikeda
f0adcd4de5
Bug 977880 - Handle ReleaseFence on tiled thebes layer r=cwiiis,nical,BenWa
2014-03-26 18:01:15 -07:00
Chris Lord
6d09001341
Bug 983208 - Fix progressive tile update calculations. r=botond
...
A lot of this code used incorrect coordinate spaces or calculations that only
worked because things were setup in a certain way. Now that the input data is
more consistently correct and things have changed slightly, this code no
longer worked.
This patch reworks things to use what I think are the correct coordinate
spaces and calculations, and should hopefully be less prone to breakage.
2014-03-22 09:17:54 +00:00
Phil Ringnalda
15060c53d3
Back out 87e39d7d851a (bug 984796) for printfing like log size is infinite
...
CLOSED TREE
2014-03-21 19:49:15 -07:00
Bas Schouten
8294a52e33
Bug 984796: Fix some small errors in path flattening code. r=jwatt
2014-03-22 00:55:36 +01:00
Chadd Williams
1035df8afc
Bug 980493 - Transition FrameMetrics::mScrollId to use a getter/setter. r=botond
...
--HG--
extra : histedit_source : 1c84496d4b61f019e6e6cc24591ee3a10434e4cc
2014-03-21 17:48:08 -04:00
Nicolas Silva
9bd388fd15
Bug 968807 - Add assertions in TextureClient. r=bjacob
2014-03-21 18:03:20 +01:00
Eric Rahm
0005bb7a7d
Bug 985770 - MemoryTextureClient should use array delete in destructor. r=Bas
2014-03-19 17:28:41 -07:00
Chris Lord
e8372daeaf
Bug 950050 - Allow Gralloc surfaces on the Nexus S. r=nical,lissyx
2014-03-19 08:02:39 +00:00
Matt Woodrow
f397ed7052
Bug 982339 - Get rid of TextureClientPoolMember and use nsTArray so that we releases references when we shutdown. r=Bas
2014-03-18 12:06:25 +08:00
Jonathan Watt
f50a46f108
Bug 985049 - Remove gfxPlatform::SupportsAzureContent() and kill of the resulting dead code. r=mattwoodrow
2014-03-19 10:36:58 +08:00
Nicolas Silva
7af3bc6aad
Bug 973892 - Make TextureClient::GetAsDrawTarget work with canvas. r=bas
2014-03-17 22:35:20 +01:00
Tor Arvid Lund
7af55748fb
Bug 973976 - Revert to Thebes path for CopyableCanvasLayer. r=jmuizelaar
...
The performance on the Mac platform degraded after porting the code to
Moz2D in Bug 948765. This patch chooses the old thebes path instead of the
Moz2D path, so that performance is unaffected. This way we can easily
revert this patch at a later time when the perf issue has been fixed.
2014-03-17 10:49:21 -04:00
Chris Lord
22835fea85
Bug 983202 - Don't call Mutated more than necessary. r=mattwoodrow
...
We call Mutated when the invalid region isn't empty, but progressive updates
mean that we're calling this more frequently than is necessary as transactions
are repeated and the invalid region doesn't change between them.
2014-03-17 09:54:24 +00:00
Chris Lord
fdd8a5aa56
Bug 982651 - Make sure to retain the frame resolution of tiled buffers. r=nical
...
Make sure the frame resolution of tiled buffers isn't discarded when they're
sent from client-side to host-side. This fixes drawing of low precision tiles
when the zoom has changed since they were last drawn.
2014-03-14 13:36:33 +00:00
Botond Ballo
81f6add29a
Bug 980493 - Transition FrameMetrics::mZoom to use a getter/setter. r=kats
2014-03-12 12:46:57 -04:00
Botond Ballo
c169aeed9c
Bug 980493 - Transition FrameMetrics::mScrollOffset to use a getter/setter. r=kats
2014-03-13 02:34:34 -04:00
Bas Schouten
ed39ed7014
Bug 981315 - Followup: Readd accidentally removed macro - for real this time on a CLOSED TREE. r=bustage
2014-03-13 06:44:41 +01:00
Bas Schouten
b9b7914cfe
Bug 981315: Add ShmemSection and use it for gfxShmSharedReacLock. r=gal
2014-03-13 06:17:05 +01:00
Nicolas Silva
ea78bfb3fd
Bug 982128 - Check that shmem based locks are allocated properly. r=cwiiis
2014-03-12 17:09:37 +01:00
Chris Lord
936dd8f9a0
Bug 962629 - Respect max texture size when creating Gralloc textures. r=nical
...
Add a size hint parameter to CreateTextureClientForDrawing, and use said
parameter to not create Gralloc surfaces that are bigger than the maximum
texture size.
2014-03-12 12:16:37 +00:00
Vladimir Vukicevic
4a91df6014
b=979489; Implement SimpleTiledContentClient and friends; r=jrmuizel
2014-03-10 14:34:57 -04:00
Vladimir Vukicevic
4646ced960
backout of rev 1a52e0063440 b=979489
2014-03-10 21:03:02 -04:00
Vladimir Vukicevic
6a1c3e6135
b=979489; Implement SimpleTiledContentClient and friends; r=jrmuizel
2014-03-10 14:34:57 -04:00
Botond Ballo
70dfe7ab91
Bug 935219 - Fix composition bounds calculation and APZC hit testing (again). r=kats,tn
...
--HG--
extra : amend_source : 06c6bb658dfead6907250831bbe73fae6c20b45c
2014-03-10 17:56:59 -04:00
Tom Schuster
d51745dfb0
Bug 977963 - Disable x11 texture_from_pixmap until the black layer problem is fixed. r=mattwoodrow
2014-03-10 12:13:54 +01:00
Ehsan Akhgari
b965cde2f2
Bug 935778 - Part 0.8: Spray some more MOZ_DECLARE_REFCOUNTED_TYPENAME across the tree
2014-03-08 12:14:32 -05:00
Bas Schouten
bde06b3dca
Bug 963073 - Merge tiling branch. r=Bas,jrmuizel,BenWa
...
http://hg.mozilla.org/users/bschouten_mozilla.com/tiling/summary
This work is mainly porting tiled layers to new textures, implementing
double-buffered tiles and implementing a texture client pool, to be used by
tiled content clients.
Any questions regarding this patch should go to:
Bas Schouten <bschouten@mozilla.com>
Chris Lord <clord@mozilla.com>
Nicolas Silva <nsilva@mozilla.com>
In their absence questions can be directed to:
Jeff Muizelaar <jmuizelaar@mozilla.com>
Benoit Girard <bgirard@mozilla.com>
2014-03-07 22:34:04 +01:00
Ed Morley
0ddf702725
Backed out changeset f94ee00aa4d6 (bug 974197) for causing gaia-ui-test failures
2014-03-07 15:45:59 +00:00
Matt Woodrow
e1320c476a
Bug 974197 - Fire MozAfterPaint after the compositor has composited the frame. r=roc
2014-03-07 16:24:32 +13:00
James Willcox
15d30be7c6
Bug 939276 - Use a single GLContext for all SkiaGL canvases r=jgilbert,vlad,gwright,bjacob
...
--HG--
rename : gfx/gl/GLContextSkia.cpp => gfx/gl/SkiaGLGlue.cpp
2014-03-05 15:49:37 -06:00
Matt Woodrow
f81fe641a7
Bug 977891 - Move the ForceComposite message to PLayerTransaction so that we can identify the right compositor with e10s. r=nical
2014-03-03 13:59:58 +13:00
Matt Woodrow
0ed9757130
Bug 976877 - Don't simplify invalidation regions since it leads to poor results. r=roc
2014-03-01 08:49:05 +13:00
Milan Sreckovic
7cd9dd961f
Bug 971943: 2. webgl.force-layers-readback preference moved to gfxPrefs. r=gw280
2014-02-28 12:59:37 -05: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
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
Wes Kocher
cc152eb194
Merge m-c to inbound on a CLOSED TREE
2014-02-26 18:31:11 -08:00
Sotaro Ikeda
b73c44e762
Bug 976766 - Clear layer's buffers when ClearCachedResources() r=nical
2014-02-26 13:41:17 -08:00
Sotaro Ikeda
c753c172ad
Bug 974629 - Add pointer check to TextureClient::Finalize() r=nical
2014-02-26 13:34:41 -08: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
Sotaro Ikeda
94c74f3ae6
Bug 957323 - Handle android's fence on gonk r=nical,doublec,pchang
2014-02-24 20:23:41 -08:00
Benoit Jacob
021c61cf16
Bug 970747 - 5/6 - Make ContainerLayer::RepositionChild always perform checks and return bool - r=mattwoodrow
2014-02-21 16:50:25 -05:00
Benoit Jacob
2ad50f33a8
Bug 970747 - 3/6 - Make ContainerLayer::RemoveChild always perform checks and return bool - r=mattwoodrow
2014-02-21 16:50:25 -05:00
Benoit Jacob
874a145907
Bug 970747 - 1/6 - Make ContainerLayer::InsertAfter always perform checks and return bool - r=mattwoodrow
2014-02-21 16:50:25 -05: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
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
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
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
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
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
5e0f91a29a
Bug 889959 - Implement GetTextureClient for CairoImage. r=nical
2014-02-17 11:23:39 +13: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
Nicolas Silva
dc6575b9c7
Bug 972397 - Fix BufferTextureClient::Lock. r=jrmuizel
2014-02-14 10:20:41 +01: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
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
Sotaro Ikeda
57345cecff
Bug 968872 - Remove TEXTURE_DEALLOCATE_DEFERRED flag. r=nical
2014-02-12 09:54:23 -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
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
Bill McCloskey
2f2362b1f6
Bug 970711 - Fix typo in MemoryTextureClientData destructor (r=mattwoodrow)
2014-02-10 18:46:27 -08:00
Sotaro Ikeda
5bfce7e8fc
Bug 962101 - Handle Remove Texture in Compositable level. r=nical
2014-02-10 15:52:35 -05: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
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
2284c460b0
Bug 966528 - Use a specific IPDL message for component alpha. r=mattwoodrow
2014-02-06 12:28:29 +01:00
David Anderson
2617e179a9
Bug 947045 - Use Xlib surfaces in basic compositor (r=mattwoodrow)
2014-02-05 08:39:02 -08:00
Ryan VanderMeulen
4ffb4c29de
Backed out changesets fce6b2c04bab and db5a4ed50de4 (bug 947045) and changeset bef65fd678a4 (bug 950235) for IPC test crashes on a CLOSED TREE.
2014-02-05 15:45:03 -05:00
David Anderson
974b776f27
Bug 947045 - Use Xlib surfaces in basic compositor (r=mattwoodrow)
2014-02-05 08:39:02 -08: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
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
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
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
8a0b149ece
Bug 952977: Perform some cleanup r=nical
2014-01-27 15:25:19 -05:00
David Zbarsky
4e68a5f47e
Bug 952977: Convert ComputeEffectiveTransforms to gfx::Matrix4x4 r=nical
2014-01-27 10:28:04 -05:00
David Zbarsky
0b4e10c2b0
Bug 952977: Convert GetEffectiveTransform to gfx::Matrix4x4 r=nical
2014-01-24 17:49:19 -08:00
Nicolas Silva
f9d19b4183
Bug 952507 - Fix locking in double buffered ContentClient. r=nrc
2014-01-24 15:25:04 +01: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
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
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
Sotaro Ikeda
f903a20e0d
Bug 951732 - Keep TextureClient until Transaction complete. r=nical
2014-01-23 09:31:12 -05:00
Nicolas Silva
2302a77289
Bug 959615 - Initialize the TextureChild/Parent at creation time. r= bjacob
2014-01-21 23:06:18 +01: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
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
Nick Lebedev
940cdd21fd
Bug 958984. Move SurfaceMode enum out of Layer class so we could forward declare it instead of including header. r=nical
2014-01-17 15:00:00 +01:00
Nicholas Cameron
12d321e66b
Bug 959842. Add null checks whenever we borrow a draw target from RotatedBuffer. r=kats
2014-01-17 09:52:52 +13:00
Ali Akhtarzada
2317024a4c
Bug 958489 - Implement base Image::GetAsSourceSurface. r=nical
...
Added an Image::GetAsSourceSurface to return a gfx::SourceSurface
and implemented in terms of gfxPlatform::GetSourceSurfaceForSurface.
Deprecated GetAsSurface.
2014-01-15 10:06:43 -05:00
Nicholas Cameron
7548c8ea75
Bug 951554. Change the high level painting functions. r=nical
...
--HG--
extra : rebase_source : bcbed6d9d4e46d4b21854954789fe6ba28cdf3cc
2014-01-13 09:07:42 +13:00
Nicholas Cameron
2c1a79cfa5
Bug 951554. Changes to ContentClient. r=nical
...
--HG--
extra : rebase_source : 1d64aaf91b3cbea0e4dff9066dd609a5edd06f5c
2014-01-13 09:06:45 +13:00
Nicholas Cameron
77ca3ce7b0
Bug 951554. Replace SyncFrontBufferToBackBuffer with PrepareFrame and FinalizeFrame. r=nical
...
--HG--
extra : rebase_source : 129796a77c5777dac89930907d1f257657115ae3
2014-01-13 08:54:40 +13:00
Nicholas Cameron
ce6e97a312
Bug 951554. Add SurfaceMode::SURFACE_NONE. r=nical
...
--HG--
extra : rebase_source : 5854c7994dd861f36860756d10ef5b7ea35d863c
2014-01-13 08:54:36 +13:00
Benoit Jacob
06f7a9c4a2
Bug 958375 - 8/9 - Make remaining Moz2D enums typed - r=Bas
...
Specifically:
r=Bas for manual changes
f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:17 -05:00
Benoit Jacob
2d5774ca0a
Bug 958375 - 6/9 - Make BackendType and NativeSurfaceType typed enums - r=Bas
...
Specifically:
r=Bas for manual changes
f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:16 -05:00
Benoit Jacob
55e7c24065
Bug 958375 - 4/9 - Make SurfaceFormat a typed enum - r=Bas
...
Specifically:
r=Bas for manual changes
f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:16 -05:00
Benoit Jacob
14d864afaf
Bug 958369 - 5/5 - Make ContextType a typed enum - r=jgilbert
2014-01-10 13:55:24 -05:00
Nicolas Silva
fa3fcc3b50
Bug 958040 - Temporarily turn an assertion into a warning to fix OMTC Linux. r=bjacob
2014-01-10 14:43:40 +01:00
Morris Tseng
b631d4766c
Bug 893304 - Convert CanvasClient to new TextureClint/Host and replace SurfaceDescriptors with TextureClients inside SharedSurfaces. r=nical, r=snorp, r=jgilbert, r=bjacob
2014-01-10 08:06:06 -05:00
Nicholas Cameron
9aca7bac0f
Bug 951556. Don't do multiple flushes due to DrawBufferWithRotation. r=mattwoodrow
2014-01-09 13:57:52 +13:00
Nicholas Cameron
8afa9f73d5
Fix bustage from bug 933549 because I am an idiot who forgot to qref, on a CLOSED TREE
2014-01-08 14:21:56 +13:00
Nicholas Cameron
0c8a244237
Bug 933549. Change PaintState to use a DrawTarget instead of a gfxContext. r=mattwoodrow
2014-01-08 10:09:34 +13:00
Nicholas Cameron
2b06b385d4
backed out bug 933549 on a CLOSED TREE
2014-01-08 10:27:14 +13:00
Nicholas Cameron
b88a44ffc8
Bug 933549. Change PaintState to use a DrawTarget instead of a gfxContext. r=mattwoodrow
2014-01-08 10:09:34 +13:00
Nicolas Silva
844f4228e2
Bug 900244 - Implement the D3D9 specific TextureClients. r=nrc
2014-01-07 17:20:40 +01:00
Nicolas Silva
89a1de2117
Bug 938591 - Use texture flags in DataTextureSource + D3D9/11 fixes. r=nrc
2014-01-07 17:20:11 +01:00
Ryan VanderMeulen
62b4fec0e9
Backed out changeset 403ab3213879 (bug 893304) for bustage.
2014-01-07 10:07:32 -05:00
Morris Tseng
69820ceefc
Bug 893304 - Convert CanvasClient to new TextureClint/Host and replace SurfaceDescriptors with TextureClients inside SharedSurfaces. r=nical, r=snorp, r=jgilbert, r=bjacob
2014-01-07 09:58:03 -05:00
Benoit Jacob
8135029813
Bug 949347 - Temporary strong reference to the actor in case mActor might be nulled concurrently - r=nical
2014-01-02 17:54:13 -05:00
Benoit Jacob
457cb85bb0
Bug 949814 - Remove GetEGLContext and GetLibraryEGL from GLContext - r=jgilbert
2014-01-02 10:17:25 -05:00
Ms2ger
9b8e245bf9
Bug 950143 - Remove the implicit conversion operator from nsIntSize to IntSize; r=roc
2013-12-31 10:06:12 +01:00
Benoit Jacob
5790c973fd
Bug 949347 - reference-count TextureChild and have TextureClient hold on to it - r=nical,sotaro
2013-12-20 16:44:30 -05:00
Tor Arvid Lund
4476fdeea4
Bug 950677 - Change all remaining gfxIntSize -> IntSize refs. r=nical
2013-12-20 11:46:30 -05:00
Tor Arvid Lund
0f9fdd2d39
Bug 950677 - Change gfxIntSize to gfx::IntSize in ImageContainer.h. r=nical
2013-12-20 11:46:29 -05:00
Randall Barker
155a01ed55
Bug 895358 - Part 2, Enable progressive tile rendering in B2G; r=BenWa,kats,Cwiiis
2013-12-19 12:19:25 -08:00
Phil Ringnalda
315bb1c7fb
Back out 024623d015e9:fa1dd7e7aa22 (bug 895358) for Windows build bustage
...
CLOSED TREE
2013-12-17 23:36:05 -08:00
Randall Barker
e3b106bec9
Bug 895358 - Part 2, Enable progressive tile rendering in B2G; r=BenWa,kats,Cwiiis
2013-12-17 13:41:00 -08:00
Chris Lord
2fab05a2c9
Bug 950696 - Cache the 'enable tiles' layers pref. r=bgirard
...
Rename layers.force-tiles to layers.enable-tiles and cache it with the other
layers prefs in gfxPlatform.
2013-12-17 14:02:16 +00:00
Ryan VanderMeulen
c8efa29df1
Backed out changeset 96b0ddfc63f7 (bug 893304) for causing bug 950589.
2013-12-16 22:49:02 -05:00
Matt Woodrow
7e4d69c48b
Bug 913503 - Update windowed plugin positions before we schedule a composite with OMTC. r=roc
2013-12-16 18:38:42 +13:00
Morris Tseng
d39f34dbbd
Bug 893304 - Convert CanvasClient to new TextureClient/Host. r=nical, r=snorp, r=jgilbert
2013-12-13 12:45:13 -05:00
Tor Arvid Lund
af7e76f848
Bug 929513 - Replace some instances of gfxIntSize with gfx::IntSize r=nical
2013-12-13 18:32:02 +01:00
Tor Arvid Lund
0894e1269d
Bug 929513 - Remove unused #include statements r=nical
2013-12-13 18:31:35 +01:00