X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Frender%2Fcommon%2Frender-debug.h;h=6eae241c87bc2ad096b58df353c9f241b3ea7a5c;hb=df900c39d55e86098dc87945e269634f351fa0e5;hp=8d5176e658a86301bb41fad2672bbe17a1de9b7b;hpb=719bb2f6939effe2a07155544667789553105518;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/internal/render/common/render-debug.h b/dali/internal/render/common/render-debug.h index 8d5176e..6eae241 100644 --- a/dali/internal/render/common/render-debug.h +++ b/dali/internal/render/common/render-debug.h @@ -1,8 +1,8 @@ -#ifndef __DALI_INTERNAL_RENDER_DEBUG_H__ -#define __DALI_INTERNAL_RENDER_DEBUG_H__ +#ifndef DALI_INTERNAL_RENDER_DEBUG_H +#define DALI_INTERNAL_RENDER_DEBUG_H /* - * Copyright (c) 2015 Samsung Electronics Co., Ltd. + * Copyright (c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -64,6 +64,7 @@ class PropertyInputImpl; namespace SceneGraph { +class Node; class RenderInstruction; struct RenderList; struct RenderItem; @@ -109,10 +110,17 @@ void PrintRenderItem( const SceneGraph::RenderItem& item ); */ void PrintRendererCount( unsigned int frameCount, unsigned int rendererCount ); +/** + * Recursively dumps a Node tree. + * @param[in] node The starting node to dump from + * @param[in] indent Optional. Leave unset for default indent (used internally while recursing) + */ +void DumpNode( const SceneGraph::Node* node, unsigned int indent = 0 ); + } // Render } // Internal } // Dali -#endif // __DALI_INTERNAL_RENDER_DEBUG_H__ +#endif // DALI_INTERNAL_RENDER_DEBUG_H