Commit Graph

109 Commits

Author SHA1 Message Date
David Anderson
b49b86d935 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
0d1bf86afa Bug 1107096 - Suppress improper drawing of zero-width invisible glyphs in canvas. r=roc 2015-05-30 14:07:16 +01:00
Birunthan Mohanathas
084be39cfd Bug 968520 - Add mozilla::fallible to FallibleTArray::AppendElement calls. r=froydnj 2015-05-28 11:07:44 -07: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
Andrea Marchesini
827e00769e Bug 1167423 - patch 4 - Handle return values of FallibleTArray functions in CanvasRenderingContext2D, r=smaug 2015-05-25 12:50:15 +01: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
Nathan Froyd
ac7e1768b8 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
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
Vladimir Vukicevic [:vlad]
d739df94c4 Bug 1114333 - "putImageData(imageData, 0, 0, 0, 0, 1, 1) unreasonably slow". r=bas 2015-03-24 07:03:00 +01: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
Seth Fowler
e43c8472f2 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
d57c9e115a 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
aa850abbcd Bug 1155621 - Remove no-op gfx2DGlue conversion helpers. r=Bas 2015-04-21 17:22:30 +02:00
Jeff Gilbert
397fec2707 Bug 1127336 - Label HW-decoded frames with correct origin. - r=vlad 2015-04-20 17:49:25 -07:00
Nicolas Silva
17671eabdb Bug 1132854 - Remove the gfx::ToIntSize conversion helper. r=Bas 2015-04-07 16:08:57 +02:00
Mats Palmgren
400128b6ce 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
7bdd977831 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
360af5d1db Bug 1132854 - Remove useless ThebesIntSize conversion helper. r=Bas 2015-03-29 16:59:15 +02:00
Cameron McCormack
b3448f30e7 Bug 1148711 - Remove nsresult return values from nsCSSParser::Parse{Property,Variable}. r=dholbert 2015-03-29 22:57:04 +11:00
JW Wang
7d10791e55 Bug 1145057 - Block drawImage() from EME media. r=roc. 2015-03-22 18:09:18 +08: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
Carsten "Tomcat" Book
b13e54e607 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
de4e193adf Bug 1145057 - Block drawImage() from EME media. r=roc 2015-03-19 19:08:00 -04:00
Boris Zbarsky
988b8e01be 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
e03358025f Bug 1129147 - Part 2. Path option to addHitRegion. r=ehsan r=gw280 2015-03-02 15:33:28 -05:00
Milan Sreckovic
6675b39b78 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
cb7d80be36 Bug 1134599 - Fix rpi build target. r=jrmuizel, r=shuang 2015-02-25 03:20:00 -05:00
Seth Fowler
88ad0ef2bc Bug 1128225 (Part 1) - Return a result enumeration from imgIContainer::Draw. r=tn 2015-02-04 13:50:56 -08:00
Jeff Walden
5587add3a6 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
4d5dc5173d Bug 1100738 - Use GetMetricsFor() to avoid many Fontconfig allocations. r=karlt. 2015-01-01 15:28:03 -08:00
Florian Scholz
355ddc81b9 Bug 1119527 - Implement canvas clearHitRegions. r=gw280, r=bz 2015-01-09 09:41:00 -05:00
Ehsan Akhgari
f277528032 Bug 1118547 - Mark virtual overridden functions as MOZ_OVERRIDE in dom/canvas; r=baku 2015-01-07 10:19:12 -05:00
Ehsan Akhgari
3799d571b8 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
Jonathan Kew
53225d0139 Bug 619521 - Part 1: Send a notification of any scripts for which font coverage is lacking. r=jdaggett 2014-12-22 16:35:54 +00:00
Jonathan Kew
ab5902eac9 Bug 1108616 - part 2 - Add an explicitLanguage field to gfxFontStyle, and pass it down from callers. r=dbaron 2014-12-23 12:50:10 +00:00
Jonathan Kew
8abf8750f9 Bug 1108179 - Default-ignorable characters filtered by the shaper should not render as .notdef boxes in canvas. r=jdaggett 2014-12-16 09:41:08 +00:00
Ehsan Akhgari
f818603dd9 Bug 1109694 - Fix more bad implicit constructors in DOM; r=baku 2014-12-10 17:49:09 -05:00
Simon Montagu
6dea43f4b8 Bug 1100071 patch 2: add macros for common tests whether bidi level is odd and whether two bidi levels have the same parity, r=dholbert 2014-11-20 12:45:22 +02:00
Milan Sreckovic
6f220706d1 Bug 1099148 - Implement Canvas2D resetTransform method. r=gw280,bz 2014-11-18 12:11:12 -05:00
Jonathan Kew
884a6af6fc Bug 1090168 - Improve baseline handling for <canvas> text with vertical writing mode - relanding patches 1 and 2, with crash-fix from bug 1099143 folded in. r=jdaggett 2014-11-17 10:12:20 +00:00
Jonathan Kew
a6382255b2 Backout changesets fad675db4598 and 618d8f44d9e2 (bug 1090168 pt 1 and 2) for Nightly crashiness. a=backout 2014-11-15 22:40:00 +00:00
George Wright
ddcc53392b Bug 1042291 - Add a CanvasDrawObserver which observes the first few seconds/frames of a Canvas2D's lifetime to determine using a heuristic if it should be software or GPU backed. r=gw280, r=snorp 2014-09-10 16:15:43 -04:00
Jonathan Kew
d21088e3de Bug 1090168 - part 2 - Adjust initial value of textBaseline depending on writing-mode and text-orientation properties. r=jdaggett 2014-11-13 08:58:04 +00:00
Jonathan Kew
79125e0c6c Bug 1090168 - part 1 - Make textBaseline attribute in <canvas> work for vertical text. r=jdaggett 2014-11-13 08:58:04 +00:00
chiajung hung
e46182f3b1 Bug 880114 - Enhance render video-to-SkiaGL performance by GPU-based color space conversioni, r=gw280 2014-11-11 21:14:00 +01:00