ailiboy / ebookdroid

Automatically exported from code.google.com/p/ebookdroid
0 stars 0 forks source link

drawing issue of the latest reflactoring branch #176

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open pdf file
2. Zoom In
3. Then quickly Zoom out

What is the expected output?

after zoom in and zoom out, you will found several colored lines showing on the 
white screen or on between two different texture bitmaps.

What do you see instead?

What version of the product are you using?
lastest reflactoring branch

On what operating system?
ICS 4.0.3

What device are you using?
T959, vibrant

BTW:
It seems that every drawing circle will have lots of different calls during the 
Page, PageTree, PageTreeNode, EventDraw et.al, if we can reduce call jumps, 
maybe speed up again

Original issue reported on code.google.com by coolspac...@gmail.com on 15 Mar 2012 at 12:14

GoogleCodeExporter commented 9 years ago
"Latest" is nothing. Please specify revision.

About "calls", "jumps" and so on. Stop thinking. Start using profiler. All that 
calls and jumps are nothing comparing to bitmap blitting to canvas.

BTW, every "drawing circle" takes approx. 20 ms or less, which gives us 50+ FPS.

Original comment by Andrei.K...@gmail.com on 15 Mar 2012 at 7:42

GoogleCodeExporter commented 9 years ago
Странно но в ebookdroid-1.4.0-dev-r1043.apk я тоже 
заметил, что время от времени появляются 
цветные артефакты (пока находил только в 
виде цветных линий (цвета морской волны) на 
стыке страниц). Причем их появление не 
зависит от того, был ли ранее произведён 
зум или нет, но мелкий зум на стыке страниц 
может породить такую линию. Возможно это 
было и в прошлых версиях, но я не обращал 
внимания.

Original comment by Original...@gmail.com on 15 Mar 2012 at 8:59

GoogleCodeExporter commented 9 years ago
Какие значения зума?

Original comment by Andrei.K...@gmail.com on 15 Mar 2012 at 9:54

GoogleCodeExporter commented 9 years ago
> Странно но в ebookdroid-1.4.0-dev-r1043.apk я тоже 
заметил, что время от времени появляются 
цветные артефакты (пока находил только в 
виде цветных линий (цвета морской волны) на 
стыке страниц).

Радуйтесь что на стыке - они до этого внутри 
страницы появлялись в виде белых линий 
поперек картинки.

Original comment by Alexander.V.Kasatkin@gmail.com on 15 Mar 2012 at 11:20

GoogleCodeExporter commented 9 years ago
The revision is refactoring r1041

Original comment by coolspac...@gmail.com on 15 Mar 2012 at 2:58

GoogleCodeExporter commented 9 years ago
To Alexander.V...@gmail.com:
На счёт белых линий - знаю. Сам их наблюдал)
Спасибо, что их поправили.

Original comment by Original...@gmail.com on 15 Mar 2012 at 4:34

GoogleCodeExporter commented 9 years ago
Try r1056

Original comment by Alexander.V.Kasatkin@gmail.com on 15 Mar 2012 at 5:16

GoogleCodeExporter commented 9 years ago
I tried this version, r1056, still the same, and I put one screen shot here

http://tinyimg.comoj.com/show-image.php?id=3219086aac28cc103c801eeec11542f5

As it's hard to screenshot during zooming, so this picture is taked after zoom 
finished. and there is still colored lines there, if during zoom out, the color 
lines will be border than this.

Original comment by coolspac...@gmail.com on 15 Mar 2012 at 6:07

GoogleCodeExporter commented 9 years ago
try r1060 :(

Original comment by Alexander.V.Kasatkin@gmail.com on 16 Mar 2012 at 7:44

GoogleCodeExporter commented 9 years ago
problem improved, but the black and navy blue line still shows during zoom out 
after zoom in.

The more you zoom in and then zoom out, the more possibility you will see this 
problem

it seems this is a problem of texture bounds mismatch during zoom.

Original comment by coolspac...@gmail.com on 16 Mar 2012 at 9:10

GoogleCodeExporter commented 9 years ago
Yes. During zoom some drawing issues are present. But as far as there are no 
such issues after zoom complete I think it is a minor problem.

Original comment by Andrei.K...@gmail.com on 18 Mar 2012 at 9:26

GoogleCodeExporter commented 9 years ago
Try r1072

Original comment by Alexander.V.Kasatkin@gmail.com on 20 Mar 2012 at 1:14

GoogleCodeExporter commented 9 years ago

Original comment by Alexander.V.Kasatkin@gmail.com on 20 Mar 2012 at 1:14

GoogleCodeExporter commented 9 years ago
Closed due to lack of response.

Original comment by Alexander.V.Kasatkin@gmail.com on 4 Apr 2012 at 10:42