[ITC][DALi][Non-ACR][Modified TC according to version up]
authorJahangir <ja.alam@samsung.com>
Mon, 5 Sep 2016 20:50:19 +0000 (16:50 -0400)
committerJahangir <ja.alam@samsung.com>
Mon, 5 Sep 2016 20:51:03 +0000 (16:51 -0400)
Change-Id: I003124acab562248376df29286e5d31e04ea3560

src/itc/dali-core/actor/ITs-actor-common.cpp
src/itc/dali-core/actor/ITs-actor-common.h
src/itc/dali-core/actor/ITs-actor-impl.h
src/itc/dali-core/render-task/ITs-render-task-impl.h
src/itc/dali-core/render-task/ITs-render-task.cpp
src/itc/dali-core/tct-dali-core-native_common_iot.h
src/itc/dali-core/tct-dali-core-native_mobile.h
src/itc/dali-core/tct-dali-core-native_tv.h
src/itc/dali-core/tct-dali-core-native_wearable.h

index 402709e..6a9afc4 100755 (executable)
@@ -23,7 +23,7 @@
 
 bool ActorGetCurrentPosition(Actor &actor,Vector3 vec3SetPosition,enum ActorPositionInputParam ePositionOption)
 {
-       Dali::Vector3 vec3GetPosition(0.0f, 0.0f, 0.0f);        
+       Dali::Vector3 vec3GetPosition(0.0f, 0.0f, 0.0f);
        bool bPassed = true;
        switch(ePositionOption)
        {       
@@ -35,9 +35,9 @@ bool ActorGetCurrentPosition(Actor &actor,Vector3 vec3SetPosition,enum ActorPosi
                        {
                                LOG_E("set and get value mismatched, vec3GetPosition");
                                bPassed = false;
-                       }                       
+                       }
                        break;
-               }                                                                       
+               }
                case ACTORPOSITION_MULTI_INPUT_PARAM: 
                {
                        vec3GetPosition = Vector3::ZERO;
@@ -57,15 +57,15 @@ bool ActorGetCurrentPosition(Actor &actor,Vector3 vec3SetPosition,enum ActorPosi
                        vec3GetPosition = actor.GetCurrentPosition();
                        if (vec3GetPosition != vec3SetPosition)
                        {
-                               LOG_E("set and get value mismatched, vec3GetPosition");         
+                               LOG_E("set and get value mismatched, vec3GetPosition");
                                bPassed = false;
-                       }                       
+                       }
                        break;
-               }                                                                               
+               }
                default:
                {
                        bPassed = false;
-                       break;                                                          
+                       break;
                }
        }
        return bPassed;
@@ -92,31 +92,31 @@ bool ActorGetCurrentOrientation(Actor &actor,float fSetAngle,Vector3 vec3SetAxis
        switch(OrientationOption)
        {       
                case ACTORROTATION_DEGREE:
-               {                               
+               {
                        quatGetOrientation = actor.GetCurrentOrientation();
                        
                        if (quatGetOrientation != quatSetOrientationDgr)
                        {
                                LOG_E("set and get value mismatched for rotation");
                                bPassed = false;
-                       }                       
+                       }
                        break;
-               }                                                                       
+               }
                case ACTORROTATION_RADIAN: 
                case ACTORROTATION_QUATERNION: 
-               {                                                                                                                                                                                                                                                               
+               {
                        quatGetOrientation = actor.GetCurrentOrientation();
                        
                        if (quatGetOrientation != quatSetOrientation)
                        {
                                LOG_E("set and get value mismatched for rotation");
                                bPassed = false;
-                       }                       
+                       }
                        break;
-               }                                                                               
+               }
                default:
                {
-                       bPassed = false;                                                        
+                       bPassed = false;
                        break;  
                }
        }
