Commit Graph

23 Commits

Author SHA1 Message Date
Bas Schouten
6391b21503 Bug 1190950: Check mappings and surfaces for UpdateFromSurface more robustly. r=mattwoodrow 2015-08-06 02:29:47 +00:00
Bas Schouten
9c03d00213 Bug 1176363 - Part 1: Stop using DrawTargets off the main thread. r=mattwoodrow 2015-07-27 15:47:29 +00:00
Ryan VanderMeulen
0aac8791a5 Backed out changeset adbd8a7608e4 (bug 1176363) for mochitest-gl permacrashes. 2015-07-27 13:54:56 -04:00
Bas Schouten
ec0223aadb Bug 1176363 - Part 1: Stop using DrawTargets off the main thread. r=mattwoodrow 2015-07-27 15:47:29 +00:00
Lee Salzman
db3a67755e Bug 1170390 - Add gfxASurface::GetSurfaceFormat for retrieving precise surface format where necessary. r=jrmuizel 2015-07-06 22:11:38 -04:00
Nathan Froyd
8780083336 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
CJKu
c17301537d Bug 1133007 - Send the content of a texture only if its was altered since previous transmission. r=kamidphish, r=boris 2015-06-02 06:21:00 -04:00
Amanda Sambath
7dec0ef896 Bug 1158120 - Replace gfxIntSize by mozilla::gfx::IntSize in gfx/layers. r=nical 2015-05-28 11:59:15 +02:00
Bas Schouten
06d0be21af Bug 1158575: Support using GDI rendering for opaque surfaces when using cross-process layers. r=jrmuizel 2015-05-22 17:54:24 +02:00
Nathan Froyd
bb51644dac Bug 1160485 - remove implicit conversion from RefPtr<T> to TemporaryRef<T>; r=ehsan
Having this implicit conversion means that we can silently do extra
refcounting when it's completely unnecessary.  It's also an obstacle to
making RefPtr more nsRefPtr-like, so let's get rid of it.
2015-05-01 09:14:16 -04:00
Nicolas Silva
17671eabdb Bug 1132854 - Remove the gfx::ToIntSize conversion helper. r=Bas 2015-04-07 16:08:57 +02:00
Nicolas Silva
fb80d223a4 Bug 1145981 - Do not crash when a DIB texture is updated without a compositor. r=jrmuizel 2015-03-27 11:16:27 +01:00
Nicolas Silva
efe367435d Bug 1145981 - Backout, missing review 2015-03-27 11:19:22 +01:00
Nicolas Silva
e772a7013d Bug 1146912 - Finish replacing TextureHost::GetTextureSource by BindTextureSource. r=sotaro 2015-03-27 11:16:34 +01:00
Nicolas Silva
f260783897 Bug 1145981 - Do not crash when a DIB texture is updated without a compositor. r=jrmuizel 2015-03-27 11:16:27 +01:00
Ethan Lin
f0ac302c50 Bug 1042696 - Set allocator to TextureClient from constructor. r=nical 2014-12-22 03:49:00 -05:00
Nicolas Silva
f094ba38b8 Bug 1077307 - Merge NewTextureSource and TextureSource. r=sotaro 2014-10-07 15:58:59 +02:00
Nicolas Silva
eedbbe9107 Bug 1047765 - Pass the proper allocation flags in TextureClient::CreateSimilar. r=Bas 2014-08-06 14:40:07 +02:00
Bas Schouten
0002b903bf Bug 947781 - Part 2: Add the ability to readback texture data to TextureClient. r=nical 2014-07-30 15:38:46 +02:00
Ed Morley
a2ac48727d Backed out changeset c4ecea1452e9 (bug 947781) 2014-07-30 14:54:08 +01:00
Bas Schouten
7bbcf0829f Bug 947781 - Part 2: Add the ability to readback texture data to TextureClient. r=nical 2014-07-30 15:38:46 +02: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
Bas Schouten
b9a7152efc Bug 1036785: Use DIBs for drawing when not using opaque surfaces. r=nical 2014-07-10 23:29:40 +02:00