Dali 3D User Interface Engine
Classes | Namespaces | Macros | Functions | Variables
utc-Dali-RenderTask.cpp File Reference
#include <iostream>
#include <stdlib.h>
#include <dali/public-api/dali-core.h>
#include <dali/devel-api/events/hit-test-algorithm.h>
#include <dali-test-suite-utils.h>
#include <dali/integration-api/debug.h>
#include <test-native-image.h>
#include <mesh-builder.h>
Include dependency graph for utc-Dali-RenderTask.cpp:

Go to the source code of this file.

Classes

struct  anonymous_namespace{utc-Dali-RenderTask.cpp}::RenderTaskFinished
 
struct  anonymous_namespace{utc-Dali-RenderTask.cpp}::RenderTaskFinishedRemoveSource
 
struct  anonymous_namespace{utc-Dali-RenderTask.cpp}::RenderTaskFinishedRenderAgain
 

Namespaces

namespace  anonymous_namespace{utc-Dali-RenderTask.cpp}
 APIs:
 

Macros

#define BOOLSTR(x)   ((x)?"T":"F")
 

Functions

void utc_dali_render_task_startup (void)
 
void utc_dali_render_task_cleanup (void)
 
int anonymous_namespace{utc-Dali-RenderTask.cpp}::Wait (TestApplication &application, int duration=0)
 
bool anonymous_namespace{utc-Dali-RenderTask.cpp}::TestScreenToFrameBufferFunction (Vector2 &coordinates)
 
ImageActor anonymous_namespace{utc-Dali-RenderTask.cpp}::CreateLoadingImageActor (TestApplication &application, std::string filename, ResourceImage::LoadPolicy loadPolicy, Image::ReleasePolicy releasePolicy)
 
Image anonymous_namespace{utc-Dali-RenderTask.cpp}::CreateLoadingImage (TestApplication &application, std::string filename, ResourceImage::LoadPolicy loadPolicy, Image::ReleasePolicy releasePolicy)
 
void anonymous_namespace{utc-Dali-RenderTask.cpp}::CompleteImageLoad (TestApplication &application, Integration::ResourceId resourceId, Integration::ResourceTypeId requestType)
 
void anonymous_namespace{utc-Dali-RenderTask.cpp}::FailImageLoad (TestApplication &application, Integration::ResourceId resourceId)
 
void anonymous_namespace{utc-Dali-RenderTask.cpp}::ReloadImage (TestApplication &application, ResourceImage image)
 
RenderTask anonymous_namespace{utc-Dali-RenderTask.cpp}::CreateRenderTask (TestApplication &application, CameraActor offscreenCamera, Actor rootActor, Actor secondRootActor, unsigned int refreshRate, bool glSync)
 
bool anonymous_namespace{utc-Dali-RenderTask.cpp}::UpdateRender (TestApplication &application, TraceCallStack &callStack, bool testDrawn, bool &finishedSig, bool testFinished, bool testKeepUpdating, int lineNumber)
 
bool anonymous_namespace{utc-Dali-RenderTask.cpp}::IsActorHittableFunction (Actor actor, Dali::HitTestAlgorithm::TraverseType type)
 
int UtcDaliRenderTaskDownCast01 (void)
 
int UtcDaliRenderTaskDownCast02 (void)
 
int UtcDaliRenderTaskSetSourceActorN (void)
 
int UtcDaliRenderTaskSetSourceActorP01 (void)
 
int UtcDaliRenderTaskSetSourceActorP02 (void)
 
int UtcDaliRenderTaskSetSourceActorOffStage (void)
 
int UtcDaliRenderTaskSetSourceActorEmpty (void)
 
int UtcDaliRenderTaskGetSourceActorP01 (void)
 
int UtcDaliRenderTaskGetSourceActorP02 (void)
 
int UtcDaliRenderTaskGetSourceActorN (void)
 
int UtcDaliRenderTaskSetExclusive (void)
 
int UtcDaliRenderTaskSetExclusive02 (void)
 
int UtcDaliRenderTaskSetExclusiveN (void)
 
int UtcDaliRenderTaskIsExclusive01 (void)
 
int UtcDaliRenderTaskIsExclusive02 (void)
 
int UtcDaliRenderTaskIsExclusiveN (void)
 
int UtcDaliRenderTaskSetInputEnabled (void)
 
int UtcDaliRenderTaskGetInputEnabled (void)
 
int UtcDaliRenderTaskSetCameraActorP (void)
 
int UtcDaliRenderTaskSetCameraActorN (void)
 
int UtcDaliRenderTaskGetCameraActorP (void)
 
