X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Fintegration-api%2Fcore.h;h=e0996893de51ec375dcc93f42b82930be8dde882;hb=refs%2Fchanges%2F68%2F183768%2F9;hp=39f34169a7fa5d52d9ab1750b1b9a515da333d94;hpb=10ef5ef1fff23dbfaf21a7e3fb8360c65ffb23fa;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/integration-api/core.h b/dali/integration-api/core.h old mode 100644 new mode 100755 index 39f3416..e099689 --- a/dali/integration-api/core.h +++ b/dali/integration-api/core.h @@ -288,6 +288,18 @@ public: */ void SurfaceResized(unsigned int width, unsigned int height); + + /** + * Notify the Core that the GL surface has been resized and rotated. + * This should be done at least once i.e. after the first call to ContextCreated(). + * The Core will use the surface size or orientation for camera calculations, and to set the GL viewport. + * Multi-threading note: this method should be called from the main thread + * @param[in] width The new surface width. + * @param[in] height The new surface height. + * @param[in] orientation The new surface orientation. + */ + void SurfaceResized( unsigned int width, unsigned int height, int orientation ); + /** * Notify the Core about the top margin size. * Available stage size is reduced by this size.