Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
BlackBerry Development Advisor
Posts: 683
Registered: ‎11-29-2011
My Device: PRIV
My Carrier: Rogers

Re: what is max size for pixmap buffer or how to allocate large buffer?

I've got confirmation from the graphics lead that 2k is the maximum for any pixmap dimension.  This number may be up to 4k on a BB10 device, but on PlayBook it is definitely 2k.

 

Cheers,

Sean

Highlighted
Developer
Posts: 1,636
Registered: ‎07-14-2008
My Device: Z10
My Carrier: Fido

Re: what is max size for pixmap buffer or how to allocate large buffer?


smcveigh wrote:

I've got confirmation from the graphics lead that 2k is the maximum for any pixmap dimension.  This number may be up to 4k on a BB10 device, but on PlayBook it is definitely 2k.

 

Cheers,

Sean


Ok.  Just for testing I was able to create a pixmap 500x2000 without the Native flag but then I was not able to copy or load the image into it.  Basically the buffer was allocated and empty.