Rudolf Cornelissen
c9c0c72b4b
added second flag for 3D add-on signalling mode changes happening for apps rendering in non-direct mode
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12469 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-26 14:45:44 +00:00
Stephan Aßmus
93a2cfd43c
Correct implementation of BView::CopyBits() in ServerWindow, implementation of CopyRegion in DisplayDriverPainter that sorts the rects topologically depending on direction and does the copy in place, obtaining a speedup of about 250%. TODO: extract the sorting algorithm so that it can be reused for the hardware accelerated version later.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12468 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-26 13:50:34 +00:00
Jérôme Duval
a2f1c2e02d
added 3G name based on box type
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12467 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-25 22:39:01 +00:00
Axel Dörfler
497d01f0b9
Some minor visual improvements: the keyboard input device now reports
...
"AT Keyboard" and "USB Keyboard", instead of "at|usb Keyboard".
Also, the mouse input device now reports a "PS/2 Mouse" instead of
a "ps2 Mouse".
Generally, both now capitalize the device name when reporting the name.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12465 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-25 14:17:57 +00:00
Axel Dörfler
7b58474a09
Beautified some odd code (like "a ? a : NULL" to "a").
...
Applied our coding style guide.
No functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12464 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-25 14:14:09 +00:00
Nathan Whitehorn
9d7e67b1bc
Rewrote the Global lock implementation by stealing code from NetBSD, and fudged around a bug in the IBM Thinkpad A21M ACPI firmware, involving the invocation of the _STA method. I suspect this may be a deeper bug -- I'll look into it later.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12463 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-24 04:50:34 +00:00
Adi Oanca
51a73c1e2b
Fixed a bug where a modal app window appeared in current workspace although its workspace mask did not include it
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12462 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-23 10:05:33 +00:00
Jérôme Duval
70208b9153
forgot these files which are changed to LGPL too
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12461 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-22 13:49:02 +00:00
Jérôme Duval
0442db9670
Echo generic driver is now LGPL, thanks !
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12460 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-22 13:35:11 +00:00
Jérôme Duval
626bc4bee1
Echo Generic Driver
...
Release B1
B1 is very similar to B0, with the following changes:
-The code is now licensed under the terms of the Lesser GNU Public License.
-Fixed a minor bug in CDspCommObject::ReadMidi
-Added support for 8 kHz sampling with Gina3G
-Removed obsolete "AddBuffer" command from DSP comm object
-Removed support for Gina24 CD-ROM S/PDIF mode
-Rewrote and fixed some bugs in digital mode switching for Layla24/Gina24/Mona
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12459 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-22 12:19:33 +00:00
Axel Dörfler
6a6f5ef6f3
Removed obsolete keyboard driver (one of them :-)).
...
The other driver is still in use by consoled.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12458 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-21 20:56:04 +00:00
Adi Oanca
6141cc1d5a
Adjusted SetFeel() to current server implementation
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12457 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-21 18:59:14 +00:00
Adi Oanca
d53639ce2e
Implemented support for BWindow::SetFeel()
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12456 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-21 18:57:34 +00:00
Adi Oanca
997865348b
added AS_ROOTLAYER_DO_CHANGE_WINBORDER_FEEL
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12455 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-21 18:56:53 +00:00
Jérôme Duval
875d858766
added a tablet_movement struct
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12454 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-20 21:53:21 +00:00
Jérôme Duval
2ee0e237e1
added a tablet device addon
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12453 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-20 21:52:39 +00:00
Jérôme Duval
cdd6a06ac5
Added quotes for MkDir1, allows spaces in directory names
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12452 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-20 17:55:21 +00:00
Stephan Aßmus
3934e7037e
forgot another important detail...
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12451 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-20 10:36:05 +00:00
Stephan Aßmus
f8bbbd8332
it helps reading my own commit messages
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12450 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-20 10:12:54 +00:00
Stephan Aßmus
ded5874ea2
Implemented changes necessary for single buffered mode, it is turned off for now, because the soft cursor is currently not being taken care of. We will still use double buffering if the screen color space is not 32 bits, too.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12449 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-20 09:27:15 +00:00
Axel Dörfler
807ba996da
The matrox graphics driver now also works under Haiku when the target haiku has been set (tested).
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12448 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-20 00:20:14 +00:00
Jérôme Duval
b8d27287f9
Added support for cursor position handling from input_server
...
LaunchInputServer now waits for _roster_thread_ to be running
Not tested/not enabled :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12445 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-19 20:44:09 +00:00
Stephan Aßmus
0999749164
experimented with BView::CopyBits(), found out how it should work, but didn't do the changes yet for a correct implementation
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12444 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-19 18:55:46 +00:00
Rudolf Cornelissen
83d94df950
added a fixme note with regard to multiple 3D add-ons
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12443 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-19 18:37:22 +00:00
Jérôme Duval
ee63cc6e30
variablelist needs varlistentry
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12442 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-19 16:20:49 +00:00
Stephan Aßmus
e742e3e106
refactoring and cleanup in LayerData and friends, it shows what I mean by "forced code paths" for example in coupled font size and view scale, added a couple TODOs, disabled decoupled frame buffer transfers, it is buggy and deadlocks for some reason...
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12441 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-19 00:42:42 +00:00
Nathan Whitehorn
52c415a86c
Finished updating to the new ACPI-CA version (subversion didn't notice some of the changes the first time around) and reimplemented get_device_hid() in a way that allows us better error reporting, and should be more compatible with broken BIOSes.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12440 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-19 00:29:09 +00:00
Stephan Aßmus
387242437d
moved more old stuff which isn't used anymore
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12439 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-18 19:16:11 +00:00
Stephan Aßmus
3dea4bb659
cleanup the defines, move old DisplayDriver implementations out because they are currently unused and won't build
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12438 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-18 18:48:19 +00:00
Stephan Aßmus
74b3612ac3
refactoring, speedup by decoupling back to front transferes from drawing and usage of special memcpy routine, minor speedups in Painter
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12437 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-18 16:09:43 +00:00
Rudolf Cornelissen
300af26345
Added a flag indicating a modeswitch happened/is happening so the 3D add-on can block rendering and re-inits.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12436 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-18 11:26:37 +00:00
Rudolf Cornelissen
afb207ac58
pre-NV10 3D update syncing driver to current 3D add-on for nVidia; also added a flag in shared info to tell the 3d add-on to stop rendering and re-init when a mode-switch occurs. Bumped version to 0.42.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12435 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-18 11:23:37 +00:00
Rudolf Cornelissen
6ad7f78f09
test commit
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12434 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-18 09:13:23 +00:00
Nathan Whitehorn
2d93af4ad9
Updated to ACPI-CA 20050309.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12433 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-18 03:42:38 +00:00
Nathan Whitehorn
37c35f77a4
Fixed some more memory bugs in ACPI
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12432 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-18 00:42:47 +00:00
Nathan Whitehorn
6843026324
Fixed a small memory leak in ACPI.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12431 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-18 00:02:25 +00:00
Jérôme Duval
d3b4bf40b3
Adds Svorak keymap on behalf of Mikael Jansson (aka tic)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12430 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-17 22:57:11 +00:00
Jérôme Duval
5258e67dff
Courtesy of Olivier Coursiere (aka oco), based on documentation (feel free to check against real hardware)
...
Adds latests IDs from Intel docs
Adds some Sempron IDs
Renamed Athlon 64 to be consistent with Intel names
Adds IDs in cpu_type.h
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12429 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-17 22:46:08 +00:00
Jérôme Duval
5608ef1a9e
Working version tested with a Gina3G
...
* Mixer interface for outputs
* Recording fixed
* Only outputs 1/2 and 3/4 are wired (use the Haiku Media preferences app to select one or the other)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12428 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-17 22:08:13 +00:00
Michael Lotz
fd5ac83a1a
Use one BPortLink (fAppServerLink) instead of always creating a new one to send events to the app_server.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12427 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-17 12:27:43 +00:00
Michael Lotz
597c548ca3
Moved the port creation for app_server - input_server communication out of the DisplayDrivers and into the AppServer constructor. This may later needs to be moved into RootLayer if we want multiple user support.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12426 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-17 12:26:16 +00:00
Nathan Whitehorn
79e1fcbc00
Fixed get_device_hid() to actually work. I love it when Intel provides incorrect docs for their APIs...
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12425 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-17 02:40:11 +00:00
Adi Oanca
d7c2c05061
Big cleanup.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12424 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-16 13:30:49 +00:00
Stephan Aßmus
af1a2a015b
draw a check box, too
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12423 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-15 17:46:37 +00:00
Stephan Aßmus
a4365bfe01
support drawing invalid rects
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12422 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-15 17:45:10 +00:00
Stephan Aßmus
961efda06b
workarround for bug in WonderBrush drop shadow filter... how lame is that...
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12421 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-15 17:44:13 +00:00
Stephan Aßmus
a415a09a32
Adi told me a quick fix to get BView::Invalidate() working, it doesn't work correctly yet (invalidates child views as well), but it is a start.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12420 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-15 16:03:16 +00:00
Stephan Aßmus
8877eb5444
sorry
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12419 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-15 15:32:21 +00:00
Stephan Aßmus
1e1b1675de
really implement BitsLength() inline, I have no idea why it compiled for me...
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12418 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-15 15:31:57 +00:00
Stephan Aßmus
5cf27f9b8d
fix bug with internal AGG renderer color not being updated when a special solid drawing mode is used
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12417 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-15 15:22:20 +00:00