184 Commits

Author SHA1 Message Date
troy%netscape.com
b2c62b8591 Added some comments clarifying that the value returned are in
device units (pixels)
1998-07-18 03:52:37 +00:00
troy%netscape.com
11b254d1e9 Fixed DuplicateImage() code to copy alpha bits properly 1998-07-17 21:37:55 +00:00
scullin%netscape.com
033f5100b7 Fixed odd 24 bit gamma problem where gamme correction was being applied
in the reverse direction pixels were coming in, resulting in jpgs
being only half gamma corrected.
1998-07-17 17:35:22 +00:00
troy%netscape.com
a3a4da0885 Changed array of points to be a const for DrawPolygon() and FillPolygon() 1998-07-17 17:32:53 +00:00
troy%netscape.com
0ecc2690fa Added DrawPolyline 1998-07-17 17:26:21 +00:00
troy%netscape.com
149aa2a228 Changed to use MaskBlt() under NT when rendering a transparent image 1998-07-17 16:50:32 +00:00
troy%netscape.com
a9687ae23e Added code to do bit-blt with a mask using a SRCAND of the mask
followed by a SRCPAINT of the image
1998-07-17 04:37:18 +00:00
troy%netscape.com
7598292705 Some more work on transparent images 1998-07-17 00:09:19 +00:00
troy%netscape.com
f98b66a3df Fixed Init() to compute the mask row size correctly 1998-07-16 22:18:36 +00:00
spider%netscape.com
bd87c6c4f2 Performance Optimization: Do not create a writeable GC on every
instantiation of a rendering context.  Re-use the old one.
1998-07-16 22:02:36 +00:00
spider%netscape.com
3b2507bae4 Do not reset the clip mask when drawing to onscreen buffer. 1998-07-16 21:36:39 +00:00
troy%netscape.com
2698502e58 Turned back on optimized images 1998-07-16 18:32:17 +00:00
kmcclusk%netscape.com
99e5b09d92 Changed CopyOffScreenBits to copy from 0,0 instead of using the aBounds (x,y) 1998-07-16 17:40:47 +00:00
troy%netscape.com
6619360a1e Changed background color to be a const 1998-07-16 04:51:12 +00:00
troy%netscape.com
007ea3d8b5 Fixed some build bustage I introduced 1998-07-16 03:09:33 +00:00
troy%netscape.com
a90f1b6cbd Changed image group GetImage() member function so the background color
is a pointer and not a color by value. This allows it to be NULL if the
caller wants a transparency mask to be created
1998-07-16 02:32:08 +00:00
rpotts%netscape.com
646e80db63 Added nsIURL argument to the nsIStreamListener interface 1998-07-15 22:38:01 +00:00
troy
23955af1a3 Unused 1998-07-15 18:58:44 +00:00
spider
19f7a6209a Fix for multitude of print statements that SHM is not available when
displaying on Hummingbird PC X Display Server
1998-07-15 17:03:53 +00:00
spider
a116453c59 Fix for crash on servers not supporting MIT-SHM 1998-07-15 02:29:10 +00:00
spider
33b2e92a85 query the server for the pixmap format rather than trying to guess ourselves 1998-07-15 01:29:20 +00:00
spider
1937e53b3c MIT-SHM implementation for offscreen drawables 1998-07-15 01:08:35 +00:00
spider
d834cf9b6a Removing incorrectly added Mac specific files from Motif directory 1998-07-14 22:35:56 +00:00
spider
0b783b36f8 Fix for not unloading fonts no longer needed 1998-07-14 20:32:33 +00:00
scullin
8a7ac050d5 Turn on image caching. 1998-07-14 18:43:47 +00:00
spider
cec1f41709 Performance Optimization: Cache the XFontInfo struct so don't need
to call XQueryFont on every GetWidth.
1998-07-14 17:41:06 +00:00
dcone
a83b9d90b7 fixed back to async 1998-07-10 13:25:36 +00:00
dcone
5923c1426c 16 bit speed testing code 1998-07-10 12:53:15 +00:00
kmcclusk
5126d3ee0b Added fields mXstring and mXstringSize 1998-07-10 00:49:04 +00:00
kmcclusk
b16190f3df Modified GetWidth to give correct values under Linux 1998-07-10 00:20:38 +00:00
dcone
196f54aef1 16 bit blending is now operational 1998-07-09 14:08:36 +00:00
vidur
9cdbb6da1d Added back asynchronous image loading 1998-07-08 23:45:10 +00:00
dcone
07d5ac2f15 Intermediate 16 bit blending 1998-07-08 14:31:31 +00:00
thom
bcb4633b7a First Checked In. 1998-07-07 21:26:45 +00:00
thom
a67977bcdd First Checked In. 1998-07-07 21:07:54 +00:00
kipp
7c613dc78a Removed some compiler warnings 1998-07-03 23:16:43 +00:00
thom
58f3f0fa82 Mac linux fix. 1998-07-01 23:31:42 +00:00
rpotts
47a682258c Fixed up IID for nsIStreamListener interface 1998-07-01 11:09:49 +00:00
atotic
afb360e8c5 Fixed mac warnings 1998-06-27 02:47:44 +00:00
vidur
4656755c8f Fail if the FirstWrite for the image returns an error 1998-06-26 22:08:03 +00:00
dcone
8ea72914e1 Blending now uses the Upper left to place the source image 1998-06-26 14:06:34 +00:00
michaelp
f8578999cb removed flushgc in setfont. 1998-06-25 22:20:30 +00:00
spider
444aece009 Perf improvement... 1998-06-25 21:42:39 +00:00
spider
ff0a8181d6 fixed. 1998-06-25 18:43:50 +00:00
michaelp
a139d7988c killed commented hackyfontname junk. removed malloc()/free(), etc. from unichar
text measurement.
1998-06-25 18:27:26 +00:00
dcone
bcb8bd62ed added the offset for blending, and a routine to save off bits 1998-06-25 15:07:31 +00:00
spider
8c2bccc128 a little cleanup for unix. 1998-06-25 05:54:12 +00:00
spider
da6cb28eba once again runs under linux. 1998-06-25 05:37:54 +00:00
spider
edc069a0e5 fixed build errors. 1998-06-25 04:59:17 +00:00
michaelp
ec4811f612 added init() method to prescontext.
creator of prescontext is responsible for initializing pres context.
devicecontext is now init()ed with a nsNativeWidget.
removed hacky X Display stuff from device context and font metrics.
removed hacky code from windows font metrics.
changed nsNativeWindow to be nsNativeWidget.
added more code for compositor back-to-front pass.
improved text performance on X.
changed nsHTMLTagContent.cpp so that it will build with MSVC 4.1.
1998-06-25 04:24:45 +00:00