Jean-Philippe Andre
c41bae817c
Evas.Image: Add NULL check before calling engine function
2016-03-29 15:19:54 +09:00
Jean-Philippe Andre
cb93c26db7
Evas proxy: Implement buffer map/unmap
2016-03-28 16:40:02 +09:00
Jean-Philippe Andre
22353e31e1
Efl.Canvas.Image: Remove object data for maps
...
The engine is responsible for the complete tracking of
maps.
Also, make buffer_unmap return bool.
2016-03-28 16:40:02 +09:00
Jean-Philippe Andre
488854af2b
Efl.Gfx.Buffer: Switch to void* data and signed ints
...
1. unsigned char* as a return type was not even compatible
with the default colorspace (ARGB: 32 bits).
2. Change all unsigned to int for... uh... simplicity
unsigned is more correct than int for things like width,
size or stride, but in fact having both ints (x,y) and unsigned
ints makes the code more complex.
This is a matter of personal taste.
2016-03-28 16:40:01 +09:00
Jean-Philippe Andre
d5b0b1e683
Evas: Add SW engine map/unmap functions
...
Also, fix some of the code using them.
2016-03-28 16:40:01 +09:00
Jean-Philippe Andre
326ff9ae82
Efl.Canvas.Image: Implement support for map/unmap
...
Now the real hard work is to actually implement support inside
the engines: SW and GL generic.
2016-03-28 16:40:01 +09:00
Jean-Philippe Andre
91e0bdb1e7
Evas: Simplify direct access to image data
...
This should avoid issues with image_data_get from the engines,
when we really just want to fetch the original data pointer.
2016-03-28 16:40:01 +09:00
Jean-Philippe Andre
08c1160888
Efl.Canvas.Image: Implement raw data_set/copy/get
...
No more refcount. This is only to initialize the data from
an external buffer. data_get will only work if data_set was
used (not even copy_set).
2016-03-28 16:40:01 +09:00
Jean-Philippe Andre
0ac87d6a91
Efl.Canvas.Image: Add forgotten files!
...
Oh...
2016-03-17 14:14:06 +09:00