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

19 Коммитов

Автор SHA1 Сообщение Дата
Birunthan Mohanathas a8939590de Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Nathan Froyd 974d8120f2 Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan
This conversion was done with the script:

  find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl' | \
    egrep -v 'cairo-win32-refptr.h|RefPtr.h|TestRefPtr.cpp' | \
    xargs sed -i -e 's/mozilla::TemporaryRef</already_AddRefed</g' \
                 -e 's/TemporaryRef</already_AddRefed</g'

Manual fixups were performed in the following instances:

- We handled mfbt/RefPtr.h manually so as to not convert TemporaryRef itself
  into already_AddRefed.

- The following files had explicit Move() calls added to make up for the lack
  of a copy constructor on already_AddRefed:

  dom/base/ImageEncoder.cpp
  dom/media/MediaTaskQueue.{h,cpp}
  dom/media/webaudio/PannerNode.cpp

- A redundant overload for MediaTaskQueue::Dispatch was deleted.

- A few manual fixups were required in mfbt/tests/TestRefPtr.cpp.

- Comments, using declarations, and forward declarations relating to
  TemporaryRef in dom/canvas/ and gfx/layers/ were changed to refer to
  already_AddRefed.
2015-06-17 10:00:52 -04:00
Nicolas Silva 5ea6c11e06 Bug 1146912 - Finish replacing TextureHost::GetTextureSource by BindTextureSource. r=sotaro 2015-03-27 11:16:34 +01:00
Ehsan Akhgari 883849ee32 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -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 MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Jeff Muizelaar 3402e21567 Bug 1125709. Avoiding using MacIOSurfaceTextureSourceOGL in MacIOSurfaceTextureHostOGL. r=nical
Using GLTextureSource gives us better performance because we don't need to call
CGLTexImageIOSurface2D everytime we draw.

This will eventually let us drop MacIOSurfaceTextureSourceOGL once WebGL on OS
X is using MacIOSurfaceTextureHostOGL.

--HG--
extra : rebase_source : 95a9b0888d7ddfeae520141e7f932f8555fa58d5
2015-01-19 21:23:42 -05:00
Ehsan Akhgari b447c92ece Bug 1117263 - Mark virtual overridden functions as MOZ_OVERRIDE in graphics layers code; r=roc 2015-01-03 12:21:23 -05:00
Sotaro Ikeda 11b001307a Bug 1082986 - Use RefPtr to hold Compositor r=nical 2014-10-16 06:48:29 -07:00
Nicolas Silva f26be8e3fa Bug 1077307 - Merge NewTextureSource and TextureSource. r=sotaro 2014-10-07 15:58:59 +02:00
Jeff Gilbert 301271b198 Bug 1037147 - Remove SharedTextureHandle and friends r=mattwoodrow,snorp
--HG--
extra : rebase_source : 13101216d6e5eccfb0a19c14b783b3878644b665
2014-09-17 08:13:29 -05:00
James Willcox 688cd17359 Back out a84f9edfe968 for bustage 2014-09-12 14:01:26 -05:00
Jeff Gilbert a2cd642ccd Bug 1037147 - Replace SharedTextureHandle with a TextureClient variant r=mattwoodrow,snorp 2014-09-12 13:39:20 -05:00
Matt Woodrow 2f0784d0c0 Bug 971914 - Make TextureSourceOGL responsible for tracking filter state. r=nical 2014-03-13 13:37:17 +13:00
Daniel Holbert 8ecfc7aeb8 Bug 957499: Fix SetCompositor() signature in subclasses of NewTextureSource, to actually override the parent's impl (and to fix -Woverloaded-virtual build warnings). r=nical 2014-01-08 11:25:52 -08:00
Dan Glastonbury 01884a573b Bug 942506 - Remove ApplyFilterToBoundTexture from GLContext - r=bjacob
Move it to CompositorOGL.
2013-12-09 14:07:18 +10:00
Nicolas Silva 3629fbc964 Bug 897452 - Part 3 - Clean up some unused code after PTexture change - r=mattwoodrow 2013-12-11 20:44:47 -05:00
Ryan VanderMeulen c269bf8ea6 Backed out 17 changesets (bug 897452) for OSX crashes on a CLOSED TREE.
Backed out changeset 11ad8608bc27 (bug 897452)
Backed out changeset 6bcc629e76f9 (bug 897452)
Backed out changeset b91c858a43f5 (bug 897452)
Backed out changeset 38ba49ee3e97 (bug 897452)
Backed out changeset ea184ef84762 (bug 897452)
Backed out changeset 686cc5122149 (bug 897452)
Backed out changeset 3685a8018e49 (bug 897452)
Backed out changeset be7ef6240068 (bug 897452)
Backed out changeset f95c20e70947 (bug 897452)
Backed out changeset 4a370d2a1c62 (bug 897452)
Backed out changeset 1222f6ab66d2 (bug 897452)
Backed out changeset 5e9d3c681ee9 (bug 897452)
Backed out changeset 3b9ddce12b7a (bug 897452)
Backed out changeset 7aec6387f3e9 (bug 897452)
Backed out changeset eb1fe464fdaf (bug 897452)
Backed out changeset 07deaa53b6fd (bug 897452)
Backed out changeset ddab7d071d69 (bug 897452)
2013-12-11 14:52:50 -05:00
Nicolas Silva e3132d6da3 Bug 897452 - Part 3 - Clean up some unused code after PTexture change - r=mattwoodrow 2013-12-11 13:05:13 -05:00
Andreas Pehrson 22bc27eb6f Bug 907292 - Change gfxImageSurface to gfx::DataSourceSurface in TextureHost et al 2013-11-27 10:59:01 +01:00
Benoit Jacob bdd8f93313 Bug 938970 - 1/5. Move MacIOSurfaceTexture* classes to separate files, minimize the number of cpp files including MacIOSurface.h - r=mattwoodrow 2013-11-17 21:04:38 -05:00