¡@

Home 

2014/10/15 ¤U¤È 10:13:24

iphone Programming Glossary: resultfbo

Can example “GLImageProcessing” work with multi filters

http://stackoverflow.com/questions/4375479/can-example-glimageprocessing-work-with-multi-filters

glTexImage2D GL_TEXTURE_2D 0 GL_RGBA width height 0 GL_RGBA GL_UNSIGNED_BYTE NULL glGenFramebuffersOES 1 ResultFBO glBindFramebufferOES GL_FRAMEBUFFER_OES ResultFBO glFramebufferTexture2DOES GL_FRAMEBUFFER_OES GL_COLOR_ATTACHMENT0_OES.. width height 0 GL_RGBA GL_UNSIGNED_BYTE NULL glGenFramebuffersOES 1 ResultFBO glBindFramebufferOES GL_FRAMEBUFFER_OES ResultFBO glFramebufferTexture2DOES GL_FRAMEBUFFER_OES GL_COLOR_ATTACHMENT0_OES GL_TEXTURE_2D ResultTexture 0 bind the result FBO.. GL_COLOR_ATTACHMENT0_OES GL_TEXTURE_2D ResultTexture 0 bind the result FBO glBindFramebufferOES GL_FRAMEBUFFER_OES ResultFBO apply 1st filter ... restore original frame buffer object glBindFramebufferOES GL_FRAMEBUFFER_OES SystemFBO use ResultTexture..

GLImageProcessing Multiple Filters?

http://stackoverflow.com/questions/6425861/glimageprocessing-multiple-filters

the code that I am doing now in drawGL of Imaging.c Any help void drawGL int wide int high float val int mode GLuint ResultFBO GLuint ResultTexture static int prevmode 1 typedef void procfunc V2fT2f float typedef struct procfunc func procfunc degen.. GL_CLAMP_TO_EDGE glTexImage2D GL_TEXTURE_2D 0 GL_RGBA wide high 0 GL_RGBA GL_UNSIGNED_BYTE NULL glGenFramebuffersOES 1 ResultFBO glBindFramebufferOES GL_FRAMEBUFFER_OES ResultFBO glFramebufferTexture2DOES GL_FRAMEBUFFER_OES GL_COLOR_ATTACHMENT0_OES.. wide high 0 GL_RGBA GL_UNSIGNED_BYTE NULL glGenFramebuffersOES 1 ResultFBO glBindFramebufferOES GL_FRAMEBUFFER_OES ResultFBO glFramebufferTexture2DOES GL_FRAMEBUFFER_OES GL_COLOR_ATTACHMENT0_OES GL_TEXTURE_2D ResultTexture 0 bind the result FBO..