Graphics

Reply

Bug? Rgb565 Pixel Format doesn't seem to be working on Vita?

 

When I try to enable an Rgb565 graphics context as follows

 

graphics = new GraphicsContext(0, 0, PixelFormat.Rgb565, PixelFormat.Depth16, MultiSampleMode.None);

 

It works fine in the Simulator and on the Xperia Play and other Android devices but on Vita the screen is split into 4 and heavily corrupted.  

 

It's not a major problem right now as the Vita can easily handle rendering to a 32bit framebuffer at 60fps, but the Android devices struggle a little so I was hoping to use a 16bit framebuffer as an optimisation.

 

I assume this is just a bug and will get fixed prior to PSS launch but I just wanted to make people aware of it if not already.

 

Thanks

 

Claire

Please use plain text.

Re: Bug? Rgb565 Pixel Format doesn't seem to be working on Vita?

Hi :

 

Interensting. Coudl you please explain better the part of splits in 4? do you have some picture?

 

Cheers

Please use plain text.

Re: Bug? Rgb565 Pixel Format doesn't seem to be working on Vita?

Hard to describe what I'm seeing really.  I'll attach an image:

 

VitaPixelFormatRgb565.jpg

Please use plain text.

Re: Bug? Rgb565 Pixel Format doesn't seem to be working on Vita?

I've also noticed this and not only that but if I load textures in and store them as 565 they render incorrectly on Android devices but not on Vita.

 

I think the Vita VM and port of the SDK still needs more work (compared to the Android version) and hopefully the next SDK update will see many of these issues fixed.

Martin Caine
Founder and Lead Programmer of Retroburn Game Studios

Twitter | LinkedIn | Facebook
Please use plain text.

Re: Bug? Rgb565 Pixel Format doesn't seem to be working on Vita?

Hi :

 

Looks like if the Opengl ES implementation can't handle correctly the 565 bits per channel, or like Martin says the VM native call inside the Vita probably is not mapping correctly that format. That happened to me ones a long time ago when the data pointer type and theformat  type where incorrect on OpenGL. Probably James will try to find/fix this with the Dev team.

 

Cheers,

Please use plain text.
PSM Dev Team
mshkla04
Posts: 736
Registered: ‎28-05-2012
Message 6 of 6 (174 Views)

Re: Bug? Rgb565 Pixel Format doesn't seem to be working on Vita?

Hi Morgana,

 

Thanks for reporting the issue. We have identified that this is a  problem on the PS Vita and the issue has been raised with the development team. We will notify you once we have more information.

 

Thank you all for your detailed feedback and helpful comments.

 

 

 

Kind Regards

 

M

 

PlayStation®Mobile Dev Team
I am like you, I have no name.
Please use plain text.
Announcements

Welcome to the PlayStation Mobile Developer Forums


This is a community for the discussion of technical topics with other developers and SCE engineers. Posting ideas/requests are also appreciated. Join the discussion!

PlayStation®Mobile開発者フォーラムでは世界中の開発者の皆様と一緒に、議論や情報交換が可能です。SCEも議論に参加し、皆様の開発をサポートします。アイデアやリクエストも大歓迎です。ぜひご参加ください。

PSM Developer Registration (for free) on PSM DevPortal is required to post on the forum.
Please sign out then sign in again to the forum and PSM DevPortal after you have completed the registration.

フォーラムへ投稿をするにはPSM DevPortalへの登録(無料)が必要です。
登録後はフォーラムと PSM DevPortalを一度ログアウトし、再度ログインしてください。