Граф коммитов

26591 Коммитов

Автор SHA1 Сообщение Дата
troy eec17e5d28 Changed to set the polygon fill mode in CommonInit() instead of when drawing
polygons
1998-06-15 18:50:08 +00:00
vidur 4f22a708f9 Asynchronous loading of images 1998-06-12 22:08:39 +00:00
spider febf8a03db Fix for rendering problem where everything goes black AFTER the first paint on non-8 bit displays 1998-06-12 01:30:52 +00:00
rods 46ffc932b2 kludge for now 1998-06-11 23:10:41 +00:00
spider ccea853a2f Support for TrueColor display, add nsNativeDeviceContext to Init method of nsIDeviceContext, fix FontMetrics crash if no RenderingContext is available. 1998-06-11 21:26:21 +00:00
rods e0c80033a0 added GetBitInfo to fix the build 1998-06-11 19:43:26 +00:00
dcone 06a3dd1232 updated blending code, and tests 1998-06-11 17:33:26 +00:00
spider b558a15b72 Draw text from upper left rather than baseline 1998-06-11 02:15:12 +00:00
spider 2fad7b8ec3 Remove duplicate drawingsurface. fix memory leak 1998-06-11 01:22:26 +00:00
spider 08403cb2d4 Compute TWIPS during Init() of DeviceContext rather than waiting
until the RenderingContext is created.
1998-06-11 00:32:29 +00:00
rods a7ffce9f67 added PRUint32 cast to unbreak the build 1998-06-10 20:34:38 +00:00
rods 370cc0de49 24 bit color fix 1998-06-10 18:18:35 +00:00
spider 55887d3cbb Attempt to do the right thing on 24 bit displays ... good luck 1998-06-10 17:29:11 +00:00
spider 5f7b6bef1f WIP: XLib Image stuff 1998-06-10 01:59:11 +00:00
spider 36641250db More Region fixes 1998-06-10 00:44:43 +00:00
spider c1fc037c89 Region fixes - need to create region before they can be used 1998-06-10 00:06:38 +00:00
spider 527833795f Implement SetClipRect 1998-06-06 01:41:42 +00:00
spider 0878340957 Buf fix: Remove extra colormap install. Also remove clip flags from
rendering context
1998-06-05 21:04:18 +00:00
spider 333448c53a Complete double buffering implementation. Be sure to reset the offscreen
device upon destruction of the drawing surface
1998-06-05 18:56:42 +00:00
spider d01cb72f3d WIP ... GraphicsState maintenance 1998-06-05 01:39:53 +00:00
spider c0cb1619ec Implement Matrix Transformation 1998-06-05 00:52:54 +00:00
spider 66ca0e3a7d Finish Implementation of the DeviceContext on Xlib .. twips units, gamma tables, etc.. 1998-06-04 23:12:07 +00:00
spider c78915a699 Fix for converting from NS to X RGB Components 1998-06-04 18:41:47 +00:00
karnaze 1d293e47a5 added modes for backward compatibility 1998-06-04 17:23:48 +00:00
spider aa0e79fade Implemented nsRegionUnix 1998-06-04 08:40:58 +00:00
spider e0ef17dac1 Add unix to build process by default now 1998-06-04 05:16:18 +00:00
spider c80bcc4e0d Remove all references to Xt and use only Xlib.
On Linux, add Library Path to Xlib in Makefile
1998-06-04 05:15:35 +00:00
spider 48f2602bfd Missed last nsIRegion checkin ... add substract back in... 1998-06-03 23:12:02 +00:00
michaelp 49c4d29e3f added optimization so that as we render top->bottom, if the clip region ever
becomes empty, we stop rendering.
1998-06-03 21:30:51 +00:00
spider aa628613b0 Remove old Subtrct method from nsRegion due to interface changes
Add support for 8 bit color on ro and rw devices
Add ConvertPixel() routine to convert from gfx to X
1998-06-03 19:01:41 +00:00
michaelp 33a0103e30 added support of irregular damage regions to viewmanager. 1998-06-03 03:12:52 +00:00
michaelp 2826c67c93 added ability to select regions into rendering context. 1998-06-02 22:04:09 +00:00
spider 231821c7a7 Implement Native Text Width routines for char and unicode 1998-06-02 19:57:35 +00:00
spider 34a35def2c Minor Rendering fixes. FontMetric hardcoded to get by. Implemented
FillPolygon/DrawPolygon.
1998-06-02 19:35:41 +00:00
spider e886be9e00 Change to using .so's in Makefile. Temporarily hardcode some
TextMetrics stuff
1998-06-02 01:16:48 +00:00
spider ba3c47838c The beginnings of some font stuff 1998-06-01 22:41:01 +00:00
spider 4d559572f9 Add raptorgfx to link list 1998-06-01 03:41:42 +00:00
spider 269ac5a9f6 Update for new interfaces (stubs) 1998-06-01 03:23:40 +00:00
spider 5cf2b526b8 Add nsRegionUnix.cpp to .so. dlopen() on Linux 2.0 would fail since it can't
resolve this class.
1998-06-01 03:19:41 +00:00
spider df0fc04b13 Fixes to support latest GFX changes 1998-05-28 00:23:10 +00:00
michaelp 1f06e903a4 added region to factory. 1998-05-27 17:11:37 +00:00
michaelp b5140d2751 added support for front-to-back view rendering. 1998-05-27 02:13:28 +00:00
rickg 415e5bc640 fixed a minor build problem with blender 1998-05-22 19:16:08 +00:00
dcone 7310132a19 Added the nsBlender classes to the project 1998-05-22 14:15:57 +00:00
spider 6a530c89e5 Adding the beginnings of Colormap Installation 1998-05-22 01:58:31 +00:00
spider 4a477136e3 Some additional Rendering Implementations (Line/Rect/Arc)
Support for offscreen Pixmap's
1998-05-21 08:24:44 +00:00
spider c22bb6434f Add motif to DIRS, commented out for now 1998-05-20 23:20:32 +00:00
spider 39cfef3a83 Xlib mods 1998-05-20 23:17:49 +00:00
dcone 6e4db70ba0 put in the inverse color table routine and did 8 bit alpha 1998-05-20 21:12:38 +00:00
michaelp c6d24cd366 removed rects from region apis. fleshed out windows region implementation. 1998-05-19 22:08:46 +00:00
rods 94cd778c69 initial checkin 1998-05-19 20:39:31 +00:00
thom 905d6ce4f4 mac build 1998-05-18 22:50:19 +00:00
michaelp 2edf0b91fb added stub nsRegionWin.cpp 1998-05-18 22:24:20 +00:00
michaelp 88085a23f5 killed nsRegion.h. added nsIRegion.h. added SetClipRegion() to rendering context.
modified APIs that had been referring to nsRegion to use nsIRegion.
1998-05-18 21:46:20 +00:00
thom 836a9d8922 gfx is a graphics envionment for nglayout 1998-05-15 22:11:03 +00:00
dcone c22d8277e2 More composition code, much faster now 1998-05-14 21:49:58 +00:00
michaelp bbc0c2d55d added gamma correction of images. 1998-05-14 00:27:38 +00:00
peterl 56a2afa5f9 fixed pow problem 1998-05-13 19:01:55 +00:00
michaelp 73dbb090e7 fixed compiler overload warning on tinderbox. 1998-05-13 18:54:18 +00:00
michaelp d55497643c added gamma correction methods to the device context. the windows rendering context now
gamma corrects colors. fixed tablecellframe to call the right nsStyleCoord constructor.
1998-05-13 18:15:06 +00:00
dcone 0e94d920e1 speed up of alpha, some small fixes, inter checkin 1998-05-13 14:28:16 +00:00
kipp 332e6e8030 Remove useless header file 1998-05-09 03:20:37 +00:00
michaelp 07f184a0ef when switching documents, the scrollbars are reset. 1998-05-08 17:50:43 +00:00
dcone 9fbed3223c put back in optimize 1998-05-08 15:05:27 +00:00
dcone 6e90c68c55 Some more alpha blending, fixed some bugs and the test app now works 1998-05-08 14:24:53 +00:00
michaelp a60fbefc56 deferred creation of null pen until we actually need to use it. 1998-05-07 18:00:48 +00:00
michaelp 80127825f4 sped up filled polygons. 1998-05-07 17:54:14 +00:00
michaelp 2ac477a0c8 hey, now the state stack is actually useful. duh. 1998-05-07 01:10:20 +00:00
michaelp fb45d59dde added pens to graphics state. more performance improvements. 1998-05-06 22:50:23 +00:00
michaelp ffa6df2752 added fonts to graphics state stack. general optimizations. 1998-05-06 16:42:05 +00:00
michaelp a6de8ef965 added solid brushes to graphics state. 1998-05-06 02:26:17 +00:00
michaelp 3d295d74ad when selecting a bitmap into a drawing surface, we now reselect the bitmap
that used to be there when we're done.
1998-05-05 22:39:19 +00:00
michaelp 926e979038 API cleanup for images and drawing surfaces. 1998-05-05 22:11:50 +00:00
michaelp 680d001699 cleaned up. 1998-05-05 18:34:51 +00:00
dcone 148da3401d Composition Work 24 bit complete 1998-05-05 14:47:16 +00:00
spider 12597a1870 Fix UNIX build bustage on some systems where tweak_nspr gets appended to TARGET after inclusion of rules.mk, thus breaking nsinstall. 1998-05-01 17:11:13 +00:00
rpotts 8079b4ef67 added netlib to the include path... 1998-05-01 05:07:25 +00:00
michaelp b2a1c85161 fixed bug in state management of clip rects. 1998-05-01 03:08:08 +00:00
dcone 23c777f686 Updated nsImageWin and gfx bit test for composite functionality 1998-04-29 20:28:16 +00:00
rpotts a024299393 added include of string.h since NSPR no longer includes windows.h which pulled it in... 1998-04-29 20:04:28 +00:00
rpotts 965494a232 Added windows.h since NSPR no longer includes it... 1998-04-29 20:01:24 +00:00
rpotts a14bcb0269 added windows.h since it is no longer provided by NSPR 1998-04-29 19:57:57 +00:00
kipp b881d71f5b Fixed compiler bugs/warnings 1998-04-26 03:13:20 +00:00
kipp 90207ec31a Added missing newline 1998-04-26 02:57:39 +00:00
troy 16ebcb630d Changed IntersectRect() to return an empty rect in the case where the
two source rects don't intersect. Also changed '==' operator to return
TRUE if both rects are empty
1998-04-25 04:34:52 +00:00
kipp 59359e73b4 define win32_lean_and_mean 1998-04-23 16:47:26 +00:00
vidur 6def194e2a Documenting image library interfaces 1998-04-15 19:37:44 +00:00
michaelp e0504463a1 fixed clip region state popping bug. 1998-04-14 22:42:24 +00:00
dcone 339d3d63f6 Added documentation 1998-04-14 22:20:32 +00:00
dcone c3da7b1fe4 Added documentation 1998-04-14 19:56:15 +00:00
kipp 098bef52b4 moved to pub 1998-04-13 20:24:54 +00:00