Commit Graph

5514 Commits

Author SHA1 Message Date
Michael Wu
d881e202dd 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
b7190a0b4e Bug 751916 - don't recycle tile if the format has changed. r=joe 2012-08-30 15:35:36 -04:00
Kan-Ru Chen (陳侃如)
d0a7bf7930 Bug 787045 - Call TexParameter on the correct target. r=bgirard 2012-08-30 15:39:01 -03:00
Ryan VanderMeulen
8b5d030dc6 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 (陳侃如)
bcce00446b 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
1014ff4ed2 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
02100640f2 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
4114949a8b Bug 781731 - Fix shadow surface extents so they aren't double padded. r=joe 2012-08-29 17:00:09 -04:00
Anthony Jones
81e2cefb70 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
40f8fa4b7b 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
2ea4017e3d Bug 782456, part 0: Add the cross-process ImageBridge glue. r=roc 2012-08-29 09:24:48 -03:00
Chris Lord
bb517120d3 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
3b9cbefec7 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 (陳侃如)
ed13eb8ba9 Bug 781892 - Clear mImageQueue when setIdle or shuting down. r=cjones 2012-08-29 03:52:35 -03:00
Ryan VanderMeulen
dea06b0a28 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
5ba53e4d95 Bug 782786 - BasicCanvasLayer: avoid UpdateSurface of non-dirty canvases - r=BenWa 2012-08-23 14:56:23 -04:00
Nathan Froyd
5221a31954 Bug 786413 - fix -pedantic removal in gfx/qcms; r=BenWa 2012-08-28 15:22:09 -04:00
Nathan Froyd
308f8bfb0c Bug 785422 - remove -pedantic from cairo OS_CFLAGS; r=BenWa 2012-08-24 12:38:40 -04:00
Rafael Ávila de Espíndola
fa9b9c167a 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
6a8ff69ba1 Backout bug 781731. 2012-08-27 12:27:40 +02:00
Anthony Jones
bf498a4c08 Bug 781731 - Fixed failed assertion in reftest1; r=doublec 2012-08-27 22:01:47 +12:00
Anthony Jones
845006b170 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
c67126fb9b 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
efc3961ad0 Bug 781731 - Fix shadow surface extents so they aren't double padded; r=roc 2012-08-27 11:32:14 +02:00
Anthony Jones
80a0320902 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
50f99e06da 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 (陳侃如)
ba13045df3 Bug 785001 - Add default constructor to PlanarYCbCrImage::Data. r=roc 2012-08-26 20:14:20 -03:00
Matt Woodrow
3bdc8af23e Bug 779940: Meter layers transactions in addition to composites. r=cjones 2012-08-07 14:41:29 +12:00
Kan-Ru Chen (陳侃如)
c540b78e4c Bug 767480 - Remove offset field from PlanarYCbCrImage::Data. r=roc 2012-08-26 00:22:51 -03:00
David Zbarsky
4a0bd0bac6 Bug 785657 - Enable async animations in content processes r=cjones 2012-08-25 21:27:28 -04:00
Kyle Huey
577135598f 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
4cccdbef88 Bug 781380 - Fix cairo surface memory leak in DrawTargetCairo::DrawSurfaceWithShadow(). r=roc 2012-08-23 19:50:59 -04:00
Anthony Jones
2fce71e823 Bug 781380 - Fix cairo surface memory leak in DrawTargetCairo::CreateSimilarDrawTarget(). r=roc 2012-08-23 19:50:59 -04:00
Matt Brubeck
125d6375fe 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
81cec1c6c4 Bug 782786 - BasicCanvasLayer: avoid UpdateSurface of non-dirty canvases - r=BenWa 2012-08-23 14:56:23 -04:00
Andrew McCreight
7daaad9c15 Back out Bug 773440 for causing M2 orange on Android on this CLOSED TREE. 2012-08-23 10:01:14 -07:00
James Willcox
257d2b2878 Bug 783754 - Fix Flash on the Galaxy SII r=BenWa 2012-08-23 12:00:23 -04:00
Nicolas Silva
4de96eceff Bug 773440 - Remove one video frame copy when using async-video. r=roc 2012-08-23 10:56:36 -04:00
Ed Morley
d360ebb2bd Merge mozilla-central to mozilla-inbound 2012-08-23 13:06:17 +01:00
Ed Morley
a9b1f4197e Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-08-23 11:29:20 +01:00
Chris Jones
93b1805471 Bug 762221: Enable font hinting for "app" processes. r=jfkthame,jlebar 2012-08-23 11:23:43 +01:00
Ed Morley
87eb600689 Backout 06f6eede6b77 (bug 762221) for crashes 2012-08-23 10:27:56 +01:00
Chris Jones
c9e6d0cefc Bug 762221: Enable font hinting for "app" processes. r=jfkthame,jlebar 2012-08-23 01:22:19 -07:00
George Wright
81da3ecf62 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
89b1606202 Bug 780260 - Remove PRInt32 types added by the previous changeset. r=ehsan 2012-08-23 14:02:51 +12:00
Ehsan Akhgari
2962d2eed1 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
217645f36e 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
8c296bbcd4 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
cb06cece67 Bug 766366 - Add GLContext::BlitTextureToTexture - r=bjacob 2012-08-21 20:30:20 -07:00
Jeff Gilbert
8f5f4144ad Bug 738833 - Add webgl force-readback pref - r=bjacob 2012-08-21 20:29:06 -07:00