Commit Graph

138 Commits

Author SHA1 Message Date
Ehsan Akhgari
ef6963bd58 Bug 1116622 - Give TemporaryRef a take() method semantically equivalent to already_AddRefed::take(); r=froydnj
This is in preparation of removing TemporaryRef.  It should help make
already_AddRefed a drop-in replacement for it.
2015-01-05 11:32:37 -05:00
Milan Sreckovic
dcdba4d25d Bug 1095510 - See if ClearRect has weird data. r=jmuizelaar 2014-12-19 16:06:15 -05:00
Nicholas Nethercote
9719fd2fcc Bug 1113037 - Use stack allocation in DrawTargetCairo::FillGlyphs() in the common case. r=mattwoodrow.
--HG--
extra : rebase_source : f6270322664121cec3c82a7448c80963df6b0e5f
2014-12-18 21:23:28 -08:00
Milan Sreckovic
24a732e527 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
James Willcox
25c96c2585 Bug 1049138 - Use the cairo surface format to determine gfx format when able r=jmuizelaar
--HG--
extra : histedit_source : 9027bee76ab792d29a920bffb6443f40e6a35e13
2014-12-17 15:49:57 -06:00
Carsten "Tomcat" Book
4c225d7e54 Backed out changeset 8b751f12a3ad (bug 1101685) for windows 7 debug crashtest/reftest crashes 2014-12-17 12:56:04 +01:00
Milan Sreckovic
46b29f1150 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
Milan Sreckovic
1ba7431253 Bug 1095925: Propagate the error up the chain. r=jmuizelaar 2014-11-14 16:11:02 -05:00
Jonathan Watt
bc0d809b84 Bug 1083755 - Port the CAIRO_COORD_MAX code in nsRenderingContext::FillRect to DrawTargetCairo::FillRect. r=Bas, a=kwierso 2014-11-06 22:07:36 +00:00
Jeff Muizelaar
d6bd4e18e3 Bug 1072847 - Initialize mSurface. r=BenWa
--HG--
extra : rebase_source : abd536b8cd2e91c28ea0cd09e21a12da1e8dcee1
2014-10-28 10:08:25 -04:00
Michael Wu
b0975a6e33 Bug 1082745 - Avoid reoptimizing optimized SourceSurfaceCairos, r=bas 2014-10-15 17:13:14 -04:00
Mason Chang
010cc23678 Bug 1056340 - Clip viewport fixed position overflow to scroll frame. r=roc 2014-09-23 09:44:00 -04:00
Bas Schouten
2bd09f0166 Bug 1069584: Bail if a cairo surface is in an invalid state. r=jrmuizel 2014-09-19 00:01:24 +02:00
Bas Schouten
17f1ccc927 Bug 1068613 - Part 4: Log failures in CairoCreateSimilar. r=jrmuizel 2014-09-17 23:23:09 +02:00
Matt Woodrow
bfdf5c0a2a Bug 1062723 - Part 2: Implement source clipping for DrawTargetCairo. r=Bas
--HG--
extra : rebase_source : 9e02e1e91c3bcd455640a1f60e4da673302c5cf1
2014-09-12 17:11:36 +12:00
Ehsan Akhgari
08ea187b4e Bug 1060802 - Fix some more bad implicit constructors in gfx; r=roc 2014-08-31 23:31:20 -04:00
Matt Woodrow
636bbdc9ed Bug 1053934 - Don't use the cairo context to create similar surfaces since it might be in an error state. r=jrmuizel 2014-08-28 16:07:43 +12:00
Matt Woodrow
903bd31201 Bug 1051592 - Clip DrawTargetCairo's context to the surface bound to prevent massive mask allocations within cairo. r=jrmuizel 2014-08-15 14:23:22 +12:00
Ryan VanderMeulen
bac3f6dbb7 Backed out changeset 028c43cd12a5 (bug 1051592) for Windows bustage.
CLOSED TREE
2014-08-15 00:37:46 -04:00
Matt Woodrow
3b9b54ae65 Bug 1051592 - Clip DrawTargetCairo's context to the surface bound to prevent massive mask allocations within cairo. r=jrmuizel
--HG--
extra : rebase_source : 89bc9dd9c4d5120c73b025d5106827594fac6663
2014-08-15 14:23:22 +12:00
Nicolas Silva
d6dd3d64a1 Bug 1025138 - Integrate DrawTargetTiled preffed off. r=mattwoodrow 2014-08-06 14:40:03 +02:00
Matt Woodrow
bfd512a14f Bug 1035168 - Use Map api to check if DataSourceSurfaces have data available in DrawTargetCairo. r=Bas 2014-07-09 13:53:48 +12:00
Nicolas Silva
f7dfad8186 Bug 1034584 - Prevent invalid sources to contaminate cairo DrawTargets during painting operations. r=Bas 2014-07-04 16:55:04 +02:00
Mike Hommey
3ebd9bcf37 Bug 1031267 - Fix system cairo builds after bug 1027763. r=jwatt,a=kwierso 2014-07-02 09:15:51 +09:00
Matt Woodrow
7bbf06ccef Bug 997304 - Copy the image data if it's not a suitable size for cairo. r=Bas 2014-07-01 17:52:51 +12:00
Carsten "Tomcat" Book
60d3fd7a77 Backed out changeset c9c8c4ae8e0f (bug 997304) for bustage on a CLOSED TREE 2014-07-01 08:12:19 +02:00
Matt Woodrow
6ebed97672 Bug 997304 - Copy the image data if it's not a suitable size for cairo. r=Bas 2014-07-01 17:52:51 +12:00
Jonathan Watt
d6c9d59f3b Backed out changeset a7ea536288e0 (bug 1031267) for bustage.. 2014-06-27 16:58:36 +01:00
Jan Beich
e16dc2ff0b Bug 1031267 - Fix --enable-system-cairo builds after they were broken by bug 1027763. r=jwatt 2014-06-27 16:29:17 +01:00
Jonathan Watt
d103dd96a6 Bug 1027763, part 4 - Add a new DrawTarget::GetType() method and three generic type enum values for it to return. r=Bas, r=jrmuizel 2014-06-27 10:17:49 +01:00
Sasha Fydrich
965c67e0f3 Bug 1020439 - Call cairo_surface_destroy in GetCairoSurfaceForSourceSurface in case of failure. r=bas 2014-06-22 11:10:07 -07:00
Jonathan Watt
3480cabb15 Bug 1027763, part 1 - Rename DrawTarget::GetType() to DrawTarget::GetBackendType() in Moz2D code. r=Bas 2014-06-19 21:35:33 +01:00
Jonathan Watt
344fb8cd20 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
Michael Wu
19d86c1d8f Bug 994081 - [3/3] Optimize surfaces on Cairo X11, r=Bas f=karlt 2014-05-22 20:06:16 -04:00
Matt Woodrow
b4ecb7164e Bug 1003707 - Pass surfaces sizes in to CreateSourceSurfaceFromNativeSurface instead of trying to extract it from cairo. r=Bas 2014-05-08 11:23:44 +12:00
Dan Glastonbury
9abce9fcec Bug 963492 - Assertion failure: GetTransform() == Matrix(mat.xx, mat.yx, mat.xy, mat.yy, mat.x0, mat.y0). r= matt.woodrow 2014-04-15 14:57:29 +10:00
peter chang
44c7bdd42f Bug 970007 - Fix incorrect colorformat when using CairoSurface. r=gal r=bas 2014-04-14 20:51:00 +02:00
Matt Woodrow
805b607329 Bug 993784 - Part 2: Add gfxContext API to mask directly from a moz2d SourceSurface. r=roc 2014-04-09 21:15:19 +12:00
Horia Iosif Olaru
b44521b18a Bug 952051 - Change the GetOperator call in FlushGroup to take into account the mix-blend-mode operator for the group. r=roc
Create a new GetEffectiveOperator function that also takes into acount the mix-blend-mode operator for basic layers. Replace logic that chooses between the effective mix blend mode and the operator returned by GetOperator, with calls to this function.
2014-02-27 11:56:48 -05:00
Benoit Jacob
06f7a9c4a2 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
2d5774ca0a 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
55e7c24065 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
b493201ca4 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
Nicholas Cameron
a073924ec4 Bug 950550. Restore the transform in DrawTargetCairo::PopClip. r=jrmuizel
--HG--
extra : rebase_source : 999f2d3794de202f68bf4adee8f4b0034e5f91b6
2014-01-07 11:27:03 +13:00
Markus Stange
3b8525bea8 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
73ad1884c7 Bug 924102 - Let AlphaBoxBlur take separate blur radius parameters for X and Y. r=Bas 2013-11-27 12:22:36 +01:00
Jaroslav Kopecký
d4a7a7559c Bug 937978 - Make SetPermitSubpixelAA a nop with --enable-system-cairo (like bug 623797). r=mattwoodrow 2013-11-13 08:23:19 -05:00
Matt Woodrow
f477146890 Bug 926023 - Use the value of SetPermitSubpixelAA for DrawTargetCairo. r=Bas 2013-11-05 17:50:56 +13:00
Nicholas Cameron
54557b996d Bug 934842. CopySurface for data source surfaces. r=Bas 2013-11-08 14:39:34 +13:00
Matt Woodrow
c42d703d5e Backout c99d15a060e2 for causing windows Ru reftest failures. 2013-11-05 20:00:05 +13:00