Commit Graph

259 Commits

Author SHA1 Message Date
Chris Pearce
03ac6fddda Bug 847267 - Add new image class to wrap D3D surfaces. r=Bas 2013-05-04 22:12:40 +12:00
Nicolas Silva
391cf268bb Bug 863324 - Rename PLayers into PLayerTransaction, r=jrmuizel
--HG--
rename : gfx/layers/ipc/ShadowLayersChild.cpp => gfx/layers/ipc/LayerTransactionChild.cpp
rename : gfx/layers/ipc/ShadowLayersChild.h => gfx/layers/ipc/LayerTransactionChild.h
rename : gfx/layers/ipc/ShadowLayersParent.cpp => gfx/layers/ipc/LayerTransactionParent.cpp
rename : gfx/layers/ipc/ShadowLayersParent.h => gfx/layers/ipc/LayerTransactionParent.h
rename : gfx/layers/ipc/PLayers.ipdl => gfx/layers/ipc/PLayerTransaction.ipdl
2013-04-24 14:42:40 -04:00
Nicholas Cameron
0e977ab226 No bug. Remove .orig files, r=njn, DONTBUILD 2013-04-12 17:09:58 +12:00
Jim Mathies
482c4c8703 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
555268190f Backed out changeset b37f8a4ef976 (bug 859077) for landing with the wrong bug number. 2013-04-10 10:22:56 -04:00
Jim Mathies
6c4b470823 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
Bas Schouten
341383c413 Bug 825928: Land layers refactoring. r=jrmuizel,bas,nical,mattwoodrow,roc,nrc,benwa,bjacob,jgilbert,kchen CLOSED TREE
Please contact Bas Schouten <bschouten@mozilla.com>, Nicolas Silva <nsilva@mozilla.com> or Nicholas Cameron <ncameron@mozilla.com> with general questions. Below is a rough list of authors to contact with specific questions.

