Commit Graph

11481 Commits

Author SHA1 Message Date
Boris Chiou
b5f5af0f68 Bug 959118 - Dump layer tree with layer scope on the viewer. r=dglastonbury
We also want to dump layer tree on the viewer, so we
can check the layer tree and layerscope together
in the viewer. This can help us resolve more gfx bugs.

In this patch, I only add a part of the layer data to
the protocol buffer packet, and you can check the
.proto file for more information if you want to add
more layer data.

By the way, as Jeff's suggestion, use auto & MakeUnique<>()
to make the UniquePtr initialization more concise.
2014-07-27 22:32:00 +02:00
Karl Tomlinson
220325656a b=1043772 assert ScopedXErrorHandler is used only on main thread r=nical
--HG--
extra : rebase_source : 737a78cabe0cb9a44786cd562cc1e34bafd7a2a0
2014-07-24 17:51:26 +12:00
Birunthan Mohanathas
99d3a81869 Bug 946065 - Part 6: Move content/xml/ to dom/ and flatten subdirectories. r=jst
--HG--
rename : content/xml/content/src/CDATASection.cpp => dom/xml/CDATASection.cpp
rename : content/xml/content/src/CDATASection.h => dom/xml/CDATASection.h
rename : content/xml/content/src/ProcessingInstruction.cpp => dom/xml/ProcessingInstruction.cpp
rename : content/xml/content/src/ProcessingInstruction.h => dom/xml/ProcessingInstruction.h
rename : content/xml/document/src/XMLDocument.cpp => dom/xml/XMLDocument.cpp
rename : content/xml/document/src/XMLDocument.h => dom/xml/XMLDocument.h
rename : content/xml/content/src/XMLStylesheetProcessingInstruction.cpp => dom/xml/XMLStylesheetProcessingInstruction.cpp
rename : content/xml/content/src/XMLStylesheetProcessingInstruction.h => dom/xml/XMLStylesheetProcessingInstruction.h
rename : content/xml/document/crashtests/136896-1.xml => dom/xml/crashtests/136896-1.xml
rename : content/xml/document/crashtests/185285-1.xml => dom/xml/crashtests/185285-1.xml
rename : content/xml/document/crashtests/382636-1.xml => dom/xml/crashtests/382636-1.xml
rename : content/xml/document/crashtests/382636-2.svg => dom/xml/crashtests/382636-2.svg
rename : content/xml/document/crashtests/382636-3.xhtml => dom/xml/crashtests/382636-3.xhtml
rename : content/xml/document/crashtests/382636-4.xul => dom/xml/crashtests/382636-4.xul
rename : content/xml/content/crashtest/420429.xul => dom/xml/crashtests/420429.xul
rename : content/xml/document/crashtests/431703-1.xhtml => dom/xml/crashtests/431703-1.xhtml
rename : content/xml/content/crashtest/453278-frame.xml => dom/xml/crashtests/453278-frame.xml
rename : content/xml/content/crashtest/453278.html => dom/xml/crashtests/453278.html
rename : content/xml/content/crashtest/803586.xhtml => dom/xml/crashtests/803586.xhtml
rename : content/xml/document/crashtests/994740-1.xhtml => dom/xml/crashtests/994740-1.xhtml
rename : content/xml/document/crashtests/crashtests.list => dom/xml/crashtests/crashtests.list
rename : content/xml/document/crashtests/tree.gif => dom/xml/crashtests/tree.gif
rename : content/xml/content/src/htmlmathml-f.ent => dom/xml/htmlmathml-f.ent
rename : content/xml/content/src/moz.build => dom/xml/moz.build
rename : content/xml/document/public/nsIXMLContentSink.h => dom/xml/nsIXMLContentSink.h
rename : content/xml/document/src/nsXMLContentSink.cpp => dom/xml/nsXMLContentSink.cpp
rename : content/xml/document/src/nsXMLContentSink.h => dom/xml/nsXMLContentSink.h
rename : content/xml/content/src/nsXMLElement.cpp => dom/xml/nsXMLElement.cpp
rename : content/xml/content/src/nsXMLElement.h => dom/xml/nsXMLElement.h
rename : content/xml/document/src/nsXMLFragmentContentSink.cpp => dom/xml/nsXMLFragmentContentSink.cpp
rename : content/xml/document/src/nsXMLPrettyPrinter.cpp => dom/xml/nsXMLPrettyPrinter.cpp
rename : content/xml/document/src/nsXMLPrettyPrinter.h => dom/xml/nsXMLPrettyPrinter.h
rename : content/xml/document/resources/XMLMonoPrint.css => dom/xml/resources/XMLMonoPrint.css
rename : content/xml/document/resources/XMLPrettyPrint.css => dom/xml/resources/XMLPrettyPrint.css
rename : content/xml/document/resources/XMLPrettyPrint.xml => dom/xml/resources/XMLPrettyPrint.xml
rename : content/xml/document/resources/XMLPrettyPrint.xsl => dom/xml/resources/XMLPrettyPrint.xsl
rename : content/xml/document/resources/jar.mn => dom/xml/resources/jar.mn
rename : content/xml/document/resources/moz.build => dom/xml/resources/moz.build
rename : content/xml/document/test/file_bug293347.xml => dom/xml/test/file_bug293347.xml
rename : content/xml/document/test/file_bug293347xslt.xml => dom/xml/test/file_bug293347xslt.xml
rename : content/xml/document/test/mochitest.ini => dom/xml/test/mochitest.ini
rename : content/xml/document/test/moz.build => dom/xml/test/moz.build
rename : content/xml/tests/books/bethlehem.gif => dom/xml/test/old/books/bethlehem.gif
rename : content/xml/tests/books/bill.gif => dom/xml/test/old/books/bill.gif
rename : content/xml/tests/books/books.js => dom/xml/test/old/books/books.js
rename : content/xml/tests/books/books.xml => dom/xml/test/old/books/books.xml
rename : content/xml/tests/books/charing.gif => dom/xml/test/old/books/charing.gif
rename : content/xml/tests/books/classic.css => dom/xml/test/old/books/classic.css
rename : content/xml/tests/books/common.css => dom/xml/test/old/books/common.css
rename : content/xml/tests/books/kerouac.gif => dom/xml/test/old/books/kerouac.gif
rename : content/xml/tests/books/list.css => dom/xml/test/old/books/list.css
rename : content/xml/tests/books/road.gif => dom/xml/test/old/books/road.gif
rename : content/xml/tests/books/welville.gif => dom/xml/test/old/books/welville.gif
rename : content/xml/tests/docbook.css => dom/xml/test/old/docbook.css
rename : content/xml/tests/docbooktest.xml => dom/xml/test/old/docbooktest.xml
rename : content/xml/tests/flamer.gif => dom/xml/test/old/flamer.gif
rename : content/xml/tests/load/display.css => dom/xml/test/old/load/display.css
rename : content/xml/tests/load/display.xml => dom/xml/test/old/load/display.xml
rename : content/xml/tests/load/load.html => dom/xml/test/old/load/load.html
rename : content/xml/tests/load/loadauth.html => dom/xml/test/old/load/loadauth.html
rename : content/xml/tests/load/loaddisplay.html => dom/xml/test/old/load/loaddisplay.html
rename : content/xml/tests/load/test.xml => dom/xml/test/old/load/test.xml
rename : content/xml/tests/script.xml => dom/xml/test/old/script.xml
rename : content/xml/tests/simple.xml => dom/xml/test/old/simple.xml
rename : content/xml/tests/toc/book.css => dom/xml/test/old/toc/book.css
rename : content/xml/tests/toc/irslogo.gif => dom/xml/test/old/toc/irslogo.gif
rename : content/xml/tests/toc/minus.gif => dom/xml/test/old/toc/minus.gif
rename : content/xml/tests/toc/plus.gif => dom/xml/test/old/toc/plus.gif
rename : content/xml/tests/toc/rights.xml => dom/xml/test/old/toc/rights.xml
rename : content/xml/tests/toc/toc.css => dom/xml/test/old/toc/toc.css
rename : content/xml/tests/toc/toc.js => dom/xml/test/old/toc/toc.js
rename : content/xml/tests/xlink/auto.xml => dom/xml/test/old/xlink/auto.xml
rename : content/xml/tests/xlink/link.css => dom/xml/test/old/xlink/link.css
rename : content/xml/tests/xlink/manual.xml => dom/xml/test/old/xlink/manual.xml
rename : content/xml/tests/xmlbase/xmlbase.css => dom/xml/test/old/xmlbase/xmlbase.css
rename : content/xml/tests/xmlbase/xmlbase.xml => dom/xml/test/old/xmlbase/xmlbase.xml
rename : content/xml/document/test/test_bug232004.xhtml => dom/xml/test/test_bug232004.xhtml
rename : content/xml/document/test/test_bug293347.html => dom/xml/test/test_bug293347.html
rename : content/xml/document/test/test_bug343870.xhtml => dom/xml/test/test_bug343870.xhtml
rename : content/xml/document/test/test_bug355213.xhtml => dom/xml/test/test_bug355213.xhtml
rename : content/xml/document/test/test_bug392338.html => dom/xml/test/test_bug392338.html
rename : content/xml/document/test/test_bug399502.xhtml => dom/xml/test/test_bug399502.xhtml
rename : content/xml/document/test/test_bug445330.html => dom/xml/test/test_bug445330.html
rename : content/xml/document/test/test_bug691215.html => dom/xml/test/test_bug691215.html
rename : content/xml/document/test/test_viewport.xhtml => dom/xml/test/test_viewport.xhtml
2014-07-25 14:15:35 -07:00
Milan Sreckovic
bcab2ebb06 Bug 1043603: Expose tile pool size and pool shrink timeout as prefs. r=clord 2014-07-25 15:49:47 -04:00
Kartikaya Gupta
9a1d57457c Bug 973096 - When computing the hit test area for an APZC, remove the visible regions of layers obscuring it. r=botond 2014-07-25 08:27:43 -04:00
Ed Morley
b32ab04a66 Backed out changeset a0a40196da87 (bug 973096) for non-unified build failures 2014-07-25 16:27:21 +01:00
Benoit Jacob
b264c11949 Bug 978966 - Disable framebuffer_multisample on Microsoft Basic Render Driver because it assumes blending with default blendfunc, breaking WebGL - r=kamidphish 2014-07-25 10:35:03 -04:00
Kartikaya Gupta
dc5d632f2e Bug 973096 - When computing the hit test area for an APZC, remove the visible regions of layers obscuring it. r=botond 2014-07-25 08:27:43 -04:00
Nicolas Silva
b51f3ef41e Bug 1042052 - Add TextureClient::CreateSimilar and have component alpha buffer be of the same type. r=sotaro 2014-07-25 11:24:46 +02:00
Jonathan Kew
c6d7f2ca13 bug 1037340 pt 2 - hoist the setup of some unvarying parameters from gfxFont::Draw up to gfxTextRun::Draw. r=jdaggett 2014-07-25 09:38:55 +01:00
Jonathan Kew
d9e3287c1a bug 1037340 pt 1 - refactor gfxFont::Draw for better maintainability. r=jdaggett 2014-07-25 09:38:44 +01:00
Milan Sreckovic
2beaa887c0 Bug 1042259 - Manage color spaces in DrawTargetCG, without re-creating them as often as before. Use std::vector for gradient stops, sorting them in the process. r=mstange 2014-07-23 12:12:59 -04:00
Jon Morton
60c8a1ad3a Bug 1042379 - Ensure ImageBridgeChild's destructor runs on the main thread. r=nical 2014-07-24 14:12:00 +02:00
Gautam Akiwate
0d98970e0e Bug 1021614 - [Moz2Dification] Remove the constructors that use thebes sizes in GLTextureImage.h. r=nical 2014-07-23 21:13:00 +02:00
Botond Ballo
d0cff9196f Bug 1041751 - Fix an order-of-arguments mistake. r=tn 2014-07-24 19:11:00 -04:00
Wes Kocher
6a391e14be Merge m-c to inbound a=merge 2014-07-24 17:55:50 -07:00
Kartikaya Gupta
1ebf675a21 Bug 1043663 - Remove incorrect assertion. r=botond 2014-07-24 18:47:02 -04:00
Kartikaya Gupta
83ce91661a Bug 1042734 - Don't mis-handle events that are coming in with the same timestamp. r=botond 2014-07-24 16:58:54 -04:00
Max Vujovic
3a832415cc Bug 948265 - Support SourceAlpha keyword in SVG filter chains. r=mstange 2014-07-15 11:37:00 +02:00
Matt Woodrow
01c303051f Bug 1037226 - Don't crash when surface allocation fails in BasicCompositor. r=Bas
--HG--
extra : rebase_source : d6e655c642256ddeddb471726f40f37b98d3ac0f
2014-07-24 15:48:28 +12:00
Wes Kocher
d66b294fe5 Merge m-c to inbound 2014-07-23 18:55:48 -07:00
Kartikaya Gupta
c9a831adff Bug 1039159 - Clear the velocity queue on touch-cancel. r=botond 2014-07-23 17:08:55 -04:00
Kartikaya Gupta
13c8c3fd59 Bug 1039159 - Assert mVelocityQueue can only be touched on the controller thread. r=botond 2014-07-23 17:08:55 -04:00
Kartikaya Gupta
5c23b2611e Bug 1039159 - Ensure we don't touch the velocity queue from the compositor thread. Thanks to :jerry for finding this. r=botond 2014-07-23 17:08:54 -04:00
Wes Kocher
e16451df4a Backed out changeset 5d2176af4ed1 (bug 1042771) for frequent b2g r18 failures 2014-07-24 12:45:34 -07:00
Alexandre Poirot
f5412abfea Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files; fix previous bustage on a CLOSED TREE, r=ahal 2014-07-02 15:40:56 -07:00
Nicolas Silva
fbb11fbc67 Bug 1015718 - Don't crash creating a TextureHost if there is no device or if deserialization failed. fixing test failure on a CLOSED TREE 2014-07-23 20:17:15 +02:00
Botond Ballo
7f8427e44d Bug 1035598 - Apply async scale correctly to ContainerLayers whose content does not start at the origin. r=kats,mattwoodrow 2014-07-22 18:10:54 -04:00
Botond Ballo
fa75a0d598 Bug 1035598 - Add a ChangeBasis() method to Matrix4x4. r=mattwoodrow 2014-07-22 18:10:25 -04:00
Botond Ballo
76d325bbe8 Bug 1035598 - Add a PostTranslate() method to Matrix4x4. r=mattwoodrow 2014-07-22 18:09:53 -04:00
Botond Ballo
e8f8e0c180 Bug 1035598 - Add gfx3DMatrix::ChangeBasis(), replacing nsLayoutUtils::ChangeMatrixBasis(). r=mattwoodrow 2014-07-22 18:05:13 -04:00
Michael Wu
9c56ff3a5c Bug 1026776 - Use surface pixel format to select an EGLConfig on gonk, r=jgilbert 2014-06-17 17:19:11 -04:00
Benoit Girard
c725f3de8b Bug 1036654 - Report the tile fragmentation overhead. r=njn,kats,cwiiis 2014-07-24 13:34:43 -04:00
Botond Ballo
71effb4a93 Bug 1041751 - Do not create an empty APZ test data bucket for each paint when APZ test logging is not pref'd on. r=kats 2014-07-23 18:38:28 -04:00
Ed Morley
7228c31b0d Backed out changeset 3f9060993657 (bug 1042327) 2014-07-24 16:11:19 +01:00
Sotaro Ikeda
fdff6357f7 Bug 1042946 - Discard back buffer on error in ClientTiledLayerBuffer::ValidateTile() r=nical 2014-07-24 06:40:17 -07:00
Sotaro Ikeda
0cd5dd1ca4 Bug 1042771 - Fix TextureClientPool::ReturnDeferredClients() r=nical 2014-07-24 06:16:47 -07:00
Robert O'Callahan
a11b80876c Bug 1042327. Use a more narrow workaround for pixman bug. r=jrmuizel
--HG--
extra : rebase_source : 4631ea06598c681a5729e225d4e2f495fbb2622b
2014-07-24 00:02:04 +12:00
Botond Ballo
76bb94c45c Bug 1007728 - Avoid calling APZCTreeManager::UpdatePanZoomControllerTree() on repeat transactions. r=kats,BenWa
--HG--
extra : rebase_source : 470498aae39f2f297cd181372413b197e5c71821
2014-05-30 18:52:43 -04:00
Nicolas Silva
549b974e67 Bug 1015718 - Keep the client-side D3D11 texture alive longer so that its destruction does not race with its deserialization. r=bas 2014-07-22 17:49:05 +02:00
Matt Woodrow
9ebf456fef Bug 1015718 - Deserialize the DXGI handle when constructing the TextureHost rather than when locking it. r=nical 2014-07-16 18:05:58 +12:00
Jonathan Kew
e326fddbb9 bug 1037442 - Part 2: Fix the family name of Gill Sans faces when merging into Gill Sans MT under DWrite. r=jdaggett 2014-07-22 11:41:31 +01:00
Cameron McCormack
a628b6343c Bug 1037442 - Part 1: gfxFontFamily assertions on font entry family names should be case insensitive. r=jdaggett 2014-07-23 16:09:56 +10:00
Cameron McCormack
301ffbc85a Bug 1031206 - Part 1: Split out creation and addition of font faces in gfxUserFontSet. r=jdaggett 2014-07-23 15:05:50 +10:00
Mike Hommey
5659a611dd Bug 1036894 part 8 - Move most in-tree library linkage information to moz.build, as USE_LIBS. r=gps 2014-07-23 13:30:52 +09:00
Frederic Plourde
ef0adc5cf8 b=1015218 Buffer image content layers on server-side xlib surfaces with OMTC basic r=karlt
With image offscreen surfaces enabled for content layers on GTK3, our Basic
compositor needs a way to deal with image layers buffering and compositing in
a performant way.  This patch subclasses BasicCompositor into a new
X11BasicCompositor and makes use of a new TextureSource
(X11DataTextureSourceBasic) in order to buffer TextureHost's data into
gfxXlibSurface on compositor side so that we can use XRender when available to
composite layer contents directly to the Window.

When this buffering will occur, switch to ContentClientSingleBuffered.

--HG--
extra : rebase_source : adad6b1c05dcf516a1ea84c6a529df5f141c198f
2014-07-23 11:02:25 +12:00
Frederic Plourde
74576e238e b=1015218 add pref to remove Xlib offscreen surfaces on GTK3 platform r=karlt
This patch adds a new pref called "layers.use-image-offscreen-surfaces"
that makes GTK3 platform create gfxImageSurfaces for content layers
instead of gfxXlibSurfaces.

--HG--
extra : rebase_source : b803a453bafc70226f3d4c65684618f154147fdb
2014-07-23 11:04:47 +12:00
Vladimir Vukicevic
c193ce4909 b=1037667; Update generated ANGLE moz.build files to fix DX SDK build issues; r=jrmuizel 2014-07-22 21:38:23 -04:00
Jonathan Griffin
d8167428d6 Backed out changeset 64586374a208 on a CLOSED TREE 2014-07-22 18:29:57 -07:00
Alexandre Poirot
32f4c0930e Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files; fix previous bustage on a CLOSED TREE, r=ahal 2014-07-02 15:40:56 -07:00