#
2c8cfe2d |
| 07-Nov-2005 |
Adi Oanca <adioanca@nowhere.fake> |
Bye-bye old clipping codesvn update Some cleanup to follow.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14760 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ac4f06c5 |
| 06-Nov-2005 |
Adi Oanca <adioanca@nowhere.fake> |
Fixed invalidation with new clipping code. Only what's needed is redrawn/invalidated now, with a single exception which I am working on(when changing the front window the whole window area is invalid
Fixed invalidation with new clipping code. Only what's needed is redrawn/invalidated now, with a single exception which I am working on(when changing the front window the whole window area is invalidated not just the region that became visible). The old Clipping code is broken now. I will remove it in the next days.
Actual changes: * removed Layer::GetWantedRegion() - was badly implemented. * made Layer::_GetWantedRegion public and renamed it to: you guessed! :-)
* introduced Layer::MarkForRebuild(), TriggerRebuild(). You want to calculate the new clipping regions, mark an area and then call TRiggerRebuild() which will rebuild the visible regions for the current Layer and all its descendants.
* for a Layer to redraw some parts of it, use RootLayer::MarkForRedraw() to mark a region and then RootLayer::TriggerRedraw() to see the changes (or send _UPDATE_ message in case of a WinBorder).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14719 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
d7993911 |
| 04-Nov-2005 |
Stephan Aßmus <superstippi@gmx.de> |
fixed build for old clipping
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14708 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
58468dfe |
| 04-Nov-2005 |
Stephan Aßmus <superstippi@gmx.de> |
first step of geting rid of abstract DisplayDriver base class for less development overhead, DisplayDriverPainter is renamed to DrawingEngine
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@1469
first step of geting rid of abstract DisplayDriver base class for less development overhead, DisplayDriverPainter is renamed to DrawingEngine
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14694 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
55e764c7 |
| 04-Nov-2005 |
Stephan Aßmus <superstippi@gmx.de> |
update license
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14690 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
cb24f13b |
| 04-Nov-2005 |
Axel Dörfler <axeld@pinc-software.de> |
The current graphics state of a Layer can now be retrieved by the new CurrentState() method. ServerWindow is now using that method instead of directly accessing a Layer member.
git-svn-id: file:///
The current graphics state of a Layer can now be retrieved by the new CurrentState() method. ServerWindow is now using that method instead of directly accessing a Layer member.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14684 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
aca4f50d |
| 04-Nov-2005 |
Axel Dörfler <axeld@pinc-software.de> |
Merged DrawData and LayerData to one class DrawState. Removed that ambiguous second copy constructor and moved push state functionality into a separate PushState() method.
git-svn-id: file:///srv/
Merged DrawData and LayerData to one class DrawState. Removed that ambiguous second copy constructor and moved push state functionality into a separate PushState() method.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14679 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
31ec092b |
| 29-Oct-2005 |
Adi Oanca <adioanca@nowhere.fake> |
Introduced Layer::Activated() hook function. Moved some functionality from RootLayer to WinBorder
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14565 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
fc9c02aa |
| 28-Oct-2005 |
Adi Oanca <adioanca@nowhere.fake> |
Made the new clipping code to use a single message to update client frame/bounds. ACTIVATED new clipping code! If someone notices problems please write to any list
git-svn-id: file:///srv/svn/repos/
Made the new clipping code to use a single message to update client frame/bounds. ACTIVATED new clipping code! If someone notices problems please write to any list
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14558 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
28d42d6e |
| 25-Oct-2005 |
Adi Oanca <adioanca@nowhere.fake> |
RootLayer thread receives BMessages only. Changed ViewHWInterface to send BMessages for input events
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14520 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
3b19c453 |
| 24-Oct-2005 |
Adi Oanca <adioanca@nowhere.fake> |
Introduced Layer::KeyDown/KeyUp/UnmappedKeyDown/UnmappedKeyUp/ModifiersChanged hooks. Simplified a bit RootLayer::KeyboardEventHandler().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14494 a9
Introduced Layer::KeyDown/KeyUp/UnmappedKeyDown/UnmappedKeyUp/ModifiersChanged hooks. Simplified a bit RootLayer::KeyboardEventHandler().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14494 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
9e5c5747 |
| 24-Oct-2005 |
Adi Oanca <adioanca@nowhere.fake> |
Layer::SendUpdateMsg() will tell us if sending _UPDATE_ message succeded. We'll use that information to clear WinBorder::fCumulativeRegion(server per-window dirty region) only on success.
git-svn-id
Layer::SendUpdateMsg() will tell us if sending _UPDATE_ message succeded. We'll use that information to clear WinBorder::fCumulativeRegion(server per-window dirty region) only on success.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14493 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
182db85c |
| 24-Oct-2005 |
Adi Oanca <adioanca@nowhere.fake> |
Introduced Layer::MouseWheelChanged(). Cleaned up RootLayer::MouseEventHandler::case B_MOUSE_WHEEL_CHANGED.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14490 a95241bf-73f2-0310-859d-f6bbb57e
Introduced Layer::MouseWheelChanged(). Cleaned up RootLayer::MouseEventHandler::case B_MOUSE_WHEEL_CHANGED.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14490 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
eead8073 |
| 24-Oct-2005 |
Adi Oanca <adioanca@nowhere.fake> |
removed Layer::fClassID
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14487 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
33691ce0 |
| 11-Oct-2005 |
Adi Oanca <adioanca@nowhere.fake> |
Removed NEW_INPUT_HANDLING define and the old code
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14351 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b961b596 |
| 07-Oct-2005 |
Adi Oanca <adioanca@nowhere.fake> |
- replaced Layer::get_user_regions with _GetWantedRegion() - replaced Layer::alter_visible_for_children with _ReserveRegions() - simplified a bit Layer::rebuild_visible_regions()
git-svn-id: file://
- replaced Layer::get_user_regions with _GetWantedRegion() - replaced Layer::alter_visible_for_children with _ReserveRegions() - simplified a bit Layer::rebuild_visible_regions()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14335 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
88ef6ce8 |
| 06-Oct-2005 |
Adi Oanca <adioanca@nowhere.fake> |
- fixed build for NEW_CLIPPING define - implemented RootLayer::SetActive(WinBorder*). - added support for BWindow::Activate(). I realize now that I only added support for Activate(true). :-D In the n
- fixed build for NEW_CLIPPING define - implemented RootLayer::SetActive(WinBorder*). - added support for BWindow::Activate(). I realize now that I only added support for Activate(true). :-D In the next days I will add support for Activate(false). - removed a few cases from ServerWindow as they are not needed. - addapted WinBorder::MouseDown() to work with the new RootLayer::SetActive() implementation.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14318 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
bbf8c95b |
| 01-Oct-2005 |
Adi Oanca <adioanca@nowhere.fake> |
* added Layer/WinBorder::WorkspaceChanged() hook. * make RootLayer::SetWinBorderWorkspaces() work under NEW_INPUT_HANDLING define. Soon I think I'll move this method under WinBorder's hood. * RootLay
* added Layer/WinBorder::WorkspaceChanged() hook. * make RootLayer::SetWinBorderWorkspaces() work under NEW_INPUT_HANDLING define. Soon I think I'll move this method under WinBorder's hood. * RootLayer::change_winBorder_feel() is also working under this define
** NEW_INPUT_HANDLING define is active. If someone discovers something bad happening after this checkin please notify me on app_server list. If in one week no major problems appear, I'll remove this define and the old code. Thanks.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14288 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
8285d6b3 |
| 28-Sep-2005 |
Adi Oanca <adioanca@nowhere.fake> |
* implemented/fixed RootLayer::SetActiveWorkspace() under NEW_INPUT_HANDLING define. * added Layer/WinBorder::WorkspaceActivated()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14270 a95241b
* implemented/fixed RootLayer::SetActiveWorkspace() under NEW_INPUT_HANDLING define. * added Layer/WinBorder::WorkspaceActivated()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14270 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
1b65556d |
| 18-Sep-2005 |
Adi Oanca <adioanca@nowhere.fake> |
more work on the input handling. I let Layer/WinBorder handle the MouseDown/Moved/Up instead of doing this in RootLayer::MouseEventHandler(). I did this because I felt it's more clean and in the near
more work on the input handling. I let Layer/WinBorder handle the MouseDown/Moved/Up instead of doing this in RootLayer::MouseEventHandler(). I did this because I felt it's more clean and in the near future RootLayer may have other children than WinBorders, for example simple Layers representing tooltips/bubbles/etc.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14198 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
8b94d5ec |
| 16-Sep-2005 |
Adi Oanca <adioanca@nowhere.fake> |
Work in progress for the new input handling stuff...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14191 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2138d632 |
| 08-Sep-2005 |
Adi Oanca <adioanca@nowhere.fake> |
In adding support for BView input events I got to rework/refractor the mouse input handling. This should be ready in a few days, so don't worry about the code being #ifdef-ed :-)
git-svn-id: file://
In adding support for BView input events I got to rework/refractor the mouse input handling. This should be ready in a few days, so don't worry about the code being #ifdef-ed :-)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14131 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
ffd509fd |
| 05-Sep-2005 |
Adi Oanca <adioanca@nowhere.fake> |
more code for input events. refractored some code in RootLayer class
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14119 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
642467d0 |
| 10-Jul-2005 |
Stephan Aßmus <superstippi@gmx.de> |
renamed the tree parsing/child iteration functions, I think it is much clearer now what they do, more likely to find bugs too
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13572 a95241bf-73f2-
renamed the tree parsing/child iteration functions, I think it is much clearer now what they do, more likely to find bugs too
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13572 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
359c905c |
| 05-Jul-2005 |
Stephan Aßmus <superstippi@gmx.de> |
offscreen bitmaps work, tested on Haiku as well, supports all colorspaces that BBitmap::ImportBits() supports. It uses a fallback for non-B_RGB(A)32 bitmaps. Added support for B_SUB_PIXEL_PRECISION v
offscreen bitmaps work, tested on Haiku as well, supports all colorspaces that BBitmap::ImportBits() supports. It uses a fallback for non-B_RGB(A)32 bitmaps. Added support for B_SUB_PIXEL_PRECISION view flags, though it is a bit hacky, since I had to add it to LayerData, even though it is not a true part of stack data. Added Layer::SetFlags() to enforce code path and update fLayerData. Cleaned up DisplayDriverPainter and DisplayDriver API (changed some const BRect& rect to simply BRect rect in order to be able to reuse it in the code), moved Painter.h, the test environment only draws the changed part of the frame buffer again - this causes a lot less CPU overhead, Painter special cases stroke width of 1.0 to use square caps, which is similar to R5 implementation and removes a lot of problems with non-straight line drawing, ServerWindow uses the DisplayDriver from it's WinBorder instead of the one from the Desktop (needed for offscreen windows, which have their own DisplayDriverPainter), it also checks for GetRootLayer() == NULL, because offscreen layers are not attached to a RootLayer, there was a fix for scrolling which worked at least in the test environment, it is now defunced, because Adi moved _CopyBits to Layer... I need to reenable it later, LayerData has no more fEscapementDelta, also fixed fFontAliasing (which was thought to overriding the font flags, and now works as such again), Desktop initialises the menu_info and scroll_bar_info stuff, which makes ScrollBars work actually... hope I didn't forget something.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13448 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|