This goup provides functions that are used to set the render engine for a given function, and then get that engine working.
Function Documentation
Gets the current render engine info struct from the given evas.
- Since :
- 2.3.1
- Parameters:
-
- Returns:
- A pointer to the Engine Info structure
NULL
is returned if an engine has not yet been assigned.
Applies the engine settings for the given evas from the given Evas_Engine_Info
structure.
- Since :
- 2.3.1
- Parameters:
-
[in] | e | The pointer to the Evas canvas |
[in] | info | The pointer to the Engine Info to use |
- Returns:
- EINA_TRUE if the engine setting is applied successfully,
otherwise EINA_FALSE if an error occurred
Gets the number of the output engines used for the given evas.
- Since :
- 2.3.1
- Parameters:
-
- Returns:
- The ID number of the output engine being used
0
is returned if there is an error.
Sets the output engine for the given evas.
- Since :
- 2.3.1
- Parameters:
-
[in] | e | The given evas |
[in] | render_method | The numeric engine value to use |
Lists all the rendering engines compiled into the copy of the Evas library.
- Since :
- 2.3.1
- Returns:
- A linked list whose data members are C strings of engine names
Frees the list of engine names.
- Since :
- 2.3.1
Example:
- Parameters:
-
[in] | list | The Eina_List base pointer for the engine list to be freed |
Looks up a numeric ID from a string name of a rendering engine.
This function looks up a numeric return value for the named engine in the string name. This is a normal C string, NULL byte terminated. The name is case sensitive. If the rendering engine is available, a numeric ID for that engine is returned that is not 0
. If the engine is not available, 0
is returned, indicating an invalid engine.
- Since :
- 2.3.1
- Parameters:
-
[in] | name | The name string of an engine |
- Returns:
- A numeric (opaque) ID for the rendering engine