Commit Graph

943 Commits

Author SHA1 Message Date
Vladimir Vukicevic
96a37ff771 b=487693; avoid aggressive invalidation in canvas; r=roc 2009-06-25 13:31:35 -07:00
Vladimir Vukicevic
8937102d30 b=492724; pull out canvas utility functions into CanvasUtils/LayoutUtils; r+sr=roc 2009-06-25 13:30:56 -07:00
Saint Wesonga
1499af9c27 Reset clipping region it PutImageData so that it doesn't clip the output, per spec. r=vlad sr=dbaron (Bug 433397) 2009-06-23 14:09:27 -07:00
Dirk Schulze
370b8077ed Bug 471281. Reimplement arcTo() to match Canvas spec. r=jrmuizel
This is based on Philip Taylor's emulation written in JavasScript.

Relanding this now that 499161 has landed which should fix test failures.
2009-06-17 13:57:50 -04:00
Jeff Muizelaar
4333b12716 Backout Bug 471281 changeset b116b49459f8 because of Mochitest failures on Mac OS X 2009-06-17 16:43:12 -04:00
Robert Longson
a9b9f625d1 Bug 486936 - image-rendering style should apply to canvas element. r=vladimir 2009-06-17 21:31:18 +01:00
Dirk Schulze
78f3edb069 Bug 471281. Reimplement arcTo() to match Canvas spec. r=jrmuizel
This is based on Philip Taylor's emulation written in JavasScript.
2009-06-17 13:57:50 -04:00
Boris Zbarsky
34257ee02a Bug 495499. Speed up PutImageData for cases when the array contains doubles. r=brendan,vlad,jorendorff 2009-06-11 10:35:41 -04:00
Jeff Muizelaar
71e72d2285 bug 473443 - drawImage of canvas onto self is incorrect r=vlad 2009-04-20 11:26:44 -04:00
Boris Zbarsky
2b94ef0426 Bug 485631 followup. Only disable the dirty frae asserts under drawWindow if the flag to not flush was passed in. r+sr=roc 2009-04-09 12:43:15 -04:00
Vladimir Vukicevic
53dec53590 b=483412; don't overaggressively invalidate on canvas drawWindow; r=roc 2009-04-08 13:27:20 -07:00
Vladimir Vukicevic
d57644f48c b=436932, add imageRenderingQuality property to 2D canvas, r=roc 2009-04-07 12:05:41 -07:00
Jeff Muizelaar
c77c0f248d Bug 481926 - Rewrite color management component sr=vlad, r=ted, r=joedrew (\o/)
Replaces lcms with qcms
2009-04-07 12:02:11 -04:00
Robert Longson
0329bdc30d Bug 486934 - video display should take account of image-rendering CSS property. r+sr=roc 2009-04-06 12:05:29 +01:00
Joe Drew
64dcaf7b09 Backed out changeset 6f3c2171bbb2:
Bug 481926 - Rewrite color management component. r=joe,ted sr=vlad
2009-04-03 16:27:27 -04:00
Jeff Muizelaar
e30918d02d Bug 481926 - Rewrite color management component. r=joe,ted sr=vlad 2009-04-03 15:09:56 -04:00
Doug Turner
e2cf71f1f9 Backing out bug 473443 - drawImage of canvas onto self is incorrect. WINCE only. 2009-03-12 09:56:44 -07:00
Doug Turner
530dacebb2 Bug 473443 - Backing out bitblt for windows ce. This patch causes image sheering in fennec. r=blassey 2009-03-05 10:27:27 -08:00
Jonathan Kew
fe09ec4b0e Bug 479276. Support a new kind of glyph bounding-box: TIGHT_HINTED_OUTLINE_EXTENTS, and use it to stop MathML spacing depending on exact ink extents. r+sr=roc 2009-02-24 21:32:58 +13:00
L. David Baron
34bb25e389 Initialize mLastStyle to avoid valgrind warnings. (Bug 477961) r=vlad 2009-02-19 09:48:37 -08:00
L. David Baron
56c33cf7b8 Back out all 8 changesets that I just landed (bugs 477959, 477961, 322475, 478899, 475215, 478156) again, because Talos Try server builds lie about which changesets they're testing. 2009-02-19 09:06:18 -08:00
L. David Baron
b51e48e0bf Initialize mLastStyle to avoid valgrind warnings. (Bug 477961) r=vlad 2009-02-19 07:29:27 -08:00
Ginn Chen
a3627f5c3e Bug 479022 fast path of nsCanvasRenderingContext2D::PutImage() is wrong on BIG ENDIAN machine r=vladmir 2009-02-19 21:00:41 +08:00
L. David Baron
204c9f0ed9 Revert (back out) the previous 11 changesets (bugs 477959, 477961, 477963, 477962, 322475, 478899, 475215, 478156), due to Mac talos orange with (as usual) no useful diagnostic. 2009-02-18 18:59:47 -08:00
L. David Baron
47aa0caab0 Initialize mLastStyle to avoid valgrind warnings. (Bug 477961) r=vlad 2009-02-18 17:13:24 -08:00
Vladimir Vukicevic
b125433aac Dummy checkin for CLOSED TREE (patchset is Windows CE only) 2009-02-12 18:26:02 -08:00
Brad Lassey
311a535293 bug 473443 - drawImage of canvas onto self is incorrect r=jrmuizel,vlad 2009-02-10 18:44:40 -05:00
L. David Baron
66ece5a7aa Implement CSS computation of font-stretch property and store it in the gfx font structures. (Bug 3512) r=vlad sr=bzbarsky 2009-01-29 12:39:18 -08:00
Robert O'Callahan
9fe8d82104 Bug 472244. Flush out MozAfterPaint for previously painted areas before we go ahead and fire MozReftestInvalidate to test invalidation. Also make canvas.drawWindow take float parameters so we can more precisely specify the area to render when 'device pixels' don't match CSS pixel boundaries. r=dbaron,vlad 2009-01-07 21:31:36 +13:00
Stuart Parmenter
b540e6f105 bug 458373. Allow you to pass in a flag to drawWindow to show the caret. patch from roc. r=me 2008-12-12 02:50:31 -08:00
Martin Stránský
3785358f26 b=403513 bad kerning in print output if hinting is set to medium or full r=karlt sr=vlad 2008-12-17 16:17:50 +13:00
Karl Tomlinson
ddfcd407fc backout b=403513 due to compile error in gfxFontSelectionTest.cpp 2008-12-17 13:57:40 +13:00
Martin Stránský
2bfb295cfc b=403513 bad kerning in print output if hinting is set to medium or full r=karlt sr=vlad 2008-12-17 13:44:32 +13:00
Michael Ventnor
81bf6790df Bug 468018 - Optimize box-shadow rendering even further by doing more intersections; r=vladimir 2008-12-06 19:54:36 +01:00
Markus Stange
5da756c072 Bug 459796 - fixing unit test orange, r+sr=roc 2008-10-14 11:29:53 +02:00
Stuart Parmenter
8ea1501d7d bug 459796. Add optional flags to drawWindow to allow finer control. r=vlad 2008-10-13 23:29:30 -07:00
John Daggett
6e43b8783a Bug 441473. Implement user font set object. r+sr=roc 2008-10-01 12:01:53 +09:00
Taras Glek
95bb7caa6a s/if NS_FAILED(rv)/if(NS_FAILED(rv)/ sr=roc 2008-09-25 18:44:05 -07:00
Vladimir Vukicevic
021c790fcf b=310682, add support for shadows in HTML Canvas; patch from Eric Bulter; r=vlad 2008-09-25 12:53:52 -07:00
Arpad Borsos
8eddcad69c Bug 454482 - Clean up unused variables in content/; r+sr=peterv 2008-09-24 06:37:56 +02:00
Vladimir Vukicevic
e4bf106bc6 b=451938; ensure correct principal is used in case of <video> and drawImage; r=bz 2008-09-06 16:47:28 -07:00
Vladimir Vukicevic
131a0ceffb b=417836, canvas throws when accessing img with data URL; r=bz 2008-09-06 16:45:57 -07:00
Vladimir Vukicevic
4e82b10d81 b=433004, support nsICanvasRenderingContext2D.createImageData; r+sr=roc 2008-09-02 10:52:22 -07:00
Robert Sayre
2dbe3f3316 Bug 451669. Bustage fix for linux canvas build. Patch by Mike Kaplinskiy. r/sr=jst. 2008-08-22 02:23:29 -04:00
Vladimir Vukicevic
f6e1a0adcc b=451242, use fast-paths for dense array to uint conversion in canvas 2008-08-20 14:47:10 -07:00
Vladimir Vukicevic
0ac8509c68 b=448674; Allow video to be used as source in canvas drawImage; r=cdouble,sr=roc 2008-08-18 12:40:11 -07:00
Eric Butler
52f14877b1 Avoid unnecessary InvalidateFrame calls from CanvasRenderingContext2D - bug 447836 r=vlad 2008-08-04 10:38:09 -07:00
Eric Butler
c2bbdeaccc Convert canvas to Thebes - bug 306801 r=vlad 2008-07-23 10:50:03 -07:00
Eric Butler
3a19616d17 Canvas routines draw right-to-left text backwards - bug 402276 r=smontagu sr=roc 2008-07-18 11:29:06 -07:00
Vladimir Vukicevic
afb7a352e8 b=433235, drawImage of canvas onto self is incorrect; r=roc 2008-07-11 13:32:12 -07:00