Commit Graph

102 Commits

Author SHA1 Message Date
Rob Arnold
4b817e70c5 Bug 503355 - drawWindow should have an option to draw with scrollbars and at the current viewport r=vladimir
--HG--
extra : rebase_source : afad172931caa4d1fa37edeeaabec0e933cc447c
2009-07-21 15:45:21 -07:00
timeless@mozdev.org
b9104e9f88 Bug 494688 nsCanvasRenderingContext2D::CreateImageData warning: comparison between signed and unsigned
r+sr=vlad
2009-06-27 18:42:51 -07:00
Vladimir Vukicevic
5e215020b8 fixup for msvc 2009-06-27 17:33:06 -07:00
Vladimir Vukicevic
d49b688ab5 b=500883; put canvas3d into core (disabled by default, configure flag to enable); r=me,npotb 2009-06-27 16:44:35 -07:00
Vladimir Vukicevic
4ffe8ab539 b=500493; fix bogus getter_AddRefs in canvas code; r=stuart 2009-06-27 16:44:32 -07:00
Vladimir Vukicevic
5ffc3df659 b=487693; avoid aggressive invalidation in canvas; r=roc 2009-06-25 13:31:35 -07:00
Vladimir Vukicevic
ce0b21af22 b=492724; pull out canvas utility functions into CanvasUtils/LayoutUtils; r+sr=roc 2009-06-25 13:30:56 -07:00
Saint Wesonga
478108b350 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
af1d0235a1 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
ea694cb6f0 Backout Bug 471281 changeset b116b49459f8 because of Mochitest failures on Mac OS X 2009-06-17 16:43:12 -04:00
Robert Longson
1973deec58 Bug 486936 - image-rendering style should apply to canvas element. r=vladimir 2009-06-17 21:31:18 +01:00
Dirk Schulze
50a8dd0633 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
7b0ee90b96 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
6038010641 bug 473443 - drawImage of canvas onto self is incorrect r=vlad 2009-04-20 11:26:44 -04:00
Boris Zbarsky
fcb79320f6 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
008463d971 b=483412; don't overaggressively invalidate on canvas drawWindow; r=roc 2009-04-08 13:27:20 -07:00
Vladimir Vukicevic
5289a01dc6 b=436932, add imageRenderingQuality property to 2D canvas, r=roc 2009-04-07 12:05:41 -07:00
Robert Longson
b2f8e75361 Bug 486934 - video display should take account of image-rendering CSS property. r+sr=roc 2009-04-06 12:05:29 +01:00
Doug Turner
b9def8385d Backing out bug 473443 - drawImage of canvas onto self is incorrect. WINCE only. 2009-03-12 09:56:44 -07:00
Doug Turner
6418098a80 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
94391277aa 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
--HG--
extra : rebase_source : 43f9009f6457361e690062f87b2e5fda4041dc48
2009-02-24 21:32:58 +13:00
L. David Baron
696da4e4ee Initialize mLastStyle to avoid valgrind warnings. (Bug 477961) r=vlad 2009-02-19 09:48:37 -08:00
L. David Baron
a91aa25ab0 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
84cbc5d035 Initialize mLastStyle to avoid valgrind warnings. (Bug 477961) r=vlad 2009-02-19 07:29:27 -08:00
Ginn Chen
b09d87a170 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
8b207bcc51 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
ba0329dd6d Initialize mLastStyle to avoid valgrind warnings. (Bug 477961) r=vlad 2009-02-18 17:13:24 -08:00
Brad Lassey
bb73fc3637 bug 473443 - drawImage of canvas onto self is incorrect r=jrmuizel,vlad 2009-02-10 18:44:40 -05:00
L. David Baron
f8774a93ef 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
4659c94f44 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
91c3580bb5 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ý
bbe42c7104 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
5286ba753b backout b=403513 due to compile error in gfxFontSelectionTest.cpp 2008-12-17 13:57:40 +13:00
Martin Stránský
12cfd5e1c9 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
e758b80cd9 Bug 468018 - Optimize box-shadow rendering even further by doing more intersections; r=vladimir 2008-12-06 19:54:36 +01:00
Markus Stange
6ea716947b Bug 459796 - fixing unit test orange, r+sr=roc 2008-10-14 11:29:53 +02:00
Stuart Parmenter
e8fef4bbbc bug 459796. Add optional flags to drawWindow to allow finer control. r=vlad 2008-10-13 23:29:30 -07:00
John Daggett
c5d2a8ddfd Bug 441473. Implement user font set object. r+sr=roc 2008-10-01 12:01:53 +09:00
Taras Glek
da36423743 s/if NS_FAILED(rv)/if(NS_FAILED(rv)/ sr=roc 2008-09-25 18:44:05 -07:00
Vladimir Vukicevic
4f48417c20 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
cce478d087 Bug 454482 - Clean up unused variables in content/; r+sr=peterv 2008-09-24 06:37:56 +02:00
Vladimir Vukicevic
787a337e0f 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
02676ae0e7 b=417836, canvas throws when accessing img with data URL; r=bz 2008-09-06 16:45:57 -07:00
Vladimir Vukicevic
ff1ee85956 b=433004, support nsICanvasRenderingContext2D.createImageData; r+sr=roc 2008-09-02 10:52:22 -07:00
Robert Sayre
791b10e1b4 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
4c7d579514 b=451242, use fast-paths for dense array to uint conversion in canvas 2008-08-20 14:47:10 -07:00
Vladimir Vukicevic
79428ea86d 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
727ad67606 Avoid unnecessary InvalidateFrame calls from CanvasRenderingContext2D - bug 447836 r=vlad 2008-08-04 10:38:09 -07:00
Eric Butler
2f6c10b076 Convert canvas to Thebes - bug 306801 r=vlad 2008-07-23 10:50:03 -07:00
Eric Butler
0814facc93 Canvas routines draw right-to-left text backwards - bug 402276 r=smontagu sr=roc 2008-07-18 11:29:06 -07:00