Home
last modified time | relevance | path

Searched refs:readBackType (Results 1 – 2 of 2) sorted by relevance

/external/OpenCL-CTS/test_common/gles/
Dhelpers.cpp277 GLenum readBackType = glType; in ReadGLTexture() local
280 size_t outBytes = outWidth * outHeight * 4 * GetGLTypeSize(readBackType); in ReadGLTexture()
295 …glReadPixels( 0, 0, (GLsizei)outWidth, (GLsizei)outHeight, readBackFormat, readBackType, outBuffer… in ReadGLTexture()
302 GetGLTypeName(readBackType)); in ReadGLTexture()
304 DumpGLBuffer(readBackType, realWidth, realHeight, (void*)outBuffer); in ReadGLTexture()
607 GLenum readBackType = texType; in ReadGLRenderbuffer() local
609 size_t outBytes = outWidth * outHeight * 4 * GetGLTypeSize(readBackType); in ReadGLRenderbuffer()
613 …glReadPixels( 0, 0, (GLsizei)outWidth, (GLsizei)outHeight, readBackFormat, readBackType, outBuffer… in ReadGLRenderbuffer()
619 GetGLTypeName(readBackType)); in ReadGLRenderbuffer()
621 DumpGLBuffer(readBackType, outWidth, outHeight, outBuffer); in ReadGLRenderbuffer()
/external/OpenCL-CTS/test_common/gl/
Dhelpers.cpp800 GLenum readBackType; in ReadGLTexture() local
805 readBackType = GL_UNSIGNED_BYTE; in ReadGLTexture()
817 readBackType = glType; in ReadGLTexture()
823 * GetGLTypeSize(readBackType); in ReadGLTexture()
839 glGetTexImage( glTarget, 0, readBackFormat, readBackType, outBuffer ); in ReadGLTexture()
854 GetGLTypeName(readBackType)); in ReadGLTexture()
856 DumpGLBuffer(readBackType, realWidth, realHeight, (void*)outBuffer); in ReadGLTexture()
1781 GLenum readBackType = glType; in ReadGLRenderbuffer() local
1783 size_t outBytes = outWidth * outHeight * 4 * GetGLTypeSize(readBackType); in ReadGLRenderbuffer()
1787 …glReadPixels( 0, 0, (GLsizei)outWidth, (GLsizei)outHeight, readBackFormat, readBackType, outBuffer… in ReadGLRenderbuffer()
[all …]