@@ -136,47 +136,47 @@ bool ActorGetCurrentOrientation(Actor &actor,float fSetAngle,Vector3 vec3SetAxis
 bool ActorGetCurrentScale(Actor &actor,Vector3 vec3SetScale,enum ActorScaleInputParam ScaleOption)
 {
        Dali::Vector3 vec3GetScale = Vector3::ZERO;
-       bool bPassed = true;                            
+       bool bPassed = true;
 
        switch(ScaleOption)
        {       
                case ACTORSCALE_SINGLE_INPUT_PARAM:
-               {                                                                                       
+               {
                        
                        vec3GetScale = actor.GetCurrentScale();
                        //By setting scale with single param, all x, y, z terms of Vector3 scale is set with the same value
                        if ((vec3GetScale.x != vec3SetScale.x) || (vec3GetScale.y != vec3SetScale.x) || (vec3GetScale.z != vec3SetScale.x))
                        {
                                LOG_E("set and get value mismatched for scale");
-                               bPassed = false;                        
-                       }                                                       
+                               bPassed = false;
+                       }
                        break;
-               }                                                                       
+               }
                case ACTORSCALE_MULTI_INPUT_PARAM: 
-               {                       
+               {
                        vec3GetScale = actor.GetCurrentScale();
                        if ((vec3GetScale.x != vec3SetScale.x) || (vec3GetScale.y != vec3SetScale.y) || (vec3GetScale.z != vec3SetScale.z))
                        {
                                LOG_E("set and get value mismatched for scale");
-                               bPassed = false;                                
-                       }                       
+                               bPassed = false;
+                       }
                        break;
                }
                case ACTORSCALE_VECTOR_INPUT_PARAM: 
-               {                                                                                                                                                                                                                                                               
+               {
                        vec3GetScale = actor.GetCurrentScale();
                        
                        if (vec3GetScale != vec3SetScale)
                        {
                                LOG_E("set and get value mismatched for scale");
-                               bPassed = false;                                
-                       }                       
+                               bPassed = false;
+                       }
                        break;
-               }                                                                               
+               }
                default:
                {
                        bPassed = false;
-                       break;                                                          
+                       break;
                }
        }
        return bPassed;
