Jonathan Watt
bbf54e88ce
Bug 1359155, part 1 - Implement a StrideForFormatAndWidth Moz2D helper. r=mstange
...
MozReview-Commit-ID: 95Bv3tr5W6C
2017-03-30 13:50:23 +01:00
Wes Kocher
0ce994139e
Backed out 2 changesets (bug 1359155) for failures in test_getUserMedia_basicTabshare.html a=backout
...
Backed out changeset 2e2e2ba5ecb2 (bug 1359155)
Backed out changeset b695217bbfa7 (bug 1359155)
MozReview-Commit-ID: HlCufP7I1cC
--HG--
extra : rebase_source : d4014380423ba6ff4a4daa5a7e4e1893b0c9cba2
2017-04-24 15:24:11 -07:00
Jonathan Watt
9e7b994e33
Bug 1359155, part 1 - Implement a StrideForFormatAndWidth Moz2D helper. r=mstange
2017-03-30 13:50:23 +01:00
Lee Salzman
13e442d01b
Bug 738343 - part 6 - Use Moz2d swizzles in Moz2d. r=jrmuizel
...
MozReview-Commit-ID: 6jyBCD5EAz2
2017-02-12 09:28:12 -05:00
Milan Sreckovic
986dee552b
Bug 1299164: Part 1. Add BufferSizeFromDimensions method to complement BufferSizeFromStrideAndHeight. r=bas
2016-09-15 10:36:20 -04:00
Wes Kocher
647b0985cc
Backed out 2 changesets (bug 1299164) for win vm bc4 bustage a=backout
...
Backed out changeset 53dc795121e1 (bug 1299164)
Backed out changeset c39ec15e7e21 (bug 1299164)
2016-09-02 11:38:22 -07:00
Milan Sreckovic
c7f6828155
Bug 1299164: Part 1. Add BufferSizeFromDimensions method to complement BufferSizeFromStrideAndHeight. r=bas
...
MozReview-Commit-ID: Ef0RhnM7UJa
--HG--
extra : rebase_source : 65c0311d548f92ace59f2d6bca5f533d060d1881
2016-09-01 15:31:10 -04:00
JerryShih
4e7ff09f94
Bug 1256572
- create DataSourceSurface with current data. r=bas
2016-05-10 20:42:00 +02:00
Tooru Fujisawa
4fac62d240
Bug 382721 - Part 0: Add missing includes and namespaces. r=jrmuizel
2015-09-10 19:24:34 +09:00
Nathan Froyd
ce836868f3
Bug 1218488 - clarify buffer ownership for nsICanvasRenderingContextInternal::GetBuffer; r=Bas,baku
...
This patch started life as making ImageEncoder.cpp:EncodingRunnable not
use nsAutoArrayPtr, but the API effects rippled out from there. On the
whole, I think using UniquePtr throughout has made the code clearer.
2015-10-26 14:31:12 -04:00
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
Andreas Pehrson
f9165d38d7
Bug 1162357 - Convert some usage of DataSourceSurface::GetData() to Map(). r=bas
...
--HG--
extra : rebase_source : aebb45613926c64355e5b193bc79166cf04292be
2015-06-10 19:01:00 +08:00
Heiher
3566618b84
Bug 1122383 - Optimize Moz2D's ConvertBGRXToBGRA. r=jwatt
...
From 4c67bb1f0d9378831559983ccf53f63ad104974e Mon Sep 17 00:00:00 2001
---
gfx/2d/DataSurfaceHelpers.cpp | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
2015-01-20 11:16:08 +00:00
Benoit Girard
700fbb43f7
Bug 1105834 - Part 1: Add CreateDataSourceSurfaceByCloning to moz2d. r=mstange,bas
2014-11-28 18:11:03 -05:00
Wes Kocher
99f09b4b90
Backed out 3 changesets (bug 1105834) for non-unified bustage
...
Backed out changeset 33592fd41f1f (bug 1105834)
Backed out changeset c3e505887e9f (bug 1105834)
Backed out changeset 6aad17f431d1 (bug 1105834)
2014-12-08 17:15:46 -08:00
Benoit Girard
263a1d279b
Bug 1105834 - Part 1: Add CreateDataSourceSurfaceByCloning to moz2d. r=mstange,bas
2014-11-28 18:11:03 -05:00
Michael Wu
4079a1f9ad
Bug 1063733 - Optimize DataSourceSurface allocation, r=bas,seth
2014-09-10 17:54:16 -04:00
Jonathan Watt
5792c05685
Bug 1023336, part 1 - Add a Moz2D helper to consistently limit the size of data-wrapping DataSourceSurface buffers. r=Bas
2014-06-13 22:03:52 +01:00
Jonathan Watt
fa32ec8e2a
Bug 1019753, part 1 - Add a ClearDataSourceSurface() helper to DataSurfaceHelpers. r=Bas
2014-06-04 08:08:39 +01:00
Carsten "Tomcat" Book
90f9142e90
Backed out changeset c5953a778276 (bug 1019753) for crashes on a CLOSED TREE
2014-06-04 10:31:49 +02:00
Jonathan Watt
80e5860681
Bug 1019753, part 1 - Add a ClearDataSourceSurface() helper to DataSurfaceHelpers. r=Bas
2014-06-04 08:08:39 +01:00
Jonathan Watt
1aa51ae65a
Bug 996673 - Stop using |#pragma once| in Moz2D headers. r=Bas
2014-04-16 17:17:22 +01:00
Jonathan Watt
6b18c742cc
Bug 950372 - Convert imgIContainer::GetFrame to return a Moz2D SourceSurface instead of a Thebes gfxASurface. r=mattwoodrow
2014-04-15 19:02:23 +01:00
Jonathan Watt
e3136f10a5
Bug 983591 - Add a Moz2d helper to copy pixel data from a B8G8R8X8 surface to a packed B8G8R8 array. r=Bas
2014-04-08 10:14:52 +01:00
Jonathan Watt
943ca63f3b
Bug 980885 - Fix more Moz2D D2D mapping code that fails to set/reset mIsMapped. r=Bas
2014-03-07 13:24:47 +00:00
Jonathan Watt
7fa77ee22d
Bug 980603 - Move the implementation of SurfaceToPackedBGRA and ConvertBGRXToBGRA to a source file (un-inline them). r=gal
2014-03-07 13:24:42 +00:00
Jonathan Watt
b698826726
Bug 980472 - Make SurfaceToPackedBGRA take a DataSourceSurface to avoid unnecessary surface conversion. r=Bas
...
--HG--
extra : rebase_source : c11c7ead8897255b3012495cc66beed27142275a
2014-03-06 23:31:33 +00:00
Benoit Jacob
a1e7c32630
Bug 958375 - 4/9 - Make SurfaceFormat a typed enum - r=Bas
...
Specifically:
r=Bas for manual changes
f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:16 -05:00
Bas Schouten
f254475207
Bug 933030 - Addition: Remove external dependency added to Moz2D. r=mattwoodrow
2013-11-04 00:57:35 +01:00
Andreas Gal
ca09e32f67
Bug 933030 - Eliminate thebes use from CanvasRenderingContext2D.cpp r=mattwoodrow
2013-11-03 08:28:30 -08:00