1 // 2 //------------------------------------------------------------ 3 // Copyright(c) 2009-2010 by Digital Media Professionals Inc. 4 // All rights reserved. 5 //------------------------------------------------------------ 6 // This source code is the confidential and proprietary 7 // of Digital Media Professionals Inc. 8 //------------------------------------------------------------ 9 // 10 11 #ifndef DEMO_TEXTURE_CONVERTER_H_ 12 #define DEMO_TEXTURE_CONVERTER_H_ 13 14 #include <nn/config.h> 15 #include <nn/gx.h> 16 #include <gles2/gl2ext.h> 17 18 namespace demo 19 { 20 21 /* Please see man pages for details 22 23 24 25 26 27 28 29 30 31 32 33 34 */ 35 bool ConvertGLTextureToNative(const GLenum format, const u32 width, const u32 height, 36 void* glData, void* dmpData); 37 38 } 39 40 #endif 41