Git Product home page Git Product logo

Comments (5)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
Там все равно один раз надо нарисовать 
картинку с инверсией. У меня на эмуляторе 
под Q9660 это занимает  примерно 80-200 
миллисекунд против 3-10 для обычного режима.
Так что сраавнение вот такое

Original comment by [email protected] on 28 Aug 2011 at 4:22

  • Changed state: Discussion

from ebookdroid.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
Почему нельзя сразу кешировать страницу 
инверсированной в ночном режиме? И потом 
просто брать её из кэша как и в дневном 
режиме.

Или вы имеете ввиду, что это происходит 
из-за того, что всё это исполняется в одном 
потоке и когда начинается кеширование 
следующей страницы, то на те же скажем 80-200 
миллисекунд прорисовка страницы 
невозможна?

И пожалуйста, если можете, то скажите есть 
ли в ОС Андройд потоки?

Original comment by [email protected] on 28 Aug 2011 at 4:38

from ebookdroid.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
Сначала(в одном параллельном потоке) кусок 
страницы рендерится соответствующим 
движком. Получается картинка для дневного 
режима. 
Потом, в другом параллельном потоке идет 
отрисовка. И только в этот момент мы может 
сказать - какой режим (дневной или ночной) 
включен сейчас. 
И, соответственно, для ночного режима 
создается еще одна картинка, в которую 
рисуется первая с включенной инверсией. 
Причем, все равно, в каком потоке это делать 
- задержка будет одинаковой.

Потоки в Андроиде есть, а вот их реализация 
в процессорах очень разная. Наа тегре2 все 
летает. На одноядерных с той же частотой 
все хуже. На старых телефонах вообще...

Original comment by [email protected] on 28 Aug 2011 at 5:06

from ebookdroid.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
в принципе, можно сразу после (во время) 
рендера страницы инвертировать (т.е. тем 
самым движком). только такого быстрого 
переключения уже не будет. Но вряд ли 
найдутся те, кто постоянно перескакивать 
будет. 

Original comment by [email protected] on 29 Aug 2011 at 9:18

from ebookdroid.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
Сейчас это делается средствами системы в 
одном месте для всех движков. Переделывать 
на индивидуальные для каждого из 5 (а в 
будущем может и больше) движков не считаю 
целесообразным.

Original comment by [email protected] on 30 Aug 2011 at 9:47

  • Changed state: WontFix
  • Added labels: Priority-Low
  • Removed labels: Priority-Medium

from ebookdroid.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.