Stefano Ceccherini
a73a27510a
more cleanups. There is now a MenuSettings class which handles settings in a central way. More code simplification
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17427 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-11 21:31:56 +00:00
Stefano Ceccherini
fdd142c9ed
Removed the Update() methods. Created a new class AutoSettingsMenu from which every menu class inherits. It gets the new settings on AttachedToWindow() automatically
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17426 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-11 20:23:38 +00:00
Axel Dörfler
d906e6a03e
* Implemented B_FILL_SPAN - I am not sure if it's used at all, though, so
...
I am also not sure if it's working correctly.
* Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17425 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-11 16:10:09 +00:00
Axel Dörfler
efeb77268d
Say hello to B_FILL_RECTANGLE and B_INVERT_RECTANGLE - only B_FILL_SPAN is missing
...
from the acceleration hooks in BeOS.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17424 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-11 15:24:34 +00:00
Axel Dörfler
030d964e4e
Made the primary ring buffer for the acceleration commands a bit larger (16 KB);
...
this is mostly done because of the fact that I haven't tested how full it usually
is, and since I haven't implemented checking for free space yet...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17423 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-11 15:22:35 +00:00
Axel Dörfler
5462d44020
* Turns out the virtual messes with the data in struct command, so we can't
...
use it (which isn't really that bad).
* B_SCREEN_TO_SCREEN_BLIT is now working as intended, so we can finally move
windows and scroll at decent speed :-)
* Implemented a simple version of B_WAIT_ENGINE_IDLE for now.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17422 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-11 14:12:02 +00:00
Axel Dörfler
140e4f87c8
If you switched between a 32 bit mode and another, hardware acceleration was accidently
...
turned off - note also, that only the 32 bit mode is currently hardware accelerated!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17421 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-11 13:13:53 +00:00
Philippe Houdoin
af29432635
Fixed a typo.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17420 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-11 07:53:19 +00:00
Jérôme Duval
8c2f5082ec
made timestamp font sensitive
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17419 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-11 05:50:33 +00:00
Stefano Ceccherini
1655525f95
Check the lock, some cleanups. Fixes some crashing bugs which didn't show up before for pure luck
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17418 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-10 20:15:36 +00:00
Stefano Ceccherini
c8773f97a0
Invalidate less in BMenuBar::FrameResized() and a bit more in _BMCMenuBar_::FrameResized(), removed unused _BMCItem_
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17417 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-10 19:29:35 +00:00
Axel Dörfler
2ace35ed22
Started implementing screen-to-screen blits, not yet tested.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17416 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-10 18:53:20 +00:00
Axel Dörfler
6c67d64cad
Prepared support for acceleration: there is now a QueueCommands class that should
...
be used to feed the ring buffers with new commands. It takes care about proper
alignment (this shouldn't be necessary in the final version, anymore, though), and
locking.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17415 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-10 16:09:28 +00:00
Axel Dörfler
fc88cd9396
* The Y/RGB and UV registers for the integer downscale factor are reverse to
...
the usual order of other registers, so I mixed it up: vertical downscaling
is now working as expected as well.
* The downscaling factor was a tiny bit too low (one pixel from the view).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17414 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-10 14:48:38 +00:00
Axel Dörfler
e3fe0cd725
This didn't even read out the page table register, it read something from address
...
0x2020, which resulted in a page fault under Haiku.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17413 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-10 13:12:57 +00:00
Axel Dörfler
08ef16abee
* Now allocates space for the hardware status page and cursor memory, not yet
...
used, though.
* Renamed the PhyisicalPageMapper class to AreaKeeper and made it a bit more
generic (ie. it can now also create usual areas)
* The shared_info is now created using the AreaKeeper, too, and this actually
fixes some potential memory leaks.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17412 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-10 12:37:27 +00:00
Axel Dörfler
96451fe133
We're now using a secondary (high priority) ring buffer for hardware
...
overlay - this will improve the overlay performance when the engine is
under load (the acceleration engine will use the primary lower priority
ring buffer).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17411 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-10 10:54:39 +00:00
Axel Dörfler
6bd70a559d
You can now safely move the overlay off screen completely, without having to
...
worry that the graphics chip is fried.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17410 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-10 10:21:43 +00:00
Philippe Houdoin
41fc107e0a
Ooops II, the comeback. The future RenderersManager is not there yet.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17409 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-09 22:11:44 +00:00
Stefano Ceccherini
f4ff3be7a4
Fixed the problem mentioned in the previous commit: BMenuBar::FrameResized() now invalidates the view. We might be smarter and try to only invalidate part of it, though
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17408 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-09 22:07:25 +00:00
Philippe Houdoin
a35d1f270c
Ooops, I forgot this little change. Sorry guys to break libGL.so build in the previous
...
release number.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17407 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-09 21:57:42 +00:00
Philippe Houdoin
3f70d609a9
First small step toward OpenGL renderers interface.
...
Our libGL.so GLView is still a stub, drawing "No OpenGL renderer available!"
instead ;-)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17406 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-09 21:56:08 +00:00
Stefano Ceccherini
925479d7b3
Added a new method RelayoutIfNeeded(), which does the real Layout invalidation, it's called by menubar and menu. This fixes the menufields not being resized. Note that a problem still remains, will be fixed shortly (hopefully)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17405 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-09 21:48:51 +00:00
Marcus Overhagen
17187587df
Include GPL add-ons if configured to do so.
...
Include avcodec plugin, and ac3 (GPL, see above) plugin.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17404 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-09 20:05:27 +00:00
Jérôme Duval
c0acc2a55e
fixed typo
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17403 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-09 19:56:29 +00:00
Axel Dörfler
c415480607
* an overlay_view::{h|v}_start different from 0 is now supported
...
* The overlay_view is now also correctly clipped when you move the overlay
window offscreen to the left or to the right.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17402 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-09 19:34:58 +00:00
Axel Dörfler
72119ffac8
Included the phase coefficient computation from the X driver implementation.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17401 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-09 18:31:25 +00:00
Axel Dörfler
d2a76f7406
The lround() and lroundf() functions are now also found in our math.h header.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17400 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-09 18:14:11 +00:00
Axel Dörfler
d13fd67ac0
Imported lround() and lroundf() from glibc.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17399 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-09 18:12:35 +00:00
Jérôme Duval
43547dbe93
merging acpica-20060421 into trunk (see http://www.intel.com/technology/iapc/acpi/downloads/changes.txt ), untested
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17398 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-09 16:33:08 +00:00
Axel Dörfler
18f48919c0
This little fix should allow Stippi to have a working driver when he compiled
...
it himself.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17397 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-09 16:11:15 +00:00
Rudolf Cornelissen
8fd09efd86
added MAVEN rev.B/C type distinction recognition, just reporting in log for now.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17396 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-09 15:19:32 +00:00
Rudolf Cornelissen
8956571787
added MAVEN rev.B/C type distinction recognition, just reporting in log for now.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17395 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-09 15:19:09 +00:00
Rudolf Cornelissen
ce5d00f5c9
comment update regarding G100 and G200 TVout
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17394 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-09 14:51:32 +00:00
Jérôme Duval
04f8267f5e
legacy.media_addon isn't functioning properly
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17389 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-09 14:25:59 +00:00
Rudolf Cornelissen
968c4c85a6
added preliminary CRTC delay programming for TVout on singlehead cards, fixes for a large part the picture positioning. Finetuning still needed, picture still has much green distortions. Removed dangerous CRTC delay programming style previously there for dualhead cards, should now be more reliable.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17388 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-09 12:19:12 +00:00
Rudolf Cornelissen
19f65af1dd
added MAVEN/DAC output selection programming for singlehead cards with a MAVEN: now TVout (kindof) works here :). Still in progress..
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17387 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-09 11:46:51 +00:00
Rudolf Cornelissen
dd665ef198
added MAVEN DPMS programming for singlehead cards with that chip. Bumped version to 0.30 BTW, TVout still not working correctly though.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17386 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-09 10:19:06 +00:00
Rudolf Cornelissen
b7abedd3fd
modified TV related programming for singlehead cards. Doesn't work correctly yet: Maven seems programmed with the mode, but the picture doesn't sync yet. Probably more errors for TVout here.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17385 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-09 09:43:40 +00:00
Rudolf Cornelissen
4fc8655349
updated proposemode to handle singlehead tvout capable cards correctly
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17384 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-09 08:54:34 +00:00
Rudolf Cornelissen
f89ce97661
renamed secondary_tvout to tvout: singlehead cards with TVout exist as well.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17383 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-09 08:21:39 +00:00
Rudolf Cornelissen
a147b615de
renamed secondary_tvout to tvout: singlehead cards with TVout exist as well.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17382 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-09 08:21:10 +00:00
Axel Dörfler
f197302867
The size of the stolen memory for the graphics chip is now read out of the host bridge.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17381 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-09 01:00:58 +00:00
Axel Dörfler
9a6bbd514e
Once libroot's getenv() is available, that one will be used instead of the one built in.
...
This makes the runtime_loader able to adopt path changes properly.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17380 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-08 23:50:09 +00:00
Marcus Overhagen
e77acd698a
disabled some debug output
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17379 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-08 22:29:46 +00:00
Marcus Overhagen
0f0bbc9751
implemented seeking and position update
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17378 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-08 21:47:19 +00:00
Marcus Overhagen
3b55bd0c3c
dont send notifications if the value is not changed by the user
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17377 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-08 21:46:48 +00:00
Marcus Overhagen
3d8b4bab1f
Did some renaming, Changed* is now used when the user modifies the controls.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17376 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-08 20:57:04 +00:00
Marcus Overhagen
131d97be80
Connected volume control GUI with Controller class, and made slider non-linear.
...
This should be reviewed, and a better algorith should be selected.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17375 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-08 20:40:58 +00:00
Stefano Ceccherini
5a5960830d
some changes, improved double buffered mode, it still has some problems, though
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17374 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-08 20:13:35 +00:00