@@ -194,18 +194,18 @@ bool ActorGetCurrentScale(Actor &actor,Vector3 vec3SetScale,enum ActorScaleInput
 bool ActorGetCurrentSize(Actor &actor,Vector3 vec3SetSize, enum ActorSizeInputParam SizeOption)
 {
        bool bPassed = true;
-       Dali::Vector3 vec3GetSize = Vector3::ZERO;                                      
+       Dali::Vector3 vec3GetSize = Vector3::ZERO;
 
        switch(SizeOption)
        {       
                case ACTORSIZE_DOUBLE_INPUT_PARAM:
                case ACTORSIZE_VECTOR2_INPUT_PARAM:
-               {                                                                                       
+               {
                        vec3GetSize = actor.GetCurrentSize();
                        if ((vec3GetSize.x != vec3SetSize.x) || (vec3GetSize.y != vec3SetSize.y) )
                        {
                                LOG_E("set and get value mismatched for Size");
-                               bPassed = false;                        
+                               bPassed = false;
                        }                       
                        break;
                }                                               
@@ -217,7 +217,7 @@ bool ActorGetCurrentSize(Actor &actor,Vector3 vec3SetSize, enum ActorSizeInputPa
                        if ((vec3GetSize.x != vec3SetSize.x) || (vec3GetSize.y != vec3SetSize.y) || (vec3GetSize.z != vec3SetSize.z))
                        {
                                LOG_E("set and get value mismatched for Size");
-                               bPassed = false;                        
+                               bPassed = false;
                        }               
                        break;
                }
@@ -230,17 +230,47 @@ bool ActorGetCurrentSize(Actor &actor,Vector3 vec3SetSize, enum ActorSizeInputPa
                        if (vec3GetSize != vec3SetSize)
                        {
                                LOG_E("set and get value mismatched for Size");
-                               bPassed = false;                
-                       }                       
+                               bPassed = false;
+                       }
                        break;
                }
                default:
                {
-                       bPassed = false;                
-                       break;                                                          
+                       bPassed = false;
+                       break;
                }
        }       
        return bPassed;
 }
+PropertyBuffer CreatePropertyBuffer()
+{
+  Property::Map texturedQuadVertexFormat;
+  texturedQuadVertexFormat["aPosition"] = Property::VECTOR2;
+  texturedQuadVertexFormat["aVertexCoord"] = Property::VECTOR2;
+
+  PropertyBuffer vertexData = PropertyBuffer::New( texturedQuadVertexFormat );
+  return vertexData;
+}
+
+Geometry CreateQuadGeometry(void)
+{
+  PropertyBuffer vertexData = CreatePropertyBuffer();
+  const float halfQuadSize = .5f;
+  struct TexturedQuadVertex { Vector2 position; Vector2 textureCoordinates; };
+  TexturedQuadVertex texturedQuadVertexData[4] = {
+    { Vector2(-halfQuadSize, -halfQuadSize), Vector2(0.f, 0.f) },
+    { Vector2( halfQuadSize, -halfQuadSize), Vector2(1.f, 0.f) },
+    { Vector2(-halfQuadSize,  halfQuadSize), Vector2(0.f, 1.f) },
+    { Vector2( halfQuadSize,  halfQuadSize), Vector2(1.f, 1.f) } };
+  vertexData.SetData(texturedQuadVertexData, 4);
+
+  unsigned short indexData[6] = { 0, 3, 1, 0, 2, 3 };
+
+  Geometry geometry = Geometry::New();
+  geometry.AddVertexBuffer( vertexData );
+  geometry.SetIndexBuffer( indexData, sizeof(indexData)/sizeof(indexData[0]) );
+
+  return geometry;
+}
 /** @} */  //end of dali-core-Actor
 /** @} */  //end of dali-core
index c43f45d..001c1ef 100755 (executable)
@@ -79,6 +79,12 @@ bool ActorGetCurrentScale(Actor &actor,Vector3 vec3SetScale,enum ActorScaleInput
 /**Varrying the input parameter for actor's Size**/
 bool ActorGetCurrentSize(Actor &actor,Vector3 vec3SetSize, enum ActorSizeInputParam SizeOption);
 
+/**Create the property buffer**/
+PropertyBuffer CreatePropertyBuffer();
+
+/**Create the geometry**/
+Geometry CreateQuadGeometry(void);
+
 /** @} */  //end of dali-core-Actor
 /** @} */  //end of dali-core
 
index a2be008..048964c 100755 (executable)
@@ -2200,20 +2200,20 @@ void ActorGetHierarchyDepthAddRemoveRendererScreenToLocal()
        
        //renderer test
        DALI_CHECK_FAIL( actor.GetRendererCount() != 0u, "Actor get renderer count mismatch");
-       //~ Geometry geometry = Geometry::QUAD();
-       //~ Shader shader = Shader::New( "vertexSrc", "fragmentSrc" );
-       //~ Renderer renderer = Renderer::New(geometry, shader);
-       //~ Renderer renderer1 = Renderer::New(geometry, shader);
-       //~ DALI_CHECK_FAIL( !renderer, "Renderer::New(geometry, shader) is failed");
-       //~ DALI_CHECK_FAIL( !renderer1, "Renderer::New(geometry, shader) is failed");
-       //~ actor.AddRenderer( renderer );
-       //~ actor.AddRenderer( renderer1 );
-       //~ DALI_CHECK_FAIL( actor.GetRendererCount() !=2u, "Actor get renderer count mismatch" );
-       //~ DALI_CHECK_FAIL( actor.GetRendererAt(0) != renderer, "Actor get renderer count mismatch" );
-       //~ actor.RemoveRenderer(0);
-       //~ DALI_CHECK_FAIL( actor.GetRendererCount() !=1u, "Actor get renderer count mismatch" );
-       //~ actor.RemoveRenderer(renderer1);
-       //~ DALI_CHECK_FAIL( actor.GetRendererCount() !=0u, "Actor get renderer count mismatch" );
+       Geometry geometry = CreateQuadGeometry();
+       Shader shader = Shader::New( "vertexSrc", "fragmentSrc" );
+       Renderer renderer = Renderer::New(geometry, shader);
+       Renderer renderer1 = Renderer::New(geometry, shader);
+       DALI_CHECK_FAIL( !renderer, "Renderer::New(geometry, shader) is failed");
+       DALI_CHECK_FAIL( !renderer1, "Renderer::New(geometry, shader) is failed");
+       actor.AddRenderer( renderer );
+       actor.AddRenderer( renderer1 );
+       DALI_CHECK_FAIL( actor.GetRendererCount() !=2u, "Actor get renderer count mismatch" );
+       DALI_CHECK_FAIL( actor.GetRendererAt(0) != renderer, "Actor get renderer count mismatch" );
+       actor.RemoveRenderer(0);
+       DALI_CHECK_FAIL( actor.GetRendererCount() !=1u, "Actor get renderer count mismatch" );
+       actor.RemoveRenderer(renderer1);
+       DALI_CHECK_FAIL( actor.GetRendererCount() !=0u, "Actor get renderer count mismatch" );
        
        //screen to local test
        float localX;
index 2ea5611..acc92a5 100755 (executable)
@@ -733,17 +733,29 @@ void VTRenderTaskViewportToLocal001()
 
        DaliLog::PrintPass();
 }
-//~ void RenderTaskSetGetFrameBuffer()
-//~ {
-       //~ 
-       //~ RenderTaskList taskList = Stage::GetCurrent().GetRenderTaskList();
-       //~ RenderTask task = taskList.GetTask( 0u );
-       //~ FrameBuffer newFrameBuffer = FrameBuffer::New( 128u, 128u, FrameBuffer::COLOR );
-       //~ task.SetFrameBuffer( newFrameBuffer );
-       //~ DALI_CHECK_FAIL( task.GetFrameBuffer() != newFrameBuffer, "Set and get      frame buffer is failed");
-       //~ 
-       //~ DaliLog::PrintPass();
-//~ }
+void RenderTaskSetGetFrameBuffer()
+{
+       
+       RenderTaskList taskList = Stage::GetCurrent().GetRenderTaskList();
+       RenderTask task = taskList.GetTask( 0u );
+       FrameBuffer newFrameBuffer = FrameBuffer::New( 128u, 128u, FrameBuffer::Attachment::NONE );
+       task.SetFrameBuffer( newFrameBuffer );
+       DALI_CHECK_FAIL( task.GetFrameBuffer() != newFrameBuffer, "Set and get frame buffer for Attachment::NONE is failed");
+       
+       newFrameBuffer = FrameBuffer::New( 128u, 128u, FrameBuffer::Attachment::DEPTH );
+       task.SetFrameBuffer( newFrameBuffer );
+       DALI_CHECK_FAIL( task.GetFrameBuffer() != newFrameBuffer, "Set and get frame buffer for Attachment::DEPTH is failed");
+       
+       newFrameBuffer = FrameBuffer::New( 128u, 128u, FrameBuffer::Attachment::STENCIL );
+       task.SetFrameBuffer( newFrameBuffer );
+       DALI_CHECK_FAIL( task.GetFrameBuffer() != newFrameBuffer, "Set and get Attachment::STENCIL frame buffer is failed");
+       
+       newFrameBuffer = FrameBuffer::New( 128u, 128u, FrameBuffer::Attachment::DEPTH_STENCIL );
+       task.SetFrameBuffer( newFrameBuffer );
+       DALI_CHECK_FAIL( task.GetFrameBuffer() != newFrameBuffer, "Set and get Attachment::DEPTH_STENCIL frame buffer is failed");
+       
+       DaliLog::PrintPass();
+}
 /** @} */ // end of itc-render-task-testcases
 /** @} */ // end of itc-render-task
 /** @} */ // end of itc-dali-core
index 68fc8c6..010edce 100755 (executable)
@@ -180,9 +180,9 @@ namespace
                                RenderTaskViewportToLocal();
                                break;
                                
-                               //~ case RENDER_TASK_SETGETFRAMEBUFFER:
-                               //~ RenderTaskSetGetFrameBuffer();
-                               //~ break;
+                               case RENDER_TASK_SETGETFRAMEBUFFER:
+                               RenderTaskSetGetFrameBuffer();
+                               break;
                        }
                }
                void VerdictTest()
