Граф коммитов

10608 Коммитов

Автор SHA1 Сообщение Дата
Michael Wu 69aedb71ea Bug 771653 - Use HWComposer instead of swapBuffer where appropriate, r=cjones
Some vendors provide a hw composer module which should be used instead of swapBuffers on hardware surfaces.

Based on romaxa's patch.
2012-08-24 15:42:45 -04:00
Benoit Girard dac4e9e90a Bug 751916 - don't recycle tile if the format has changed. r=joe 2012-08-30 15:35:36 -04:00
Kan-Ru Chen (陳侃如) 6ef13bcd6a Bug 787045 - Call TexParameter on the correct target. r=bgirard 2012-08-30 15:39:01 -03:00
Ryan VanderMeulen 457fb6fd26 Backout 503884273a3a, dc33092d9cd8, 1099c9f0962d, 682a61f34c81, fc26333c7525, e823337a4f78, and cfa7cdede09c (bug 781731) due to OSX bustage on a CLOSED TREE. 2012-08-29 18:28:38 -04:00
Kan-Ru Chen (陳侃如) f344f6c2ac Bug 786747 - Fix the BindTexture order and re-bind textures correctly. r=jgilbert
--HG--
extra : rebase_source : 87c790e359ca64d1b7dcc34920281e9861d16db9
2012-08-29 18:20:30 -03:00
Anthony Jones e7b0e21606 Bug 781731 - Use a similar surface for non-blurred shadows to improve performance. r=joe 2012-08-29 17:00:09 -04:00
Anthony Jones 6b0340f5d8 Bug 781731 - Speed up shadows by using tee surface to avoid doing a read back. r=jrmuizel 2012-08-29 17:00:09 -04:00
Anthony Jones 462d5a04e5 Bug 781731 - Fix shadow surface extents so they aren't double padded. r=joe 2012-08-29 17:00:09 -04:00
Anthony Jones e084e73120 Bug 781731 - Clean up DrawTargetCairo::DrawSurfaceWithShadow() to make it simpler and paint correctly in all modes. r=jrmuizel 2012-08-29 17:00:09 -04:00
Anthony Jones 41ad515c17 Bug 781731 - Fix Azure Cairo GTK perf by removing xlib to buffered image conversion. r=Bas 2012-08-29 17:00:09 -04:00
Chris Jones 039ea59262 Bug 782456, part 0: Add the cross-process ImageBridge glue. r=roc 2012-08-29 09:24:48 -03:00
Chris Lord 7874452a54 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 921068b621 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
Kan-Ru Chen (陳侃如) d3fe984136 Bug 781892 - Clear mImageQueue when setIdle or shuting down. r=cjones 2012-08-29 03:52:35 -03:00
Ryan VanderMeulen b69a930716 Bug 781380 - Follow-up fix for a change that was lost in the original landing. r=ajones 2012-08-28 20:55:20 -04:00
Benoit Jacob 382623d7cc Bug 782786 - BasicCanvasLayer: avoid UpdateSurface of non-dirty canvases - r=BenWa 2012-08-23 14:56:23 -04:00
Nathan Froyd 6b9882f0f0 Bug 786413 - fix -pedantic removal in gfx/qcms; r=BenWa 2012-08-28 15:22:09 -04:00
Nathan Froyd 242777da20 Bug 785422 - remove -pedantic from cairo OS_CFLAGS; r=BenWa 2012-08-24 12:38:40 -04:00
Rafael Ávila de Espíndola 0b6fcd9466 Bug 786148 - s/IPC/ipc/. r=ted.
This makes our builds a bit more reproducible. Without it when processing

#include "IPC/IPCMessageUtils.h

we end up in

#include "ShadowLayers.h"

which in the final XUL translates into the symbol (run nm -a to see it):

 - 00 0000   SOL ../../../../gfx/layers/IPC/ShadowLayers.h

now when some file in gfx/layers/ipc does

#include "ShadowLayres.h"

the file found is the local one with the lowercase directory name and we end up
with

 - 00 0000   SOL ../../../../gfx/layers/ipc/ShadowLayers.h