int UtcDaliRenderTaskGetCameraActorN (void)
 
int UtcDaliRenderTaskSetTargetFrameBufferP (void)
 
int UtcDaliRenderTaskSetTargetFrameBufferN (void)
 
int UtcDaliRenderTaskGetTargetFrameBufferP (void)
 
int UtcDaliRenderTaskGetTargetFrameBufferN (void)
 
int UtcDaliRenderTaskSetScreenToFrameBufferFunctionP (void)
 
int UtcDaliRenderTaskSetScreenToFrameBufferFunctionN (void)
 
int UtcDaliRenderTaskGetScreenToFrameBufferFunctionP (void)
 
int UtcDaliRenderTaskGetScreenToFrameBufferFunctionN (void)
 
int UtcDaliRenderTaskGetScreenToFrameBufferMappingActorP (void)
 
int UtcDaliRenderTaskGetScreenToFrameBufferMappingActorN (void)
 
int UtcDaliRenderTaskGetScreenToFrameBufferMappingActor02N (void)
 
int UtcDaliRenderTaskGetViewportP01 (void)
 
int UtcDaliRenderTaskGetViewportP02 (void)
 
int UtcDaliRenderTaskGetViewportN (void)
 
int UtcDaliRenderTaskSetViewportP (void)
 
int UtcDaliRenderTaskSetViewportN (void)
 
int UtcDaliRenderTaskSetViewportPosition (void)
 
int UtcDaliRenderTaskSetViewportSize (void)
 
int UtcDaliRenderTaskSetClearColorP (void)
 
int UtcDaliRenderTaskSetClearColorN (void)
 
int UtcDaliRenderTaskGetClearColorP (void)
 
int UtcDaliRenderTaskGetClearColorN (void)
 
int UtcDaliRenderTaskSetClearEnabledP (void)
 
int UtcDaliRenderTaskSetClearEnabledN (void)
 
int UtcDaliRenderTaskGetClearEnabledP (void)
 
int UtcDaliRenderTaskGetClearEnabledN (void)
 
int UtcDaliRenderTaskSetCullModeP (void)
 
int UtcDaliRenderTaskSetCullModeN (void)
 
int UtcDaliRenderTaskGetCullModeP (void)
 
int UtcDaliRenderTaskGetCullModeN (void)
 
int UtcDaliRenderTaskSetRefreshRate (void)
 
int UtcDaliRenderTaskGetRefreshRate (void)
 
int UtcDaliRenderTaskSignalFinished (void)
 
int UtcDaliRenderTaskContinuous01 (void)
 
int UtcDaliRenderTaskContinuous02 (void)
 
int UtcDaliRenderTaskContinuous03 (void)
 
int UtcDaliRenderTaskContinuous04 (void)
 
int UtcDaliRenderTaskContinous05 (void)
 
int UtcDaliRenderTaskOnce01 (void)
 
int UtcDaliRenderTaskOnce02 (void)
 
int UtcDaliRenderTaskOnce03 (void)
 
int UtcDaliRenderTaskOnce04 (void)
 
int UtcDaliRenderTaskOnce05 (void)
 
int UtcDaliRenderTaskOnce07 (void)
 
int UtcDaliRenderTaskOnce08 (void)
 
int UtcDaliRenderTaskOnce09 (void)
 
int UtcDaliRenderTaskOnce10 (void)
 
int UtcDaliRenderTaskOnceNoSync01 (void)
 
int UtcDaliRenderTaskOnceNoSync02 (void)
 
int UtcDaliRenderTaskOnceNoSync03 (void)
 
int UtcDaliRenderTaskOnceNoSync04 (void)
 
int UtcDaliRenderTaskOnceNoSync05 (void)
 
int UtcDaliRenderTaskOnceNoSync07 (void)
 
int UtcDaliRenderTaskOnceNoSync08 (void)
 
int UtcDaliRenderTaskOnceNoSync09 (void)
 
int UtcDaliRenderTaskOnceNoSync10 (void)
 
int UtcDaliRenderTaskOnceChain01 (void)
 
int UtcDaliRenderTaskProperties (void)
 
int UtcDaliRenderTaskSetScreenToFrameBufferMappingActor (void)
 
int UtcDaliRenderTaskFinishInvisibleSourceActor (void)
 
int UtcDaliRenderTaskFinishMissingImage (void)
 
int UtcDaliRenderTaskWorldToViewport (void)
 
int UtcDaliRenderTaskViewportToLocal (void)
 

Variables

const int anonymous_namespace{utc-Dali-RenderTask.cpp}::RENDER_FRAME_INTERVAL = 16
 Duration of each frame in ms. (at approx 60FPS) More...
 

