[3.0] Fix for FrameBufferImage. 27/120127/3 accepted/tizen/3.0/common/20170324.142009 accepted/tizen/3.0/ivi/20170324.114425 accepted/tizen/3.0/mobile/20170324.114223 accepted/tizen/3.0/tv/20170324.114307 accepted/tizen/3.0/wearable/20170324.114347 submit/tizen_3.0/20170323.121626 submit/tizen_3.0/20170324.051322
authorVictor Cebollada <v.cebollada@samsung.com>
Fri, 17 Mar 2017 18:05:09 +0000 (18:05 +0000)
committerVíctor Cebollada <v.cebollada@samsung.com>
Tue, 21 Mar 2017 16:28:21 +0000 (09:28 -0700)
commitef69dab91f1e3d7f0b7cb345933ef22046bf70a8
tree96b60ccdcfaca21cc31f555bd53b83a933ca2ffd
parent33579d035ec4b1c65a0b0e2b3df393f4f817cb5f
[3.0] Fix for FrameBufferImage.

* The Connect() and Disconnect() methods are unnecessarily
  implementing a counter that tracks how many handlers are
  observing the frame buffer image. In case that the frame
  buffer image is not observed by any handler, the internal
  FBO is destroyed. A handler may observe again the frame
  buffer image but the FBO has already been destroyed.

  This caused an issue with the GaussianBlurView effect which
  was using a render task to blur an image and a frabe buffer
  image to write the blurred image.

Change-Id: I89a7de6f97ee52fb219f8b7641d4d2bbb42764d5
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
dali/internal/event/images/frame-buffer-image-impl.cpp
dali/internal/event/images/frame-buffer-image-impl.h
dali/internal/event/images/image-impl.cpp
dali/internal/event/images/image-impl.h
dali/internal/event/render-tasks/render-task-impl.cpp
dali/internal/update/render-tasks/scene-graph-render-task.cpp