Nicholas Nethercote
cbec00a8de
Bug 1229237 (part 2) - Make nsIWidget::DrawWindowUnderlay() take a LayoutDeviceIntRect. r=botond.
2015-11-16 20:34:00 -08:00
Robert O'Callahan
1ed2fac306
Bug 1224976. Recover from singular-matrix cairo errors. r=mattwoodrow
2015-11-16 17:35:23 +13:00
Lee Salzman
5d13d0b031
Bug 1225977 - fix DrawTargetSkia::MaskSurface with non-zero offset. r=jmuizelaar
2015-11-19 10:25:15 -05:00
Nathan Froyd
fc966276f4
Bug 1225486 - don't include mozilla/ToString.h in {BasePoint,nsRegion}.h; r=jrmuizel
2015-10-26 11:04:14 -04:00
Lee Salzman
7a571c7f65
Bug 1228188 - ifdef around Skia GetMaxSurfaceSize usage. r=eihrul
2015-11-25 22:21:40 -05:00
Matt Woodrow
a957c40d8f
Bug 1168263 - Add nsDisplayPerspective and build separate layers for perspective. r=roc
2015-11-26 22:32:36 +13:00
Jeff Gilbert
856bdc3076
Bug 1221822 - Finish the WebGL texture refactor. r=kamidphish,mattwoodrow,bz
2015-11-24 20:15:29 -08:00
Phil Ringnalda
e8d65ceaab
Back out changeset 2f614bcd9405 (bug 1221822) for test_conformance__extensions__ext-sRGB.html and test_webgl2_alpha_luminance.html failures
2015-11-23 21:55:59 -08:00
Jeff Gilbert
60873e7a70
Bug 1221822 - Finish the WebGL texture refactor. r=kamidphish,mattwoodrow,bz
2015-11-23 19:27:13 -08:00
Mason Chang
78ebc29d9b
Bug 1221840. Support repeating images in 1 axis. r=seth
2015-11-23 08:17:35 -08:00
Lee Salzman
68e374cb22
Bug 1223740 - enforce max surface size for DrawTargetSkia. r=bas
2015-11-19 13:35:31 -05:00
Lee Salzman
0e44e6b1a9
Bug 1225250 - fix stride on SourceSurfaceSkia when initialized from GPU texture. r=jmuizelaar
2015-11-17 11:18:36 -05:00
David Anderson
8d6994d6b9
Null-check D3D10 devices in a few places. (bug 1225645, r=bas)
2015-11-19 15:04:46 -08:00
Tom Klein
2813c8db06
Bug 1131264 - Extend the workaround for drawing D2D circles. r=bas
2015-11-19 13:57:32 -06:00
Phil Ringnalda
4327e90ea9
Back out changeset 98bd7a8e4705 (bug 1225645) for Windows build bustage
...
CLOSED TREE
2015-11-18 18:48:14 -08:00
David Anderson
1fd40cfe48
Null-check D3D10 devices in a few places. (bug 1225645, r=bas)
2015-11-18 12:16:54 -08:00
Nicolas Silva
8d0b29780f
Bug 1224254 - Bustage fix on a CLOSED TREE
2015-11-18 19:22:02 +01:00
Nicolas Silva
fc316e7cae
Bug 1224254 - Don't try to allocate unreasonably large textures. r=Bas
2015-11-18 16:59:11 +01:00
Matt Woodrow
bb8cd0f0f6
Bug 1217012 - Use doubles when untransforming points since we need the extra precision. r=kip
2015-11-16 17:05:55 +13:00
Nicholas Nethercote
15961fc6fb
Bug 1224403 (part 4) - Make {Get,Set}NonClientMargins() return/take a LayoutDeviceIntMargin. r=kats.
...
This required adding {To,From}UnknownMargin().
2015-11-11 23:05:04 -08:00
Bas Schouten
9a6a757afb
Bug 1221616: Use ID2D1CommandList instead of a bitmap for temporary D2D drawing. r=jrmuizel
2015-11-12 17:00:52 +01:00
Heiher
c4cb01dda9
Bug 1222298 - GFX: 2D: Make convolverLS3 more like upstream. r=seth
...
---
gfx/2d/convolverLS3.cpp | 62 +++++++++++++++++++++++++------------------------
gfx/2d/convolverLS3.h | 4 +---
2 files changed, 33 insertions(+), 33 deletions(-)
2015-11-12 19:43:17 +08:00
Nicholas Nethercote
4ce3d974a8
Bug 1223690 - Remove implicit Rect conversions. r=jrmuizel.
...
gfxRect can be implicitly constructed from IntRect, which hides a number of
implicit conversion points, makes Moz2Dification harder, and has some
surprising effects.
This patch removes the implicit constructor and replaces it with an explicit
conversion function:
gfxRect ThebesRect(const IntRect&)
This is the obvious outcome of removing the constructor.
But there is also a second, less obvious outcome: currently we do a number of
IntRect-to-Rect conversions using ToRect(), which (surprisingly) works because
it turns into an implicit IntRect-to-gfxRect conversion (via the implicit
constructor) combined with an explicit gfxRect-to-Rect conversion (via
ToRect()). I.e. we do two conversions, going from a Moz2D type to a Thebes
type and back to a Moz2D type!
So this patch also changes these conversion. It moves this existing function:
Rect ToRect(const IntRect&)
from gfx2DGlue.h -- where it doesn't really belong because it doesn't involve
any Thebes types -- to gfx/2d/Rect.h, templatifying and renaming it as
IntRectToRect() in the process.
The rest of the patch deals with fall-out from these changes. The call sites
change as follows:
- IntRect-to-gfxRect conversions:
- old: implicit
- new: ThebesRect()
- IntRect-to-Rect conversions:
- old: ToRect()
- new: IntRectToRect()
2015-11-11 14:23:14 -08:00
Timothy Nikkel
54e904ba50
Bug 1223639. Rename ForceInside to MoveInsideAndClamp so it's clearer what it does. r=botond
...
This has led to confusion at least twice.
2015-11-11 16:38:25 -06:00
Bas Schouten
93d26fd2d7
Bug 1210560 - Part 5: Convert BasicLayers usecases to PushGroupForBlendBack and temporary surfaces. r=jrmuizel
2015-11-11 16:15:39 +01:00
Milan Sreckovic
03b025515f
Bug 1219494 - Part 1. TextureD3D11 and gfxDevCrash instead of MOZ_CRASH where appropriate. r=mchang
2015-11-09 11:28:00 +01:00
Milan Sreckovic
366aa52088
Bug 1222033 - Rename gfxCrash to gfxDevCrash. r=jrmuizel
2015-11-09 07:28:00 +01:00
Nathan Froyd
7be5c61b60
Bug 1222569 - remove unused variable from DrawTargetD2D1.cpp; r=Bas
2015-11-06 15:09:03 -05:00
Nathan Froyd
da2de4dcd7
Bug 1222569 - remove unused const variables from ExtendInputEffectD2D1.cpp; r=Bas
2015-11-06 15:08:29 -05:00
Nathan Froyd
3bc310d4a9
Bug 1222569 - fix initialization order in SourceSurfaceD2D1; r=Bas
...
Member fields are supposed to be initialized in the order they are
declared, but the constructor of SourceSurfaceD2D1 initialized
mDrawTarget prior to mDevice. This is probably harmless, but it does
cause a warning on clang-cl, so let's fix it.
2015-11-05 15:22:08 -05:00
Carsten "Tomcat" Book
7595d2a67b
Backed out changeset 663cc5ad5c32 (bug 1222033) for bustage on a CLOSED TREE
2015-11-09 09:44:08 +01:00
Milan Sreckovic
65bac6ecdf
Bug 1222033 - Rename gfxCrash to gfxDevCrash. r=jrmuizel
2015-11-05 07:32:00 +01:00
Nathan Froyd
d11c8bc813
Bug 1222175 - initialize base of ScaledFontDWrite before its members; r=Bas
...
Initializing things in the other order causes warnings on clang-cl.
2015-11-05 15:19:33 -05:00
Bas Schouten
9e2d8fdf82
Bug 1220624: Make MaskSurface properly take into account the possibilities of partial uploads. r=jrmuizel
2015-11-05 00:05:26 +01:00
Jeff Muizelaar
67a6c82ee3
Bug 1220673 - Make DrawTargetCG::Mask() MOZ_CRASH
...
It's not completely implemented so we should crash early rather than have
people use it by mistake.
2015-11-02 10:13:09 -05:00
Jeff Muizelaar
0a8d0e132c
Bug 1209812 (part 5) - Add endian-neutral variants to SurfaceFormat. r=nical,Bas.
2015-10-18 21:53:40 -07:00
Thinker K.F. Li
ae54a53e96
Bug 1211360 - Don't snap for non-translation 3D transform. r=roc
2015-10-25 22:05:00 -04:00
Nicholas Nethercote
4cb985dd68
Bug 1219476 (part 4) - Replace PRLogModuleInfo usage with LazyLogModule in gfx/. r=erahm.
2015-10-29 15:48:20 -07:00
Milan Sreckovic
69f6abe34a
Bug 1204922 - More information about crashes. r=bas
2015-10-27 14:11:00 +01:00
Nicholas Nethercote
9de6dd96cb
Bug 1209812 (part 4) - Add comments to SurfaceFormat. r=jrmuizel,Bas.
2015-10-22 23:04:40 -07:00
Nicholas Nethercote
cd0d639069
Bug 1209812 (part 3) - Rename SurfaceFormat::R5G6B5 as R5G6B5_UINT16. r=Bas.
2015-10-22 23:01:31 -07:00
Mason Chang
f62a7895a0
Backout bug 842894 for lack of skia documentation. r=me
2015-10-28 15:17:04 -07:00
Mason Chang
ce6db513af
Bug 842894 - Support DirectWrite using the Skia backend. r=bas
2015-10-28 14:54:54 -07:00
Ted Mielczarek
babbefcab9
bug 1170987 - Fix gfx/2d to build on iOS. r=jrmuizel
2015-10-28 14:10:24 -05:00
Nathan Froyd
55609900e0
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
Milan Sreckovic
45d627755d
Bug 1217550 - In debug build, drop a note if we use SkiaGL canvas. Simplify logging defines and flags for non-critical errors. r=benwa
2015-10-23 14:08:00 +02:00
Xidorn Quan
e7c77e4259
Bug 962249 part 2 - Add Edge() helper method to BaseRect. r=roc
2015-10-27 13:38:02 +09:00
Nathan Froyd
c6c8175a87
Bug 1217941 - remove <iomanip> from ScaleFactors2D.h; r=jrmuizel
...
We don't use any <iomanip> functions in this header.
2015-10-23 14:07:36 -04:00
Milan Sreckovic
433bba9d13
Bug 1217192 - Use gfxCriticalNote where we're already using the non-default construction parameter. r=mchang
2015-10-21 14:34:00 +02:00
James Kitchener
dc63a578f6
Bug 1011020 - Add the ability to fall back to not snapping, if snapping results in a zero area rect r=roc (relanding with correct bug number, DONTBUILD)
2015-10-17 10:18:00 -07:00