Kartikaya Gupta
e5125ca5dc
Bug 969483 - Fix the RepositionChild function and add a test for it. r=BenWa
2014-02-18 16:38:30 -05:00
Ehsan Akhgari
c3d3595b50
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
Tor Arvid Lund
cdfd45fed5
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
Ms2ger
42aa546e2f
Bug 952033 - Part b: Use IntSize in CreateOffscreenSurface; r=roc
2014-02-09 09:04:38 +01:00
Kartikaya Gupta
5fee92e5f2
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
76ec000c2f
Bug 952977: Perform some cleanup r=nical
2014-01-27 15:25:19 -05:00
David Zbarsky
353734771e
Bug 952977: Convert shadow transforms to gfx::Matrix4x4 r=nical
2014-01-27 10:29:27 -05:00
David Zbarsky
8f05aaacbd
Bug 952977: Convert Layer's mTransform to gfx::Matrix4x4 r=nical
2014-01-27 10:29:06 -05:00
David Zbarsky
9bdd10281d
Bug 952977: Convert GetTransform to gfx::Matrix4x4 r=nical
2014-01-27 10:28:47 -05:00
David Zbarsky
bab894b2de
Bug 952977: Convert SetBaseTransform to gfx::Matrix4x4 r=nical
2014-01-27 10:28:33 -05:00
David Zbarsky
9288df6e4d
Bug 952977: Convert GetLocalTransform to gfx::Matrix4x4 r=nical
2014-01-27 10:28:18 -05:00
David Zbarsky
85e9d23aa9
Bug 952977: Convert ComputeEffectiveTransforms to gfx::Matrix4x4 r=nical
2014-01-27 10:28:04 -05:00
David Zbarsky
7e28db3ce2
Bug 952977: Convert SnapTransforms to gfx::Matrix r=nical
2014-01-27 10:27:20 -05:00
David Zbarsky
b339e3cd5c
Bug 952977: Convert GetEffectiveTransform to gfx::Matrix4x4 r=nical
2014-01-24 17:49:19 -08:00
Benoit Jacob
aebf0bb92a
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
e5ed95579b
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
David Zbarsky
3e4ce3885c
Bug 952977: Switch GL world transform to gfx::Matrix r=nical
2014-01-16 02:22:19 -05:00
Benoit Jacob
a1e7c32630
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
Andreas Pehrson
dd06372e7f
Bug 877115 - Moz2Dify layer snapshot dumping further. r=nical
2014-01-08 09:43:46 +01:00
Andreas Pehrson
0955c3684b
Bug 877115 - Remove GetTexImage from GLContext helper. r=nical
2014-01-08 09:37:58 +01:00
Nicholas Cameron
b59a3ba405
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
d0f667997d
Bug 933549. Preqrequisites - Matrix::HasNonIntegerTranslation and SetAntialiasingFlags. r=mattwoodrow
2014-01-08 10:06:08 +13:00
Nicholas Cameron
630c694b39
backed out bug 933549 on a CLOSED TREE
2014-01-08 10:27:14 +13:00
Nicholas Cameron
64a0f04f60
Bug 933549. Preqrequisites - Matrix::HasNonIntegerTranslation and SetAntialiasingFlags. r=mattwoodrow
2014-01-08 10:06:08 +13:00
Robert O'Callahan
441bface9e
Bug 945203. Part 1: Add Layers API to annotate layers with hit-test regions. r=kats
...
--HG--
extra : rebase_source : baa695c0d6104f620a5b45a83e5b230ef584abd9
2013-12-16 23:47:06 +13:00
Tor Arvid Lund
c652a133f6
Bug 950677 - More gfxIntSize -> IntSize changes in Layer* classes. r=nical
2013-12-20 11:46:29 -05:00
Benoit Girard
892081b54a
Bug 941095 - Part 2: Disable subpixelaa + component alpha. r=mattwoodrow
...
--HG--
extra : rebase_source : 7e3a0d3710fb29b47615cc0254135d3b44637ed8
2013-12-13 13:53:18 -05:00
Tor Arvid Lund
eaa77f044b
Bug 929513 - Change gfxSize references to gfx::Size r=nical
2013-12-13 18:31:53 +01:00
Wes Kocher
898b147d75
Merge inbound to m-c
2013-12-12 19:12:51 -08:00
Kartikaya Gupta
6c7c9a5200
Bug 949310. r=BenWa
2013-12-12 13:34:50 -05:00
Cameron McCormack
a9096d4a6d
Bug 773296 - Part 16a: Followup to move to using nsCSSValueSharedList in OMTA code. r=roc
2013-12-12 13:09:44 +11:00
Ryan VanderMeulen
2b53da578d
Merge b2g-inbound to m-c.
2013-12-10 15:38:44 -05:00
Nicholas Cameron
c9131de1bb
Bug 946958 part 2. Remove methods which just forward to compositor. r=mattwoodrow
2013-12-09 14:40:59 +13:00
Kartikaya Gupta
2b78585247
Bug 814435 - Annotate layers for scrollbars as such. r=tn, BenWa
2013-12-09 22:14:53 -05:00
Robert O'Callahan
182a8c2ebe
Bug 945634. The fixed-pos anchor point should be in the layer's coordinate system, whose 0,0 is the top-left of the fixed-pos frame. r=mattwoodrow
2013-12-13 01:33:02 +13:00
Markus Stange
30aeb02de9
Bug 920123 - Make Start/Stop FrameTimeRecording work with OMTC and remove paint time recording. r=mattwoodrow
2013-11-27 08:32:19 +01:00
Phil Ringnalda
74b2dea823
Backed out 7 changesets (bug 946958, bug 865033)
...
Backed out changeset 6dd0a6cb9ab3 (bug 946958)
Backed out changeset 498152aec5b1 (bug 946958)
Backed out changeset 7d035322f51d (bug 946958)
Backed out changeset 99f8ad7561ef (bug 946958)
Backed out changeset 4639c5abea80 (bug 946958)
Backed out changeset 9d1a4d83eccf (bug 865033)
Backed out changeset 41839e4026bc (bug 865033)
2013-12-08 18:43:45 -08:00
Nicholas Cameron
8996a6fb5c
Bug 946958 part 2. Remove methods which just forward to compositor. r=mattwoodrow
2013-12-09 14:40:59 +13:00
Nicholas Cameron
2a963b34cd
Bug 943122. Don't repeat 'Mask layer:' in layer dumps. r=BenWa
2013-11-26 15:07:44 +13:00
Nicholas Cameron
e3cb6e45db
Bug 943110. Don't use fputc in display list/layers dumps. r=BenWa
2013-11-26 15:07:41 +13:00
Benoit Girard
a735170d84
Bug 942483 - Port paint-dumping to android/b2g. r=gal
2013-11-23 17:44:18 -05:00
Trevor Saunders
9f254378b2
bug 938025 - part 1 - get rid of some static constructors r=bz r=bjacob
2013-11-22 14:45:50 -05:00
Benoit Girard
6e72abd49f
Bug 936566 - Print mask layers in layers dump. r=nrc
2013-11-19 23:55:27 -05:00
Botond Ballo
774451c530
Bug 900092 - Remove FrameMetrics::ROOT_SCROLL_ID. r=kats,tn
2013-11-08 19:07:00 -05:00
Benoit Jacob
41b487f47a
Bug 938970 - 5/5. Switch gfx/layers to UNIFIED_SOURCES - r=ehsan,mattwoodrow
2013-11-17 21:07:08 -05:00
Benoit Girard
5aa117f19b
Bug 936511 - Add layers.dump to dump layer tree. r=bas,nrc
2013-11-17 16:47:40 -05:00
Ehsan Akhgari
b155782d0a
Bug 921753 - Part 2: Move GraphicsFilters outside of gfxPattern.h so that we won't need to #include that header everywhere GraphicsFilter is needed; r=roc
...
This patch reduces the number of files that transitively #include
gfx/2d.h from 1582 to 1362.
2013-10-01 17:01:19 -04:00
Nicholas Cameron
009454da8e
Bug 882113. Azurification of compositor classes. r=mattwoodrow
2013-09-27 12:37:19 +12:00
Benoit Jacob
55d6cf1e20
Bug 913872 - Take nested enums out of gfxASurface - 1/3 : automatic changes - r=jrmuizel
...
Generated by these regexes:
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(ImageFormat\|SurfaceType\|ContentType\|MemoryLocation\)[0-9A-Za-z_]*\)/gfx\1/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(CONTENT_\|MEMORY_\)[0-9A-Za-z_]*\)/GFX_\1/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(CONTENT_COLOR\|CONTENT_ALPHA\|CONTENT_COLOR_ALPHA\|CONTENT_SENTINEL\|MEMORY_IN_PROCESS_HEAP\|MEMORY_IN_PROCESS_NONHEAP\|MEMORY_OUT_OF_PROCESS\)\($\|[^A-Za-z0-9_]\)/\1GFX_\2\3/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(ImageFormatARGB32\|ImageFormatRGB24\|ImageFormatA8\|ImageFormatA1\|ImageFormatRGB16_565\|ImageFormatUnknown\|SurfaceTypeImage\|SurfaceTypePDF\|SurfaceTypePS\|SurfaceTypeXlib\|SurfaceTypeXcb\|SurfaceTypeGlitz\|SurfaceTypeQuartz\|SurfaceTypeWin32\|SurfaceTypeBeOS\|SurfaceTypeDirectFB\|SurfaceTypeSVG\|SurfaceTypeOS2\|SurfaceTypeWin32Printing\|SurfaceTypeQuartzImage\|SurfaceTypeScript\|SurfaceTypeQPainter\|SurfaceTypeRecording\|SurfaceTypeVG\|SurfaceTypeGL\|SurfaceTypeDRM\|SurfaceTypeTee\|SurfaceTypeXML\|SurfaceTypeSkia\|SurfaceTypeSubsurface\|SurfaceTypeD2D\|SurfaceTypeMax\)\($\|[^A-Za-z0-9_]\)/\1gfx\2\3/g'
2013-09-24 16:45:13 -04:00
Benoit Girard
71028b9a9a
Bug 916259 - Make it easier to dump layer tree from opt & mobile. r=jrmuizel
2013-09-13 15:44:29 -04:00
Rik Cabanier
0383e51844
Bug 902525 - Part 2: Create layers for isolated groups when blending is involved r=roc
2013-09-14 20:30:00 -07:00
Rik Cabanier
7fc7fb42af
Bug 902525 - Part 1: Layers changes r=roc
2013-09-14 20:23:46 -07:00
Corey Ford
69aaac73df
Bug 897105 - Part 2: Add layer fields for sticky positioning. r=roc
2013-09-11 21:17:58 -07:00
Jerry Shih
f5df1aeb05
Bug 911730 - Only dump layer tree(using MOZ_LAYERS_HAVE_LOG). r=mattwoodrow
2013-09-12 11:08:50 -04:00
Nicolas Silva
0b5271b13d
Bug 912939 - Rename LayerTransaction.ipdlh into LayersMessages.ipdlh. r=kanru
...
--HG--
rename : gfx/layers/ipc/LayerTransaction.ipdlh => gfx/layers/ipc/LayersMessages.ipdlh
2013-09-06 17:41:00 +02:00
Nicholas Cameron
31ac189fe3
Bug 786412. Conslidate container layer methods. r=mattwoodrow
2013-09-02 10:19:18 +12:00
Matt Woodrow
e2c4e8b284
Bug 907926 - Supprt having different content/canvas backends in gfxPlatform. r=nrc
2013-08-23 18:13:55 +12:00
Jan Beich
58aa335563
Bug 907837 - Fix IWYU false positive to unbreak non-SPS build. r=nrc
2013-08-22 19:11:47 +12:00
Nicholas Cameron
73aeda1397
Bug 903816. Include-what-you-use for gfx/layers. r=roc
2013-08-12 11:17:23 +12:00
Robert O'Callahan
867e300fd9
Bug 876542. Rework TransformFixedLayers so that it explicitly makes layer anchor points invariant under a change in transform of a specified ancestor layer. r=Cwiiis,kats
2013-06-24 13:34:33 +12:00
Benoit Girard
a210b5dede
Bug 775459 - Implement hit testing on layer tree + tests. r=kats
...
--HG--
extra : rebase_source : c596cc4c4dd9810319830ec8105a5e251e9b0ddb
2013-07-02 12:27:17 -04:00
Benoit Girard
83a15c3414
Bug 775459 - Make APZC attachable only to container layers. r=kats
...
--HG--
extra : rebase_source : 5a94d9958013f92e64db4781e09bdc9db4b66c9a
2013-07-02 12:01:46 -04:00
Matt Woodrow
1532053c01
Backout Bug 861805 for causing Bug 871729. rs=roc
2013-06-10 12:13:10 +12:00
David Zbarsky
01bf8c6778
Bug 779395 - Add support for skew transforms to compositor-driven animations r=dbaron
2013-05-21 18:22:44 +08:00
Nicolas Silva
64e53fc053
Bug 867656 - Part 2. Implement Dump for CompositableHost classes. r=mattwoodrow
2013-05-26 04:44:24 +02:00
Ed Morley
fa097e6aaa
Backed out changeset 1d056bb94292 (bug 779395) for reftest failures on Tegras
2013-05-21 14:03:43 +01:00
David Zbarsky
f4fefe3c41
Bug 779395 - Add support for skew transforms to compositor-driven animations r=dbaron
2013-05-21 18:22:44 +08:00
Nicolas Silva
f2669ce1ed
Bug 856079 - Merge ShadowLayer and LayerComposite (keeping the later). r=nrc
2013-04-25 18:25:33 -04:00
Ryan VanderMeulen
ea8d3fdd0b
Backed out changeset 4b7de1f2b4a0 (bug 856079) for various test failures.
...
CLOSED TREE
2013-04-24 11:28:05 -04:00
Nicolas Silva
5be0bb6011
Bug 856079 - Merge ShadowLayer and LayerComposite (keeping the later). r=nrc
2013-04-24 15:40:26 -04:00
Nicolas Silva
a1ee3bf807
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
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
Jonathan Watt
297949d661
Bug 861805 - Stop layers from snapping transforms for SVG content. r=roc
2013-04-15 13:30:28 +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
Robert O'Callahan
12d706b55a
Bug 852489. Part 3: Add logging to track addition of IPC edits and causes of layer mutation. Also avoid unnecessary mutate in ClearAnimations. r=mattwoodrow
...
--HG--
extra : rebase_source : 65557e5e223ff7b30d5eeccf534e950451d664b9
2013-03-22 15:17:28 +13:00
Chris Lord
75f7b3b58c
Bug 716403 - Annotate layers with the fixed margins from the PresShell. r=nrc,roc
...
This annotates fixed layers with the margins that have been applied from
nsIPresShell->GetContentDocumentFixedPositionMargins. Using SyncViewportInfo
in CompositorParent, this allows for async fixed position margin setting.
2013-03-07 10:17:33 +00:00
Ryan VanderMeulen
3fe58cf9ea
Backed out 8 changesets (bug 716403) for frequent Android mochitest-8 failures on a CLOSED TREE.
2013-03-01 16:09:59 -05:00
Chris Lord
73720b6632
Bug 716403 - Annotate layers with the fixed margins from the PresShell. r=nrc,roc
...
This annotates fixed layers with the margins that have been applied from
nsIPresShell->GetContentDocumentFixedPositionMargins. Using SyncViewportInfo
in CompositorParent, this allows for async fixed position margin setting.
2013-03-01 15:46:34 +00:00
Nicholas Cameron
b5263b1c6c
Bug 836058; remove UseTiledThebes; r=BenWa
2013-01-29 14:38:46 +13:00
Avi Halachmi
e0f25c9274
Bug 826383: cyclic array for frames recording to support concurrent users. r=jmuizelaar,khuey
2013-01-23 20:47:44 +02:00
Oleg Romashin
9ffe6086ee
Bug 824428 - Add Environment option which would allow to use Tiled Thebes Layers. r=bgirard
2013-01-14 20:21:02 -08:00
Matt Woodrow
b46981a325
Bug 818575 - Make TransformShadowTree transform all descendant scrollable layers instead of just the first. r=roc
2013-01-10 22:10:20 +13:00
Nicholas Cameron
351f5f0388
Backout bug 818575
...
--HG--
extra : rebase_source : 0a06e4594a98b17befff7d58cd68faa693f3fd91
2013-01-09 18:06:35 +01:00
Matt Woodrow
8e6457f392
Bug 818575 - Make TransformShadowTree transform all descendant scrollable layers instead of just the first. r=roc
...
--HG--
extra : rebase_source : 2befc9553af0be20643940e8bf71c0f71d13403e
2013-01-10 22:10:20 +13:00
Ed Morley
aa4b19eee4
Backout 645bf43f8f14 (bug 818575) for crashes on Android on a CLOSED TREE
2013-01-10 13:17:12 +00:00
Matt Woodrow
071028e719
Bug 818575 - Make TransformShadowTree transform all descendant scrollable layers instead of just the first. r=roc
2013-01-10 22:10:20 +13:00
Nicholas Cameron
971e0288d5
Bug 824454; use the resolution scale in OMTA transforms. r=cjones; a=blocking-basecamp
...
--HG--
extra : rebase_source : 8f045dd319418b771c5f31ca2f3477ab5673a5ad
2013-01-08 10:39:12 +01:00
Avi Halachmi
28ffc25c71
Bug 820167 - Tab open/close animation prints performance data to error console when enabled. r=jmuizelaar,dao
2013-01-03 21:53:15 -05:00
Robert O'Callahan
90f9d2a33d
Bug 663776. Part 3: Refactor layer transform snapping to distinguish translation-snapping from rect-snapping, and don't snap translation+scale transforms when we don't know all four edges of the rect that needs to be snapped. r=mattwoodrow
...
This separates SnapTransform into SnapTransformTranslation, which just snaps translations
and nothing else, and SnapTransform, which snaps translation+scale of rectangles.
2012-12-07 12:58:13 +13:00
Dão Gottwald
3e5deace1e
Backed out changeset e14c7409ede7
2012-12-18 01:04:30 +01:00
Avi Halachmi
a1d09d0622
Bug 820167: Enable performance measurement of tab animation. r=jmuizelaar
2012-12-17 18:48:01 -05:00
Jeff Walden
120886ca73
Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger
2012-12-14 18:58:45 -05:00
Robert O'Callahan
fae9165b76
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
c54f8d4754
Bug 780692; throttle OMTA (rollup patch). r=dbaron,bz
...
--HG--
extra : rebase_source : 1207275df5c509ac1974e2b9333c738b995f9d5e
2012-12-12 10:12:43 +13:00
Ed Morley
2f3183fde3
Backout 55d5f3cd5c85, d89ae7f40549 & 270391fca858 (bug 663776) for assertions
2012-12-07 12:37:36 +00:00
Robert O'Callahan
ed26918aaa
Bug 663776. Part 3: Refactor layer transform snapping to distinguish translation-snapping from rect-snapping, and don't snap translation+scale transforms when we don't know all four edges of the rect that needs to be snapped. r=mattwoodrow
...
This separates SnapTransform into SnapTransformTranslation, which just snaps translations
and nothing else, and SnapTransform, which snaps translation+scale of rectangles.
2012-12-07 12:58:13 +13:00
Boris Zbarsky
9a39de6d40
Bug 815671 part 4. Remove some array copying in gfx code. r=roc
2012-11-29 11:14:13 -05:00
Jeff Muizelaar
ddf572c122
Bug 800031. Include paint time int tab switch telemetry. r=ehsan,dao,bjcaob
...
This adds a new FX_TAB_SWITCH_TOTAL_MS that should more accurately represent
the user experience of tab switch time than FX_TAB_SWITCH_UPDATE_MS.
FX_TAB_SWITCH_UPDATE_MS is being kept because it gives a good indication of how
much time is being spent in the front end parts vs the painting parts.
This works by measuring the time between beginTabSwitch() and the first call to
LayerManager::PostPresent().
2012-10-11 13:54:27 -04:00
Chris Jones
3211a0327d
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
Chris Jones
38cde694be
Back out bug 790505 for leaking
2012-10-03 00:21:08 -07:00
Chris Jones
769ed664e0
Bug 790505, part 2: 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
Chris Jones
6000461ba8
Back out 17f942846b9f (bug 795811) for causing startup crashes.
2012-10-02 01:29:53 -07:00
David Zbarsky
8f5b3abb00
Bug 795811 - Make GetPrimaryScrollableLayer() return null on all configurations except MOZ_WIDGET_ANDROID r=cjones
2012-10-02 00:19:56 -04:00
Doug Sherk
4b01b719b1
Bug 784908: Part 1: Change names of FrameMetrics variables to be more descriptive, add documentation, change some coordinate spaces. r=roc
2012-09-28 22:16:34 -04:00
Chris Lord
b1531c3725
Bug 794200 - Progressive draw tiles in the direction of scrolling. r=bgirard
...
When scrolling downwards, make sure to fill in tiles from the top, upwards
from the bottom, left from the right and right from the left.
2012-09-26 21:41:56 +01:00
Matt Woodrow
ad9a9edc59
Bug 788044 - Make inactive layer subtrees relative to the ContainerLayer, not the reference frame. r=roc
2012-09-17 10:25:33 +12:00
Randell Jesup
65539ef89c
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Ehsan Akhgari
2d709c2f52
Merge the landing of bug 579517 to mozilla-inbound
2012-08-22 12:12:15 -04:00
Doug Sherk
242fa304fe
Bug 780397: Convert FrameMetrics.mViewportScrollOffset from nsIntPoint to gfx::Point r=roc
2012-08-21 21:37:15 -07:00
David Zbarsky
8ec03cd866
Bug 783893 - Clean up async animation code r=roc
2012-08-21 00:06:47 -04:00
David Zbarsky
3154e1b535
Bug 784004 - Don't include Layers.h everywhere Part 3 r=nical
2012-08-21 00:06:46 -04:00
David Zbarsky
8b80664250
Fix layer tree dumping code, no bug, r=cjones over irc
2012-08-21 00:06:46 -04:00
Ehsan Akhgari
e368dc9c85
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
David Zbarsky
15b5fb7346
Bug 776401 Part 2: Add animation to the layer and then add segments directly to it r=roc
2012-08-20 09:35:42 -04:00
David Zbarsky
7589db83b4
Bug 783835 - Compositor needs to know the css property being animated r=roc
2012-08-20 09:35:41 -04:00
Nicolas Silva
75542595f3
Bug 782372 - Splits ImageLayers.h into ImageLayers.h ImageContainer.h and ImageTypes.h, r=bgirard
2012-08-19 15:33:25 -04:00
Chris Lord
e7e6823aa8
Bug 775431 - Make MOZ_DUMP_PAINT_LIST output terminal-friendly. r=mattwoodrow
...
Only output in HTML if we're dumping to a file, otherwise output as it did
before the HTML output change was made.
2012-08-07 18:57:26 +01:00
David Zbarsky
aaa7d5ced9
Bug 706179 Part 3: Turn on the use of scaling for layers in FrameLayerBuilder r=mattwoodrow
2012-08-03 14:29:22 -07:00
David Zbarsky
c88b41986f
Bug 706179 Part 1: Add support for animations to the Layers API r=roc, dbaron, cjones
2012-07-31 10:28:20 -07:00
David Zbarsky
c83e9b7631
Bug 706179 Part 2: Add a BaseTransform and scaling to layers, r=roc, cjones
2012-07-30 19:20:00 -07:00
Mark Finkle
ecceaf8977
Backout 169ff207ed19, a34baed70c1b, f9ccdd490bd7, 39550ed860e6, 2194a2dd66b2, 908eb2e26843, a76e0a267f26 due to mobile viewport bustage (bug 778580)
2012-07-30 14:36:12 -04:00
Aryeh Gregor
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
David Zbarsky
f8268417e9
Bug 778496 - Layer should store ComputedTimingFunction directly rather than as a pointer r=roc
2012-07-29 18:59:26 -07:00
David Zbarsky
3a15cfbf6b
Bug 706179 Part 2: Add a BaseTransform to layers r=roc
2012-07-27 13:23:45 -07:00
David Zbarsky
687786c2e9
Bug 706179: Add support for animations to the Layers API r=roc, dbaron, cjones
2012-07-27 13:23:44 -07:00
Ed Morley
3ed23376d4
Backout 1244b8a8e57a (bug 755084), 32d16d0f87c9 (bug 706179), 8548e016d4a9 (bug 768440), 697f5b87eae9 (bug 768440), 808fc2bd4e8c (bug 755084), 54b1484cd125 (bug 755084), 876726b632c0 (bug 706179) for xul android R3 failures
2012-07-25 16:37:04 +01:00
David Zbarsky
6b4c02cd9f
Bug 706179 Part 2: Add a BaseTransform to layers to return the layer's transform without scaling applied r=roc
2012-07-25 01:48:10 -07:00
David Zbarsky
ced60d55d3
Bug 706179: Add support for animations to the Layers API r=roc, dbaron, cjones
2012-07-25 01:48:09 -07:00
Matt Brubeck
90029e0bf6
Back out f4f5189b1d0c, 3b4f0606c547, b8a5a1ab8a5f, 5078933d6954, 7e0260c45de9 (bug 768440, bug 755084, bug 706179) because of reftest failures
2012-07-23 20:25:51 -07:00
David Zbarsky
33710a6b6d
Bug 706179: Add support for animations to the Layers API r=roc, dbaron, cjones
2012-07-23 17:34:22 -07:00
Chris Jones
f86571551f
Bug 745148, part 7: Create a RefLayer type to temporarily contain a foreign layer subtree during composition. r=BenWa sr=roc
2012-07-17 16:59:45 -07:00
Nicolas Silva
966f3cd0b1
Bug 598868: Add support for pushing video frames directly to the compositor thread, bypassing the content thread. r=cjones
2012-07-13 15:38:09 -04:00
Nicolas Silva
8342254e9a
Bug 769294 - Fix crash when trying to dump layers in the console. r=joedrew
2012-06-28 11:23:40 -04:00
Nicholas Cameron
fd286a7d52
Bug 768079; mask layers force an intermediate surface for their containers. r=roc
2012-06-27 08:06:32 +12:00
Nicholas Cameron
162bac1537
Bug 757346; mask image format stuff - use A8 textures (except DX10) and some small, misc fixes. r=roc
2012-06-26 14:43:31 +12:00
Nicholas Cameron
2b4e7781e6
Bug 757347; changes to FrameLayerBuilder. r=roc
2012-06-26 14:43:30 +12:00
Nicholas Cameron
1a825cc2d4
Back out bug 757346
...
--HG--
extra : rebase_source : 8a07c2c56ca9dbc165012b679d421435cc886c2c
2012-06-26 10:54:05 +12:00
Nicholas Cameron
eabed73236
Bug 757346; mask image format stuff - use A8 textures (except DX10) and some small, misc fixes. r=roc
2012-06-26 09:44:41 +12:00
Nicholas Cameron
4620356d60
Bug 757347; changes to FrameLayerBuilder. r=roc
2012-06-26 09:44:41 +12:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Nicholas Cameron
472977cd01
Bug 716439; creating mask layers. r=roc
2012-02-08 11:27:44 +13:00
Nicholas Cameron
34d6ba072b
Bug 716439; mask layer - member, getter, setter, dumping. r=roc
2012-01-18 14:35:49 +13:00
Patrick Wong
4ccd1d2fbb
Bug 745659 - Removed the nsPrintfCString constructor which takes a length and all corresponding instances that call that particular constructor. This is accomplished by removing the length component from the instantiation. r=jlebar
2012-04-24 14:43:00 -04:00
Wes Johnston
206d8691e9
Backed out changeset f5d6cc2e4726
2012-04-09 10:44:32 -07:00
Wes Johnston
eea4dccc79
Bug 740218 - Support transactions in sqlitebridge and use them. r=gcp,rnewman,lucasr
2012-04-09 10:08:37 -07:00
Chris Lord
17b8666a47
Bug 739604 - Check if output file is valid before printing. r=mattwoodrow
...
Check that gfxUtils::sDumpPaintFile isn't NULL before calling print functions
in Layers.cpp:WriteSnapshotToDumpFile_internal().
2012-03-28 19:10:22 +01:00
Andreas Gal
6d9d726c6a
Remove unused and broken tiling code (bug 736716, r=cjones).
2012-03-17 15:22:22 -07:00
Matt Woodrow
72f481f48f
Bug 700240 - Print display lists to a file. r=roc,bjacob
2012-03-01 21:26:09 +13:00
Bas Schouten
7244d2b180
Bug 715785: Make ImageContainers independent of LayerManagers. r=roc
2012-02-01 03:18:30 +01:00
Jeff Muizelaar
32255c18e2
Bug 696398. Add an api to analyse frame rate. r=ajuma
...
This adds a startFrameTimeRecording() and stopFrameTimeRecording()
to DOMWindowUtils. stopFrameTimeRecording() returns an array of frame times in milliseconds.
2012-01-05 17:40:35 -05:00
Matt Woodrow
ba3ebc26fb
Bug 688342 - Make nsCanvasRenderingContext2D support Azure backends other than Direct2D. r=Bas
2011-11-03 08:55:03 +13:00
Ehsan Akhgari
92064e6d3f
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
d281b3df0b
Bug 689416 - Stop using intermediate layers to render 3d transforms. r=roc
2011-10-07 10:29:07 +13:00
Matt Woodrow
6e3aac5fe5
Bug 684759 - Part 3a - Sort preserve-3d layers using their z depth at points where they intersect in 2d space. r=roc
2011-10-07 10:23:18 +13:00
Michael Wu
d2b70213ac
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
Alfred Kayser ext:(%2C%20Ms2ger%20%3Cms2ger%40gmail.com%3E)
40a50219ea
Bug 537223 - Cleanup gfxColor.h; r=jrmuizel
2011-08-25 10:46:01 +02:00
Chris Jones
ae2bfc746f
Bug 648484, part 2: Add various helpers, refactor ContainerLayer::SetSpecificAttributes. r=roc
2011-08-09 12:38:26 -07:00
Matt Woodrow
a58142bb2a
Bug 505115 - Part 7 - Layers support for 3d transforms. r=roc
2011-08-03 15:04:20 +12:00
Matt Woodrow
e2113eb4db
Bug 670573 - Add glTex(Sub)Image2D wrappers that correctly handle stride and alignment. r=derf
2011-07-25 19:32:56 +12:00
Matt Woodrow
22504be7f5
Backed out changeset 39fef2383893
2011-07-25 13:18:23 +12:00
Matt Woodrow
c9c57295d3
Bug 670573 - Add glTex(Sub)Image2D wrappers that correctly handle stride and alignment. r=derf
2011-07-25 12:50:00 +12:00
Chris Jones
bd33e7e43e
Back out bug 648484
2011-07-15 11:35:55 -07:00
Chris Jones
fcb0f65051
Bug 648484, part 2: Add various helpers, refactor ContainerLayer::SetSpecificAttributes. r=roc
2011-07-13 22:43:43 -07:00
Matt Woodrow
e64b02f01a
Bug 656185 - Part 2 - Upload the entire image for PlanarYCbCrImageOGL to a texture and clip using texture coordinates. r=derf
2011-07-05 14:52:00 +12:00
Matt Woodrow
f47d6dca8b
Back out bug 656185 due to windows compile failures
2011-06-27 15:21:22 +12:00
Matt Woodrow
6e295129f3
Bug 656185 - Part 2 - Handle odd crop offsets correctly with OpenGl. r=derf
2011-06-27 14:32:16 +12:00
Bas Schouten
bc37e50310
Bug 651858 - Part 3: Add layers API for creating an optimal DrawTarget. r=roc
2011-06-24 19:41:18 +02:00
Robert O'Callahan
8b4e1a91a8
Bug 637852. Part 10: Remove mX/YResolution from ThebesLayer. r=joe
...
These are the last vestiges of Layer-based resolution API.
2011-06-23 00:11:28 +12:00
Oleg Romashin
96777818e6
Bug 660565 - HTML5 HW accelerated video is slow r=roc
...
--HG--
extra : rebase_source : 5a46d17c72caf5ec4afd3f59093be803008c61ec
2011-06-16 12:51:05 +02:00
Robert O'Callahan
ab1023ee7a
Bug 654950. Fix scissor rect calculations for descendants of container layers with intermediate surfaces. r=bas
2011-05-23 12:27:03 +12:00
Florian Hänel
9b0ef26bc8
Bug 628566 - Implement basic tiling of ImageLayerOGL. r=joe
2011-05-19 12:53:02 +02:00
Robert O'Callahan
629c1b7e18
Bug 641426. Part 2: Remove a bunch of direct gfxRect::pos/size usage. r=joe
2011-04-19 15:07:21 +12:00
Oleg Romashin
863e12aca2
Bug 607417 - Part1: position:fixed frames mark layers r=roc
...
--HG--
extra : rebase_source : dbbff8810bafd165a48c34924d98f5c87702ef3f
2011-04-05 23:00:25 -06:00
Matheus Kerschbaum
4eb6429f47
Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg
2011-04-02 19:14:00 -07:00
Matt Woodrow
084cbe71fb
Bug 635383 - Part 2 - Share scissoring code between all accelerated backends. r=joe
2011-02-25 20:44:22 +13:00
Robert O'Callahan
1a14aa0939
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
Chris Jones
ee2d946b9f
Bug 627273, part 4: Basic impl of ImageLayer tiling for basic layers. r=roc,vlad
2011-01-26 00:26:37 -06:00
Chris Jones
c7c39d08c5
Bug 627273, part 1: API for tiling Layers. r=Bas sr=roc
2011-01-26 00:26:37 -06:00
Benjamin Stover
5950a36396
Bug 605618 Part 1: Tag layers with scrollable information r=cjones sr=roc a=blocking-fennec
2011-01-13 09:45:14 -08:00
Chris Jones
5288f48439
Bug 622838: Use the right rect-rounding mode to avoid accidentally resampling resolution-scaled ThebesLayer textures. r=jrmuizel a=b
2011-01-08 00:05:35 -05:00
Oleg Romashin
4d098d2cca
Bug 607653 - avoid temporary fbos/textures on transformed layers, when possible. r=roc a=approval2.0
2010-11-30 08:02:46 +02:00
Robert O'Callahan
c6700e764d
Bug 612840. Part 4: Invert the meaning of CONTENT_NO_TEXT_OVER_TRANSPARENT and rename it. r=vlad
2010-12-20 14:26:14 +13:00
Robert O'Callahan
d8ccf4a713
Bug 612840. Part 1: Remove CONTENT_NO_TEXT flag since it's not really used. Also remove ShouldRetainTransparentSurface and related code; we'll assume that when text is over opaque pixels in an RGBA surface we can always paint it with subpixel AA --- and make it so in later patches. r=vlad
2010-12-20 14:26:13 +13:00
Justin Lebar
9167d8acf3
Backed out changeset a5ec817740f0. a=orange
2010-11-29 09:08:24 -08:00
Oleg Romashin
8a52f4b99f
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
fb8abb6e9d
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
bb4bf02096
Bug 607653 - avoid temporary fbos/textures on transformed layers, when possible. r=roc a=approval2.0
2010-11-24 11:35:21 +02:00
Robert O'Callahan
26f24119f8
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
Chris Jones
309019725a
Fix --disable-libxul bustage from bug 602431 and bug 602428. a=bustage
2010-10-13 18:36:44 -05:00
Chris Jones
db725f8b3b
Bug 602428, part 0: Add NSPR layers logging to OGL backend and log ThebesLayer resolution. r=vlad
2010-10-13 17:55:45 -05:00
Chris Jones
ef69e48c78
Bug 60431, part 1: Add a ShadowLayer base class. r=roc sr=vlad
2010-10-13 17:55:45 -05:00
Oleg Romashin
a0276bc2ac
Bug 576437 - CreateOffscreenSurface should not silently translate ImageFormat24 into ImageFormat16_565. r=joe a=blocking2.0
2010-09-16 14:34:53 -07:00
Chris Jones
3b953ced69
Merge m-c --> cedar
2010-09-08 17:25:30 -05:00
Chris Jones
6480591e23
Bug 590294, part 2: Add a ContainerLayer attribute FrameMetrics that stores relevant information from layout/ on the root layer. r=roc sr=vlad
2010-09-03 15:10:45 -05:00
Matt Woodrow
47a5284310
Bug 589632 - Fix LayerManagerD3D9 debug output r=Bas, a=blocking2.0
2010-09-03 15:50:29 +12:00
Robert O'Callahan
be2d05f9a8
Bug 579276. Part 3: Change Set/IsOpaqueContent API to a more generic Get/SetContentFlags API. r=cjones,sr=vlad
2010-09-02 21:18:40 +12:00
Bas Schouten
2d7db6d80e
Bug 593268 - Part 1: Expose LayerManager::CreateOptimalSurface. r=vlad sr=roc
2010-09-08 05:27:29 +02:00
Robert O'Callahan
1524120859
Bug 579349. Track the 'drawn region' of content in layers, whhich ignores visibility, and use it to determine which layer a display item should be placed in. r=tnikkel
2010-08-02 15:06:58 +12:00
Chris Jones
40a231016e
Bug 573829, part 1: Refactor ThebesLayerBuffer in preparation for its use in the OGL layers backend. r=roc
...
--HG--
rename : gfx/layers/basic/ThebesLayerBuffer.cpp => gfx/layers/ThebesLayerBuffer.cpp
rename : gfx/layers/basic/ThebesLayerBuffer.h => gfx/layers/ThebesLayerBuffer.h
2010-07-21 13:06:33 -05:00
Chris Jones
ad15c41672
Bug 567421, part 2: Implement Dump[Self](FILE*) and Log[Self]() methods for layers. r=roc
2010-07-21 13:06:33 -05:00