Macro Definition Documentation

#define BOOLSTR (   x)    ((x)?"T":"F")

Function Documentation

void utc_dali_render_task_cleanup ( void  )

Definition at line 40 of file utc-Dali-RenderTask.cpp.

References test_return_value, and TET_PASS.

void utc_dali_render_task_startup ( void  )

Definition at line 35 of file utc-Dali-RenderTask.cpp.

References test_return_value, and TET_UNDEF.

int UtcDaliRenderTaskContinous05 ( void  )
int UtcDaliRenderTaskContinuous01 ( void  )
int UtcDaliRenderTaskContinuous02 ( void  )
int UtcDaliRenderTaskContinuous03 ( void  )
int UtcDaliRenderTaskContinuous04 ( void  )
int UtcDaliRenderTaskDownCast01 ( void  )
int UtcDaliRenderTaskDownCast02 ( void  )

Definition at line 378 of file utc-Dali-RenderTask.cpp.

References DALI_TEST_CHECK, Dali::RenderTask::DownCast(), END_TEST, Dali::Actor::New(), and tet_infoline().

Here is the call graph for this function:

int UtcDaliRenderTaskFinishInvisibleSourceActor ( void  )
int UtcDaliRenderTaskFinishMissingImage ( void  )
int UtcDaliRenderTaskGetCameraActorN ( void  )

Definition at line 1054 of file utc-Dali-RenderTask.cpp.

References DALI_TEST_ASSERT(), DALI_TEST_PRINT_ASSERT(), END_TEST, Dali::RenderTask::GetCameraActor(), TEST_LOCATION, and tet_infoline().

Here is the call graph for this function:

int UtcDaliRenderTaskGetCameraActorP ( void  )
int UtcDaliRenderTaskGetClearColorN ( void  )

Definition at line 1533 of file utc-Dali-RenderTask.cpp.

References DALI_TEST_ASSERT(), DALI_TEST_PRINT_ASSERT(), END_TEST, Dali::RenderTask::GetClearColor(), TEST_LOCATION, and tet_infoline().

Here is the call graph for this function:

int UtcDaliRenderTaskGetClearColorP ( void  )
int UtcDaliRenderTaskGetClearEnabledN ( void  )

Definition at line 1605 of file utc-Dali-RenderTask.cpp.

References DALI_TEST_ASSERT(), DALI_TEST_PRINT_ASSERT(), END_TEST, Dali::RenderTask::GetClearEnabled(), TEST_LOCATION, and tet_infoline().

Here is the call graph for this function:

int UtcDaliRenderTaskGetClearEnabledP ( void  )
int UtcDaliRenderTaskGetCullModeN ( void  )

Definition at line 1673 of file utc-Dali-RenderTask.cpp.

References DALI_TEST_ASSERT(), DALI_TEST_PRINT_ASSERT(), END_TEST, Dali::RenderTask::GetCullMode(), TEST_LOCATION, and tet_infoline().

Here is the call graph for this function:

int UtcDaliRenderTaskGetCullModeP ( void  )
int UtcDaliRenderTaskGetInputEnabled ( void  )
int UtcDaliRenderTaskGetRefreshRate ( void  )
int UtcDaliRenderTaskGetScreenToFrameBufferFunctionN ( void  )
int UtcDaliRenderTaskGetScreenToFrameBufferFunctionP ( void  )
int UtcDaliRenderTaskGetScreenToFrameBufferMappingActor02N ( void  )
int UtcDaliRenderTaskGetScreenToFrameBufferMappingActorN ( void  )
int UtcDaliRenderTaskGetScreenToFrameBufferMappingActorP ( void  )
int UtcDaliRenderTaskGetSourceActorN ( void  )

Definition at line 678 of file utc-Dali-RenderTask.cpp.

References DALI_TEST_ASSERT(), DALI_TEST_PRINT_ASSERT(), END_TEST, Dali::RenderTask::GetSourceActor(), TEST_LOCATION, and tet_infoline().

Here is the call graph for this function:

int UtcDaliRenderTaskGetSourceActorP01 ( void  )
int UtcDaliRenderTaskGetSourceActorP02 ( void  )
int UtcDaliRenderTaskGetTargetFrameBufferN ( void  )
int UtcDaliRenderTaskGetTargetFrameBufferP ( void  )
int UtcDaliRenderTaskGetViewportN ( void  )

Definition at line 1307 of file utc-Dali-RenderTask.cpp.

References DALI_TEST_ASSERT(), DALI_TEST_PRINT_ASSERT(), END_TEST, Dali::RenderTask::GetViewport(), TEST_LOCATION, and tet_infoline().

