Milan Sreckovic
476936f180
Bug 1182209 - Additional info with some critical errors. r=mchang
...
CLOSED TREE
2015-07-14 15:22:29 -04: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
Andreas Pehrson
4ff090a008
Bug 1162357 - Convert some usage of DataSourceSurface::GetData() to Map(). r=bas
2015-06-10 19:01:00 +08:00
David Major
c1514bb27e
Bug 1173107: Add hexa() around various hr logging. r=jrmuizel a=KWierso
2015-06-09 16:48:59 -04: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
3c715f85db
Bug 1116905 - part 3 - remove dependence on implicit conversion from T* to TemporaryRef<T>, gfx changes; r=jrmuizel
2015-04-30 15:20:30 -04:00
Milan Sreckovic
6fd32c896b
Bug 1130195: Report the failed bitmap creation, but still crash. r=bschouten
2015-02-25 17:44:56 -05:00
Markus Stange
0035c160f6
Bug 1092634 - Let feColorMatrix and feComponentTransfer generate output outside their input's bounds. r=Bas
...
This makes the color matrix and component transfer Moz2D filters generate
an infinite output, which is then cropped to the primitive's filter
primitive subregion by a subsequent crop filter node. This still gives us
different behavior than other browser when the primitive subregion is
overridden using the x/y/width/height attributes - other browsers either
ignore those completely (IE) or only let them crop the default subregion
(which is defined to be the same as the input subregion) and not enlargen
it - but I'll fix that in a separate bug.
2015-02-09 14:04:11 -05:00
Bas Schouten
beca655bcf
Bug 1089454: Prevent usage of incompatible graphics objects after device reset. r=jrmuizel
2015-01-28 00:54:19 +00:00
Bas Schouten
f3ff0976ff
Bug 1114398 - Part 1: Make Direct2D paths specifically typed to a backend type. r=jrmuizel
2015-01-08 00:10:48 +00:00
Ryan VanderMeulen
b0594284a9
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
ce1206013b
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
5fcc79867a
Backed out changeset 8b751f12a3ad (bug 1101685) for windows 7 debug crashtest/reftest crashes
2014-12-17 12:56:04 +01:00
Milan Sreckovic
9346512b14
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
Bas Schouten
70cf10c6f8
Bug 892910: Deal with newSize becoming empty in CreatePartialBitmapForSurface. r=BenWa
...
This patch deals with the situation where newSize becomes empty and causes a division by 0 in the current code. It also ensures all the callers will abort any potential drawing when CreatePartialBitmapForSurface returns a nullptr.
2014-11-20 20:48:01 +00:00
Nicolas Silva
186e6edf58
Bug 1086670 - Add some gfxCriticalError logs around DrawTarget creation. r=Bas
2014-11-20 15:48:07 +01:00
Jacek Caban
134e025023
Bug 1068195 - Fix an invalid MOZ_ASSERT in moz2d code, asserting the value of a constant string pointer. r=jrmuizel
2014-11-19 11:08:14 +01:00
Matt Woodrow
e71bc2cdd9
Bug 1075616 - Do partial uploads of non-D2D SourceSurfaces when we have a sampling rect. r=Bas
2014-09-24 13:23:15 -04:00
Markus Stange
6981f047ca
Bug 983574 - When setting a SourceSurface input on a FilterNodeD2D1, delay the conversion to ID2D1Image until the actual DrawFilter call. r=Bas
2014-09-25 15:18:29 -04:00
Nicolas Silva
e8498a1bd9
Bug 1070018 - Log HRESULT error codes as hexadecimal values rather than signed integers. r=Bas
2014-09-23 11:35:39 -04:00
Bas Schouten
a6136faac0
Bug 1071045: Report error codes and size/format information to D2D error reporting. r=nical
2014-09-22 19:33:04 +00:00
Bas Schouten
f9f4e2770b
Bug 1069592: Annotate several more Direct2D errors. r=jrmuizel
2014-09-19 00:01:25 +02:00
Ryan VanderMeulen
ff260da480
Backed out changeset 0cc9fcdca191 (bug 1068195) for Windows crashtest asserts.
...
CLOSED TREE
2014-09-17 20:47:35 -04:00
Ehsan Akhgari
d5a0b019fe
Bug 1068195 - Fix an invalid MOZ_ASSERT in moz2d code, asserting the value of a constant string pointer; r=jrmuizel
2014-09-17 17:54:43 -04:00
Nicolas Silva
4c21a9712e
Bug 1068613 - Part 3: Log failures in D2D, D2D 1.1 and the D3D11 TextureClient. r=bas
2014-09-17 23:23:09 +02:00
Bas Schouten
e67ecee9e8
Bug 1066670: Deal with a failed brush creation by drawing transparent black. r=jrmuizel
2014-09-14 23:51:34 +02:00
Bas Schouten
76684a95ab
Bug 1066668: Do not attempt to interop with D2D 1.1 inside D2D 1.0. r=jrmuizel
2014-09-14 23:51:34 +02:00
Matt Woodrow
066c648dbd
Bug 1062723 - Part 5: Implement source clipping for DrawTargetD2D. r=Bas
2014-09-12 17:19:23 +12:00
Nicolas Silva
2096f3e32e
Bug 1061696 - Don't crash release builds when failing to allocate a surface in AutoRestoreClippedOut::save. r=Bas
2014-09-11 17:27:48 +02:00
Botond Ballo
f4e48b3a62
Bug 1057642 - Revert [Int]::PointTyped::[x|y] to be of primitive type. r=kats
2014-08-28 12:45:48 -04:00
Botond Ballo
29e678a8e8
Bug 923512 - Introduce strongly-typed coordinate classes. r=kats,Bas
2014-08-19 13:08:16 -04:00
Jonathan Watt
12ba8e81c5
Bug 1024983 - Stop addrefing and releasing excessively in the Moz2D code in functions that return a TemporaryRef. r=mstange
2014-06-13 17:09:23 +01:00
Matt Woodrow
0137d0789b
Bug 997551 - Avoid copying data in GetSourceSurfaceForSurface whenever possible. r=Bas
2014-04-25 15:31:53 +12:00
Matt Woodrow
a7936d10a0
Bug 996929 - Implement OptimizeSourceSurface for all Moz2D backends. r=Bas
2014-04-17 12:45:25 +12:00
Markus Stange
1ace2a42ea
Bug 982698 - Make FilterNodeD2D1 support DataSourceSurface input surfaces. r=Bas
2014-04-15 23:45:11 +01:00
Jonathan Watt
cb7e856c08
Bug 982884 - Make DrawTargetD2D::GetBitmapForSurface correctly handle fractional source rect for data surfaces. r=Bas
2014-03-13 09:58:22 +00:00
Ehsan Akhgari
2a6278f6cc
Bug 977279 - Add a missing initguid.h include to DrawTargetD2D.cpp
2014-02-28 10:42:23 -05:00
Masatoshi Kimura
5bbacee4ff
Bug 969918 - Use decltype to declare pointers for dynamic-loaded functions. r=jimm sr=roc
2014-02-18 07:32:52 +09:00
Brian Smith
9a37c05c29
Bug 958906: Remove reliance on implicit conversion from enum types to integers to fix VS2013 build bustage, r=bjacob
2014-01-11 22:26:20 -08:00
Benoit Jacob
61c6bc7c4e
Bug 958375 - 8/9 - Make remaining Moz2D enums typed - 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:17 -05:00
Benoit Jacob
84b2cb358d
Bug 958375 - 7/9 - Make Font-related enums typed - 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
Benoit Jacob
23af944896
Bug 958375 - 6/9 - Make BackendType and NativeSurfaceType typed enums - 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
Benoit Jacob
f634d4797a
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
Benoit Jacob
7a2cb34f70
Bug 958375 - 1/9 - Make SurfaceType 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 13:55:24 -05:00
Nicolas Silva
d7ff29e999
Bug 951858 - Support DrawTarget::CopySurface with A8 D2D textures. r=Bas
2013-12-19 19:44:20 +01:00
Matt Woodrow
5e93fce635
Bug 946475 - Avoid using AutoSaveRestoreClippedOut for ClearRect when the cumulative clip can be represented as a single axis aligned rectangle. r=Bas
2013-12-12 10:11:37 +13:00
Matt Woodrow
68bdd945a7
Bug 946475 - Clip to the clear area in DrawTargetD2D::ClearRect so that we don't accidentally restore pixels that weren't drawn. r=Bas
2013-12-12 10:11:07 +13:00
Markus Stange
59ac33cdb1
Bug 924102 - Add a FilterNode implementation that uses Direct2D 1.1 effects. Most of this patch was written by Bas. r=mstange, r=Bas
2013-11-27 12:25:16 +01:00
Markus Stange
0fb6c31b16
Bug 924102 - Implement DrawTarget filter APIs with FilterNodeSoftware for Cairo, CG, D2D, D2D1 and Dual. r=Bas
2013-11-27 12:22:56 +01:00
Markus Stange
de5fc69776
Bug 935923 - Rename AlphaMode helper function to D2DAlphaModeForFormat and replace most of its uses with D2DPixelFormat. r=Bas
2013-11-20 17:20:50 +01:00