Commit Graph

38 Commits

Author SHA1 Message Date
roc+@cs.cmu.edu
b85eb999a0 Bug 403181. Pass the desired source rectangle for background images down into nsThebesImage and ensure we don't sample outside it. Back out a bad pixman patch that caused regressions, and adjust image encoding tests so they don't depend on the regression. Also switchs some reftests to quirks mode so that the 1-appunit width of <br>s doesn't bite us. r=vlad,sr=dbaron 2008-03-09 14:55:05 -07:00
roc+@cs.cmu.edu
17ebdab033 Backing out Bug 403181. JPEG encoding test failure :-( 2008-03-07 01:28:34 -08:00
roc+@cs.cmu.edu
2c9f274033 Bug 403181. Various fixes to image rendering. Most importantly, we track the desired subimage of a CSS background image and ensure we don't sample outside it. r=vlad,sr=dbaron 2008-03-07 00:34:12 -08:00
vladimir@pobox.com
c325e922a7 b=415854, make single-pixel optimized images release memory; patch from joe@drew.ca; r+sr=vlad 2008-03-05 22:51:13 -08:00
roc+@cs.cmu.edu
d5b5fd63c2 Backing out 403181 again 2008-03-04 01:36:07 -08:00
roc+@cs.cmu.edu
ffb68f7a15 Bug 403181. Track which subimage of an image we want to draw and copy it to a temporary surface if necessary to prevent sampling of pixels outside the subimage when zooming. Also, enable EXTEND_PAD or SetFilter(0) if the context has a transformation that's not a simple translation, since that might induce cairo to sample pixels outside the source (sub)image. r=vlad,sr=dbaron 2008-03-04 00:21:34 -08:00
roc+@cs.cmu.edu
67c8b1e808 Bug 403181 backout 2008-03-02 18:38:19 -08:00
roc+@cs.cmu.edu
8e907ad002 Bug 403181. Use a temporary surface to prevent sampling of pixels outside the intended source rectangle when zooming the image in some cases. r=vlad,sr=dbaron,a=beltzner 2008-03-02 17:01:14 -08:00
asqueella@gmail.com
7e4e3c1a8f Bug 392927 - Kill old gfx code in nsIImage p=Jonathan Steele <xfsunoles@gmail.com> r+a=pavlov 2007-09-02 09:17:37 -07:00
asqueella@gmail.com
b5dc24de40 Bug 216682 - Eliminate DrawToImage p=Alfred Kayser <alfredkayser@nl.ibm.com> r=tor, sr=pavlov, a=pavlov 2007-08-25 12:18:44 -07:00
vladimir@pobox.com
87c819d510 b=391583, DoesARGBImageDataHaveAlpha is slow, r=stuart,a=me 2007-08-17 12:54:58 -07:00
sharparrow1@yahoo.com
bda6ee51bc Update UUIDs 2007-06-27 15:15:13 -07:00
sharparrow1@yahoo.com
5a332b3718 Bug 386108: remove nsIDrawingSurface. rs=pavlov 2007-06-27 14:53:34 -07:00
dbaron%dbaron.org
405d600298 When drawing images, track full source and dest regions (unclipped) or use floats, to avoid rounding problems with advanced image resizing algorithms. b=371434 r=vlad r+sr=roc 2007-03-20 00:58:20 +00:00
pavlov%pavlov.net
714da423c5 speed up image drawing by decoding directly in to 32bpp buffers. bug 331298. r=vlad 2006-03-25 00:34:48 +00:00
tor%cs.brown.edu
441b9a7998 Bug 330041 - <svg:image> upside down and color shifted with cairo gfx.
Also fixes artifacts on animated gifs with cairo gfx.  r=vlad
2006-03-10 22:27:37 +00:00
bsmedberg%covad.net
78f6d0683d Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver 2005-11-11 14:36:26 +00:00
paper%animecity.nu
0dd638f20e Bug 274244: Display more broken GIFs. r=stuart sr=tor 2005-03-08 03:44:28 +00:00
pedemont%us.ibm.com
4ebc402441 Bug 245407 - Use Quartz for nsImageMac. r=sfraser, sr=tor. 2005-02-20 03:21:04 +00:00
roc+%cs.cmu.edu
826f164081 Bug 265084. Progress towards floating point nscoord: make image interfaces and libpr0n use PRInt32 instead of nscoord. r+sr=tor 2004-11-15 04:16:07 +00:00
dbaron%dbaron.org
0209021a61 Remove the nsDrawingSurface typedef and replace it with nsIDrawingSurface*. b=64023 r+sr=roc 2004-07-18 17:36:03 +00:00
gerv%gerv.net
9d2ee4928c Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-17 21:52:36 +00:00
tor%cs.brown.edu
6e0bbb9e6a Bug 113561 - handle tiling of images where the frame is smaller
than the container.  r=pavlov, sr=bryner
2004-01-16 23:28:51 +00:00
paper%animecity.nu
1c7e8f2a3d Bug 181695 Cleanup nsIImage. r= dcone,arougthoper,pedemont,tor,timeless sr=roc+moz 2003-01-20 05:40:51 +00:00
gerv%gerv.net
04bc2069f5 License changes, take 2. Bug 98089. mozilla/gfx/. 2001-09-26 00:16:04 +00:00
cls%seawood.org
736f7cf167 Adding getter for mAlphaDepth to nsIImage.
Thanks to lordpixel@mac.com for the patch.
Bug #81353 r=pavlov sr=sfraser a=roc+moz
2001-08-28 10:04:59 +00:00
pavlov%netscape.com
1e20984ef0 fixing bug 78690. removing old imagelib. r=jst sr=waterson 2001-08-09 20:22:39 +00:00
dbaron%fas.harvard.edu
aa4fec2b67 Header include dependency cleanup. b=64023 r=jag rs=brendan 2001-07-16 02:40:48 +00:00
pavlov%netscape.com
4aaf421123 adding the gfx changes, that arn't part of bug 37779, needed for the new imagelib (ifdef'd) r=saari, sr=sfraser 2001-03-22 04:45:42 +00:00
pnunn%netscape.com
99dd0f44ed bug#13718: add hooks for natural dimensions on images. pnunn. r: cmanske, kmcclusk. 2000-09-01 01:12:39 +00:00
pnunn%netscape.com
4b387cfa79 bug#1248, fix part1. pnunn. rev:troy,dcone,neeti 2000-02-01 22:25:21 +00:00
dmose%mozilla.org
142ac52eaf updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
sfraser%netscape.com
13525c0af2 Fixes for 18029 and 16723 -- fix image drawing on Mac to use GWorlds, and put in api to lock and unlock pixels. r=pnunn, a=chofmann. 1999-11-04 22:26:57 +00:00
bruce%cybersight.com
1e47eb8696 Interface classes really do need to define |GetIID()|. 5 of these files are just being switched over to the macro. The others were all lacking |GetIID()| implementations. 1999-06-14 06:16:08 +00:00
syd%netscape.com
dbc46c529c Get whether rows are organized top to bottom, or bottom to top in images. 1999-03-30 00:56:35 +00:00
dcone%netscape.com
c04cbe9bf0 cleanup of nsIImage class. There were routines and methods no longer used or needed. 1999-02-08 16:34:56 +00:00
dcone%netscape.com
0f03d8276c Added image support to the postscript 1999-02-04 15:17:42 +00:00
michaelp%netscape.com
c8e0ba6a08 moving headers from src to public. added support for dib sections to windows
drawing surface. WIP on making blender work with arbitrary pixel organizations.
1999-01-25 22:16:47 +00:00