Changeset 46369 in vbox for trunk/src/VBox/GuestHost
- Timestamp:
- Jun 3, 2013 5:39:51 PM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 86185
- Location:
- trunk/src/VBox/GuestHost/OpenGL
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/OpenGL/include/cr_dump.h
r46368 r46369 127 127 VBOXDUMPDECL(void) crRecDumpCurrentProgram(CR_RECORDER *pRec, CRContext *ctx); 128 128 129 130 typedef DECLCALLBACKPTR(GLuint, PFNCRDUMPGETHWID)(void *pvObj);129 typedef DECLCALLBACK(GLuint) FNCRDUMPGETHWID(void *pvObj); 130 typedef FNCRDUMPGETHWID *PFNCRDUMPGETHWID; 131 131 void* crDmpHashtableSearchByHwid(CRHashTable *pHash, GLuint hwid, PFNCRDUMPGETHWID pfnGetHwid, unsigned long *pKey); 132 132 -
trunk/src/VBox/GuestHost/OpenGL/include/cr_pixeldata.h
r46346 r46369 45 45 46 46 DECLEXPORT(void) crDumpNamedTGA(const char *fname, GLint w, GLint h, GLvoid *data); 47 DECLEXPORT(void) crDumpNamedTGAV( const char* fname, GLint w, GLint h, GLvoid *data, va_list va);48 DECLEXPORT(void) crDumpNamedTGAF( const char* fname, GLint w, GLint h, GLvoid *data, ...);47 DECLEXPORT(void) crDumpNamedTGAV(GLint w, GLint h, GLvoid *data, const char* fname, va_list va); 48 DECLEXPORT(void) crDumpNamedTGAF(GLint w, GLint h, GLvoid *data, const char* fname, ...); 49 49 DECLEXPORT(void) crDumpTGA(GLint w, GLint h, GLvoid *data); 50 50 #ifdef __cplusplus -
trunk/src/VBox/GuestHost/OpenGL/util/pixel.c
r46343 r46369 1694 1694 /*@todo this should be implemented properly*/ 1695 1695 1696 #ifndef DEBUG_misha 1696 1697 crWarning( "crPixelCopy3D: simply crMemcpy'ing from srcPtr to dstPtr" ); 1698 #endif 1697 1699 if (dstFormat != srcFormat) 1698 1700 crWarning( "crPixelCopy3D: formats don't match!" ); … … 1845 1847 } 1846 1848 1847 void crDumpNamedTGAV( const char* fname, GLint w, GLint h, GLvoid *data, va_list va)1849 void crDumpNamedTGAV(GLint w, GLint h, GLvoid *data, const char* fname, va_list va) 1848 1850 { 1849 1851 char szName[4096]; … … 1852 1854 } 1853 1855 1854 void crDumpNamedTGAF( const char* fname, GLint w, GLint h, GLvoid *data, ...)1856 void crDumpNamedTGAF(GLint w, GLint h, GLvoid *data, const char* fname, ...) 1855 1857 { 1856 1858 va_list va; 1857 1859 int rc; 1858 1860 va_start(va, fname); 1859 crDumpNamedTGAV( fname, w, h, data, va);1861 crDumpNamedTGAV(w, h, data, fname, va); 1860 1862 va_end(va); 1861 1863 }
Note:
See TracChangeset
for help on using the changeset viewer.