--HG--
extra : rebase_source : 96c68f6a3448eedaa280039960df911a9c707cac
2012-08-28 08:41:04 -04:00
Ms2ger a77fd1cc47 Backout bug 781731. 2012-08-27 12:27:40 +02:00
Anthony Jones 0ef99da2cc Bug 781731 - Fixed failed assertion in reftest1; r=doublec 2012-08-27 22:01:47 +12:00
Anthony Jones 4a0f48b226 Bug 781731 - Use a similar surface for non-blurred shadows to improve performance; r=roc 2012-08-27 11:34:33 +02:00
Anthony Jones 3e97df84ad Bug 781731 - Speed up shadows by using tee surface to avoid doing a read back; r=roc 2012-08-27 11:34:07 +02:00
Anthony Jones eaaba9b733 Bug 781731 - Fix shadow surface extents so they aren't double padded; r=roc 2012-08-27 11:32:14 +02:00
Anthony Jones fe21dfe47b Bug 781731 - Clean up DrawTargetCairo::DrawSurfaceWithShadow() to make it simpler and paint correctly in all modes; r=jrmuizel 2012-08-27 11:31:56 +02:00
Anthony Jones 7f47812dfb Bug 781731 - Fixed Azure Cairo GTK perf by removing xlib to buffered image conversion; r=Bas 2012-08-27 11:31:33 +02:00
Kan-Ru Chen (陳侃如) e24d16161a Bug 785001 - Add default constructor to PlanarYCbCrImage::Data. r=roc 2012-08-26 20:14:20 -03:00
Matt Woodrow 8333144733 Bug 779940: Meter layers transactions in addition to composites. r=cjones 2012-08-07 14:41:29 +12:00
Kan-Ru Chen (陳侃如) 1d4714c9e2 Bug 767480 - Remove offset field from PlanarYCbCrImage::Data. r=roc 2012-08-26 00:22:51 -03:00
David Zbarsky b20ba33014 Bug 785657 - Enable async animations in content processes r=cjones 2012-08-25 21:27:28 -04:00
Kyle Huey b20f0e8194 No bug: Fix some class/struct mismatch warnings on MSVC.
--HG--
extra : rebase_source : 28a4fa9689a62c497fc537d3cc7b9bae4bda8d58
2012-08-24 11:45:05 -07:00
Anthony Jones 590ba32d85 Bug 781380 - Fix cairo surface memory leak in DrawTargetCairo::DrawSurfaceWithShadow(). r=roc 2012-08-23 19:50:59 -04:00
Anthony Jones f43050747b Bug 781380 - Fix cairo surface memory leak in DrawTargetCairo::CreateSimilarDrawTarget(). r=roc 2012-08-23 19:50:59 -04:00
Matt Brubeck 38cbcc6cc5 Back out 156eaa94f73c (bug 782786) and 05d1a3fba90b (bug 777028) for frequent Linux reftest failures on a CLOSED TREE 2012-08-23 14:47:07 -07:00
Benoit Jacob d0267ee786 Bug 782786 - BasicCanvasLayer: avoid UpdateSurface of non-dirty canvases - r=BenWa 2012-08-23 14:56:23 -04:00
Andrew McCreight 99341ce9d3 Back out Bug 773440 for causing M2 orange on Android on this CLOSED TREE. 2012-08-23 10:01:14 -07:00
James Willcox 5b081fe27f Bug 783754 - Fix Flash on the Galaxy SII r=BenWa 2012-08-23 12:00:23 -04:00
Nicolas Silva 08383d674f Bug 773440 - Remove one video frame copy when using async-video. r=roc 2012-08-23 10:56:36 -04:00
Ed Morley f694e12e0d Merge mozilla-central to mozilla-inbound 2012-08-23 13:06:17 +01:00
Ed Morley a35a77c9d9 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-08-23 11:29:20 +01:00
Chris Jones f760acdc5e Bug 762221: Enable font hinting for "app" processes. r=jfkthame,jlebar 2012-08-23 11:23:43 +01:00
Ed Morley 900bd7cc06 Backout 06f6eede6b77 (bug 762221) for crashes 2012-08-23 10:27:56 +01:00
Chris Jones 9c75d27a17 Bug 762221: Enable font hinting for "app" processes. r=jfkthame,jlebar 2012-08-23 01:22:19 -07:00
George Wright 515e329cd8 Bug 740194 - Add missing .patch file to gfx/skia/patches which was left out of the commit for bug 740194 by accident. r=none 2012-08-22 22:09:53 -04:00
Matt Woodrow 85de30e43c Bug 780260 - Remove PRInt32 types added by the previous changeset. r=ehsan 2012-08-23 14:02:51 +12:00
Ehsan Akhgari 845651448b Bug 579517 - Part 5: Add missing StandardInteger.h #includes where needed; r=bsmedberg
Landing on a CLOSED TREE
2012-08-08 17:08:17 -04:00
Ehsan Akhgari f22f8b7a49 Bug 579517 - Part 4: Manually rewrite some parts of the code base not covered by the automated conversion; r=bsmedberg 2012-08-22 11:59:54 -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
Jeff Gilbert f928964d5a Bug 766366 - Add GLContext::BlitTextureToTexture - r=bjacob 2012-08-21 20:30:20 -07:00
Jeff Gilbert 6030890a7f Bug 738833 - Add webgl force-readback pref - r=bjacob 2012-08-21 20:29:06 -07:00
Jeff Gilbert ae272e1e5c Bug 782785 - Use temp surfaces to ReadPixels with correct stride - r=bjacob 2012-08-21 16:13:26 -07:00
Kan-Ru Chen (陳侃如) 967b36e8ae Bug 767480 - Gralloc backed video buffer. r=roc 2012-08-21 18:22:58 +08:00
Kan-Ru Chen (陳侃如) a55761dc81 Bug 767480 - PlanarYCbCrImage Refactoring. r=roc 2012-08-21 18:18:20 +08:00
Kan-Ru Chen (陳侃如) 1460a419c4 Back out c8f7bace9cf9, 17ec4e01c126 (bug 767480) r=bustage 2012-08-21 17:55:02 +08:00
Kan-Ru Chen (陳侃如) 4a4557a29e Bug 767480 - Gralloc backed video buffer. r=roc 2012-08-21 14:59:42 +08:00
Kan-Ru Chen (陳侃如) b992322a3a Bug 767480 - PlanarYCbCrImage refactoring. r=roc 2012-08-21 17:31:36 +08: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
Jeff Gilbert 88506f3b6e Bug 783663 - Add ReadScreenIntoImageSurface for reading pixels from the screen - r=bgirard 2012-08-20 17:13:32 -07:00
Gregory Szorc 91c0c766a9 Bug 776077 - Silence hundreds of conversion errors in cairo; r=jmuizelaar
Cairo is a 3rd party project and we decided in bug that silencing the
warnings was easier than patching.

