Commit Graph

1947 Commits

Author SHA1 Message Date
Rudolf Cornelissen 940dbde600 using NV4_GDI_RECTANGLE_TEXT instead of the older NV3 version for DMA acc. Seems like the old one can't be used with DMA (or I am hitting my limited knowledge on nVidia's Hash-table again..)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11002 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-24 11:16:39 +00:00
Ingo Weinhold fbca78bb8b Added messaging service syscalls.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10993 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-24 01:22:51 +00:00
Ingo Weinhold 244ddcf058 Added _user_unregister_messaging_service(). Fixed second send_message() proto.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10991 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-24 01:19:03 +00:00
Rudolf Cornelissen a8c119773f added acc function defines for DMA, for fill_rect.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10987 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-23 20:56:08 +00:00
Ingo Weinhold 59b9b48bb3 Added a service that will be responsible for sending messages from kernel
to userland applications. A userland server (probably the registrar) will
register as the server responsible for delivering the messages. The
messages are passed to it via shared memory.

The advantage over sending the messages directly will be, that they won't
need to be dropped, if the receiver port is temporarily full.

Currently only the kernel side is implemented. Completely untested yet.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10983 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-23 19:54:19 +00:00
Ingo Weinhold e81d2d2645 Added missing headers.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10982 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-23 19:43:32 +00:00
DarkWyrm 7605e77d21 Added GetFamilyAndStyle
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10975 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-23 13:40:11 +00:00
Adi Oanca 7bcf57c75b Another 2 constants
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10971 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-22 23:16:31 +00:00
Rudolf Cornelissen 61e1618dce completed DMA buffer state vars to be all there.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10960 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-22 19:24:37 +00:00
Ingo Weinhold c3a3ddf246 Added KMessage, a data container pretty much like BMessage, but
append-only and hence has very compact storage and a comparatively small
footprint implementation. Can be used for kernel->userland messaging.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10958 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-22 19:19:36 +00:00
Adi Oanca 6c85f3d5e6 Added 2 more contants
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10957 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-22 18:58:22 +00:00
Michael Pfeiffer fdb0d9ef11 Added ability to set a page margin (re-uses MarginView from PDF writer).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10948 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-22 14:26:52 +00:00
Rudolf Cornelissen 34a71f30fe updated a register's name to reflect what it does.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10945 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-22 11:09:53 +00:00
Adi Oanca 27c5631fa3 Added support for sending BRegions
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10943 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-22 09:48:10 +00:00
Adi Oanca 2a8a80a764 Added BPortLink class as friend
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10942 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-22 09:34:59 +00:00
Rudolf Cornelissen 7b0775548b 2D acc milestone reached: NV11 DMA is now up and running!! Oh, there are still a few limitations: don't use overlay, don't use 800x600x8 bit mode, and don't work longer than it takes to get the DMA buffer totally filled up. (switching between workspaces with different settings resets the engine and the 'timer' starts anew...
General note: learn how nVidia's hardware hashtable implementation works!!


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10940 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-21 22:28:31 +00:00
Adi Oanca 855d9d8948 Added two constants for app_server internal communication
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10933 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-21 21:01:14 +00:00
DarkWyrm cef8b0ffcf Style changes
API tweaks


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10927 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-21 13:11:46 +00:00
DarkWyrm 98e22e0bf7 Added codes for more BFont methods
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10925 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-21 12:10:18 +00:00
Axel Dörfler a829700f98 Added missing arch_system_info.h header.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10911 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 18:00:33 +00:00
Axel Dörfler dca263620a Improved headers, updated license, made C++ safe.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10909 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 17:52:06 +00:00
Stephan Aßmus 30fd3eb18a line profile is now cached by being a member of Painter, as was suggested by Maxim, it's too heavy an object for being created on the fly
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10905 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 15:23:23 +00:00
Stephan Aßmus 7ca3c69091 added some convinience functions to handle rgb_color additionally to RGBColor
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10898 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 14:10:11 +00:00
Stephan Aßmus 547fd34504 compile fix, changed member to be declared const
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10896 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 13:49:15 +00:00
Stephan Aßmus 18df650303 on the way of integrating Painter into build system, suppose this is where this file belongs
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10892 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 12:45:26 +00:00
Stephan Aßmus 85ba22e47d on the way of integrating Painter into build system, suppose this is where this file belongs
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10890 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 12:38:41 +00:00
Ingo Weinhold 9a6c828556 The return value of _user_read_port_etc() is ssize_t. Reported by Gert van Valkenhoef.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10871 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-19 14:13:44 +00:00
DarkWyrm 199b0a6a22 Added a code to handle BFont::SetFamilyAndStyle(char *, NULL)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10857 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 23:15:54 +00:00
Axel Dörfler 1a27068865 Renamed the probe() hook to register_device() (might not yet match the
functionality as good as probe(), but that will change soon).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10848 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 19:02:02 +00:00
Rudolf Cornelissen d1a21786b1 added setting 'dma_acc' for nv.settings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10845 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 18:25:40 +00:00
Axel Dörfler 28d9360f57 Removed no longer used SYS_MAX_* constants (we have B_*_NAME_LENGTH for this).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10841 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 17:18:01 +00:00
Rudolf Cornelissen a9d9522bc6 removed a define that's not needed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10840 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 17:14:19 +00:00
Axel Dörfler f43c430864 No longer used.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10837 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 16:46:01 +00:00
Axel Dörfler 321231a056 Added prototype for probe_for_device_type().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10832 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 16:13:27 +00:00
DarkWyrm 93e11ddfc8 Stupid forgotten header
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10826 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 10:24:45 +00:00
Axel Dörfler ceba105306 Added function prototypes for the kernel private load_module() and unload_module() calls.
Made the header C++ safe.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10820 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 02:34:00 +00:00
Axel Dörfler 6de263b12e This can be useful at other places as well (originally came from the
BFS implementation).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10819 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 02:31:56 +00:00
Ingo Weinhold 0ffb21a672 * Moved everything into the BPrivate namespace.
* Replaced the constant kRosterPortName by a function returning that name
  (we need different port names under BeOS and Haiku, and already at
  libbe init time).
