Commit Graph

188 Commits

Author SHA1 Message Date
Lee Salzman
5b86beef4f Bug 1004489 - propagate Cairo font AA settings to Skia font. r=gw280 2015-09-02 14:12:32 -04:00
Ryan VanderMeulen
b6c67c877a Backed out 11 changesets (bug 1083101) for causing mass Windows 7 test failures.
Backed out changeset 42d192dbf938 (bug 1083101)
Backed out changeset 0a6cc12c33d7 (bug 1083101)
Backed out changeset b82291c07e0e (bug 1083101)
Backed out changeset 2d32462f6c58 (bug 1083101)
Backed out changeset c234e70021a7 (bug 1083101)
Backed out changeset 23a3870672ae (bug 1083101)
Backed out changeset 78f3c70cf1cb (bug 1083101)
Backed out changeset 86f55d9695f0 (bug 1083101)
Backed out changeset 6b8940305079 (bug 1083101)
Backed out changeset 5efc1e52e4e9 (bug 1083101)
Backed out changeset dd266975e407 (bug 1083101)

CLOSED TREE
2015-09-01 11:35:02 -04:00
Nicolas Silva
d5bdbaae47 Bug 1083101 - Part 1: Allow multiple read maps on DataSourceSurfaces. r=jrmuizel 2015-06-10 19:56:06 +02:00
Birunthan Mohanathas
47ed3a3675 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
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
Andreas Pehrson
81e0a9a33e Bug 1162357 - Convert some usage of DataSourceSurface::GetData() to Map(). r=bas 2015-06-10 19:01:00 +08:00
Carsten "Tomcat" Book
d503d10d74 Backed out changeset 45998275f423 (bug 857895) 2015-05-26 08:59:47 +02:00
Matt Woodrow
3156044d89 Bug 857895 - Run canvas rendering asynchronously on OSX. r=Bas,bholley 2013-04-09 16:51:44 +12:00
Matt Woodrow
4b76d233d7 Backout e01d80922187 (Bug 857895) for causing crashes 2015-05-19 10:50:41 +12:00
Matt Woodrow
03425f7689 Bug 857895 - Run canvas rendering asynchronously on OSX. r=Bas,bholley 2013-04-09 16:51:44 +12:00
Phil Ringnalda
c5559e3295 Back out 4f682f01262e (bug 857895) for widespread destruction
CLOSED TREE
2015-05-11 19:53:28 -07:00
Matt Woodrow
3efb0c109b Bug 857895 - Run canvas rendering asynchronously on OSX. r=Bas,bholley 2013-04-09 16:51:44 +12:00
Carsten "Tomcat" Book
0235a28614 Backed out changeset 41c408a2662e (bug 857895) for bustage on a CLOSED TREE 2015-05-11 10:28:56 +02:00
Matt Woodrow
0e8aa9df46 Bug 857895 - Run canvas rendering asynchronously on OSX. r=Bas,bholley 2013-04-09 16:51:44 +12:00
Andrea Marchesini
e95d49e405 Bug 1156632 - Remove unused forward class declarations - patch 6 - the rest of the tree, r=ehsan 2015-04-22 08:29:24 +02:00
Vladimir Vukicevic
623d15c626 Bug 1148009; [webvr] Add Quaternion class to Moz2D; r=jrmuizel 2015-04-01 16:02:20 -04:00
Ehsan Akhgari
5cccea6f0f 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
Milan Sreckovic
119f4e9586 Bug 1133119 - ::Map should fail if the data is null, and add more null pointer checks. r=mattwoodrow 2015-03-03 11:17:55 -05:00
David Anderson
6a4b20c84a Implement GetMaxTextureSize in the basic compositor. (bug 1135883, r=mattwoodrow) 2015-02-24 13:39:01 -08:00
Daniel Holbert
412693e18a Bug 1134931: Add some missing MOZ_OVERRIDE annotations in ServiceWorkerManager.cpp, nsFrameMessageManager.cpp, and 2D.h. r=ehsan 2015-02-20 09:25:07 -08:00
Trevor Saunders
d48baddbc0 bug 1133075 - add more MOZ_OVERRIDE r=froydnj, waldo, jrmuizel 2015-02-18 17:03:30 -05:00
Jonathan Watt
81a3818309 Bug 1085312 - Document why ColorPattern ctor is marked explicit. r=Bas 2015-01-23 09:45:32 +00:00
Bas Schouten
49a749aacd Bug 1089454: Prevent usage of incompatible graphics objects after device reset. r=jrmuizel 2015-01-28 00:54:19 +00:00
Bas Schouten
a237f06e5c Bug 1118328 - Part 1: Expose DoesBackendSupportDataDrawTarget function to test backend capabilities. r=jrmuizel 2015-01-07 22:58:20 +01:00
Wes Kocher
801967d579 Backout 0d091f3311b4 (bug 1118328) for build bustage on a CLOSED TREE 2015-01-07 16:54:14 -08:00
Bas Schouten
86b068d1fb Bug 1118328 - Part 1: Expose DoesBackendSupportDataDrawTarget function to test backend capabilities. r=jrmuizel 2015-01-07 22:58:20 +01:00
Ryan VanderMeulen
ae94b4cb2a Bug 1114577 - GFX cleanups now that Windows SDK 8.1 is the minimum supported version. r=jmuizelaar, r=glandium 2015-01-07 11:32:07 -05:00
Milan Sreckovic
cad0a2e786 Bug 1101685 - Optionally assert in loggers, default to true on gfxCriticalError. Clean up the calls where large texture sizes were triggering the asserts in tests. r=nical 2014-12-17 17:54:04 -05:00
Carsten "Tomcat" Book
6da789ffc5 Backed out changeset 8b751f12a3ad (bug 1101685) for windows 7 debug crashtest/reftest crashes 2014-12-17 12:56:04 +01:00
Milan Sreckovic
6e9fe80392 Bug 1101685 - Optionally assert in loggers, default to true on gfxCriticalError. Clean up the calls where large texture sizes were triggering the asserts in tests. r=nical 2014-12-16 13:22:26 -05:00
John Daggett
1bf6d78331 Bug 1109403 - trim out unused Azure FontOptions struct. r=m_kato 2014-12-10 13:09:30 +09:00
Bas Schouten
a5a7dfd4e9 Bug 1099335: Base decision to use a complex clip on whether a DT supports regoin clipping. r=jrmuizel
DrawTargets that support region clipping are able to clip to regions effectively. Other DrawTargets go through expensive complex clip paths. When invalidating regions we have code that draws in multiple steps when using Direct2D to avoid this expense, we should base the decision to do this simply on whether the DrawTarget supports fast region clipping.
2014-11-16 19:17:40 +00:00
Markus Stange
5c0a6d7612 Bug 1055622 - Add support for specifying the font smoothing background color to Moz2D. r=Bas, r=jrmuizel 2014-10-24 18:32:23 +02:00
Jonathan Watt
1a5158a51f Bug 1082530, part 1 - Mark DrawTarget::GetUserData as const. r=mattwoodrow 2014-10-19 10:22:46 +01:00
Jonathan Watt
e403fcb9f1 Bug 1077544 - Add a GetBackendType() method to PathBuilder. r=Bas 2014-10-04 12:13:29 +01:00
Jonathan Watt
0391d8b6b8 Bug 1073960 - Mark DrawTarget::GetFormat() as const. r=Bas 2014-09-29 14:15:18 +01:00
Nicolas Silva
32854a02cb Bug 1068613 - Part 1: Add gfxCriticalError() log to Moz2D. r=bas 2014-09-17 23:23:02 +02:00
Matt Woodrow
b8b716b324 Bug 1046550 - Part 2: Allow creating D2D 1.1 DrawTargets for D3D11 textures. r=bas 2014-09-14 23:51:27 +02:00
Bas Schouten
fe785efe5b Bug 1066811: Add a SupportsD2D1() method to the Moz2D factory. r=jrmuizel 2014-09-14 23:51:26 +02:00
Matt Woodrow
8fa1eb06cd Bug 1062723 - Part 1: Add source clipping to SurfacePattern. r=Bas
--HG--
extra : rebase_source : ccec8c8cb37f52710b0758360bea73696212734f
2014-09-11 18:13:52 +12:00
Michael Wu
8952e58b3d Bug 1063733 - Optimize DataSourceSurface allocation, r=bas,seth 2014-09-10 17:54:16 -04:00
Jonathan Watt
0dbac46b40 Bug 1065743 - Make Moz2D's DrawTarget::GetTransform() return a copy instead of a const reference. r=Bas 2014-09-11 01:46:16 +01:00
Jonathan Watt
2f88983089 Bug 1065558 - Add a ConcatTransform method to Moz2D's DrawTarget. r=Bas 2014-09-10 21:41:50 +01:00
Jonathan Watt
c39698586a Bug 1063853, part 1 - Add a RemoveUserData() method to Moz2D DrawTarget. r=Bas 2014-09-05 18:11:29 +01:00
Milan Sreckovic
33707ea4c4 Bug 1033310: Handle CreateDataSourceSurface* returning nullptr. f=nsilva, r=bschouten 2014-08-27 11:57:43 -04:00
Nicolas Silva
b4e767d9b2 Bug 1025138 - Integrate DrawTargetTiled preffed off. r=mattwoodrow 2014-08-06 14:40:03 +02:00
Ehsan Akhgari
cd5081982f Bug 1048243 - Fix more bad implicit constructors in gfx; r=jrmuizel 2014-08-05 17:58:40 -04:00
Bas Schouten
b973f597b8 Bug 1039568: Add a capture DrawTarget to Moz2D. r=jrmuizel 2014-08-01 18:01:47 +02:00
Jonathan Watt
64993e997c Bug 1027763, part 4 - Add a new DrawTarget::GetType() method and three generic type enum values for it to return. r=Bas, r=jrmuizel 2014-06-27 10:17:49 +01:00
Jonathan Watt
75a2e96e37 Bug 1027763, part 3 - Remove the old DrawTarget::GetType() method. r=Bas 2014-06-19 21:35:34 +01:00