src/video/uikit/SDL_uikitopenglview.h
branchgsoc2008_iphone
changeset 2454 907b96da7969
parent 2403 e9a1eed243c9
equal deleted inserted replaced
2453:ac67f7719ba8 2454:907b96da7969
    24 #import <OpenGLES/EAGL.h>
    24 #import <OpenGLES/EAGL.h>
    25 #import <OpenGLES/ES1/gl.h>
    25 #import <OpenGLES/ES1/gl.h>
    26 #import <OpenGLES/ES1/glext.h>
    26 #import <OpenGLES/ES1/glext.h>
    27 #import "SDL_uikitview.h"
    27 #import "SDL_uikitview.h"
    28 /*
    28 /*
    29  This class wraps the CAEAGLLayer from CoreAnimation into a convenient UIView subclass.
    29 	This class wraps the CAEAGLLayer from CoreAnimation into a convenient UIView subclass.
    30  The view content is basically an EAGL surface you render your OpenGL scene into.
    30 	The view content is basically an EAGL surface you render your OpenGL scene into.
    31  Note that setting the view non-opaque will only work if the EAGL surface has an alpha channel.
    31 	Note that setting the view non-opaque will only work if the EAGL surface has an alpha channel.
    32  */
    32  */
    33 @interface SDL_uikitopenglview : SDL_uikitview {
    33 @interface SDL_uikitopenglview : SDL_uikitview {
    34 	
    34 	
    35 @private
    35 @private
    36 	/* The pixel dimensions of the backbuffer */
    36 	/* The pixel dimensions of the backbuffer */