C 言語関数:glGetTexImage サンプルコード

サンプルコードを検索した結果です。


TITLE : Best Practices for Working with Texture Data
glGetTexImage(GL_TEXTURE_RECTANGLE_ARB, 0, GL_BGRA,.......
http://developer.apple.com/library/content/documentation/GraphicsImaging/Conceptual/OpenGL-MacProgGuide/opengl_texturedata/opengl_texturedata.html


TITLE : glGetTexImage - OpenGL 4 - docs.gl
void glGetTexImage( GLenum target,.......
http://docs.gl/gl4/glGetTexImage
TITLE : glGetTexImage - OpenGL 4 - docs.gl
glGetTexImage(GL_TEXTURE_2D, 0, GL_RGB, GL_FLOAT, texture_data);.......
http://docs.gl/gl4/glGetTexImage
TITLE : OpenGL : sluggish performance in extracting texture from GPU - Game Development Stack Exchange
For this operation, i'm using glGetTexImage(). It works, but the performance is sluggish. No, i mean even slower than that. For example, an 8MB texture (uncompressed) requires 3 seconds (yes, seconds) to be extracted. That's mind puzzling. I'm almost wondering if my graphic card is connected by a serial link..........
http://gamedev.stackexchange.com/questions/44783/opengl-sluggish-performance-in-extracting-texture-from-gpu
TITLE : OpenGL : sluggish performance in extracting texture from GPU - Game Development Stack Exchange
Edit : by moving the call to glGetTexImage() in a different place, the speed has been a bit improved for the most dramatic samples : looking again at the 8MB texture, it knows requires 500ms, instead of 3sec. It's better, but still much too slow. Smaller texture sizes were not affected by the change (typical timing remained into the 60-80ms range)........
http://gamedev.stackexchange.com/questions/44783/opengl-sluggish-performance-in-extracting-texture-from-gpu
TITLE : OpenGL : sluggish performance in extracting texture from GPU - Game Development Stack Exchange
The timing is measured for the full rendering + saving sequence. The call to glGetTexImage() alone does not really matter. That being said, it is this call which changes the performance........
http://gamedev.stackexchange.com/questions/44783/opengl-sluggish-performance-in-extracting-texture-from-gpu
TITLE : OpenGL : sluggish performance in extracting texture from GPU - Game Development Stack Exchange
Edit 2 : I've also tried to use glReadPixels(), instead of glGetTexImage(). But it's worse unfortunately. Approximately twice slower........
http://gamedev.stackexchange.com/questions/44783/opengl-sluggish-performance-in-extracting-texture-from-gpu
TITLE : OpenGL : sluggish performance in extracting texture from GPU - Game Development Stack Exchange
glGetTexImage(GL_TEXTURE_2D, 0, GL_RGBA, GL_BYTE, t.data); // <-- This is the line.......
http://gamedev.stackexchange.com/questions/44783/opengl-sluggish-performance-in-extracting-texture-from-gpu
TITLE : OpenGL : sluggish performance in extracting texture from GPU - Game Development Stack Exchange
How are you measuring that time? Remember that OpenGL calls are normally asynchrounous, but glGetTexImage() must wait until processing is done so that the result it reads back is correct. ? Anton Dec 1 '12 at 11:39.......
http://gamedev.stackexchange.com/questions/44783/opengl-sluggish-performance-in-extracting-texture-from-gpu
TITLE : OpenGL : sluggish performance in extracting texture from GPU - Game Development Stack Exchange
Bind it for "pack" and then do your glGetTexImage() call, which will copy the contents of the render target into the PBO........
http://gamedev.stackexchange.com/questions/44783/opengl-sluggish-performance-in-extracting-texture-from-gpu
TITLE : OpenGL : sluggish performance in extracting texture from GPU - Game Development Stack Exchange
Note also that with PBOs the glGetTexImage() call is asynchronous. That is, you can do additional work on the CPU or GPU between steps 2 and 3, while the memory transfer runs in the background. When you call glMapBuffer() it will wait for the transfer to finish, if it's not already done........
http://gamedev.stackexchange.com/questions/44783/opengl-sluggish-performance-in-extracting-texture-from-gpu
TITLE : OpenGL : sluggish performance in extracting texture from GPU - Game Development Stack Exchange
glGetTexImage(GL_TEXTURE_2D, 0, GL_RGBA, GL_BYTE, t.data);.......
http://gamedev.stackexchange.com/questions/44783/opengl-sluggish-performance-in-extracting-texture-from-gpu
TITLE : Reading the OpenGL backbuffer to system memory
glGetTexImage(GL_TEXTURE_2D, 0, GL_RGBA, GL_UNSIGNED_BYTE, downsampleData);.......
http://lektiondestages.blogspot.com/2013/01/reading-opengl-backbuffer-to-system.html
TITLE : glGetTexImage function (Windows)
void WINAPI glGetTexImage(.......
http://msdn.microsoft.com/ja-jp/library/windows/desktop/dd373557(v=vs.85).aspx
Googleで検索

https://www.google.co.jp/#q=glGetTexImage