|
|
static final int | MAX_SIZE = 512 |
| |
| static boolean com.beyondar.android.util.Utils.isCompatibleWithOpenGL |
( |
Bitmap |
bitmap | ) |
|
|
static |
Check if the bitmap is compatible to use it with OpenGL, if not, use resizeImageToPowerOfTwo(bitmap) method.
- Parameters
-
| bitmap | The bitmap to check |
- Returns
- True if there are no problems, false otherwise
| static Bitmap com.beyondar.android.util.Utils.resizeImageToPowerOfTwo |
( |
Bitmap |
bitmap | ) |
|
|
static |
Prepare the image to draw it using OpenGL.
There are devices that doesn't support images non power of two (size). Remember to recicle die bitmap if the old one is not needed anymore
- Parameters
-
- Returns
The documentation for this class was generated from the following file:
- src/com/beyondar/android/util/Utils.java