clutter-util

clutter-util — Utility functions

Functions

Description

Various miscellaneous utilility functions.

Functions

clutter_util_next_p2 ()

gint
clutter_util_next_p2 (gint a);

clutter_util_next_p2 has been deprecated since version 1.2 and should not be used in newly-written code.

Calculates the nearest power of two, greater than or equal to a .

Parameters

a

Value to get the next power

 

Returns

The nearest power of two, greater or equal to a .