Here is the call graph for this function:

int UtcDaliRenderTaskGetViewportP01 ( void  )
int UtcDaliRenderTaskGetViewportP02 ( void  )
int UtcDaliRenderTaskIsExclusive01 ( void  )
int UtcDaliRenderTaskIsExclusive02 ( void  )
int UtcDaliRenderTaskIsExclusiveN ( void  )

Definition at line 931 of file utc-Dali-RenderTask.cpp.

References DALI_TEST_ASSERT(), DALI_TEST_PRINT_ASSERT(), END_TEST, Dali::RenderTask::IsExclusive(), TEST_LOCATION, and tet_infoline().

Here is the call graph for this function:

int UtcDaliRenderTaskOnce01 ( void  )
int UtcDaliRenderTaskOnce02 ( void  )
int UtcDaliRenderTaskOnce03 ( void  )
int UtcDaliRenderTaskOnce04 ( void  )

Definition at line 2194 of file utc-Dali-RenderTask.cpp.

References Dali::Stage::Add(), Dali::Actor::AddRenderer(), Dali::Material::AddTexture(), Dali::TestPlatformAbstraction::ClearReadyResources(), anonymous_namespace{utc-Dali-RenderTask.cpp}::CompleteImageLoad(), anonymous_namespace{utc-Dali-RenderTask.cpp}::CreateLoadingImage(), Dali::CreateMaterial(), Dali::CreateQuadGeometry(), anonymous_namespace{utc-Dali-RenderTask.cpp}::CreateRenderTask(), DALI_TEST_CHECK, Dali::TraceCallStack::Enable(), END_TEST, Dali::RenderTask::FinishedSignal(), Dali::Stage::GetCurrent(), Dali::TestGlAbstraction::GetDrawTrace(), Dali::TestApplication::GetGlAbstraction(), Dali::TestApplication::GetGlSyncAbstraction(), Dali::Integration::ResourceRequest::GetId(), Dali::TestGlSyncAbstraction::GetLastSyncObject(), Dali::TestApplication::GetPlatform(), Dali::TestPlatformAbstraction::GetRequest(), Dali::Integration::ResourceRequest::GetType(), GL_FRAMEBUFFER_COMPLETE, Dali::Integration::ResourceType::id, Dali::ResourceImage::IMMEDIATE, Dali::Handle::New(), Dali::CameraActor::New(), Dali::Actor::New(), Dali::RenderTask::REFRESH_ALWAYS, Dali::RenderTask::REFRESH_ONCE, Dali::TestApplication::SendNotification(), Dali::TestGlAbstraction::SetCheckFramebufferStatusResult(), Dali::TestGlSyncAbstraction::SetObjectSynced(), Dali::RenderTask::SetRefreshRate(), Dali::Actor::SetSize(), tet_infoline(), Dali::Image::UNUSED, and anonymous_namespace{utc-Dali-RenderTask.cpp}::UpdateRender().

Here is the call graph for this function:

int UtcDaliRenderTaskOnce05 ( void  )
int UtcDaliRenderTaskOnce07 ( void  )
int UtcDaliRenderTaskOnce08 ( void  )

Definition at line 2465 of file utc-Dali-RenderTask.cpp.

References Dali::Stage::Add(), Dali::TestPlatformAbstraction::ClearReadyResources(), anonymous_namespace{utc-Dali-RenderTask.cpp}::CompleteImageLoad(), Dali::TraceCallStack::CountMethod(), anonymous_namespace{utc-Dali-RenderTask.cpp}::CreateLoadingImageActor(), anonymous_namespace{utc-Dali-RenderTask.cpp}::CreateRenderTask(), DALI_TEST_CHECK, DALI_TEST_EQUALS(), Dali::ConnectionTracker::DisconnectAll(), Dali::TraceCallStack::Enable(), END_TEST, Dali::RenderTask::FinishedSignal(), Dali::Stage::GetCurrent(), Dali::TestGlAbstraction::GetDrawTrace(), Dali::TestApplication::GetGlAbstraction(), Dali::TestApplication::GetGlSyncAbstraction(), Dali::Integration::ResourceRequest::GetId(), Dali::TestGlSyncAbstraction::GetLastSyncObject(), Dali::TestGlSyncAbstraction::GetNumberOfSyncObjects(), Dali::TestApplication::GetPlatform(), Dali::TestPlatformAbstraction::GetRequest(), Dali::TestGlSyncAbstraction::GetTrace(), Dali::Integration::ResourceRequest::GetType(), GL_FRAMEBUFFER_COMPLETE, Dali::Integration::ResourceType::id, Dali::ResourceImage::IMMEDIATE, Dali::CameraActor::New(), Dali::Actor::New(), Dali::RenderTask::REFRESH_ALWAYS, Dali::RenderTask::REFRESH_ONCE, Dali::TestApplication::Render(), Dali::TestApplication::SendNotification(), Dali::TestGlAbstraction::SetCheckFramebufferStatusResult(), Dali::TestGlSyncAbstraction::SetObjectSynced(), Dali::RenderTask::SetRefreshRate(), TEST_LOCATION, tet_infoline(), Dali::Image::UNUSED, and anonymous_namespace{utc-Dali-RenderTask.cpp}::UpdateRender().