* The settings directory is obtained via find_directory() (critized by
  Axel :-).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10812 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 01:06:30 +00:00
DarkWyrm 9a2b128aea More API fixes and tweaks, mostly to get BFont::GetHeight working
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10805 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 20:05:36 +00:00
Michael Pfeiffer f04964923d Added function ScaleRect().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10802 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 16:51:17 +00:00
Rudolf Cornelissen fa6815fa24 added NV4/NV10 architecture register define needed for DMA stuff
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10801 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 15:53:57 +00:00
Rudolf Cornelissen 8118b7593e added pattern cmd colorspace define (PIO/DMA)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10796 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 13:11:39 +00:00
Rudolf Cornelissen 6c001eb7a2 added more DMA defines (for FIFO channel assigment).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10794 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 12:18:44 +00:00
DarkWyrm c1d0331e5b Retooled the server-side font API to make it work better
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10788 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 02:04:21 +00:00
Ingo Weinhold 9171d496e2 Added function is_running_on_haiku(), which returns at runtime whether we're running under Haiku.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10783 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 01:20:22 +00:00
Michael Pfeiffer af6520e96c Implemented Page Selection.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10777 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-16 16:12:41 +00:00
Rudolf Cornelissen 4bf2b3cccd added 2D_surface command defines (for DMA use at first).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10772 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-16 10:17:20 +00:00
DarkWyrm c26e0fe214 Added codes to go along with the client-side BFont functions
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10769 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-15 23:29:13 +00:00
DarkWyrm cd6f0b7869 Added codes to allow for initialization of system fonts
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10766 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-15 22:09:42 +00:00
DarkWyrm 04ab15f96d Gave _font_control() friend status so we can init the system fonts
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10765 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-15 22:07:32 +00:00