@@ -908,34 +908,34 @@ int ITcRenderTaskViewportToLocal(void)
 }
 
 
-//~ //& purpose: Checks whether SetFrameBuffer and GetFrameBuffer api works properly
-//~ //& type: auto
-
-//~ /**
-//~ * @testcase            ITcRenderTaskSetGetFrameBuffer
-//~ * @since_tizen         3.0
-//~ * @type                            Positive
-//~ * @description             Checks whether SetFrameBuffer and GetFrameBuffer api works properly
-//~ * @scenario                        Get renderTaskList from  current stage \n
-//~ *                              Create a RenderTask \n
-//~ *                              Create a framebuffer with COLOR\n
-//~ *                              Set framebuffer to render task \n
-//~ *                              Get framebuffer and check with setted one.
-//~ * @apicovered              GetRenderTaskList(), SetFrameBuffer( FrameBuffer frameBuffer ), GetFrameBuffer()
-//~ * @passcase                        If Checks whether SetFrameBuffer and GetFrameBuffer api works properly
-//~ * @failcase                        If Checks whether SetFrameBuffer and GetFrameBuffer api not work properly
-//~ * @precondition            NA
-//~ * @postcondition   NA
-//~ */
-//~ int ITcRenderTaskSetGetFrameBuffer(void)
-//~ {
-       //~ DaliLog::PrintExecStarted(SUITE_NAME, __FUNCTION__);
-       //~ Application application = Application::New( &gArgc, &gArgv );
-       //~ CHECK_OPEN_GL(SUITE_NAME,__LINE__)
-       //~ TestApp testApp(application, RENDER_TASK_SETGETFRAMEBUFFER);
-       //~ application.MainLoop();     
-    //~ return test_return_value;
-//~ }
+//& purpose: Checks whether SetFrameBuffer and GetFrameBuffer api works properly
+//& type: auto
+
+/**
+* @testcase        ITcRenderTaskSetGetFrameBuffer
+* @since_tizen     3.0
+* @type                                Positive
+* @description         Checks whether SetFrameBuffer and GetFrameBuffer api works properly
+* @scenario                    Get renderTaskList from  current stage \n
+*                                  Create a RenderTask \n
+*                                  Create a framebuffer with COLOR\n
+*                                  Set framebuffer to render task \n
+*                                  Get framebuffer and check with setted one.
+* @apicovered          GetRenderTaskList(), SetFrameBuffer( ), GetFrameBuffer(), FrameBuffer::Attachment
+* @passcase                    If Checks whether SetFrameBuffer and GetFrameBuffer api works properly
+* @failcase                    If Checks whether SetFrameBuffer and GetFrameBuffer api not work properly
+* @precondition                NA
+* @postcondition       NA
+*/
+int ITcRenderTaskSetGetFrameBuffer(void)
+{
+       DaliLog::PrintExecStarted(SUITE_NAME, __FUNCTION__);
+       Application application = Application::New( &gArgc, &gArgv );
+       CHECK_OPEN_GL(SUITE_NAME,__LINE__)
+       TestApp testApp(application, RENDER_TASK_SETGETFRAMEBUFFER);
+       application.MainLoop(); 
+    return test_return_value;
+}
 
 
 /** @} */ // end of itc-render-task-testcases
