android Programming Glossary: gl_texture_2d
Android OpenGL ES Framebuffer objects - rendering to texture http://stackoverflow.com/questions/4041682/android-opengl-es-framebuffer-objects-rendering-to-texture colour buffer glGenTextures 1 colour_texture glBindTexture GL_TEXTURE_2D colour_texture Width and height do not have to be a power of.. and height do not have to be a power of two glTexImage2D GL_TEXTURE_2D 0 GL_RGBA pixelWidth pixelHeight 0 GL_RGBA GL_UNSIGNED_BYTE.. 0 GL_RGBA GL_UNSIGNED_BYTE NULL glTexParameteri GL_TEXTURE_2D GL_TEXTURE_WRAP_S GL_CLAMP_TO_EDGE glTexParameteri GL_TEXTURE_2D..
android ffmpeg opengl es render movie http://stackoverflow.com/questions/8867616/android-ffmpeg-opengl-es-render-movie glEnableClientState GL_TEXTURE_COORD_ARRAY glBindTexture GL_TEXTURE_2D textureConverted this is slow glTexImage2D GL_TEXTURE_2D target.. GL_TEXTURE_2D textureConverted this is slow glTexImage2D GL_TEXTURE_2D target 0 level GL_RGBA internal format textureWidth width textureHeight..
Android OpenGL ES Framebuffer objects - rendering to texture http://stackoverflow.com/questions/4041682/android-opengl-es-framebuffer-objects-rendering-to-texture 1 frame_buffer Generate a texture to hold the colour buffer glGenTextures 1 colour_texture glBindTexture GL_TEXTURE_2D colour_texture Width and height do not have to be a power of two glTexImage2D GL_TEXTURE_2D 0 GL_RGBA pixelWidth pixelHeight.. glBindTexture GL_TEXTURE_2D colour_texture Width and height do not have to be a power of two glTexImage2D GL_TEXTURE_2D 0 GL_RGBA pixelWidth pixelHeight 0 GL_RGBA GL_UNSIGNED_BYTE NULL glTexParameteri GL_TEXTURE_2D GL_TEXTURE_WRAP_S GL_CLAMP_TO_EDGE.. of two glTexImage2D GL_TEXTURE_2D 0 GL_RGBA pixelWidth pixelHeight 0 GL_RGBA GL_UNSIGNED_BYTE NULL glTexParameteri GL_TEXTURE_2D GL_TEXTURE_WRAP_S GL_CLAMP_TO_EDGE glTexParameteri GL_TEXTURE_2D GL_TEXTURE_WRAP_T GL_CLAMP_TO_EDGE glTexParameteri GL_TEXTURE_2D..
android ffmpeg opengl es render movie http://stackoverflow.com/questions/8867616/android-ffmpeg-opengl-es-render-movie GL_COLOR_BUFFER_BIT glEnableClientState GL_VERTEX_ARRAY glEnableClientState GL_TEXTURE_COORD_ARRAY glBindTexture GL_TEXTURE_2D textureConverted this is slow glTexImage2D GL_TEXTURE_2D target 0 level GL_RGBA internal format textureWidth width textureHeight.. glEnableClientState GL_TEXTURE_COORD_ARRAY glBindTexture GL_TEXTURE_2D textureConverted this is slow glTexImage2D GL_TEXTURE_2D target 0 level GL_RGBA internal format textureWidth width textureHeight height 0 border GL_RGBA format GL_UNSIGNED_BYTE..
|