enesim  0.0.23.1
Drawinglibrary
Modules | Typedefs | Functions
Pool

Buffer and surface pixel data allocator. More...

Modules

 Sw Pool
 

Generic Sw based pool inherits from \1.


 Eina Pool
 

Enesim pool based on an Eina Mempool inherits from \1.


Typedefs

typedef struct _Enesim_Pool Enesim_Pool

Functions

EAPI Enesim_Poolenesim_pool_default_get (void)
 Get the default memory pool.
EAPI void enesim_pool_default_set (Enesim_Pool *thiz)
 Set the default memory pool.
EAPI Enesim_Poolenesim_pool_ref (Enesim_Pool *thiz)
 Increase the reference counter of a pool.
EAPI void enesim_pool_unref (Enesim_Pool *thiz)
 Decrease the reference counter of a pool.
EAPI Eina_Bool enesim_pool_type_get (Enesim_Pool *thiz, const char **lib, const char **name)
 Get the type of a pool .

Detailed Description

Buffer and surface pixel data allocator.


Typedef Documentation

typedef struct _Enesim_Pool Enesim_Pool

Pool Handle


Function Documentation

Get the default memory pool.

Returns:
The default memory pool [Transfer none]
EAPI void enesim_pool_default_set ( Enesim_Pool thiz)

Set the default memory pool.

Parameters:
[in]thizThe newly default memory pool [Transfer full]

Increase the reference counter of a pool.

Parameters:
[in]thizThe pool
Returns:
The input parameter thiz for programming convenience
EAPI void enesim_pool_unref ( Enesim_Pool thiz)

Decrease the reference counter of a pool.

Parameters:
[in]thizThe pool
EAPI Eina_Bool enesim_pool_type_get ( Enesim_Pool thiz,
const char **  lib,
const char **  name 
)

Get the type of a pool .

Parameters:
[in]thizThe pool to get the type from
[out]libThe ender library associated with this pool
[out]nameThe ender item name of the renderer

This function is needed for ender in order to downcast a pool

 All Data Structures Variables