summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
2bfbfda)
If application want to write to the buffer,
it has to use TBM_SURF_OPTION_WRITE flag.
so i added this flag in AcquireBuffer().
Change-Id: I376d61d85a779d1dc2c4aeac7779151a3e24fd4c
{
tbm_surface_info_s info;
{
tbm_surface_info_s info;
- if(tbm_surface_map(mTbmSurface, TBM_SURF_OPTION_READ, &info) != TBM_SURFACE_ERROR_NONE)
+ if(tbm_surface_map(mTbmSurface, TBM_SURF_OPTION_READ | TBM_SURF_OPTION_WRITE, &info) != TBM_SURFACE_ERROR_NONE)
{
DALI_LOG_ERROR("Fail to map tbm_surface\n");
{
DALI_LOG_ERROR("Fail to map tbm_surface\n");