Commit Graph

11680 Commits

Author SHA1 Message Date
Daniel Holbert
05b690b216 Bug 863043: Move CompositorOGL::Initialize's helper-nsRunnable from function-scope to class-scope to fix build warning about ignored visibility attribute. r=Bas 2013-04-17 15:34:26 -07:00
Kartikaya Gupta
df9cf426fc Bug 860613 - Add an API to bind an APZC instance to a Layer. r=BenWa 2013-04-17 17:39:13 -04:00
Kartikaya Gupta
07c6f3a6d8 Bug 860613 - Remove CompositorParent::GetDefaultPanZoomController (patch from romaxa/tatiana). r=BenWa 2013-04-17 17:39:12 -04:00
Benoit Jacob
3919709af4 Bug 860441 - trivial compile fix on non-gonk - no review, CLOSED TREE 2013-04-17 17:18:15 -04:00
Benoit Jacob
906276315a Bug 860441 - Camera preview update is not smooth on gonk - r=nsilva 2013-04-17 16:56:03 -04:00
Daniel Holbert
3bec57eee8 Bug 862621: Remove unused variable 'shmType' from SharedPlanarYCbCrImage::Allocate. r=Bas 2013-04-17 10:08:39 -07:00
Nicholas Cameron
f75d29a226 Bug 862236, check we have a compositable before using it as a mask layer. r=mattwoodrow 2013-04-17 17:10:50 +12:00
Matt Woodrow
7702f1de96 Bug 860615 - Remove MacIOSurfaceImage. r=BenWa 2013-04-17 14:21:07 +12:00
Matt Woodrow
0d81d85a4b Bug 860615 - Add SharedTextureHandle support to ImageLayerOGL. r=BenWa 2013-04-17 14:21:06 +12:00
Matt Woodrow
26c10d73fa Bug 860615 - Add SharedTextureHandle support to GLContextCGL. r=jgilbert 2013-04-17 14:21:06 +12:00
Matt Woodrow
ca690f5eec Bug 860615 - Add CreateSharedHandle to GLContextProvider so we can create one without a GLContext. r=jgilbert 2013-04-17 14:21:06 +12:00
Matt Woodrow
e86ee52760 Bug 844693 - Remove MacIOSurfaceImage::SetUpdateCallback. r=BenWa 2013-04-17 14:21:06 +12:00
Nicholas Cameron
9a37c9d3fd Bug 862106. Use Create*Client directly. r=nical
--HG--
extra : rebase_source : d903db2fcb68bbccff9548dfbcd215d9a25ba41c
2013-04-17 09:36:06 +12:00
Nicholas Cameron
ec2b053649 Bug 862064; use PCompositable for tiled layers and add TiledContentClient. r=nical
--HG--
extra : rebase_source : b0055e13b661f78bc0e7168c0df8c6082cfdb34e
2013-04-17 09:36:06 +12:00
Nicholas Cameron
3a4be4332a Bug 861490, fix crash in MaybeDrawRoundedBottomCorners with OMTC. r=mattwoodrow
--HG--
extra : rebase_source : 849e63417a94cd260e6722c83018f9937c0cb339
2013-04-17 09:35:57 +12:00
Mike Shal
df7deac25b Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Daniel Holbert
17984156f4 No bug; fix typo in header comment for gfxCallbackDrawable. comment-only, DONTBUILD 2013-04-16 09:53:33 -07:00
Nicholas Nethercote
1c97315e22 Bug 859657 (part 2) - Remove nsIMemoryMultiReporter.explicitNonHeap because it's more trouble than it's worth; also remove the "explicit" single reporter. r=jlebar.
--HG--
extra : rebase_source : a146536a3dd0043082bcb1c26d980c4c6d4c0730
2013-04-11 20:52:32 -07:00
Nicholas Cameron
0bdd5c7abb Bug 861099, remove mBufferIsOpaque. r=mattwoodrow
--HG--
extra : rebase_source : 89b98f9a1d73bc549fe718e52882e71c42dd6d67
2013-04-16 11:43:22 +12:00
Nicholas Cameron
5537f1395c Bug 861731, remove redundent Connect, Attach call. r=nical
--HG--
extra : rebase_source : af4a88fd5ddd8cecfceea49e88eebb37bf833517
2013-04-16 09:40:47 +12:00
Jonathan Watt
297949d661 Bug 861805 - Stop layers from snapping transforms for SVG content. r=roc 2013-04-15 13:30:28 +01:00
Chris Lord
d3109edb44 Bug 856932 - Fix async scrolling of auto-positioned fixed position elements. r=nrc
Layers representing auto-positioned fixed position elements should not be
offset by the fixed layer margins.
2013-04-15 09:31:48 +01:00
Nicholas Cameron
7e452fa8da Bug 861127, refactor ContentClientRemote::CreateBuffer. r=Bas 2013-04-15 13:25:14 +12:00
Chris Lord
f38f1c6f87 Bug 861246 - Fix async scrolling of fixed layer margins. r=nrc
Make sure the fixed margins are sent over IPC to shadow layers.

