Milan Sreckovic
79d8766296
Bug 1177726 - Inflate the bounds when stroking the canvas text. r=jmuizelaar
2015-07-10 12:04:56 -04:00
Botond Ballo
d61e3f0a5b
Bug 1181832 - Keep gfxPrefs.h out of header files. r=kats
2015-07-13 11:53:10 -04:00
Birunthan Mohanathas
a29151dc87
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
539a24f3db
Bug 1182824 - Part 2: Make ContextState::dash a nsTArray. r=mattwoodrow
2015-07-12 23:19:12 -07:00
Birunthan Mohanathas
cf84ed7cd3
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
58d958e306
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
d6dd99fa99
Bug 1177726 - Inflate the bounds when stroking the canvas text. r=jmuizelaar
2015-07-08 07:45:00 +02:00
Robert O'Callahan
74bf60da8a
Bug 1143575. Replace ImageContainer Lock methods with simplified AutoLockImage. r=nical
2015-03-27 12:07:53 +13:00
Nathan Froyd
92a8124fef
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
29b9bb92b6
Bug 1167235 - Part 3: Switch CanvasRenderingContext2D to use the new BufferProvider API. r=nical
2015-06-19 01:07:21 +02:00
Andreas Pehrson
4ff090a008
Bug 1162357 - Convert some usage of DataSourceSurface::GetData() to Map(). r=bas
2015-06-10 19:01:00 +08:00
Markus Stange
423991210c
Bug 1163105 - Flush frames before building the filter. r=roc
2015-06-09 18:49:17 -04:00
David Anderson
7fdcf3d5d4
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
7242df454b
Bug 1107096 - Suppress improper drawing of zero-width invisible glyphs in canvas. r=roc
2015-05-30 14:07:16 +01:00
Birunthan Mohanathas
956e8c7eca
Bug 968520 - Add mozilla::fallible to FallibleTArray::AppendElement calls. r=froydnj
2015-05-28 11:07:44 -07:00
Carsten "Tomcat" Book
e752906545
Backed out changeset 45998275f423 (bug 857895)
2015-05-26 08:59:47 +02:00
Matt Woodrow
a5ec579e4a
Bug 857895 - Run canvas rendering asynchronously on OSX. r=Bas,bholley
2013-04-09 16:51:44 +12:00
Andrea Marchesini
206d86a9a3
Bug 1167423 - patch 4 - Handle return values of FallibleTArray functions in CanvasRenderingContext2D, r=smaug
2015-05-25 12:50:15 +01:00
Nathan Froyd
43cddcfc0d
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
f3fabc2d6c
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
16b76a4118
Backout e01d80922187 (Bug 857895) for causing crashes
2015-05-19 10:50:41 +12:00
Matt Woodrow
56e221fd16
Bug 857895 - Run canvas rendering asynchronously on OSX. r=Bas,bholley
2013-04-09 16:51:44 +12:00
Vladimir Vukicevic [:vlad]
1a2753aeee
Bug 1114333 - "putImageData(imageData, 0, 0, 0, 0, 1, 1) unreasonably slow". r=bas
2015-03-24 07:03:00 +01:00
Phil Ringnalda
945b4eaac7
Back out 4f682f01262e (bug 857895) for widespread destruction
...
CLOSED TREE
2015-05-11 19:53:28 -07:00
Matt Woodrow
9965dd8ee7
Bug 857895 - Run canvas rendering asynchronously on OSX. r=Bas,bholley
2013-04-09 16:51:44 +12:00
Carsten "Tomcat" Book
b5ec287400
Backed out changeset 41c408a2662e (bug 857895) for bustage on a CLOSED TREE
2015-05-11 10:28:56 +02:00
Matt Woodrow
1ae6f5757d
Bug 857895 - Run canvas rendering asynchronously on OSX. r=Bas,bholley
2013-04-09 16:51:44 +12:00
Seth Fowler
6cb966a0e5
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
61a7a42df6
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
ea494e1155
Bug 1155621 - Remove no-op gfx2DGlue conversion helpers. r=Bas
2015-04-21 17:22:30 +02:00
Jeff Gilbert
f444fdce6c
Bug 1127336 - Label HW-decoded frames with correct origin. - r=vlad
2015-04-20 17:49:25 -07:00
Nicolas Silva
166bce0b62
Bug 1132854 - Remove the gfx::ToIntSize conversion helper. r=Bas
2015-04-07 16:08:57 +02:00
Mats Palmgren
75786a9857
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
cec0010dc4
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
a1b30cee6c
Bug 1132854 - Remove useless ThebesIntSize conversion helper. r=Bas
2015-03-29 16:59:15 +02:00
Cameron McCormack
b3af45d4d5
Bug 1148711 - Remove nsresult return values from nsCSSParser::Parse{Property,Variable}. r=dholbert
2015-03-29 22:57:04 +11:00
JW Wang
0be1645416
Bug 1145057 - Block drawImage() from EME media. r=roc.
2015-03-22 18:09:18 +08:00
Ehsan Akhgari
ea41d8de48
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
Carsten "Tomcat" Book
7e4b6bd769
Backed out changeset 9a5f8a7ad479 (bug 1145057) for B2G L Emulator opt/debug bustage on a CLOSED TREE
2015-03-20 16:56:58 +01:00
JW Wang
13185e0df6
Bug 1145057 - Block drawImage() from EME media. r=roc
2015-03-19 19:08:00 -04:00
Boris Zbarsky
3a822d99b4
Bug 1117172 part 3. Change the wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
...
The only manual changes here are to BindingUtils.h, BindingUtils.cpp,
Codegen.py, Element.cpp, IDBFileRequest.cpp, IDBObjectStore.cpp,
dom/workers/Navigator.cpp, WorkerPrivate.cpp, DeviceStorageRequestChild.cpp,
Notification.cpp, nsGlobalWindow.cpp, MessagePort.cpp, nsJSEnvironment.cpp,
Sandbox.cpp, XPCConvert.cpp, ExportHelpers.cpp, and DataStoreService.cpp. The
rest of this diff was generated by running the following commands:
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObject\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx|aContext|aCtx|js), [^,)]+)\)/\1, aGivenProto)/g'
2015-03-19 10:13:33 -04:00
Milan Sreckovic
30becdc815
Bug 1129147 - Part 2. Path option to addHitRegion. r=ehsan r=gw280
2015-03-02 15:33:28 -05:00
Milan Sreckovic
cf1cc33fa4
Bug 1129147 - Part 1. Take CanvasPath into a separate file, to avoid circular dependency. r=roc
2015-03-03 10:57:51 -05:00
Jan Jongboom
02c40113f4
Bug 1134599 - Fix rpi build target. r=jrmuizel, r=shuang
2015-02-25 03:20:00 -05:00
Seth Fowler
c4ef7e7f28
Bug 1128225 (Part 1) - Return a result enumeration from imgIContainer::Draw. r=tn
2015-02-04 13:50:56 -08:00
Jeff Walden
c6b88878bd
Bug 1112774 - Remove JS_DoubleTo{Ui,I}nt32 in favor of JS::To{Ui,I}nt32. r=jorendorff
2015-01-07 10:06:03 -06:00
Nicholas Nethercote
0c97990df8
Bug 1100738 - Use GetMetricsFor() to avoid many Fontconfig allocations. r=karlt.
2015-01-01 15:28:03 -08:00
Florian Scholz
bb15a95a7d
Bug 1119527 - Implement canvas clearHitRegions. r=gw280, r=bz
2015-01-09 09:41:00 -05:00
Ehsan Akhgari
7bca48d724
Bug 1118547 - Mark virtual overridden functions as MOZ_OVERRIDE in dom/canvas; r=baku
2015-01-07 10:19:12 -05:00
Ehsan Akhgari
545f2c061b
Bug 1114999 - Part 2: Apply MOZ_NO_ADDREF_RELEASE_ON_RETURN to all smart pointer arrow operators that can return refcounted objects; r=jrmuizel
2015-01-06 16:30:03 -05:00