Authors:
gfx/layers/Compositor.* gfx/layers/Effects.h - Compositor Interface - bas,nrc,nical
gfx/layers/d3d* - D3D9/D3D10 - bas
gfx/layers/ThebesLayer* - ThebesLayers - nrc,bas
gfx/layers/composite/* - CompositeLayers - nrc,nical
gfx/layers/client/* - Client - nrc,nical,bas
gfx/layers/*Image* - nical
gfx/layers/ipc ipc - IPC - nical
gfx/layers/opengl - CompositorOGL - nrc,nical
gfx/2d - bas,nrc
gfx/gl - GLContext - bjacob
dom/* layout/* - DOM - mattwoodrow
2013-04-10 09:20:52 +00:00
Bas Schouten
7ea73c4a90 Bug 630197: Check for a removed device before presenting. r=jrmuizel 2013-04-09 17:37:56 +00:00
Brian R. Bondy
74c3d24e59 Bug 845571 - Turn on console debug logging when running in Metro. r=jimm 2013-02-28 16:10:17 -05:00
Jeff Gilbert
4ed4901299 Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad
--HG--
extra : rebase_source : 3fb4230127df8a265d930fb779bdc93e05626c8b
2013-02-13 15:26:24 -08:00
Ed Morley
c878d63b6a Backed out changeset 82747d694e7a (bug 716859) for android reftest-2 timeouts 2013-02-21 19:54:25 +00:00
Jeff Gilbert
1da9dd6cd2 Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad
--HG--
extra : rebase_source : 5dad29809733a54a19cd3e5030498f00597d1dc8
2013-02-13 15:26:24 -08:00
Ryan VanderMeulen
438b3ab061 Backed out changeset b46c006a7696 (bug 716859) and changeset 6a14e4c15aa6 (bug 841836) for B2G test failures on a CLOSED TREE. 2013-02-20 10:01:20 -05:00
Jeff Gilbert
d348a03b58 Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad 2013-02-13 15:26:24 -08:00
Trevor Saunders
10701d89a1 no bug - mark several classes final to avoid warnings about deleting objects of polymorphic type 2013-01-11 04:43:29 -05:00
Chiajung Hung
cb2c3eaf66 Bug 805939: Wait for shadow trees to update orientation before recompositing. r=cjones 2012-11-22 10:40:57 +08:00
Robert O'Callahan
bb1dcd8d55 Bug 663776. Part 0.5: Mark layers that could have their transforms changed via off-main-thread animations or empty transactions, and treat all ThebesLayerOGL descendants of such layers as potentially resampled so that their buffers are put into the correct state and size. r=mattwoodrow
--HG--
extra : rebase_source : d3c78cc61f1a3d5f12dedb57180371b41b1647f6
2012-12-12 18:21:23 +13:00
Nicholas Cameron
1f29551184 Bug 782311; put back D3D10_RESOURCE_MISC_GDI_COMPATIBLE. r=Bas 2012-11-10 11:14:13 -08:00
Oleg Romashin
07bb73f5c2 Bug 801460 - IDXGIFactory2 not declared build errors with --enable-metro. r=bas.schouten 2012-10-14 23:19:13 -07:00
Nicholas Cameron
a18fe5707c Bug 734668; remove Thebes canvas. r=roc
--HG--
extra : rebase_source : 57b08c33f72cd611deb30dc1639060a719747849
2012-10-12 22:42:51 +13:00
Chris Jones
ca39444b15 Bug 790505, part 3: Add API for scheduling a shadowable-layer mutation to be applied at the next layers transaction. r=mattwoodrow,roc 2012-10-02 22:55:50 -07:00
Anthony Jones
e464d5aa1b Bug 793085 - Remove UseAzureContentDrawing() in favour of SupportsAzureContent(). r=ncameron 2012-10-01 22:12:13 -04:00
Matt Woodrow
f8a3bcd5dd Bug 770617 - Always mark inactive CanvasLayers as being dirty. r=cjones 2012-09-30 19:20:25 +13:00
Oleg Romashin
67b104cbd1 Bug 539356 - Part 20 - Simplify regions to avoid excessive region calculation. r=roc 2012-08-29 17:48:43 +12:00
Matt Woodrow
5a14809d04 Bug 539356 - Part 9f - Compute the invalid area of the layer tree and pass this to the widget. r=roc 2012-08-29 17:47:18 +12:00
Ed Morley
c863356300 Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE 2012-09-27 16:34:46 +01:00
Oleg Romashin
13a2856362 Bug 539356 - Part 20 - Simplify regions to avoid excessive region calculation. r=roc 2012-08-29 17:48:43 +12:00
Matt Woodrow
c73c0db2f1 Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt 2012-08-29 17:38:58 +12:00
Karl Tomlinson
6dc247aa1f b=777946 implement SCALE_STRETCH through ComputeEffectiveTransforms r=Bas
--HG--
extra : transplant_source : 6%CC%1F3%D1g%A7%098%7E%24%3DC%1D6N%F5%1Ax%0F
2012-09-18 15:16:15 +12:00
Robert O'Callahan
ae49ca014a Bug 777194. Part 2: Remove RETENTION_THRESHOLD. FrameLayerBuilder limits the complexity of visible regions anyway. r=bas 2012-08-17 11:38:59 +12:00
Ed Morley
6a83e3de8d Backout 7f86b28171a2 (bug 787853) & e18fdb9a8e12, ba47dac3cf97, e3fdcf7ed7f2, 992ee4c72c87 (bug 777946) for intermittent linux M4 ABORTs 2012-09-17 14:17:02 +01:00
Karl Tomlinson
3c96f70178 b=777946 implement SCALE_STRETCH through ComputeEffectiveTransforms r=Bas
--HG--
extra : transplant_source : %9AZ%89%90_4%08R%C5%0E%AB1%40g%23.%7Bo%EE%2A
2012-09-17 17:19:59 +12:00
Jim Mathies
1be60a7fb4 Bug 786979 - Use a new constant for returning ICoreWindow from GetNativeData. r=bbondy 2012-09-07 14:51:02 -05:00
Chris Lord
d599966391 Bug 785333 - Add ContainerLayer::RepositionChild. r=bas
Add a function that can be used to quickly reposition a layer child, rather
than forcing removal/insertion and the extra work that can involve.
2012-08-29 11:52:55 +01:00
Chris Lord
b66d5cde2d Bug 785333 - Synchronise layer InsertAfter/RemoveChild methods. r=bas
InsertAfter/RemoveChild in the Direct3D and OpenGL Layer backends have fallen
behind the implementation in BasicContainerLayer. Synchronise them.
2012-08-29 11:52:44 +01:00
Ehsan Akhgari
0fd9123eac Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Jeff Gilbert
5626f58942 Bug 738833 - Add webgl force-readback pref - r=bjacob 2012-08-21 20:29:06 -07:00
Kan-Ru Chen (陳侃如)
f5e3f3d680 Bug 767480 - PlanarYCbCrImage Refactoring. r=roc 2012-08-21 18:18:20 +08:00
Kan-Ru Chen (陳侃如)
22db9a8e93 Back out c8f7bace9cf9, 17ec4e01c126 (bug 767480) r=bustage 2012-08-21 17:55:02 +08:00
Kan-Ru Chen (陳侃如)
4787af5685 Bug 767480 - PlanarYCbCrImage refactoring. r=roc 2012-08-21 17:31:36 +08:00
David Zbarsky
fbb04700b6 Bug 784004 - Don't include Layers.h everywhere Part 3 r=nical 2012-08-21 00:06:46 -04:00
Jeff Gilbert
74efe81fba Bug 783663 - Add ReadScreenIntoImageSurface for reading pixels from the screen - r=bgirard 2012-08-20 17:13:32 -07:00
Nicolas Silva
047b99ba78 Bug 782372 - Splits ImageLayers.h into ImageLayers.h ImageContainer.h and ImageTypes.h, r=bgirard 2012-08-19 15:33:25 -04:00
Joe Drew
05d2135de5 Bug 781679 - Assert that we're not in the middle of a transaction when we switch layer managers. r=mattwoodrow 2012-08-15 17:55:38 -04:00
Matt Woodrow
0455e245a9 Bug 539356 - Part 30 - Make ShadowContainerLayerD3D10 hold references to child layers. r=roc 2012-08-13 22:10:45 +12:00
Matt Woodrow
c9d19fc306 Bug 539356 - Part 8b - Move painting of retained layers to the view manager flush, and only composite on the paint event. r=roc
* * *
Fix Empty transactions with the new paint timing
2012-08-13 22:10:10 +12:00
Matt Woodrow
2b1ef36f45 Bug 539356 - Part 8a - Add END_NO_COMPOSITE to EndTransactionFlags and implement in for all LayerManagers. r=roc 2012-08-13 22:10:10 +12:00
Nicholas Cameron
67fa0ea88a Bug 779650; handle Cairo DrawTargets in CanvasLayerD3D10; r=bas 2012-08-02 16:01:05 +12:00
Nicholas Cameron
9f4ddcf0fb Bug 776802; Give better info about Azure. r=Bas 2012-07-31 18:30:10 +12:00
Nicholas Cameron
db90500fee Back out bug 779001, bug 746883, bug 778595, bug 776803, bug 7118849 2012-07-31 18:17:23 +12:00