Stephan Aßmus
70443ebf5a
automatically uses alpha blending for B_RGBA32 bitmaps
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11103 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-28 13:13:28 +00:00
Stephan Aßmus
6f2b941acf
added some convenience functions, mainly used by the test app
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11102 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-28 13:11:40 +00:00
Stephan Aßmus
4f6cd6ef55
some additional status information
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11101 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-28 13:10:06 +00:00
Stephan Aßmus
d4734e04d1
support for switching the alpha drawing mode when the blending mode changes
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11100 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-28 13:07:21 +00:00
Stephan Aßmus
8eca754bfd
support for the rest of the drawing modes
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11099 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-28 13:05:37 +00:00
Stephan Aßmus
3741b755dc
huge clean up
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11098 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-28 13:02:27 +00:00
Stephan Aßmus
681c4b3ba5
rest of the drawing modes
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11097 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-28 12:59:17 +00:00
haydentech
c0e4d12489
AS_LAYER_POP_STATE was inadvertantly deleting the entire layerdata stack instead of just popping the top one off
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11096 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-27 23:16:28 +00:00
Rudolf Cornelissen
7309e1cd85
needed to bump the DMA command buffer forced freespace up to 256 words: NV4_GDI_RECT needs a higher setting than the old version. Hopefully engine crashes are now past tense...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11095 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-27 15:58:59 +00:00
Rudolf Cornelissen
9c47d9cb0a
updated 'docs' with the new NVx_GDI_RECT cmd's findings :-)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11094 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-27 15:18:51 +00:00
Rudolf Cornelissen
64efa4b4af
Arrrgghh! I was still using NV3_GDI_RECTANGLE_TEXT instead of NV4_GDI_RECTANGLE_TEXT on pre-NV40 (NV11 tested). Fixed now.
...
Anyway: Now we know the reason the switch must be made: the old command, while being approx. of the same speed as the new one, has a hardware fault and has also therefore been removed in NV40 and later hardware.
The fault is the input->output colorspace conversion which doesn't work while being used with DMA acc. Glad I could loose that nasty workaround now!!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11093 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-27 15:12:13 +00:00
Rudolf Cornelissen
4e05353d7f
fixed overlay bitmap DMA adress, fixed overlay in 15 bit mode (NV11). nVidia hardware is broken here :-/. Anyway, it works now.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11092 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-27 14:32:45 +00:00
Rudolf Cornelissen
fee251bc01
modified overlay to stay outside DMA buffer if it exists.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11091 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-27 12:48:44 +00:00
Rudolf Cornelissen
4dca5362df
added invert_rect DMA acc function. Tested in all colorspaces on NV11 (OK).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11090 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-27 10:56:26 +00:00
Rudolf Cornelissen
d4d5ee8bbb
updated DMA acc to use the full DMA buffersize instead of just one quarter.
...
Also improved forced freespace limit setting in this buffer, now finally completely preventing engine crashes it seems.
Engine speed went up again due to larger DMA buffer.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11089 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-27 10:23:52 +00:00
Axel Dörfler
739532577c
Added a small test program for the transfer_area() call.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11088 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-27 07:19:13 +00:00
Axel Dörfler
04b59e02dd
team_id == aspace_id.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11087 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-27 07:17:01 +00:00
Axel Dörfler
e6a3e8011c
Added and implemented transfer_area() syscall; for now, transfer_area() is
...
not exported, only the syscall is.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11086 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-27 07:13:41 +00:00
Axel Dörfler
bde6836aff
vm_create_aspace() now also get the team_id of the owner of the address
...
space to be created - this replaces the internal ID they had before.
Now, team_id == aspace_id.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11085 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-27 07:11:45 +00:00
Axel Dörfler
0b111f38f9
read_port() and write_port() must accept a NULL pointer as buffer if
...
the bufferSize is zero.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11084 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-27 07:08:17 +00:00
Axel Dörfler
14771b1547
Added _kern_transfer_area() syscall.
...
Added team_id parameter to vm_create_aspace().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11083 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-27 07:06:49 +00:00
Axel Dörfler
e21481c992
Need to create the kernel drivers settings directory when
...
something should be copied there...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11082 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-27 02:21:45 +00:00
Axel Dörfler
82e4378f29
Added missing include.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11081 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-27 01:01:16 +00:00
Rudolf Cornelissen
1a713b1806
fixed fill_rect and fill_span 8, 15 and 16 bit colorspaces for NV10Arch. Tested and OK on NV11.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11080 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-26 20:54:21 +00:00
Axel Dörfler
b15a05da82
Added empty arch_dbg_con_init_settings().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11079 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-26 18:40:57 +00:00
Axel Dörfler
6c59a0b5bd
Added empty arch_cpu_shutdown() (just returns EOPNOTSUPP for now).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11078 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-26 18:40:16 +00:00
Axel Dörfler
4cf3e70f94
Added empty arch_system_info functions, added arch_system_info.c to the build.
...
Removed grist from libppc source files.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11077 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-26 18:39:25 +00:00
Axel Dörfler
f2e40399c2
Moved initialization of the arch depending real_time_data fields into the arch
...
depending section by calling arch_rtc_init().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11076 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-26 18:30:50 +00:00
Axel Dörfler
72c01a1b3b
Added arch_rtc_init() function.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11075 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-26 18:29:41 +00:00
Axel Dörfler
f1a2f39517
Added arch_rtc_init() function prototype.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11074 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-26 18:28:40 +00:00
Axel Dörfler
ca0b0a4857
Replaced old VM *_region() calls with current calls.
...
KSTACK_SIZE has been renamed to KERNEL_STACK_SIZE.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11073 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-26 18:22:38 +00:00
Axel Dörfler
8b2fa4d23c
Added crti/n files for PPC - not tested, but they even might work.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11072 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-26 18:20:13 +00:00
Ingo Weinhold
d306a4652c
* Added a timeout to the delivery functions. This is the time after which
...
the message will be finally dropped. Makes sense for periodic message
runners for instance.
* Set the target of a BMessage before flattening it. Thus there will be
space in the flattened header for it.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11071 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-26 15:18:29 +00:00
Ingo Weinhold
7f1ee731a9
Using namespace std for nothrow.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11070 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-26 14:58:18 +00:00
Ingo Weinhold
c277ab01e6
Make the compiler happy. Shadowing super class methods with different signature is a very annoying C++ feature.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11069 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-26 14:57:35 +00:00
Ingo Weinhold
c452fa675f
Argh! Forgot to commit. Added KMessage to libbe.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11068 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-26 14:11:02 +00:00
Axel Dörfler
3682eb4fcb
Changed the default for tab completion of symlinks to directories; as of
...
bash 2.05 you would have to press the tab key twice to get the "/" appended
at the end - not anymore :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11067 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-26 14:10:18 +00:00
Jérôme Duval
a60f0fba94
canna lib doesn't build when DEBUG is defined
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11066 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-26 11:07:48 +00:00
Jérôme Duval
f87194396a
added gcc 20041202 needed flag
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11065 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-26 11:06:22 +00:00
Axel Dörfler
ad5b1deb2f
Now also builds and copies the timezone files.
...
No longer copies the settings directory completely to get rid of the CVS
entries in the target...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11064 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-26 03:58:13 +00:00
Axel Dörfler
e4e9b6a7a4
The input_server now works on R5 and on Haiku (depending on COMPILE_FOR_R5).
...
Fixed two minor warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11063 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-26 03:45:13 +00:00
Ingo Weinhold
56833e831f
Implemented the actual message sending. The implementation is complete now, but still untested.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11062 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-26 02:20:28 +00:00
Ingo Weinhold
874902b2c1
Made sending flattened message available.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11061 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-26 02:18:19 +00:00
Ingo Weinhold
377872556d
* Added support for unflatting from flattened KMessages. At least when
...
a buffer is given.
* Added method for sending flattened messages. The KMessage support is
complete, but for BMessages this is a bit tricky. We currently unflatten
the BMessages and send those.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11060 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-26 02:16:44 +00:00
Ingo Weinhold
ea69d9d35f
Moved the kMessageHeaderMagic constant into the class. Made BMessage a friend of KMessage.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11059 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-26 02:10:42 +00:00
Ingo Weinhold
b8ab94faaa
An even nicer solution for the UnarchiveObjects actions.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11058 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-26 02:07:39 +00:00
Axel Dörfler
271174f273
Fixed the UnarchiveObjects rule so that it can handle any extensions (and
...
not just .o - newer GCC releases seem to have .oS objects in libgcc.a).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11057 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-26 01:48:50 +00:00
Axel Dörfler
b1e5b60ccf
Divided BuildConfig into three files: BuildConfig, Timezones, and libgccObjects.
...
That makes fine tuning any of them a nicer experience.
You have to rerun ./configure in order to build anything.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11056 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-26 01:34:37 +00:00
Nathan Whitehorn
8408ba055b
Fixed SMTP module to give a real hostname in HELO/EHLO
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11055 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-26 00:14:58 +00:00
Ingo Weinhold
590e2873fd
Introduced pseudo-target timezone_files, which can be used to build all timezone files.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11054 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-25 23:58:41 +00:00