- TextLabel textLabel = TextLabel::New( "ETC1 (KTX):" );
- textLabel.SetAnchorPoint( AnchorPoint::CENTER );
- textLabel.SetParentOrigin( ParentOrigin::CENTER );
- textLabel.SetResizePolicy( ResizePolicy::FILL_TO_PARENT, Dimension::ALL_DIMENSIONS );
- textLabel.SetProperty( Toolkit::TextLabel::Property::MULTI_LINE, true );
- table.AddChild( textLabel, Toolkit::TableView::CellPosition( 0u, 0u ) );
- table.SetCellAlignment( Toolkit::TableView::CellPosition( 0u, 0u ), HorizontalAlignment::LEFT, VerticalAlignment::CENTER );
-
- textLabel = TextLabel::New( "ASTC (KTX) 4x4 linear:" );
- textLabel.SetAnchorPoint( AnchorPoint::CENTER );
- textLabel.SetParentOrigin( ParentOrigin::CENTER );
- textLabel.SetResizePolicy( ResizePolicy::FILL_TO_PARENT, Dimension::ALL_DIMENSIONS );
- textLabel.SetProperty( Toolkit::TextLabel::Property::MULTI_LINE, true );
- table.AddChild( textLabel, Toolkit::TableView::CellPosition( 1u, 0u ) );
- table.SetCellAlignment( Toolkit::TableView::CellPosition( 1u, 0u ), HorizontalAlignment::LEFT, VerticalAlignment::CENTER );
-
- textLabel = TextLabel::New( "ASTC (Native) 4x4 linear:" );
- textLabel.SetAnchorPoint( AnchorPoint::CENTER );
- textLabel.SetParentOrigin( ParentOrigin::CENTER );
- textLabel.SetResizePolicy( ResizePolicy::FILL_TO_PARENT, Dimension::ALL_DIMENSIONS );
- textLabel.SetProperty( Toolkit::TextLabel::Property::MULTI_LINE, true );
- table.AddChild( textLabel, Toolkit::TableView::CellPosition( 2u, 0u ) );
- table.SetCellAlignment( Toolkit::TableView::CellPosition( 2u, 0u ), HorizontalAlignment::LEFT, VerticalAlignment::CENTER );
+ TextLabel textLabel = TextLabel::New("ETC1 (KTX):");
+ textLabel.SetProperty(Actor::Property::ANCHOR_POINT, AnchorPoint::CENTER);
+ textLabel.SetProperty(Actor::Property::PARENT_ORIGIN, ParentOrigin::CENTER);
+ textLabel.SetResizePolicy(ResizePolicy::FILL_TO_PARENT, Dimension::ALL_DIMENSIONS);
+ textLabel.SetProperty(Toolkit::TextLabel::Property::MULTI_LINE, true);
+ table.AddChild(textLabel, Toolkit::TableView::CellPosition(0u, 0u));
+ table.SetCellAlignment(Toolkit::TableView::CellPosition(0u, 0u), HorizontalAlignment::LEFT, VerticalAlignment::CENTER);
+
+ textLabel = TextLabel::New("ASTC (KTX) 4x4 linear:");
+ textLabel.SetProperty(Actor::Property::ANCHOR_POINT, AnchorPoint::CENTER);
+ textLabel.SetProperty(Actor::Property::PARENT_ORIGIN, ParentOrigin::CENTER);
+ textLabel.SetResizePolicy(ResizePolicy::FILL_TO_PARENT, Dimension::ALL_DIMENSIONS);
+ textLabel.SetProperty(Toolkit::TextLabel::Property::MULTI_LINE, true);
+ table.AddChild(textLabel, Toolkit::TableView::CellPosition(1u, 0u));
+ table.SetCellAlignment(Toolkit::TableView::CellPosition(1u, 0u), HorizontalAlignment::LEFT, VerticalAlignment::CENTER);
+
+ textLabel = TextLabel::New("ASTC (Native) 4x4 linear:");
+ textLabel.SetProperty(Actor::Property::ANCHOR_POINT, AnchorPoint::CENTER);
+ textLabel.SetProperty(Actor::Property::PARENT_ORIGIN, ParentOrigin::CENTER);
+ textLabel.SetResizePolicy(ResizePolicy::FILL_TO_PARENT, Dimension::ALL_DIMENSIONS);
+ textLabel.SetProperty(Toolkit::TextLabel::Property::MULTI_LINE, true);
+ table.AddChild(textLabel, Toolkit::TableView::CellPosition(2u, 0u));
+ table.SetCellAlignment(Toolkit::TableView::CellPosition(2u, 0u), HorizontalAlignment::LEFT, VerticalAlignment::CENTER);
+
+ //Create the geometry and the shader renderers will use
+ Geometry geometry = DemoHelper::CreateTexturedQuad();
+ Shader shader = Shader::New(VERTEX_SHADER_TEXTURE, FRAGMENT_SHADER_TEXTURE);