Edit

kc3-lang/angle/samples/gles2_book/Common/esUtil_win.h

Branch :

  • Show log

    Commit

  • Author : alokp@chromium.org
    Date : 2010-04-07 19:57:20
    Hash : 0270ef14
    Message : Changed the default character set to be UNICODE, the same as chromium. Changes to fix compile errors and warnings. Review URL: http://codereview.appspot.com/816046 git-svn-id: https://angleproject.googlecode.com/svn/trunk@103 736b8ea6-26fd-11df-bfd4-992fa37f6226

  • samples/gles2_book/Common/esUtil_win.h
  • //
    // Book:      OpenGL(R) ES 2.0 Programming Guide
    // Authors:   Aaftab Munshi, Dan Ginsburg, Dave Shreiner
    // ISBN-10:   0321502795
    // ISBN-13:   9780321502797
    // Publisher: Addison-Wesley Professional
    // URLs:      http://safari.informit.com/9780321563835
    //            http://www.opengles-book.com
    //
    
    // esUtil_win.h
    //
    //   API-neutral interface for creating windows.  Implementation needs to be provided per-platform.
    
    #ifndef ESUTIL_WIN_H
    #define ESUTIL_WIN_H
    
    ///
    //  Includes
    //
    
    #ifdef __cplusplus
    
    extern "C" {
    #endif
    
       
    ///
    //  Macros
    //
    
    ///
    // Types
    //
    
    ///
    //  Public Functions
    //
    
    ///
    //  WinCreate()
    //
    //      Create Win32 instance and window
    //
    GLboolean WinCreate ( ESContext *esContext, LPCTSTR title );
    
    ///
    //  WinLoop()
    //
    //      Start main windows loop
    //
    void WinLoop ( ESContext *esContext );
    
    ///
    //  WinTGALoad()
    //    
    //      TGA loader win32 implementation
    //
    int WinTGALoad ( const char *fileName, char **buffer, int *width, int *height );
    
    #ifdef __cplusplus
    }
    #endif
    
    #endif // ESUTIL_WIN_H