comparison src/video/SDL_sysvideo.h @ 3427:36cf454ba065

Work in progress on implementation of SDL_RenderReadPixels() and SDL_RenderWritePixels(), code untested.
author Sam Lantinga <slouken@libsdl.org>
date Mon, 09 Nov 2009 05:20:11 +0000
parents 64a60c5d502e
children 9f62f47d989b
comparison
equal deleted inserted replaced
3426:ee0178f1c507 3427:36cf454ba065
94 int (*RenderLine) (SDL_Renderer * renderer, int x1, int y1, int x2, 94 int (*RenderLine) (SDL_Renderer * renderer, int x1, int y1, int x2,
95 int y2); 95 int y2);
96 int (*RenderFill) (SDL_Renderer * renderer, const SDL_Rect * rect); 96 int (*RenderFill) (SDL_Renderer * renderer, const SDL_Rect * rect);
97 int (*RenderCopy) (SDL_Renderer * renderer, SDL_Texture * texture, 97 int (*RenderCopy) (SDL_Renderer * renderer, SDL_Texture * texture,
98 const SDL_Rect * srcrect, const SDL_Rect * dstrect); 98 const SDL_Rect * srcrect, const SDL_Rect * dstrect);
99 int (*RenderReadPixels) (SDL_Renderer * renderer, const SDL_Rect * rect,
100 void * pixels, int pitch);
101 int (*RenderWritePixels) (SDL_Renderer * renderer, const SDL_Rect * rect,
102 const void * pixels, int pitch);
99 void (*RenderPresent) (SDL_Renderer * renderer); 103 void (*RenderPresent) (SDL_Renderer * renderer);
100 void (*DestroyTexture) (SDL_Renderer * renderer, SDL_Texture * texture); 104 void (*DestroyTexture) (SDL_Renderer * renderer, SDL_Texture * texture);
101 105
102 void (*DestroyRenderer) (SDL_Renderer * renderer); 106 void (*DestroyRenderer) (SDL_Renderer * renderer);
103 107