Dali::Integration::Log::LogFunction logFunction(&TestApplication::LogMessage);
Dali::Integration::Log::InstallLogFunction(logFunction);
+ Dali::Integration::Trace::LogContextFunction logContextFunction(&TestApplication::LogContext);
+ Dali::Integration::Trace::InstallLogContextFunction( logContextFunction );
+
+ Dali::Integration::Trace::LogContext( true, "Test" );
+
mCore->SceneCreated();
}
delete mCore;
}
+void TestApplication::LogContext( bool start, const char* tag )
+{
+ if( start )
+ {
+ fprintf(stderr, "INFO: Trace Start: %s", tag);
+ }
+ else
+ {
+ fprintf(stderr, "INFO: Trace End: %s", tag);
+ }
+}
+
void TestApplication::LogMessage(Dali::Integration::Log::DebugPriority level, std::string& message)
{
switch(level)
#include "test-render-controller.h"
#include <dali/public-api/common/dali-common.h>
#include <dali/integration-api/resource-policies.h>
+#include <dali/integration-api/trace.h>
namespace Dali
{
void Initialize();
virtual ~TestApplication();
static void LogMessage( Dali::Integration::Log::DebugPriority level, std::string& message );
+ static void LogContext( bool start, const char* tag );
Dali::Integration::Core& GetCore();
TestPlatformAbstraction& GetPlatform();
TestRenderController& GetRenderController();
DALI_TOOLKIT_CFLAGS="$DALI_TOOLKIT_CFLAGS -DDEBUG_ENABLED"
fi
+if test "x$enable_trace" = "xyes"; then
+ DALI_ADAPTOR_CFLAGS="$DALI_ADAPTOR_CFLAGS -DTRACE_ENABLED"
+fi
+
if test "x$enable_debug" = "xno" -a "x$enable_exportall" = "xno"; then
DALI_TOOLKIT_CFLAGS="$DALI_TOOLKIT_CFLAGS -fvisibility=hidden -DHIDE_DALI_INTERNALS"
fi
-------------
Prefix: $prefix
Debug Build: $enable_debug
+ Trace Build: $enable_trace
JavaScript support (V8 required) $build_javascript_plugin
CSharp support $build_csharp_plugin
Profile: $dali_profile
{
class Model3dView;
}
+
+/**
+ * @addtogroup dali_toolkit_controls_model3d_view
+ * @{
+ */
+
/**
* @brief Model3dView is a control for displaying 3d geometry.
*
};
};
+ /**
+ * @brief Enumeration for the type of illumination.
+ * @SINCE_1_1.4
+ */
enum IlluminationType
{
- DIFFUSE,
- DIFFUSE_WITH_TEXTURE,
- DIFFUSE_WITH_NORMAL_MAP
+ DIFFUSE, ///< diffuse @SINCE_1_1.4
+ DIFFUSE_WITH_TEXTURE, ///< diffuse with texture @SINCE_1_1.4
+ DIFFUSE_WITH_NORMAL_MAP ///< diffuse with normal map @SINCE_1_1.4
};
/**
};
+/**
+ * @}
+ */
} // namespace Toolkit
} // namespace Dali
class DALI_IMPORT_API Ruler : public RefObject
{
public:
- /// @brief The type of the ruler
+ /**
+ * @brief Enumeration for the type of the ruler.
+ * @SINCE_1_0.0
+ */
enum RulerType {
Fixed, ///< A fixed ruler @SINCE_1_0.0
Free ///< A free ruler @SINCE_1_0.0
PROPERTY_START_INDEX = Control::CONTROL_PROPERTY_END_INDEX + 1, ///< @SINCE_1_0.0
};
+ /**
+ * @brief Enumeration for the instance of properties belonging to the VideoView class.
+ * @SINCE_1_1.38
+ */
struct Property
{
+ /**
+ * @brief Enumeration for the instance of properties belonging to the VideoView class.
+ * @SINCE_1_1.38
+ */
enum
{
/**
*/
struct DisplayMode
{
+ /**
+ * @brief The values of this enum determine how the video should be display mode to the view.
+ * @SINCE_1_3_15
+ */
enum Type
{
/**
const unsigned int TOOLKIT_MAJOR_VERSION = 1;
const unsigned int TOOLKIT_MINOR_VERSION = 3;
-const unsigned int TOOLKIT_MICRO_VERSION = 17;
+const unsigned int TOOLKIT_MICRO_VERSION = 19;
const char * const TOOLKIT_BUILD_DATE = __DATE__ " " __TIME__;
#ifdef DEBUG_ENABLED
namespace Text
{
-// The type of text renderer required
+/**
+ * @brief Enumeration for the type of text renderer required.
+ * @SINCE_1_0.0
+ */
enum RenderingType
{
RENDERING_SHARED_ATLAS, ///< A bitmap-based solution where renderers can share a texture atlas @SINCE_1_0.0
* <td>ImageView is a control displaying an image.</td>
* </tr>
* <tr>
+ * <td style="padding-left:1em">@ref dali_toolkit_controls_model3d_view</td>
+ * <td>Model3dView is a control for displaying 3d geometry.</td>
+ * </tr>
+ * <tr>
* <td style="padding-left:1em">@ref dali_toolkit_controls_scroll_bar</td>
* <td>ScrollBar is a component that can be linked to the scrollable objects.</td>
* </tr>
* @defgroup dali_toolkit_controls_image_view Image View
* @brief ImageView is a control displaying an image.
+ * @defgroup dali_toolkit_controls_model3d_view Model3dView
+ * @brief Model3dView is a control for displaying 3d geometry.
+
* @defgroup dali_toolkit_controls_scroll_bar Scroll Bar
* @brief ScrollBar is a component that can be linked to the scrollable objects.
Name: dali-toolkit
Summary: Dali 3D engine Toolkit
-Version: 1.3.17
+Version: 1.3.19
Release: 1
Group: System/Libraries
License: Apache-2.0 and BSD-3-Clause and MIT
%if 0%{?enable_debug}
--enable-debug \
%endif
+%if 0%{?enable_trace}
+ --enable-trace \
+%endif
--enable-i18n=yes \
--enable-rename-so=no
%if 0%{?enable_debug}
--enable-debug \
%endif
+%if 0%{?enable_trace}
+ --enable-trace \
+%endif
--enable-i18n=yes \
--enable-rename-so=no