Lee Salzman
6237df1a12
Bug 1190705 - Ensure that canvas 2d matrix transforms are finite. r=Bas, r=jrmuizel
2015-08-05 18:48:25 -04:00
Markus Stange
60020d51a1
Bug 1164766 - Clean up error checking in CanvasRenderingContext2D. r=mats
2015-07-14 16:59:12 -04:00
Lee Salzman
b7f475a84e
Bug 1191608 - initialize element to null in CanvasRenderingContext2D::DrawImage. r=bas
2015-08-06 12:07:09 -04:00
Bas Schouten
65ec7788d4
Bug 1188752: Ensure persistence of DrawTarget when using InitializeWithSurface. r=jrmuizel
2015-08-05 19:00:03 +00:00
Kaku Kuo
4fb2a7b1dd
Bug 1044102 - Part 2 - Support ImageBitmap as CanvasImageSource. r=smaug
2015-07-30 20:49:00 +02:00
Matt Woodrow
25044f4efd
Bug 1150944 - Remove objects that have been unlinked by the cycle collector from the demotable context list. r=ehsan
2015-07-29 16:35:55 -04:00
Wes Kocher
d73df9eb52
Backed out 6 changesets (bug 1150944, bug 1034370) for build failures in WebGLContext.cpp CLOSED TREE
...
Backed out changeset e2a6160242e5 (bug 1150944)
Backed out changeset 1c510537d20b (bug 1150944)
Backed out changeset 7ae813666ed5 (bug 1150944)
Backed out changeset 2f29ac2e31cd (bug 1150944)
Backed out changeset bf7681b1567e (bug 1150944)
Backed out changeset 79c6b8d014d2 (bug 1034370)
2015-07-29 14:16:17 -07:00
Matt Woodrow
31bd832d97
Bug 1150944 - Remove objects that have been unlinked by the cycle collector from the demotable context list. r=ehsan
2015-07-29 16:35:55 -04:00
Lee Salzman
7407cac088
Bug 1186689 - check for OOM on destination array before mapping source to avoid needing unmap. r=bas
2015-07-23 11:39:22 -04:00
Mike Hommey
b10ddebab4
No bug - Remove outdated comment and additional comment questioning its relevance. r=me DONTBUILD
...
The first half of the comment was added in bug 534467.
At that point the code looked like:
// NOTE! dst is the same as src, and this relies on reading
// from src and advancing that ptr before writing to dst.
PRUint8 *src = aData;
PRUint8 *dst = aData;
It was in content/canvas/src/nsCanvasRenderingContext2D.cpp.
Then bug 651858 added nsCanvasRenderingContext2DAzure.cpp, starting
from nsCanvasRenderingContext2D.cpp. The comment was kept, but the
code was modified such that src and dst were different things.
Then bug 734668 removed nsCanvasRenderingContext2D.cpp, and finally
renamed nsCanvasRenderingContext2DAzure.cpp to CanvasRenderingContext2D.cpp.
The comment questioning the relevance of the first comment was added
in bug 764125, when the file was still nsCanvasRenderingContext2DAzure.cpp.
2015-07-26 11:39:47 +09:00
Jeff Gilbert
4d9da3bee5
Bug 1182371 - Misc WebGL cleanup. - r=kamidphish
2015-07-14 17:37:28 -07:00
Lee Salzman
eb1cbfc8d1
Bug 1183363 - Make EnsureWritablePath and EnsureUserSpacePath always imply EnsureTarget. r=Bas
2015-07-14 00:01:29 -04:00
Milan Sreckovic
ec0477d878
Bug 1177726 - Inflate the bounds when stroking the canvas text. r=jmuizelaar
2015-07-10 12:04:56 -04:00
Botond Ballo
1108f5b6cd
Bug 1181832 - Keep gfxPrefs.h out of header files. r=kats
2015-07-13 11:53:10 -04:00
Birunthan Mohanathas
e52329c788
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
Birunthan Mohanathas
d6bac5d93d
Bug 1182824 - Part 2: Make ContextState::dash a nsTArray. r=mattwoodrow
2015-07-12 23:19:12 -07:00
Birunthan Mohanathas
f226209a68
Bug 1182824 - Part 1: Use move assignment rather than copy assignment with ContextState::dash. r=mattwoodrow
2015-07-12 23:19:12 -07:00
Carsten "Tomcat" Book
df96a32d9c
Backed out changeset 7bffe6c8fd4d (bug 1177726) for test regressions in 1177726-text-stroke-bounds.html on a CLOSED TREE
2015-07-09 13:02:13 +02:00
Milan Sreckovic
ee9af6fc79
Bug 1177726 - Inflate the bounds when stroking the canvas text. r=jmuizelaar
2015-07-08 07:45:00 +02:00
Robert O'Callahan
292adc3c7d
Bug 1143575. Replace ImageContainer Lock methods with simplified AutoLockImage. r=nical
2015-03-27 12:07:53 +13:00
Nathan Froyd
46d6f38e68
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
Bas Schouten
e2b3274f64
Bug 1167235 - Part 3: Switch CanvasRenderingContext2D to use the new BufferProvider API. r=nical
2015-06-19 01:07:21 +02:00
Andreas Pehrson
937d313731
Bug 1162357 - Convert some usage of DataSourceSurface::GetData() to Map(). r=bas
2015-06-10 19:01:00 +08:00
Markus Stange
aa6a0d2465
Bug 1163105 - Flush frames before building the filter. r=roc
2015-06-09 18:49:17 -04:00
David Anderson
c2063bdde8
Add an API for snapshotting widgets as they are presented by the operating system. (bug 1167477, r=mattwoodrow, dom r=khuey)
2015-06-04 14:19:06 -07:00
Jonathan Kew
c2b535ec10
Bug 1107096 - Suppress improper drawing of zero-width invisible glyphs in canvas. r=roc
2015-05-30 14:07:16 +01:00
Birunthan Mohanathas
cd748a7266
Bug 968520 - Add mozilla::fallible to FallibleTArray::AppendElement calls. r=froydnj
2015-05-28 11:07:44 -07:00
Carsten "Tomcat" Book
62b555d465
Backed out changeset 45998275f423 (bug 857895)
2015-05-26 08:59:47 +02:00
Matt Woodrow
e377b5714e
Bug 857895 - Run canvas rendering asynchronously on OSX. r=Bas,bholley
2013-04-09 16:51:44 +12:00
Andrea Marchesini
c89a834b25
Bug 1167423 - patch 4 - Handle return values of FallibleTArray functions in CanvasRenderingContext2D, r=smaug
2015-05-25 12:50:15 +01:00
Nathan Froyd
f61c010661
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
Nathan Froyd
c39128bbad
Bug 1116905 - part 1 - remove dependence on implicit conversion from T* to TemporaryRef<T>, non-gfx changes; r=ehsan
2015-04-30 15:17:08 -04:00
Matt Woodrow
eeabd51fbe
Backout e01d80922187 (Bug 857895) for causing crashes
2015-05-19 10:50:41 +12:00
Matt Woodrow
6719119889
Bug 857895 - Run canvas rendering asynchronously on OSX. r=Bas,bholley
2013-04-09 16:51:44 +12:00
Vladimir Vukicevic [:vlad]
2e3bab35a3
Bug 1114333 - "putImageData(imageData, 0, 0, 0, 0, 1, 1) unreasonably slow". r=bas
2015-03-24 07:03:00 +01:00
Phil Ringnalda
1bc57a17f1
Back out 4f682f01262e (bug 857895) for widespread destruction
...
CLOSED TREE
2015-05-11 19:53:28 -07:00
Matt Woodrow
787ef8e2e3
Bug 857895 - Run canvas rendering asynchronously on OSX. r=Bas,bholley
2013-04-09 16:51:44 +12:00
Carsten "Tomcat" Book
366e0c8005
Backed out changeset 41c408a2662e (bug 857895) for bustage on a CLOSED TREE
2015-05-11 10:28:56 +02:00
Matt Woodrow
0ae7ce6875
Bug 857895 - Run canvas rendering asynchronously on OSX. r=Bas,bholley
2013-04-09 16:51:44 +12:00
Seth Fowler
3cde7ec218
Bug 1162282 - When canvas.drawImage is called on a corrupt image that's not in the broken state, don't throw. r=gw280
2015-05-07 09:25:10 -07:00
Nicolas Silva
60170d5364
Bug 1155252 - Add a pref to control the maximum canvas 2d size and set it to 0x7ff. r=jrmuizel
2015-04-22 12:06:53 +02:00
Nicolas Silva
ba353fd7bd
Bug 1155621 - Remove no-op gfx2DGlue conversion helpers. r=Bas
2015-04-21 17:22:30 +02:00
Jeff Gilbert
99e9a55aac
Bug 1127336 - Label HW-decoded frames with correct origin. - r=vlad
2015-04-20 17:49:25 -07:00
Nicolas Silva
f2da0db3a0
Bug 1132854 - Remove the gfx::ToIntSize conversion helper. r=Bas
2015-04-07 16:08:57 +02:00
Mats Palmgren
3879e0afa3
Bug 1149222 part 1 - Make nsLayoutUtils::DrawBackgroundImage and SVGImageContext use CSSIntSize instead of unitless nsIntSize. r=dholbert
2015-04-03 19:48:12 +00:00
Milan Sreckovic
cb3878f277
Bug 1149954 - Only Skia canvases need be considered for acceleration. Carry r=jmuizelaar from bug 1124249
2015-04-01 15:23:20 -04:00
Nicolas Silva
e140a853f2
Bug 1132854 - Remove useless ThebesIntSize conversion helper. r=Bas
2015-03-29 16:59:15 +02:00
Cameron McCormack
e36cb0498e
Bug 1148711 - Remove nsresult return values from nsCSSParser::Parse{Property,Variable}. r=dholbert
2015-03-29 22:57:04 +11:00
JW Wang
abd375b7b0
Bug 1145057 - Block drawImage() from EME media. r=roc.
2015-03-22 18:09:18 +08:00
Ehsan Akhgari
33bb32f549
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