--HG--
extra : rebase_source : aa7a22b208e62d0d84d1b4a6e5c58d366d957bb9
2012-08-20 14:04:42 -07: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
Karl Tomlinson 59b8a7bfb1 b=780059 remove use of glXGetVisualFromFBConfig and glXCreateContext r=mattwoodrow
--HG--
extra : rebase_source : 1d0293d8869a477eb00fe006b72b8bc76e932711
2012-08-20 16:21:59 +12:00
Karl Tomlinson 568a29495d b=780059 combine two variables both indicating an alpha channel r=mattwoodrow
--HG--
extra : rebase_source : be734411d2a108e4db3f4b6be1bf97b3097d631f
2012-08-20 16:21:37 +12:00
Karl Tomlinson 3a8ca1fb6c b=780059 accept fbconfigs with alpha bits for opaque Pixmaps if visual matches r=mattwoodrow
--HG--
extra : rebase_source : 50072bf87e489781af734d3863fa1d134f7c9136
2012-08-20 16:21:07 +12:00
Karl Tomlinson 927f25cc6b b=780059 tidy up API for FindVisualAndDepth r=mattwoodrow
--HG--
extra : rebase_source : c6022bd51aad41b7439531e7c3db1725aabda5e7
2012-08-20 16:20:37 +12:00
Matt Woodrow 7cf26992d4 Bug 782372 - Fix clang build. r=nical 2012-08-20 14:39:10 +12:00
David Zbarsky 38147cc954 Bug 783841 - Fix build warnings in layers r=cjones 2012-08-19 20:07:31 -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
Ryan VanderMeulen 5867af3068 Merge the last PGO-green inbound changeset to m-c. 2012-08-18 19:10:45 -04:00
Jacek Caban 00b438ec82 Bug 782908 - Updated harfbuzz to current version r=jfkthame 2012-08-18 10:16:43 +02:00
Chris Jones 7838eccce3 Bug 782411: Work around having multiple compositors when -jsconsole is used. r=ajuma 2012-08-16 13:23:24 -07:00
Karl Tomlinson ed6091b3ca b=709477 use precise region extents instead of loose clip extents for clip rect r=jrmuizel 2012-08-18 08:43:21 +12:00
Karl Tomlinson 5ed4f4071b add back 468496-1.html, accidentally disabled in 95977d7f113d (b=709477) 2012-08-18 08:55:14 +12:00
Ed Morley 722cba6fae Merge mozilla-central to mozilla-inbound 2012-08-17 16:16:08 +01:00
Ed Morley 5a5cea0e9e Bug 685516 - Mark more tests as random; rs=khuey 2012-08-17 14:31:30 +01:00
Kan-Ru Chen 4e3b4c5d63 Bug 757341 - Camera direct texturing with async video. r=cjones 2012-08-17 18:56:55 +08:00
Kan-Ru Chen 52ad59f7e3 Bug 757341 - Move GonkIOSurfaceImage to its own header. r=roc 2012-08-17 18:56:49 +08:00
Karl Tomlinson 10083eff12 b=782185 use extend_pad when compositing image layers even for Quartz and X11 r=roc
--HG--
extra : transplant_source : %F7%24N%7E%E0y%C4%2C%D4%9B%DB%83B_Ai6%A1%7E%91
2012-08-14 23:47:49 +12:00
Karl Tomlinson fc12fcc075 b=782185 provide a gfxXlibSurface method to indicate when cairo's extend_pad will be slow r=joe
--HG--
extra : transplant_source : M%D2%05%3A%C1%18W%BD.%BA8%18%BD%F9%F9%AEu%EEX%CE
2012-08-14 23:47:49 +12:00
Karl Tomlinson 6f9f5ac524 test for bug 709477
--HG--
extra : transplant_source : %B7hB%BDV9%24%C6%8Cc%FA%DF%97%5D-2a%14%93%3C
2012-08-14 23:47:05 +12:00
Matt Woodrow 8fc24c5bdf Bug 778036 - Only mark Layers as Mutated if the property values are different. r=roc 2012-08-07 15:00:41 +12:00
Matt Woodrow 95deb3d01d Bug 778036 - Retain RefLayers instead of creating them every frame. r=roc 2012-08-07 15:00:41 +12:00
Oleg Romashin d3ca4efc0f Bug 778385 - We perform 32bpp slow video decoding on arm instead of 16bpp neon. r=joe
--HG--
extra : rebase_source : f045ae84ebb3ff07a7e59043065f396d5bd43dc0
2012-08-09 22:46:47 -04:00
Mats Palmgren 31a3faf00c Bug 783041 - Minor cleanup: remove local 'shadowIntRect' and use 'mRect' instead since it has the same value, and use Intersect instead of IntersectRect since we're not using its return value. part 2, r=roc 2012-08-16 16:13:29 +02:00
Mats Palmgren 25d5704336 Bug 783041 - Check IsEmpty() after rounding. part 1, r=roc 2012-08-16 16:13:29 +02:00
George Wright 2c43844d19 Bug 740194 - [Skia] Implement a version of SkMemory for Mozilla that uses the infallible mozalloc allocators r=cjones 2012-08-15 23:51:34 -04:00
Joe Drew 022bcccbfb 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
Joe Drew f034089eec Bug 782416 - Switch from NULL to nullptr in gfx::2d. r=Bas
--HG--
extra : rebase_source : cfa9fc8ae592880e22e1f14cee42539b4f911668
2012-08-14 14:06:12 -04:00
Joe Drew db420cfa05 Bug 782416 - Make gfx::2d's nullptr definition actually work. r=nrc
--HG--
extra : rebase_source : da098e5e6d04aa1dce2ffefd4ccd0ad6ffb376b8
2012-08-15 15:24:44 -04:00
George Wright 3966995e74 Backed out changeset c2475674e105 2012-08-15 17:26:45 -04:00
George Wright 638da0ba63 Bug 740194 - [Skia] Implement a version of SkMemory for Mozilla that uses the infallible mozalloc allocators r=cjones
--HG--
extra : rebase_source : 6dc39ae06b4cb38cd8e85e41c01077f815b8f8c8
2012-08-15 16:59:07 -04:00
Justin Lebar 0fabd086e1 Bug 782971 - Fix crash resulting from not initializing an argument in ShadowThebesLayerOGL::Swap(). r=cjones 2012-08-15 14:36:44 -04:00
Joe Drew 0a6f454a9d Back out 98d2c24ce932 for failing to build r=moron 2012-08-15 12:51:33 -04:00
Joe Drew bd561fcfea Bug 782416 - Switch from NULL to nullptr in gfx::2d. r=Bas
--HG--
extra : rebase_source : 9b12a2af4c55f4dc383e8075b400e7a1fbe1ac23
2012-08-14 14:06:12 -04:00
Matt Woodrow c8b229743e Bug 782808 - Apply the widget rotation to the gonk LayerManager at all times instead of only during the paint event. r=cjones 2012-08-15 13:10:40 +12:00
Ehsan Akhgari a09e69cee0 Merge removal of nsnull 2012-08-14 11:29:00 -04:00
Aryeh Gregor a88ffe5c80 Bug 626472 part 3 - Remove nsnull for good; r=ehsan 2012-08-12 13:43:47 +03:00
Doug Sherk 22ae74ed70 Bug 781734: Implement pinch threshold; fingers need to move a bit before page zooms r=gal 2012-08-13 21:08:38 -07:00