roc+%cs.cmu.edu
ac8af40dd1
Bug 302445. Don't hold a strong reference to the device context from nsBlender --- this prevents leaking the device context in some cases where frames leak. r+sr=dbaron,a=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@177001 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-02 19:48:39 +00:00
gandalf%firefox.pl
7db82a2e87
Bug 283343: GFX::nsBlender - wrong order of parameters may cause wrong color depth calculation; p=sergei_d@fi.tartu.ee r/sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@170815 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-17 01:39:51 +00:00
ere%atp.fi
a053099575
Fix for bug 271931: Crash with "Integer divide by zero" exception in nsBlender
...
rs=neil
git-svn-id: svn://10.0.0.236/trunk@166308 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-06 13:53:35 +00:00
ere%atp.fi
40aa53b22f
Fix for bug 228399: background-color is mishandled when -moz-opacity is less than 1.0
...
r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@164931 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-04 19:08:31 +00:00
ere%atp.fi
f7d5baca83
Take 2 for bug 252067: Add support for translucent windows for Win32 (Windows 2000 and later)
...
Patch by Dainis Jonitis
r=ere
sr=roc
git-svn-id: svn://10.0.0.236/trunk@159920 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-27 19:14:44 +00:00
ere%atp.fi
f0ed47a911
Backing out the previous checkin. Apparently compiles on VC7 but not on VC6 (or the Platform SDK version creature has).
...
git-svn-id: svn://10.0.0.236/trunk@159868 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-26 19:49:03 +00:00
ere%atp.fi
879af0669c
Bug 252067: Add support for translucent windows for Win32 (Windows 2000 and later)
...
Patch by Dainis Jonitis
r=ere
sr=roc
git-svn-id: svn://10.0.0.236/trunk@159867 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-26 18:37:01 +00:00
dbaron%dbaron.org
46bbadb4bd
Remove the nsDrawingSurface typedef and replace it with nsIDrawingSurface*. b=64023 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@159427 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-18 17:36:03 +00:00
roc+%cs.cmu.edu
97b16c12fa
Bug 241939. Try to get 8-bit transparency logic right this time :-) r+sr=blizzard
...
git-svn-id: svn://10.0.0.236/trunk@157274 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-01 23:27:28 +00:00
roc+%cs.cmu.edu
fb23872d16
Bug 241939. Do something reasonable with blending in 8-bit devices. r+sr=blizzard
...
git-svn-id: svn://10.0.0.236/trunk@156683 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-21 01:12:15 +00:00
gerv%gerv.net
98831918fc
Bug 236613: change to MPL/LGPL/GPL tri-license.
...
git-svn-id: svn://10.0.0.236/trunk@155044 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 21:52:36 +00:00
uid502
e8fb72319a
Bug 202751. Be conservative in nsBlender about how we decide the bits-per-pixel. Also, tweak the logic for setting window transparency so that we make the window transparent even if it hasn't been painted yet. r+sr=blizzard
...
git-svn-id: svn://10.0.0.236/trunk@147081 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-20 03:19:08 +00:00
bryner%brianryner.com
23af8f3c42
Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
...
git-svn-id: svn://10.0.0.236/trunk@146618 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-07 22:24:21 +00:00
roc+%cs.cmu.edu
c43b1f1f74
Bug 113232. Support translucent chrome. Relanding, fingers crossed. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@140762 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-06 02:49:40 +00:00
darin%netscape.com
418b92e9d5
backing out roc+%cs.cmu.edu check-in for bug 113232
...
git-svn-id: svn://10.0.0.236/trunk@140172 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 00:07:00 +00:00
roc+%cs.cmu.edu
4afc0e3336
Bug 113232. Make 'background:transparent' work on top-level XUL windows. r=pavlov,kmcclusk,bzbarsky,sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@140131 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-24 04:54:48 +00:00
dbaron%dbaron.org
f5b5bace95
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
...
git-svn-id: svn://10.0.0.236/trunk@136002 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 20:32:55 +00:00
cbiesinger%web.de
d87ebbf69f
186938 r+sr=roc+moz removing dead code from nsBlender.cpp
...
git-svn-id: svn://10.0.0.236/trunk@135683 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-29 12:35:17 +00:00
mjudge%netscape.com
7faa9021b1
checking in for Roland.Mainz@informatik.med.uni-giessen.de bug # 161364 sr=bz r=roc
...
git-svn-id: svn://10.0.0.236/trunk@129422 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-12 21:50:12 +00:00
dougt%netscape.com
e289284076
166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
...
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
cathleen%netscape.com
ea31156ed0
converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp
...
git-svn-id: svn://10.0.0.236/trunk@112013 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-12 03:18:55 +00:00
dbaron%fas.harvard.edu
f346096920
Tweaking XP_MACOSX ifdefs in a few more places, including a fix for background image clipping. b=111795 r=pinkerton sr=sfraser
...
git-svn-id: svn://10.0.0.236/trunk@109766 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 00:09:21 +00:00
roc+%cs.cmu.edu
23cb3b3694
Bug 57223. Fix up misalignment/endianness problem. r=dbaron,sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@105234 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 00:29:33 +00:00
gerv%gerv.net
1336d4c729
License changes, take 2. Bug 98089. mozilla/gfx/.
...
git-svn-id: svn://10.0.0.236/trunk@103770 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 00:16:04 +00:00
pavlov%netscape.com
460155a537
fixing bug 78690. removing old imagelib. r=jst sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@100670 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-09 20:22:39 +00:00
dbaron%fas.harvard.edu
9359000a40
Header include dependency cleanup. b=64023 r=jag rs=brendan
...
git-svn-id: svn://10.0.0.236/trunk@99299 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-16 02:40:48 +00:00
roc+%cs.cmu.edu
5c45d6acce
New blender code. Cleans up/speeds up the code a lot and fixes bug 42011, and probably others. r=tor,sr=blizzard
...
git-svn-id: svn://10.0.0.236/trunk@92587 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-17 23:13:12 +00:00
shaver%mozilla.org
8a65cf3329
75152: Remove GetVersionNumber stub in favour of upcoming, less-invasive
...
preloader strategy. r=jag, sr=attinasi.
git-svn-id: svn://10.0.0.236/trunk@91976 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-11 14:23:13 +00:00
rickg%netscape.com
75bb2ffbb9
preloader update. r=peterl, sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@91193 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 22:58:59 +00:00
tor%cs.brown.edu
5c182b5e88
#51179 blending calculations were incorrect (dividing by 256 instead of 255).
...
r=brendan, sr=roc
git-svn-id: svn://10.0.0.236/trunk@84281 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-02 23:41:07 +00:00
alecf%netscape.com
4ffddeb00c
#45797 - fix consumers of NS_IMPL_ISUPPORTS
...
r=dveditz
git-svn-id: svn://10.0.0.236/trunk@82745 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 20:54:21 +00:00
kmcclusk%netscape.com
3513db5553
Added check to 8-bit blender code for null cmap.map to fix blender crash on Linux(p=afranke@ags.uni-sb.de) b=17356 r=attinasi@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@77250 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 03:19:12 +00:00
beard%netscape.com
af0519c458
bug #33091 , added range check to prevent memory corruption, r=kmcclusk
...
git-svn-id: svn://10.0.0.236/trunk@64050 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 21:32:10 +00:00
dcone%netscape.com
81df165cd8
fixed blender to work with viewer, cleaned up code, now works at most bit depths.
...
r=rods
git-svn-id: svn://10.0.0.236/trunk@63044 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 15:06:35 +00:00
dcone%netscape.com
50c36d0e07
Fixed some flags and mask's in 16 bit blend. r=rods
...
git-svn-id: svn://10.0.0.236/trunk@60207 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 06:09:43 +00:00
dcone%netscape.com
cae729ad4e
Added Mac blender support. r=rods
...
git-svn-id: svn://10.0.0.236/trunk@59773 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 15:52:55 +00:00
dmose%mozilla.org
0efb7c174c
updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +00:00
mcafee%netscape.com
f156b07662
Fixing unused variable warnings
...
git-svn-id: svn://10.0.0.236/trunk@39837 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-17 03:06:14 +00:00
warren%netscape.com
06d707be48
Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too.
...
git-svn-id: svn://10.0.0.236/trunk@36440 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 03:29:44 +00:00
michaelp%netscape.com
a84c5af336
made blender fully XP.
...
git-svn-id: svn://10.0.0.236/trunk@25668 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 04:54:06 +00:00
michaelp%netscape.com
68e6998fbd
added nsIDrawingSurface, a windows specific counterpart and a windows
...
implementation. cleaned up windows blending code to the point where we
don't really need platform specific blending implementations at all
anymore. added region area return from nsIRegion::GetRects(). unified all
windows bitmap management code under nsDrawingSurfaceWin.cpp.
git-svn-id: svn://10.0.0.236/trunk@21940 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 18:53:31 +00:00
warren%netscape.com
d1e17d4dea
Added forgotten initialization.
...
git-svn-id: svn://10.0.0.236/trunk@21583 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 08:01:02 +00:00
michaelp%netscape.com
25094ac7f0
moving headers from src to public. added support for dib sections to windows
...
drawing surface. WIP on making blender work with arbitrary pixel organizations.
git-svn-id: svn://10.0.0.236/trunk@18510 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 22:16:47 +00:00
michaelp%netscape.com
5a970927aa
revised blending APIs.
...
git-svn-id: svn://10.0.0.236/trunk@15490 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 02:15:44 +00:00
dcone%netscape.com
e4d6b73897
updated inverse colormap code, now blend works at 4 bit resolution
...
git-svn-id: svn://10.0.0.236/trunk@14108 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 22:38:37 +00:00
michaelp%netscape.com
b334610eb4
xpcom'ed blender.
...
git-svn-id: svn://10.0.0.236/trunk@14092 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 19:03:37 +00:00
dcone%netscape.com
536a210148
updated the blending, fixed 8 bit blending, and fixed a leak in the blender
...
git-svn-id: svn://10.0.0.236/trunk@14080 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 16:02:50 +00:00
dcone%netscape.com
1fb5bce42e
Abstracted the nsBlender class
...
git-svn-id: svn://10.0.0.236/trunk@13660 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-29 19:22:42 +00:00