Dali 3D User Interface Engine
List of all members | Public Member Functions
Dali::Integration::Bitmap::CompressedProfile Class Referenceabstract

#include <bitmap.h>

Inheritance diagram for Dali::Integration::Bitmap::CompressedProfile:
Inheritance graph
[legend]

Public Member Functions

virtual PixelBufferReserveBufferOfSize (Pixel::Format pixelFormat, const unsigned width, const unsigned height, const size_t numBytes)=0
 (Re-)Allocate pixel buffer for the Bitmap. More...
 

Detailed Description

Definition at line 276 of file bitmap.h.

Member Function Documentation

virtual PixelBuffer* Dali::Integration::Bitmap::CompressedProfile::ReserveBufferOfSize ( Pixel::Format  pixelFormat,
const unsigned  width,
const unsigned  height,
const size_t  numBytes 
)
pure virtual

(Re-)Allocate pixel buffer for the Bitmap.

Any previously allocated pixel buffer is deleted. Dali has ownership of the buffer, and contents are opaque and immutable. Bitmap stores given size information about the image which the client is assumed to have retrieved from out-of-band image metadata.

Parameters
[in]pixelFormatpixel format
[in]widthImage width in pixels
[in]heightImage height in pixels
[in]bufferSizeBuffer size in bytes
Returns
pixel buffer pointer

Referenced by Dali::TizenPlatform::LoadBitmapFromAstc(), and Dali::TizenPlatform::LoadBitmapFromKtx().

Here is the caller graph for this function:


The documentation for this class was generated from the following file:
Dali Docs Home
Read more about Dali