--HG--
extra : rebase_source : ab26359f1ebf2ea130ee65d37249d43d1fd82aec
2013-04-13 10:41:18 +12:00
Sotaro Ikeda
330d68f9f0 Bug 860892 - IPC failure handling in CompositorChild and ShadowLayers. r=jmuizelaar 2013-04-12 16:25:04 -04:00
Frédéric Wang
ce9dcf91ea Bug 825928 - Fix a compilation error with old compilers. r=bas 2013-04-12 08:20:31 -04:00
Nicholas Cameron
acce520504 Bug 844928, smarten up content client/host texture creation. r=nical
--HG--
extra : rebase_source : 2b15c0d233c45fc13b2bdfb155255e480fb3a947
2013-04-12 19:29:08 +12:00
Nicholas Cameron
fdc9d01061 Bug 844928, remove PTexture. r=nical
--HG--
extra : rebase_source : c6588d7381fc468068eb7e393f52afafb9586253
2013-04-12 19:28:55 +12:00
Nicholas Cameron
a4e0bb5713 No bug. Remove .orig files, r=njn, DONTBUILD 2013-04-12 17:09:58 +12:00
Joshua Cranmer
1c80dfa2a7 Bug 856108 - Port static analyses to clang, part 2d: use MOZ_STACK_CLASS in gfx. r=roc 2013-04-11 22:20:37 -05:00
Nicolas Silva
b36da71149 bug 861003 - Always use BasicTextureImage for YCbCr texture uploads. r=bas 2013-04-12 01:08:23 -04:00
Jeff Muizelaar
b9a50c4374 Bug 860442. Delete the gralloc buffer even when we don't have a PBufferParent. r=nical
We can allocate surfaces on the child and the parent so we should be able to
delete them both.

--HG--
extra : rebase_source : 6af5316f44905360d83e871a0e0f92c526fed0ec
2013-04-11 19:57:28 -04:00
Jeff Muizelaar
105c9bc6ef 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
Nicholas Cameron
7b3fdd386a No bug, removed commented code, r=nical, DONTBUILD
--HG--
extra : rebase_source : 62b59cd127bec362a9564b2a445006c145a24e2f
2013-04-11 14:33:44 +12:00
Jeff Muizelaar
734e4fe7b7 Bug 860446: Properly readback from WebGL with B2G. r=bjacob
--HG--
extra : rebase_source : ed6f0374cbc5912bcde84680eccfaa2da6c9d1d5
2013-04-11 12:37:07 -04:00
Nicolas Silva
bae6f65df1 Bug 860463 - Ensure that we propagate Destroy() in the shadow layer tree on CompositorParent::ActorDestroy. r=nrc 2013-04-11 06:14:29 -04:00
John Daggett
04b7882c04 Bug 761442 - treat substitution and positioning lookups involving <space> differently. r=jkew 2013-04-11 22:49:58 +09:00
Jonathan Kew
a0a8034fb1 Bug 761442 - don't use per-word shaping with fonts that use <space> in opentype lookups. r=jdaggett 2013-01-08 14:38:48 +00:00
Sotaro Ikeda
9ae548a888 Bug 851667 - Handle SendPGrallocBufferConstructor() failure. r=jmuizelaar 2013-04-11 07:48:09 -04:00
Jim Mathies
5a2bdc73a3 Bug 859077 - Annotate crash reports with hresult failure codes when layer manager fails to initialize. r=bbondy
DONTBUILD
2013-04-10 09:02:44 -05:00
Ryan VanderMeulen
615efab05a Backed out changeset b37f8a4ef976 (bug 859077) for landing with the wrong bug number. 2013-04-10 10:22:56 -04:00
Jim Mathies
c909004dca Bug 859007 - Annotate crash reports with hresult failure codes when layer manager fails to initialize. r=bbondy 2013-04-10 09:02:44 -05:00
Chris Lord
3fcc37f974 Bug 858550 - Don't transform fixed layer descendents multiple times. r=nrc
Once the transform for async scrolling has been applied to a fixed layer, it
need not be applied to its descendents. Make sure to return after applying
the transform.
2013-04-10 10:54:58 +01:00
Bas Schouten
839048be74 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
Christophe Mouraud
b3ba10e21c Bug 856080 - Fix a ComputedTimingFunction leak in Layers. r=jrmuizel 2013-04-08 14:31:10 -04:00
Kartikaya Gupta
4afbb995da Bug 859939 - Make AsyncPanZoomController::mLastEventTime unsigned to avoid overflowing. r=kentuckyfriedtakahe 2013-04-09 22:17:54 -04:00
Kartikaya Gupta
6e7eca55ce Bug 859935 - Make AsyncPanZoomController not assume the controller thread has a message loop. r=kentuckyfriedtakahe 2013-04-09 22:17:54 -04:00
Bas Schouten
9a9aee2e78 Bug 630197: Check for a removed device before presenting. r=jrmuizel 2013-04-09 17:37:56 +00:00
Bas Schouten
002b90f700 Bug 859791 - Part 1: Listen for changes to the Moz2D recording pref. r=jrmuizel 2013-04-09 17:37:56 +00:00
Daniel Holbert
a0a4661570 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