[Adaptation Layer] Added rive-tizen adaptation layer class.
[platform/core/uifw/rive-tizen.git] / submodule / skia / recorder / README.md
1 ## HOW TO
2
3 - check out this branch :check:
4 - cd to root of the git project
5 - build the image (i called my image boo, you are allowed alternative names)
6     - `docker build  -f Dockerfile.recorder -t boo .`
7 - run the image
8     - now. inside the image you wanna convert riv files into mp4. to do that we need to get files there. so we're mounting a volume 
9     - make a folder (maybe call it output) at the root level i guess. and then run the image up as a container
10     - `docker run -it  -v $(pwd)/output:/output boo /bin/bash`
11     - in a differnt tab, put some .riv files into `$(pwd)/output` if you havent done so already 
12     - inside docker again: 
13         - `./run.sh -s /output/dory.riv -d /output/dory.mp4`
14     - that should be all (obvs include the watermark etc if you wanna. )
15
16
17 ## QUESTIONS
18
19 - how to deal with errors ( im raising exceptions so something falls through to the end... )
20   - feels like cpp likes returning ints :D
21   - obvs i'm just doing one error type now, was maybe going to add a few?
22   - good way to add stack traces in?
23 - how to run a debugger, segfaults are a pain
24 - what to do with this guy. I'm having to declare it each iteration, rather than once. i was hoping to declare it once but i ran into some no default constructor issue (as i initialized renderer in the header .. i guess)
25   - ```// hmm "no default constructor exists bla bla... " rive::SkiaRenderer renderer(rasterCanvas);```
26   - not looked much yet. but i was hoping to declare that i got em.. but then i 'd get thi default constructor errr...
27 - headers and stuff.. all imports into the headers?
28     good way to strip unused imports?
29 - i read a crazy way to generate. but really
30     i'd like to be able to generate all frames as part of the loop.. that would feel "clean" to be fair i think i just rename i to frame and call it a day on the main loop :P