Commit Graph

38 Commits

Author SHA1 Message Date
Jonathan Watt
1e42671a22 Bug 1022667, part 3 - Remove various bits of dead code from D3D layers code. r=Bas 2014-06-10 16:42:22 +01:00
Kartikaya Gupta
3ad5b85cf7 Bug 996768 - Remove redundant copies of HasOpaqueAncestorLayer. r=Bas 2014-04-16 13:56:52 -04:00
David Zbarsky
8a0b149ece Bug 952977: Perform some cleanup r=nical 2014-01-27 15:25:19 -05:00
David Zbarsky
0b4e10c2b0 Bug 952977: Convert GetEffectiveTransform to gfx::Matrix4x4 r=nical 2014-01-24 17:49:19 -08:00
Daniel Holbert
3f76c083c7 Bug 925142: Remove unnecessary includes from ContainerLayerD3D9.cpp and ContainerLayerD3D10.cpp. r=nical 2013-10-10 09:17:08 -07:00
Nicholas Cameron
822a03291b Bug 786412. Conslidate container layer methods. r=mattwoodrow 2013-09-02 10:19:18 +12:00
Bas Schouten
89fedaea2e Bug 877700: Limit the Source region to the area of the parent layer surface. r=roc 2013-07-29 10:35:48 +00:00
Birunthan Mohanathas
fa1f5f8f3a Bug 784739 - Switch from NULL to nullptr in gfx/layers/d3d10/; r=ehsan
--HG--
extra : rebase_source : 69b7ab7e4aa0eed92d597451bcab820f9d5c3957
2013-07-20 11:48:55 +03: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
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
Matt Woodrow
0455e245a9 Bug 539356 - Part 30 - Make ShadowContainerLayerD3D10 hold references to child layers. r=roc 2012-08-13 22:10:45 +12:00
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Nicholas Cameron
08cb3dff93 Bug 716438; using flags to select a shader. r=Bas 2012-03-01 17:29:30 +00:00
Nicholas Cameron
d406c20f17 Bug 716439; Using mask layer shaders in DX10. r=Bas 2012-02-16 12:34:25 +13:00
Ehsan Akhgari
2a602a5685 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Matt Woodrow
903d47038f Bug 692968 - Check the return value of CreateTexture2D in ContainerLayerD3D10. r=Bas 2011-10-13 14:01:30 +13:00
Matt Woodrow
37b2a02d8f Bug 684759 - Part 4 - Add layer sorting support to the LayerManagers. r=roc 2011-10-07 10:24:32 +13:00
Michael Wu
d8e503c38b Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Chris Jones
e119678c6c Bug 648484, part 7: Implement a very basic shadow container layer for D3D10, only enough to support the upcoming WindowLayer. r=Bas 2011-08-09 12:38:26 -07:00
Chris Jones
fe42f83e74 Bug 648484, part 1: Fix some warning spam. r=roc 2011-08-09 12:38:26 -07:00
Robert O'Callahan
ea286efab6 Bug 654950. Fix scissor rect calculations for descendants of container layers with intermediate surfaces. r=bas 2011-05-23 12:27:03 +12:00
Matt Woodrow
faf46f850f Bug 635383 - Fix black rendering on non-square container layers. r=joe,bz 2011-03-24 21:57:09 -04:00
Matt Woodrow
ca1fbaeed0 Bug 635383 - Part 2 - Share scissoring code between all accelerated backends. r=joe 2011-02-25 20:44:22 +13:00
Bas Schouten
a2492ec1e6 Bug 626602, part 6: Implement asynchronous D3D10 readback. r=cjones,jrmuizel 2011-02-04 20:30:00 -06:00
Robert O'Callahan
2c94778839 Bug 626602. Part 1: Create ReadbackLayer API to enable collection of background pixels in a layer tree. r=bas,sr=cjones 2011-02-16 16:43:30 -06:00
Bas Schouten
9c39576160 Bug 612846 - Part 5: Make ContainerLayerD3D10 support component alpha. r=jrmuizel a=blocking-betan 2011-01-28 06:34:33 +01:00
Oleg Romashin
3ae058666d Bug 607653 - avoid temporary fbos/textures on transformed layers, when possible. r=roc a=approval2.0 2010-11-30 08:02:46 +02:00
Oleg Romashin
61e5abed8a Bug 607653 - avoid temporary fbos/textures on transformed layers, when possible. part2 r=roc a=apporval2.0 2010-11-30 07:51:56 +02:00
Justin Lebar
43b18d2b18 Backed out changeset a5ec817740f0. a=orange 2010-11-29 09:08:24 -08:00
Oleg Romashin
233ef8a80c Bug 607653 - avoid temporary fbos/textures on transformed layers, when possible. r=roc a=approval2.0 2010-11-24 11:35:21 +02:00
Dave Townsend
1244f0ae62 Backing out changeset 8fff1c186b30 from bug 607653 due to reftest failures on OSX. a=bustage 2010-11-24 16:19:41 -08:00
Oleg Romashin
a8abb4a458 Bug 607653 - avoid temporary fbos/textures on transformed layers, when possible. r=roc a=approval2.0 2010-11-24 11:35:21 +02:00
Tatiana Meshkova
b3ef0bae09 bug 606730 - Remote thebesLayer BG color rendering always, even if it's not visible, Part 1: Add mLastChild to all ContainerLayer r=roc a=roc 2010-11-16 18:33:56 -05:00
Robert O'Callahan
669ff953e8 Bug 602200. Share code to compute effective transforms and opacity, and snap effective transforms. r=bas,sr=vlad,a=blocker 2010-11-08 22:06:15 +13:00
Bas Schouten
176e99bd57 Bug 546514 - Part 3: Add D3D10 layers code. r=vlad 2010-10-01 00:53:49 +02:00