History log of /haiku/src/tests/servers/app/newClipping/MyView.cpp
Revision Date Author Comments
# f5180663 26-Nov-2005 Stephan Aßmus <superstippi@gmx.de>

stress testing. It shows that for 40 open windows, the newerClipping design takes 3.5 times less time in the root layer thread compared to the newClipping design. On average, it is about 8.7 times faster. The goal of the redesign, to move the heavier computation from the root layer thread into each window thread, seems achieved, since even with 100 open windows, moving a window does not start any lagging. By removing the global dirty region in Desktop, I think this can be further improved.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15183 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8dbc6372 15-Jun-2005 Adi Oanca <adioanca@nowhere.fake>

cosmetic

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13162 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a4aff61d 02-Jun-2005 Adi Oanca <adioanca@nowhere.fake>

Imported Stephan's CopyRegion. Trying to optimize resize operations - work in progress.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12934 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a332730d 29-May-2005 Adi Oanca <adioanca@nowhere.fake>

- moving and resizing is new performed only with the primary mouse button
- by holding the secondary mouse button pressed one can draw random lines
so you can see what regions are invalidated durring a move, resize or
scroll operation
- clicking the third mouse button issues a redraw, WITHOUT a region
rebuild action (this is to force a redraw because the window does not
redraw itself, I've been lazy :-)
- playing with the mouse wheel results in the layer under mouse cursor
being scrolled on the y-axis.

- fixed redraw and copyRegion of this sandbox app. They work correctly
now.

- TODO: fix a clipping bug which appears when moving a layer arround.


--This line, and those below, will be ignored--

M newClipping/MyView.cpp
M newClipping/main.cpp
M newClipping/MyView.h
M newClipping/Layer.cpp
M newClipping/Clipping.proj


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12895 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6e795cfe 28-May-2005 Adi Oanca <adioanca@nowhere.fake>

fully implemented support for B_DOCUMENT_WINDOW_LOOK windows (resize tab overlapping top_view's area). Added support for live moving and resizing the layers shown, resizing is done by dragging from the lower right corner of a layer or winborder. Fixed a bug with for B_FULL_UPDATE_ON_RESIZE flag. More testing remains to be done because there seems to be a problem with clipping under certain circumstances, but I'm nearly finished. :-)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12872 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 1afd64e8 28-May-2005 Adi Oanca <adioanca@nowhere.fake>

Added some support for WinBorders. support B_DOCUMENT_WINDOW_LOOK remains to implemented as the border in this case overlaps the white view area with the resize box

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12860 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ccf52fa4 25-May-2005 Adi Oanca <adioanca@nowhere.fake>

resizing layers with any rule seems to work now. lots of testing remains to be done...

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12812 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8a17a6ea 24-May-2005 Adi Oanca <adioanca@nowhere.fake>

lots of changes this time...
* further optimized clipping
* implemented support for B_FULL_UPDATE_ON_RESIZE flag
* added support for hidden layers
* implemented Show()/Hide()
* implemented Invalidate(region)

remains to be done:
* fully redraw center and right alligned layers on a resize operation.
* additional testing.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12798 a95241bf-73f2-0310-859d-f6bbb57e9c96


# fd5fe00c 18-May-2005 Adi Oanca <adioanca@nowhere.fake>

Got scrolling to work properly

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12722 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4a95e833 17-May-2005 Adi Oanca <adioanca@nowhere.fake>

Implemented some support for moving and reziving Layers. It works too. :-)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12701 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4bdd131a 16-May-2005 Adi Oanca <adioanca@nowhere.fake>

my test app for new clipping code

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12691 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f51806635b24d7b95ef5ccadc07a958ecd5d3ca5 26-Nov-2005 Stephan Aßmus <superstippi@gmx.de>

stress testing. It shows that for 40 open windows, the newerClipping design takes 3.5 times less time in the root layer thread compared to the newClipping design. On average, it is about 8.7 times faster. The goal of the redesign, to move the heavier computation from the root layer thread into each window thread, seems achieved, since even with 100 open windows, moving a window does not start any lagging. By removing the global dirty region in Desktop, I think this can be further improved.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15183 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8dbc637219753881e558557493b55ae74accfe02 15-Jun-2005 Adi Oanca <adioanca@nowhere.fake>

cosmetic

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13162 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a4aff61d76253ff2252743e427cffac008d5de54 02-Jun-2005 Adi Oanca <adioanca@nowhere.fake>

Imported Stephan's CopyRegion. Trying to optimize resize operations - work in progress.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12934 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a332730df786a7aa05833ed53fd351eebabe88ba 29-May-2005 Adi Oanca <adioanca@nowhere.fake>

- moving and resizing is new performed only with the primary mouse button
- by holding the secondary mouse button pressed one can draw random lines
so you can see what regions are invalidated durring a move, resize or
scroll operation
- clicking the third mouse button issues a redraw, WITHOUT a region
rebuild action (this is to force a redraw because the window does not
redraw itself, I've been lazy :-)
- playing with the mouse wheel results in the layer under mouse cursor
being scrolled on the y-axis.

- fixed redraw and copyRegion of this sandbox app. They work correctly
now.

- TODO: fix a clipping bug which appears when moving a layer arround.


--This line, and those below, will be ignored--

M newClipping/MyView.cpp
M newClipping/main.cpp
M newClipping/MyView.h
M newClipping/Layer.cpp
M newClipping/Clipping.proj


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12895 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6e795cfe267b4f6be911aa5d9490290bd58d4b78 28-May-2005 Adi Oanca <adioanca@nowhere.fake>

fully implemented support for B_DOCUMENT_WINDOW_LOOK windows (resize tab overlapping top_view's area). Added support for live moving and resizing the layers shown, resizing is done by dragging from the lower right corner of a layer or winborder. Fixed a bug with for B_FULL_UPDATE_ON_RESIZE flag. More testing remains to be done because there seems to be a problem with clipping under certain circumstances, but I'm nearly finished. :-)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12872 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 1afd64e8b14c72141e45931243c09f49ec9a9735 28-May-2005 Adi Oanca <adioanca@nowhere.fake>

Added some support for WinBorders. support B_DOCUMENT_WINDOW_LOOK remains to implemented as the border in this case overlaps the white view area with the resize box

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12860 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ccf52fa4fee47b60c1bcc2676825a373659f8951 25-May-2005 Adi Oanca <adioanca@nowhere.fake>

resizing layers with any rule seems to work now. lots of testing remains to be done...

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12812 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8a17a6ea37e41f4354430df932455a8db8255778 24-May-2005 Adi Oanca <adioanca@nowhere.fake>

lots of changes this time...
* further optimized clipping
* implemented support for B_FULL_UPDATE_ON_RESIZE flag
* added support for hidden layers
* implemented Show()/Hide()
* implemented Invalidate(region)

remains to be done:
* fully redraw center and right alligned layers on a resize operation.
* additional testing.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12798 a95241bf-73f2-0310-859d-f6bbb57e9c96


# fd5fe00cb138b59ab2d91b5432148401ebeadd8c 18-May-2005 Adi Oanca <adioanca@nowhere.fake>

Got scrolling to work properly

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12722 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4a95e833570daf0649896d6d6ea9950e34d721a8 17-May-2005 Adi Oanca <adioanca@nowhere.fake>

Implemented some support for moving and reziving Layers. It works too. :-)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12701 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4bdd131ac5327f6bf4dc83ceb8bc0b62f847adf7 16-May-2005 Adi Oanca <adioanca@nowhere.fake>

my test app for new clipping code

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12691 a95241bf-73f2-0310-859d-f6bbb57e9c96