X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=docs%2Fcontent%2Fshared-javascript-and-cpp-documentation%2Fperformance-tips.md;h=782c05b8d0390d5a4480c308c943778670c9b348;hb=805ae527fca54726f894fb9936c288c7c0f7dbe7;hp=c8662aa0f98d9d15da35f4a60b069448de5da4f4;hpb=5c01fbfae7ab607f68d31a8bec6bf17f7b67a652;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/docs/content/shared-javascript-and-cpp-documentation/performance-tips.md b/docs/content/shared-javascript-and-cpp-documentation/performance-tips.md index c8662aa..782c05b 100644 --- a/docs/content/shared-javascript-and-cpp-documentation/performance-tips.md +++ b/docs/content/shared-javascript-and-cpp-documentation/performance-tips.md @@ -1,5 +1,5 @@ -/** - * + # Performance Tips {#performancetips} @@ -20,7 +20,7 @@ // In this mode depth testing is turned off and order is determined by the hierachy (depth-first search order). // Not always recommended if there is going to be a lot of overdraw ( if lots of actors are on top of each other) -Actor::SetDrawMode( DrawMode::OVERLAY ); // C++ +Actor::SetDrawMode( DrawMode::OVERLAY_2D ); // C++ ~~~ ~~~{.js} @@ -28,7 +28,7 @@ Actor::SetDrawMode( DrawMode::OVERLAY ); // C++ // In this mode depth testing is turned off and order is determined by the hierachy (depth-first search order). // Not always recommended if there is going to be a lot of overdraw ( if lots of actors are on top of each other) -actor.drawMode = dali.DRAW_MODE_OVERLAY; +actor.drawMode = dali.DRAW_MODE_OVERLAY_2D; ~~~ - Use TextureAtlases ( reduces state changes in the GPU) - Use compressed textures