Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - gf_surface_attach returns GF_ERR_OK but img_surf is a NULL pointer.: (4 Items)
   
gf_surface_attach returns GF_ERR_OK but img_surf is a NULL pointer.  
QNX 6.5.0 SP1 

What would cause gf_surface_attach to return GF_ERR_OK, but not create a surface for the 'external' memory?

best regards
George Refseth
Re: gf_surface_attach returns GF_ERR_OK but img_surf is a NULL pointer.  
Hello George,

What do you mean by "external memory"? Can you please provide a few examples of code?

Best regards
Andrey
Re: gf_surface_attach returns GF_ERR_OK but img_surf is a NULL pointer.  
Its the gf_splash application - available in several bsp's. Running on an arm-v7 target. Looks like there might be a 
possibility for gf_surface_attach to return ok but not deliver a surface opaque pointer.

Any idea what (can) cause(s) this behaviour?

tia
George
Re: gf_surface_attach returns GF_ERR_OK but img_surf is a NULL pointer.  
As I understand you trying to show transparent image with gf_splash? To draw image with transparecy this application 
uses gf_draw_blit2() with configured chroma key. Does your driver supports this feature?

Best regards
Andrey