kivy:texture-mmap

Last commit made on 2014-06-04
Get this branch:
git clone -b texture-mmap https://git.launchpad.net/kivy

Branch merges

Branch information

Name:
texture-mmap
Repository:
lp:kivy

Recent commits

f79f6de... by Mathieu Virbel

Implement mmap() usage for raw texture data

This is an experiment to use mmap() for uploading texture data into
GPU. It can work only with raw texture data. It does work as intended,
but performance as not as big as wished, maybe to a synchronization
primitive or so.

Usage: Manually load a core image png/jpeg, and save with .rgb
extension (you don’t care if it’s rgb or rgba.). Then use the .rgb as
intended. To fully exploit the mmap() approach, the original file must
not be closed right away after populate texture. So add keep_data=True
in your image widget. Ideally, we should have a way to close the Mmap()
object after few frames if we don’t want to keep the data. The default
kivy behavior is to load the data, upload to gnu, and free everything.
mmap() have no impact, as it should still load everything in memory
_right now_. Goal is to delay the loading as much as possible and do
others thing in the meantime.

Careful: code is Unix only, mmap need to be adapted for Windows.

767da77... by Mathieu Virbel

ios: add informations about launch images (it took me severals hours to figure it again)

11f27e1... by Zen-CODE <email address hidden>

doc: Grammar corrections

6108532... by Zen-CODE <email address hidden>

Merge branch 'master' of https://github.com/kivy/kivy

84b5862... by Zen-CODE <email address hidden>

doc: added Android Joystick Input Prover reference to remove NO DOC element

c7fdcdd... by Mathieu Virbel

smooth-line: comment out debug

a1e0737... by Mathieu Virbel

smooth-line: comment out debug

b5a6023... by Mathieu Virbel

Merge branch 'master' of ssh://github.com/kivy/kivy into smooth-line

 Please enter a commit message to explain why this merge is necessary,

ca2f54a... by Zen-CODE <email address hidden>

doc: tweaks to scatter docs

a4ac492... by Zen-CODE <email address hidden>

doc: added usage example