Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - CWM/OpenKODE/GF question: (2 Items)
   
CWM/OpenKODE/GF question  
Hello:

I am (still) trying to port our existing completely GF based application(s) to use CWM/OpenKODE.  I've run into an issue
 that I just cannot figure out.

Our application is heavily blit2 dependent.  Looking at the guidance in this thread (http://community.qnx.com/sf/go/
projects.graphics/discussion.cwm_openkode.topc9295) I make sure that the final blit (the one to the window egl surface) 
is from a gf_surface_t to an EGLSurface.  gf_draw_blit2() returns GF_ERR_OK.  

At that same point in the code, I am able to do gf_draw_rects just fine (I don't really want to do that, but I did so to
 attempt to figure out what is going on here).  

Are there any other gotcha's here that I'm missing?  Something I need to do before and/or after the gf_draw_blit2() to 
make it actually do something?

Are there any examples around showing doing this sort of thing?  For example, taking an image loaded by libimg, and 
blitting it to the screen in a gf-kd type environment?

Thanks!

-garyf
Re: CWM/OpenKODE/GF question  
just figured this out; if I specify my destination EGLSurface in the blit2() call, it doesn't do anything (although it 
doesn't fail either).  If I don't, but just make sure that the context targets that surface, it works.