Mercurial > sdl-ios-xcode
comparison src/video/SDL_sysvideo.h @ 1907:06c27a737b7a
Streamlined the API a bit and optimized the software renderer.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 15 Jul 2006 09:46:36 +0000 |
parents | c121d94672cb |
children | 8d384b647307 |
comparison
equal
deleted
inserted
replaced
1906:0c49855a7a3e | 1907:06c27a737b7a |
---|---|
71 const SDL_Rect * rect, int markDirty, void **pixels, | 71 const SDL_Rect * rect, int markDirty, void **pixels, |
72 int *pitch); | 72 int *pitch); |
73 void (*UnlockTexture) (SDL_Renderer * renderer, SDL_Texture * texture); | 73 void (*UnlockTexture) (SDL_Renderer * renderer, SDL_Texture * texture); |
74 void (*DirtyTexture) (SDL_Renderer * renderer, SDL_Texture * texture, | 74 void (*DirtyTexture) (SDL_Renderer * renderer, SDL_Texture * texture, |
75 int numrects, const SDL_Rect * rects); | 75 int numrects, const SDL_Rect * rects); |
76 void (*SelectRenderTexture) (SDL_Renderer * renderer, | |
77 SDL_Texture * texture); | |
78 int (*RenderFill) (SDL_Renderer * renderer, const SDL_Rect * rect, | 76 int (*RenderFill) (SDL_Renderer * renderer, const SDL_Rect * rect, |
79 Uint32 color); | 77 Uint32 color); |
80 int (*RenderCopy) (SDL_Renderer * renderer, SDL_Texture * texture, | 78 int (*RenderCopy) (SDL_Renderer * renderer, SDL_Texture * texture, |
81 const SDL_Rect * srcrect, const SDL_Rect * dstrect, | 79 const SDL_Rect * srcrect, const SDL_Rect * dstrect, |
82 int blendMode, int scaleMode); | 80 int blendMode, int scaleMode); |
83 int (*RenderReadPixels) (SDL_Renderer * renderer, const SDL_Rect * rect, | |
84 void *pixels, int pitch); | |
85 int (*RenderWritePixels) (SDL_Renderer * renderer, const SDL_Rect * rect, | |
86 const void *pixels, int pitch); | |
87 void (*RenderPresent) (SDL_Renderer * renderer); | 81 void (*RenderPresent) (SDL_Renderer * renderer); |
88 void (*DestroyTexture) (SDL_Renderer * renderer, SDL_Texture * texture); | 82 void (*DestroyTexture) (SDL_Renderer * renderer, SDL_Texture * texture); |
89 | 83 |
90 void (*DestroyRenderer) (SDL_Renderer * renderer); | 84 void (*DestroyRenderer) (SDL_Renderer * renderer); |
91 | 85 |