I use opengl es 2.0 to draw some picture,and create the FBOs,
but how to present the renderbuffer on the screen?
----------------------code like this
--------------------------------------------
               glGenFramebuffers(1, &viewFramebuffer);
               glGenRenderbuffers(1, &viewRenderbuffer);
               glBindFramebuffer(GL_FRAMEBUFFER, viewFramebuffer);
               glBindRenderbuffer(GL_RENDERBUFFER, viewRenderbuffer);
               glRenderbufferStorage (GL_RENDERBUFFER, GL_RGB565,
g_WindowsWidth,
g_WindowsHeight);
               glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0,
GL_RENDERBUFFER, viewRenderbuffer);
               GLenum status=glCheckFramebufferStatus(GL_FRAMEBUFFER);
                //draw something,like glTexImage
                //but how to present the renderbuffer on the screen?

2010/11/17 TreKing <[email protected]>:
> On Tue, Nov 16, 2010 at 2:16 AM, 袁堂夫 <[email protected]> wrote:
>>
>> I want ask some questions about Opengl es 2.0?
>> Who can help me ?
>
> Why don't you just ask the questions you have and see if anyone knows the
> answer(s)?
> Or try Google.
>
> -------------------------------------------------------------------------------------------------
> TreKing - Chicago transit tracking app for Android-powered devices
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to