Comments (10)
[deleted comment]
from watchntouch.
[deleted comment]
from watchntouch.
[deleted comment]
from watchntouch.
First version is on r57. an array size of 3 keeps left and right of the current
page. It is loaded in a seperate thread (related source file is
renderedimagecash.cpp). If user stands at least 1 second on the page, it is
loaded fast as only 3 item is kept - that is why only 3 item. cash is renewed
after each change on the currentSlide number.
Error :
If any page is annotated and actionNext() is performed, it immediately exits
from the program. However, this error appears in r56, also. So i think it is
not related the cashing algorithm.
Improvement - or the other way:
keep 5 items in memeory - +- 3. if required slide in the cash, just bring them.
If it is not just bring it in a usual ways, renew the cash.
This will be handled in r58.
Original comment by [email protected]
on 16 Mar 2011 at 6:33
from watchntouch.
[deleted comment]
from watchntouch.
Note that:
the resolution on the function renderToImage(,) is taken as 120. It may be
changed accordingly.
Original comment by [email protected]
on 16 Mar 2011 at 8:12
from watchntouch.
r58. The change in the previous comment has been applied. Now, only after four
page the cash is renewed. There is an array of size 7. Example:
At the beginning,
-2. -1. 0. 1. 2. 3. 4. slides are in the array, only slide numbers that are
bigger than 0 are loaded. When user attempt to go to 5. page, cash is renewed
and:
2. 3. 4. 5. 6. 7. 8. slides are loaded to the cash. This goes like that.
Error:
The error in the previous comment seems still to exist. :(
Discussion:
For machines with small ram size, it may be required to save images as files
and load them when it is required, instead to keep some of them in the memory.
Pros and Cons will be discussed.
Moreover, saving all rendered images as files and still keeping some of them in
the memory by loading them from file may be faster the system. This will be
tried in r60.
Original comment by [email protected]
on 16 Mar 2011 at 10:38
from watchntouch.
note that r59 is the fixed form of r58. There was a minor bug. Different
presenatations cannot be opened in r58(in r57, also) it is fixed in r59.
Original comment by [email protected]
on 16 Mar 2011 at 10:40
from watchntouch.
r60 is ready. One more point to discuss may be make the system in r57 just as
in r60. That is, render all images and save them in a directory. When it is
required to load them to the ram, load them from files directly, not render
them.
File Loading -- Rendering Time, trade off.
As any renewal causes a conflict in r57, it will be integrated after the
decision of the method that will be used. Code is almost ready, just
integration will be done.
Original comment by [email protected]
on 17 Mar 2011 at 8:39
from watchntouch.
Original comment by [email protected]
on 23 Mar 2011 at 3:48
- Changed state: Fixed
from watchntouch.
Related Issues (19)
- [deleted issue]
- Drawing system must be converted to raster HOT 7
- error in r57 HOT 3
- Refactoring of the input system to support multitouch gestures HOT 2
- Context Menu, multiple-choice button problem HOT 1
- Sketching component and screenshot HOT 6
- Screencasting capabilities HOT 2
- Sketchinn drawings still shown in screenshot. HOT 4
- Simple collaborative drawing HOT 1
- Support for PPT viewing HOT 1
- Cursor should reflect current drawing tool
- Rectangle drawing HOT 1
- Triangle drawing HOT 1
- Video annotation HOT 4
- Webpage annotation HOT 3
- Null Pointer Exception HOT 1
- QML interface development and integration
- Recent items list not updated HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from watchntouch.