X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-core.git;a=blobdiff_plain;f=dali%2Fpublic-api%2Frender-tasks%2Frender-task.cpp;h=099a0aded8b5ed01c14e64ef3fbed58264eae44b;hp=b9545ab2f9bbd29aee84ca24879fde329d96bdbb;hb=646f736e77b085c86e982c0d1d4b895c2a431330;hpb=b41db98148be41ef5928f4335e985bf62252dde7 diff --git a/dali/public-api/render-tasks/render-task.cpp b/dali/public-api/render-tasks/render-task.cpp index b9545ab..099a0ad 100644 --- a/dali/public-api/render-tasks/render-task.cpp +++ b/dali/public-api/render-tasks/render-task.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016 Samsung Electronics Co., Ltd. + * Copyright (c) 2018 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. @@ -43,12 +43,12 @@ static bool FullScreenFrameBufferFunction( Vector2& coordinates ) RenderTask::ConstScreenToFrameBufferFunction RenderTask::DEFAULT_SCREEN_TO_FRAMEBUFFER_FUNCTION = DefaultScreenToFrameBufferFunction; RenderTask::ConstScreenToFrameBufferFunction RenderTask::FULLSCREEN_FRAMEBUFFER_FUNCTION = FullScreenFrameBufferFunction; -const bool RenderTask::DEFAULT_EXCLUSIVE = false; -const bool RenderTask::DEFAULT_INPUT_ENABLED = true; -const Vector4 RenderTask::DEFAULT_CLEAR_COLOR = Vector4( 0.0f, 0.0f, 0.0f, 1.0f ); // cannot use Color::Black because it may or may not be initialized yet -const bool RenderTask::DEFAULT_CLEAR_ENABLED = false; -const bool RenderTask::DEFAULT_CULL_MODE = true; -const unsigned int RenderTask::DEFAULT_REFRESH_RATE = REFRESH_ALWAYS; +const bool RenderTask::DEFAULT_EXCLUSIVE = false; +const bool RenderTask::DEFAULT_INPUT_ENABLED = true; +const Vector4 RenderTask::DEFAULT_CLEAR_COLOR = Vector4( 0.0f, 0.0f, 0.0f, 1.0f ); // cannot use Color::Black because it may or may not be initialized yet +const bool RenderTask::DEFAULT_CLEAR_ENABLED = false; +const bool RenderTask::DEFAULT_CULL_MODE = true; +const uint32_t RenderTask::DEFAULT_REFRESH_RATE = REFRESH_ALWAYS; RenderTask::RenderTask() { @@ -241,12 +241,12 @@ bool RenderTask::GetCullMode() const return GetImplementation(*this).GetCullMode(); } -void RenderTask::SetRefreshRate( unsigned int refreshRate ) +void RenderTask::SetRefreshRate( uint32_t refreshRate ) { GetImplementation(*this).SetRefreshRate( refreshRate ); } -unsigned int RenderTask::GetRefreshRate() const +uint32_t RenderTask::GetRefreshRate() const { return GetImplementation(*this).GetRefreshRate(); }