Here is the call graph for this function:

int UtcDaliRenderTaskOnce09 ( void  )
int UtcDaliRenderTaskOnce10 ( void  )
int UtcDaliRenderTaskOnceChain01 ( void  )
int UtcDaliRenderTaskOnceNoSync01 ( void  )
int UtcDaliRenderTaskOnceNoSync02 ( void  )
int UtcDaliRenderTaskOnceNoSync03 ( void  )
int UtcDaliRenderTaskOnceNoSync04 ( void  )
int UtcDaliRenderTaskOnceNoSync05 ( void  )
int UtcDaliRenderTaskOnceNoSync07 ( void  )
int UtcDaliRenderTaskOnceNoSync08 ( void  )
int UtcDaliRenderTaskOnceNoSync09 ( void  )
int UtcDaliRenderTaskOnceNoSync10 ( void  )
int UtcDaliRenderTaskProperties ( void  )
int UtcDaliRenderTaskSetCameraActorN ( void  )
int UtcDaliRenderTaskSetCameraActorP ( void  )
int UtcDaliRenderTaskSetClearColorN ( void  )
int UtcDaliRenderTaskSetClearColorP ( void  )
int UtcDaliRenderTaskSetClearEnabledN ( void  )

Definition at line 1572 of file utc-Dali-RenderTask.cpp.

References DALI_TEST_ASSERT(), DALI_TEST_PRINT_ASSERT(), END_TEST, Dali::RenderTask::SetClearEnabled(), TEST_LOCATION, and tet_infoline().

Here is the call graph for this function:

int UtcDaliRenderTaskSetClearEnabledP ( void  )
int UtcDaliRenderTaskSetCullModeN ( void  )

Definition at line 1642 of file utc-Dali-RenderTask.cpp.

References DALI_TEST_ASSERT(), DALI_TEST_PRINT_ASSERT(), END_TEST, Dali::RenderTask::SetCullMode(), TEST_LOCATION, and tet_infoline().

Here is the call graph for this function:

int UtcDaliRenderTaskSetCullModeP ( void  )
int UtcDaliRenderTaskSetExclusive ( void  )
int UtcDaliRenderTaskSetExclusive02 ( void  )
int UtcDaliRenderTaskSetExclusiveN ( void  )

Definition at line 877 of file utc-Dali-RenderTask.cpp.

References DALI_TEST_ASSERT(), DALI_TEST_PRINT_ASSERT(), END_TEST, Dali::RenderTask::SetExclusive(), TEST_LOCATION, and tet_infoline().

Here is the call graph for this function:

int UtcDaliRenderTaskSetInputEnabled ( void  )
int UtcDaliRenderTaskSetRefreshRate ( void  )
int UtcDaliRenderTaskSetScreenToFrameBufferFunctionN ( void  )
int UtcDaliRenderTaskSetScreenToFrameBufferFunctionP ( void  )
int UtcDaliRenderTaskSetScreenToFrameBufferMappingActor ( void  )
int UtcDaliRenderTaskSetSourceActorEmpty ( void  )
int UtcDaliRenderTaskSetSourceActorN ( void  )
int UtcDaliRenderTaskSetSourceActorOffStage ( void  )
int UtcDaliRenderTaskSetSourceActorP01 ( void  )
int UtcDaliRenderTaskSetSourceActorP02 ( void  )
int UtcDaliRenderTaskSetTargetFrameBufferN ( void  )
int UtcDaliRenderTaskSetTargetFrameBufferP ( void  )
int UtcDaliRenderTaskSetViewportN ( void  )
int UtcDaliRenderTaskSetViewportP ( void  )
int UtcDaliRenderTaskSetViewportPosition ( void  )
int UtcDaliRenderTaskSetViewportSize ( void  )
int UtcDaliRenderTaskSignalFinished ( void  )
int UtcDaliRenderTaskViewportToLocal ( void  )
int UtcDaliRenderTaskWorldToViewport ( void  )
Dali Docs Home
Read more about Dali