You are looking at the implementation for the software renderer. The
hardware renderer will return a value specific to the GPU.
On Wed, May 15, 2013 at 2:33 PM, bob wrote:
> I'm looking at the code for *getMaximumBitmapWidth*, and it looks like it
> always returns 32766:
>
> private static fi
I'm looking at the code for *getMaximumBitmapWidth*, and it looks like it
always returns 32766:
private static final int MAXMIMUM_BITMAP_SIZE = 32766;
* public int getMaximumBitmapWidth() {*
* return MAXMIMUM_BITMAP_SIZE;*
* }*
Am I missing something?
Thanks.
On Tuesday, Ma
You can query the maximum size using Canvas.getMaximumBitmapWidth/Height():
http://developer.android.com/reference/android/graphics/Canvas.html#getMaximumBitmapWidth()
You can also assume 2048px as the maximum unless the screen is bigger
(Nexus 10 for instance supports 4096px max since the screen
I'm attempting to display a rather large bitmap VIA an ImageView, which
when Hardware Acceleration is enabled of course, has issues with texture
sizes (I'm well aware of texture size limitations in 3D engines). My
question is how to get what the maximum image size is without an OpenGL
context (
4 matches
Mail list logo