Commit Graph

16808 Commits

Author SHA1 Message Date
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
Stefano Ceccherini
07cc05136f Implemented the BView::DrawPictureAsync() version which accepts a filename, not tested
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17373 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-08 20:12:52 +00:00
Jérôme Duval
ce91cbc42d now checks if a search entry is a directory and returns B_IS_A_DIRECTORY in case it's the sole entry for this name (btw getenv(PATH) doesn't return the current PATH)
fixes bug #569


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17372 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-08 20:07:01 +00:00
Stephan Aßmus
fb36570967 * added a simple seeking slider for Marcus to play with...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17371 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-08 19:18:19 +00:00
Marcus Overhagen
d4ab13e6f1 changed latency reporting
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17370 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-08 18:53:44 +00:00
Marcus Overhagen
bba1e5c831 Added media kit error descriptions.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17369 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-08 18:35:08 +00:00
Axel Dörfler
d50e3eb20e Some quick clipping of the destination window to let VLC successfully leave full
screen mode, and let's you move the window off screen without too many problems
(if you'll move it off screen to the left side (or top), then you won't see the
contents you'd expecting).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17368 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-08 18:08:09 +00:00
Axel Dörfler
9cf9eedf9f The other color spaces now seem to work as well.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17367 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-08 16:11:51 +00:00
Axel Dörfler
2465e30305 Accidently set the contrast too low, overlay now looks just fine.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17366 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-08 15:32:52 +00:00
Axel Dörfler
f8bea0dacb * Turns out you must not set the source width/height UV registers (for planar
mode), but you have to set the scaling UV registers in order to have correct
  overlay.
* In other words, overlay is working now! There are still issues with it, which
  can probably be attributed to missing bounds checks (the screen goes black
  when you leave full-screen mode in VLC - but not if overlay just stops).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17365 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-08 15:31:41 +00:00
Ingo Weinhold
cf0b5d2551 Workaround that fixes MIME DB problems under Linux, at least when
building an image from the scratch (with empty attributes and objects
dirs). This closes bugs 194 and 253.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17364 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-08 10:40:51 +00:00