Dali 3D User Interface Engine
Typedefs | Functions | Variables
anonymous_namespace{utc-Dali-RendererFactory.cpp} Namespace Reference

Typedefs

typedef
NinePatchImage::StretchRanges 
StretchRanges
 

Functions

Integration::BitmapCreateBitmap (unsigned int imageWidth, unsigned int imageHeight, unsigned int initialColor, Pixel::Format pixelFormat)
 
void InitialiseRegionsToZeroAlpha (Integration::Bitmap *image, unsigned int imageWidth, unsigned int imageHeight, Pixel::Format pixelFormat)
 
void AddStretchRegionsToImage (Integration::Bitmap *image, unsigned int imageWidth, unsigned int imageHeight, const StretchRanges &stretchRangesX, const StretchRanges &stretchRangesY, Pixel::Format pixelFormat)
 
void AddChildRegionsToImage (Integration::Bitmap *image, unsigned int imageWidth, unsigned int imageHeight, const Vector4 &requiredChildRegion, Pixel::Format pixelFormat)
 
Integration::ResourcePointer CustomizeNinePatch (TestApplication &application, unsigned int ninePatchImageWidth, unsigned int ninePatchImageHeight, const StretchRanges &stretchRangesX, const StretchRanges &stretchRangesY, bool addChildRegion=false, Vector4 requiredChildRegion=Vector4::ZERO)
 
void TestControlRendererRender (ToolkitTestApplication &application, Actor &actor, ControlRenderer &controlRenderer, std::size_t expectedSamplers=0, ImageDimensions imageDimensions=ImageDimensions(), Integration::ResourcePointer resourcePtr=Integration::ResourcePointer())
 

Variables

const char * TEST_IMAGE_FILE_NAME = "gallery_image_01.jpg"
 
const char * TEST_NPATCH_FILE_NAME = "gallery_image_01.9.jpg"
 

Typedef Documentation

typedef NinePatchImage::StretchRanges anonymous_namespace{utc-Dali-RendererFactory.cpp}::StretchRanges

Definition at line 30 of file utc-Dali-RendererFactory.cpp.

Function Documentation

void anonymous_namespace{utc-Dali-RendererFactory.cpp}::AddChildRegionsToImage ( Integration::Bitmap image,
unsigned int  imageWidth,
unsigned int  imageHeight,
const Vector4 requiredChildRegion,
Pixel::Format  pixelFormat 
)
void anonymous_namespace{utc-Dali-RendererFactory.cpp}::AddStretchRegionsToImage ( Integration::Bitmap image,
unsigned int  imageWidth,
unsigned int  imageHeight,
const StretchRanges &  stretchRangesX,
const StretchRanges &  stretchRangesY,
Pixel::Format  pixelFormat 
)
Integration::Bitmap* anonymous_namespace{utc-Dali-RendererFactory.cpp}::CreateBitmap ( unsigned int  imageWidth,
unsigned int  imageHeight,
unsigned int  initialColor,
Pixel::Format  pixelFormat 
)
Integration::ResourcePointer anonymous_namespace{utc-Dali-RendererFactory.cpp}::CustomizeNinePatch ( TestApplication application,
unsigned int  ninePatchImageWidth,
unsigned int  ninePatchImageHeight,
const StretchRanges &  stretchRangesX,
const StretchRanges &  stretchRangesY,
bool  addChildRegion = false,
Vector4  requiredChildRegion = Vector4::ZERO 
)
void anonymous_namespace{utc-Dali-RendererFactory.cpp}::InitialiseRegionsToZeroAlpha ( Integration::Bitmap image,
unsigned int  imageWidth,
unsigned int  imageHeight,
Pixel::Format  pixelFormat 
)

Definition at line 46 of file utc-Dali-RendererFactory.cpp.

References Dali::Integration::Bitmap::GetBuffer(), and Dali::Pixel::GetBytesPerPixel().

Here is the call graph for this function:

void anonymous_namespace{utc-Dali-RendererFactory.cpp}::TestControlRendererRender ( ToolkitTestApplication application,
Actor actor,
ControlRenderer controlRenderer,
std::size_t  expectedSamplers = 0,
ImageDimensions  imageDimensions = ImageDimensions(),
Integration::ResourcePointer  resourcePtr = Integration::ResourcePointer() 
)

Definition at line 168 of file utc-Dali-RendererFactory.cpp.

References Dali::Stage::Add(), DALI_TEST_CHECK, Dali::Stage::GetCurrent(), Dali::Integration::ResourceRequest::GetId(), Dali::Renderer::GetMaterial(), Dali::Material::GetNumberOfTextures(), Dali::TestApplication::GetPlatform(), Dali::Actor::GetRendererAt(), Dali::Actor::GetRendererCount(), Dali::TestPlatformAbstraction::GetRequest(), Dali::Integration::ResourceRequest::GetType(), Dali::Integration::ResourceType::id, Dali::TestPlatformAbstraction::LoadResourceFunc, Dali::TestApplication::Render(), Dali::TestApplication::SendNotification(), Dali::TestPlatformAbstraction::SetClosestImageSize(), Dali::Toolkit::ControlRenderer::SetOnStage(), Dali::TestPlatformAbstraction::SetResourceLoaded(), Dali::Toolkit::ControlRenderer::SetSize(), Dali::Actor::SetSize(), and Dali::TestPlatformAbstraction::WasCalled().

Referenced by UtcDaliRendererFactoryGetColorRenderer1(), UtcDaliRendererFactoryGetColorRenderer2(), UtcDaliRendererFactoryGetImageRenderer1(), UtcDaliRendererFactoryGetImageRenderer2(), UtcDaliRendererFactoryGetLinearGradientRenderer(), UtcDaliRendererFactoryGetNPatchRenderer1(), UtcDaliRendererFactoryGetNPatchRenderer2(), UtcDaliRendererFactoryGetNPatchRenderer3(), UtcDaliRendererFactoryGetNPatchRenderer4(), UtcDaliRendererFactoryGetNPatchRendererN1(), UtcDaliRendererFactoryGetNPatchRendererN2(), UtcDaliRendererFactoryGetRadialGradientRenderer(), and UtcDaliRendererFactoryResetRenderer1().

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

const char* anonymous_namespace{utc-Dali-RendererFactory.cpp}::TEST_IMAGE_FILE_NAME = "gallery_image_01.jpg"

Definition at line 32 of file utc-Dali-RendererFactory.cpp.

const char* anonymous_namespace{utc-Dali-RendererFactory.cpp}::TEST_NPATCH_FILE_NAME = "gallery_image_01.9.jpg"

Definition at line 33 of file utc-Dali-RendererFactory.cpp.

Dali Docs Home
Read more about Dali