index 121d4f2..fee5018 100755 (executable)
@@ -796,7 +796,7 @@ extern int ITcRenderTaskSetGetSetScreenToFrameBufferFunctionWithFullScreen(void)
 extern int ITcRenderTaskSetGetSetScreenToFrameBufferFunctionWithDefaultScreen(void);
 extern int ITcRenderTaskWorldtoViewport(void);
 extern int ITcRenderTaskViewportToLocal(void);
-//~ extern int ITcRenderTaskSetGetFrameBuffer(void);
+extern int ITcRenderTaskSetGetFrameBuffer(void);
 extern int ITcResourceImageGetImageSize(void);
 extern int ITcResourceImageReload(void);
 extern int ITcResourceImageDownCast(void);
@@ -1616,7 +1616,7 @@ testcase tc_array[] = {
        {"ITcRenderTaskSetGetSetScreenToFrameBufferFunctionWithDefaultScreen", ITcRenderTaskSetGetSetScreenToFrameBufferFunctionWithDefaultScreen, ITs_rendertask_startup, ITs_rendertask_cleanup},
        {"ITcRenderTaskWorldtoViewport", ITcRenderTaskWorldtoViewport, ITs_rendertask_startup, ITs_rendertask_cleanup},
        {"ITcRenderTaskViewportToLocal", ITcRenderTaskViewportToLocal, ITs_rendertask_startup, ITs_rendertask_cleanup},
-       //~ {"ITcRenderTaskSetGetFrameBuffer", ITcRenderTaskSetGetFrameBuffer, ITs_rendertask_startup, ITs_rendertask_cleanup},
+       {"ITcRenderTaskSetGetFrameBuffer", ITcRenderTaskSetGetFrameBuffer, ITs_rendertask_startup, ITs_rendertask_cleanup},
        {"ITcResourceImageGetImageSize", ITcResourceImageGetImageSize, ITs_resource_image_startup, ITs_resource_image_cleanup},
        {"ITcResourceImageReload", ITcResourceImageReload, ITs_resource_image_startup, ITs_resource_image_cleanup},
        {"ITcResourceImageDownCast", ITcResourceImageDownCast, ITs_resource_image_startup, ITs_resource_image_cleanup},
index 121d4f2..fee5018 100755 (executable)
@@ -796,7 +796,7 @@ extern int ITcRenderTaskSetGetSetScreenToFrameBufferFunctionWithFullScreen(void)
 extern int ITcRenderTaskSetGetSetScreenToFrameBufferFunctionWithDefaultScreen(void);
 extern int ITcRenderTaskWorldtoViewport(void);
 extern int ITcRenderTaskViewportToLocal(void);
-//~ extern int ITcRenderTaskSetGetFrameBuffer(void);
+extern int ITcRenderTaskSetGetFrameBuffer(void);
 extern int ITcResourceImageGetImageSize(void);
 extern int ITcResourceImageReload(void);
 extern int ITcResourceImageDownCast(void);
@@ -1616,7 +1616,7 @@ testcase tc_array[] = {
        {"ITcRenderTaskSetGetSetScreenToFrameBufferFunctionWithDefaultScreen", ITcRenderTaskSetGetSetScreenToFrameBufferFunctionWithDefaultScreen, ITs_rendertask_startup, ITs_rendertask_cleanup},
        {"ITcRenderTaskWorldtoViewport", ITcRenderTaskWorldtoViewport, ITs_rendertask_startup, ITs_rendertask_cleanup},
        {"ITcRenderTaskViewportToLocal", ITcRenderTaskViewportToLocal, ITs_rendertask_startup, ITs_rendertask_cleanup},
-       //~ {"ITcRenderTaskSetGetFrameBuffer", ITcRenderTaskSetGetFrameBuffer, ITs_rendertask_startup, ITs_rendertask_cleanup},
+       {"ITcRenderTaskSetGetFrameBuffer", ITcRenderTaskSetGetFrameBuffer, ITs_rendertask_startup, ITs_rendertask_cleanup},
        {"ITcResourceImageGetImageSize", ITcResourceImageGetImageSize, ITs_resource_image_startup, ITs_resource_image_cleanup},
        {"ITcResourceImageReload", ITcResourceImageReload, ITs_resource_image_startup, ITs_resource_image_cleanup},
        {"ITcResourceImageDownCast", ITcResourceImageDownCast, ITs_resource_image_startup, ITs_resource_image_cleanup},
index 121d4f2..fee5018 100755 (executable)
@@ -796,7 +796,7 @@ extern int ITcRenderTaskSetGetSetScreenToFrameBufferFunctionWithFullScreen(void)
 extern int ITcRenderTaskSetGetSetScreenToFrameBufferFunctionWithDefaultScreen(void);
 extern int ITcRenderTaskWorldtoViewport(void);
 extern int ITcRenderTaskViewportToLocal(void);
-//~ extern int ITcRenderTaskSetGetFrameBuffer(void);
+extern int ITcRenderTaskSetGetFrameBuffer(void);
 extern int ITcResourceImageGetImageSize(void);
 extern int ITcResourceImageReload(void);
 extern int ITcResourceImageDownCast(void);
@@ -1616,7 +1616,7 @@ testcase tc_array[] = {
        {"ITcRenderTaskSetGetSetScreenToFrameBufferFunctionWithDefaultScreen", ITcRenderTaskSetGetSetScreenToFrameBufferFunctionWithDefaultScreen, ITs_rendertask_startup, ITs_rendertask_cleanup},
        {"ITcRenderTaskWorldtoViewport", ITcRenderTaskWorldtoViewport, ITs_rendertask_startup, ITs_rendertask_cleanup},
        {"ITcRenderTaskViewportToLocal", ITcRenderTaskViewportToLocal, ITs_rendertask_startup, ITs_rendertask_cleanup},
-       //~ {"ITcRenderTaskSetGetFrameBuffer", ITcRenderTaskSetGetFrameBuffer, ITs_rendertask_startup, ITs_rendertask_cleanup},
+       {"ITcRenderTaskSetGetFrameBuffer", ITcRenderTaskSetGetFrameBuffer, ITs_rendertask_startup, ITs_rendertask_cleanup},
        {"ITcResourceImageGetImageSize", ITcResourceImageGetImageSize, ITs_resource_image_startup, ITs_resource_image_cleanup},
        {"ITcResourceImageReload", ITcResourceImageReload, ITs_resource_image_startup, ITs_resource_image_cleanup},
        {"ITcResourceImageDownCast", ITcResourceImageDownCast, ITs_resource_image_startup, ITs_resource_image_cleanup},
index 121d4f2..fee5018 100755 (executable)
@@ -796,7 +796,7 @@ extern int ITcRenderTaskSetGetSetScreenToFrameBufferFunctionWithFullScreen(void)
 extern int ITcRenderTaskSetGetSetScreenToFrameBufferFunctionWithDefaultScreen(void);
 extern int ITcRenderTaskWorldtoViewport(void);
 extern int ITcRenderTaskViewportToLocal(void);
-//~ extern int ITcRenderTaskSetGetFrameBuffer(void);
+extern int ITcRenderTaskSetGetFrameBuffer(void);
 extern int ITcResourceImageGetImageSize(void);
 extern int ITcResourceImageReload(void);
 extern int ITcResourceImageDownCast(void);
@@ -1616,7 +1616,7 @@ testcase tc_array[] = {
        {"ITcRenderTaskSetGetSetScreenToFrameBufferFunctionWithDefaultScreen", ITcRenderTaskSetGetSetScreenToFrameBufferFunctionWithDefaultScreen, ITs_rendertask_startup, ITs_rendertask_cleanup},
        {"ITcRenderTaskWorldtoViewport", ITcRenderTaskWorldtoViewport, ITs_rendertask_startup, ITs_rendertask_cleanup},
        {"ITcRenderTaskViewportToLocal", ITcRenderTaskViewportToLocal, ITs_rendertask_startup, ITs_rendertask_cleanup},
-       //~ {"ITcRenderTaskSetGetFrameBuffer", ITcRenderTaskSetGetFrameBuffer, ITs_rendertask_startup, ITs_rendertask_cleanup},
+       {"ITcRenderTaskSetGetFrameBuffer", ITcRenderTaskSetGetFrameBuffer, ITs_rendertask_startup, ITs_rendertask_cleanup},
        {"ITcResourceImageGetImageSize", ITcResourceImageGetImageSize, ITs_resource_image_startup, ITs_resource_image_cleanup},
        {"ITcResourceImageReload", ITcResourceImageReload, ITs_resource_image_startup, ITs_resource_image_cleanup},
        {"ITcResourceImageDownCast", ITcResourceImageDownCast, ITs_resource_image_startup, ITs_resource_image_cleanup},