Home
last modified time | relevance | path

Searched refs:SDL_Renderer (Results 1 – 25 of 65) sorted by relevance

123

/third_party/flutter/skia/third_party/externals/sdl/include/
DSDL_render.h121 struct SDL_Renderer;
122 typedef struct SDL_Renderer SDL_Renderer; typedef
174 SDL_Window **window, SDL_Renderer **renderer);
191 extern DECLSPEC SDL_Renderer * SDLCALL SDL_CreateRenderer(SDL_Window * window,
204 extern DECLSPEC SDL_Renderer * SDLCALL SDL_CreateSoftwareRenderer(SDL_Surface * surface);
209 extern DECLSPEC SDL_Renderer * SDLCALL SDL_GetRenderer(SDL_Window * window);
214 extern DECLSPEC int SDLCALL SDL_GetRendererInfo(SDL_Renderer * renderer,
220 extern DECLSPEC int SDLCALL SDL_GetRendererOutputSize(SDL_Renderer * renderer,
240 extern DECLSPEC SDL_Texture * SDLCALL SDL_CreateTexture(SDL_Renderer * renderer,
258 extern DECLSPEC SDL_Texture * SDLCALL SDL_CreateTextureFromSurface(SDL_Renderer * renderer, SDL_Sur…
[all …]
DSDL_test_font.h53 int SDLTest_DrawCharacter( SDL_Renderer *renderer, int x, int y, char c );
65 int SDLTest_DrawString( SDL_Renderer * renderer, int x, int y, const char *s );
/third_party/flutter/skia/third_party/externals/sdl/src/render/
DSDL_sysrender.h60 SDL_Renderer *renderer;
76 struct SDL_Renderer struct
80 void (*WindowEvent) (SDL_Renderer * renderer, const SDL_WindowEvent *event); argument
81 int (*GetOutputSize) (SDL_Renderer * renderer, int *w, int *h); argument
82 int (*CreateTexture) (SDL_Renderer * renderer, SDL_Texture * texture); argument
83 int (*SetTextureColorMod) (SDL_Renderer * renderer, argument
85 int (*SetTextureAlphaMod) (SDL_Renderer * renderer, argument
87 int (*SetTextureBlendMode) (SDL_Renderer * renderer, argument
89 int (*UpdateTexture) (SDL_Renderer * renderer, SDL_Texture * texture, argument
92 int (*UpdateTextureYUV) (SDL_Renderer * renderer, SDL_Texture * texture, argument
[all …]
DSDL_render.c78 static int UpdateLogicalSize(SDL_Renderer *renderer);
108 SDL_Renderer *renderer = (SDL_Renderer *)userdata; in SDL_RendererEventWatch()
201 SDL_Window **window, SDL_Renderer **renderer) in SDL_CreateWindowAndRenderer()
219 SDL_Renderer *
223 SDL_Renderer *renderer = NULL; in SDL_CreateRenderer()
315 SDL_Renderer *
319 SDL_Renderer *renderer; in SDL_CreateSoftwareRenderer()
337 SDL_Renderer *
340 return (SDL_Renderer *)SDL_GetWindowData(window, SDL_WINDOWRENDERDATA); in SDL_GetRenderer()
344 SDL_GetRendererInfo(SDL_Renderer * renderer, SDL_RendererInfo * info) in SDL_GetRendererInfo()
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/render/software/
DSDL_render_sw.c39 static SDL_Renderer *SW_CreateRenderer(SDL_Window * window, Uint32 flags);
40 static void SW_WindowEvent(SDL_Renderer * renderer,
42 static int SW_GetOutputSize(SDL_Renderer * renderer, int *w, int *h);
43 static int SW_CreateTexture(SDL_Renderer * renderer, SDL_Texture * texture);
44 static int SW_SetTextureColorMod(SDL_Renderer * renderer,
46 static int SW_SetTextureAlphaMod(SDL_Renderer * renderer,
48 static int SW_SetTextureBlendMode(SDL_Renderer * renderer,
50 static int SW_UpdateTexture(SDL_Renderer * renderer, SDL_Texture * texture,
53 static int SW_LockTexture(SDL_Renderer * renderer, SDL_Texture * texture,
55 static void SW_UnlockTexture(SDL_Renderer * renderer, SDL_Texture * texture);
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/render/psp/
DSDL_render_psp.c49 static SDL_Renderer *PSP_CreateRenderer(SDL_Window * window, Uint32 flags);
50 static void PSP_WindowEvent(SDL_Renderer * renderer,
52 static int PSP_CreateTexture(SDL_Renderer * renderer, SDL_Texture * texture);
53 static int PSP_SetTextureColorMod(SDL_Renderer * renderer,
55 static int PSP_UpdateTexture(SDL_Renderer * renderer, SDL_Texture * texture,
58 static int PSP_LockTexture(SDL_Renderer * renderer, SDL_Texture * texture,
60 static void PSP_UnlockTexture(SDL_Renderer * renderer,
62 static int PSP_SetRenderTarget(SDL_Renderer * renderer,
64 static int PSP_UpdateViewport(SDL_Renderer * renderer);
65 static int PSP_RenderClear(SDL_Renderer * renderer);
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/video/directfb/
DSDL_DirectFB_render.c57 static SDL_Renderer *DirectFB_CreateRenderer(SDL_Window * window,
59 static void DirectFB_ActivateRenderer(SDL_Renderer * renderer);
60 static int DirectFB_CreateTexture(SDL_Renderer * renderer,
62 static int DirectFB_QueryTexturePixels(SDL_Renderer * renderer,
65 static int DirectFB_SetTexturePalette(SDL_Renderer * renderer,
69 static int DirectFB_GetTexturePalette(SDL_Renderer * renderer,
73 static int DirectFB_SetTextureAlphaMod(SDL_Renderer * renderer,
75 static int DirectFB_SetTextureColorMod(SDL_Renderer * renderer,
77 static int DirectFB_SetTextureBlendMode(SDL_Renderer * renderer,
79 static int DirectFB_SetTextureScaleMode(SDL_Renderer * renderer,
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/render/opengles/
DSDL_render_gles.c55 static SDL_Renderer *GLES_CreateRenderer(SDL_Window * window, Uint32 flags);
56 static void GLES_WindowEvent(SDL_Renderer * renderer,
58 static int GLES_GetOutputSize(SDL_Renderer * renderer, int *w, int *h);
59 static int GLES_CreateTexture(SDL_Renderer * renderer, SDL_Texture * texture);
60 static int GLES_UpdateTexture(SDL_Renderer * renderer, SDL_Texture * texture,
63 static int GLES_LockTexture(SDL_Renderer * renderer, SDL_Texture * texture,
65 static void GLES_UnlockTexture(SDL_Renderer * renderer,
67 static int GLES_SetRenderTarget(SDL_Renderer * renderer,
69 static int GLES_UpdateViewport(SDL_Renderer * renderer);
70 static int GLES_UpdateClipRect(SDL_Renderer * renderer);
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/render/opengl/
DSDL_render_gl.c54 static SDL_Renderer *GL_CreateRenderer(SDL_Window * window, Uint32 flags);
55 static void GL_WindowEvent(SDL_Renderer * renderer,
57 static int GL_GetOutputSize(SDL_Renderer * renderer, int *w, int *h);
58 static int GL_CreateTexture(SDL_Renderer * renderer, SDL_Texture * texture);
59 static int GL_UpdateTexture(SDL_Renderer * renderer, SDL_Texture * texture,
62 static int GL_UpdateTextureYUV(SDL_Renderer * renderer, SDL_Texture * texture,
67 static int GL_LockTexture(SDL_Renderer * renderer, SDL_Texture * texture,
69 static void GL_UnlockTexture(SDL_Renderer * renderer, SDL_Texture * texture);
70 static int GL_SetRenderTarget(SDL_Renderer * renderer, SDL_Texture * texture);
71 static int GL_UpdateViewport(SDL_Renderer * renderer);
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/render/opengles2/
DSDL_render_gles2.c57 static SDL_Renderer *GLES2_CreateRenderer(SDL_Window *window, Uint32 flags);
223 GL_ClearErrors(SDL_Renderer *renderer) in GL_ClearErrors()
236 GL_CheckAllErrors (const char *prefix, SDL_Renderer *renderer, const char *file, int line, const ch… in GL_CheckAllErrors()
273 static int GLES2_ActivateRenderer(SDL_Renderer *renderer);
274 static void GLES2_WindowEvent(SDL_Renderer * renderer,
276 static int GLES2_UpdateViewport(SDL_Renderer * renderer);
277 static void GLES2_DestroyRenderer(SDL_Renderer *renderer);
278 static int GLES2_SetOrthographicProjection(SDL_Renderer *renderer);
329 GLES2_ActivateRenderer(SDL_Renderer * renderer) in GLES2_ActivateRenderer()
351 GLES2_WindowEvent(SDL_Renderer * renderer, const SDL_WindowEvent *event) in GLES2_WindowEvent()
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/render/direct3d11/
DSDL_render_d3d11.c716 static SDL_Renderer *D3D11_CreateRenderer(SDL_Window * window, Uint32 flags);
717 static void D3D11_WindowEvent(SDL_Renderer * renderer,
719 static int D3D11_CreateTexture(SDL_Renderer * renderer, SDL_Texture * texture);
720 static int D3D11_UpdateTexture(SDL_Renderer * renderer, SDL_Texture * texture,
723 static int D3D11_UpdateTextureYUV(SDL_Renderer * renderer, SDL_Texture * texture,
728 static int D3D11_LockTexture(SDL_Renderer * renderer, SDL_Texture * texture,
730 static void D3D11_UnlockTexture(SDL_Renderer * renderer, SDL_Texture * texture);
731 static int D3D11_SetRenderTarget(SDL_Renderer * renderer, SDL_Texture * texture);
732 static int D3D11_UpdateViewport(SDL_Renderer * renderer);
733 static int D3D11_UpdateClipRect(SDL_Renderer * renderer);
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/render/direct3d/
DSDL_render_d3d.c125 static SDL_Renderer *D3D_CreateRenderer(SDL_Window * window, Uint32 flags);
126 static void D3D_WindowEvent(SDL_Renderer * renderer,
128 static int D3D_CreateTexture(SDL_Renderer * renderer, SDL_Texture * texture);
129 static int D3D_RecreateTexture(SDL_Renderer * renderer, SDL_Texture * texture);
130 static int D3D_UpdateTexture(SDL_Renderer * renderer, SDL_Texture * texture,
133 static int D3D_UpdateTextureYUV(SDL_Renderer * renderer, SDL_Texture * texture,
138 static int D3D_LockTexture(SDL_Renderer * renderer, SDL_Texture * texture,
140 static void D3D_UnlockTexture(SDL_Renderer * renderer, SDL_Texture * texture);
141 static int D3D_SetRenderTargetInternal(SDL_Renderer * renderer, SDL_Texture * texture);
142 static int D3D_SetRenderTarget(SDL_Renderer * renderer, SDL_Texture * texture);
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/dynapi/
DSDL_dynapi_procs.h73 SDL_DYNAPI_PROC(IDirect3DDevice9*,SDL_RenderGetD3D9Device,(SDL_Renderer *a),(a),return)
335 …,SDL_CreateWindowAndRenderer,(int a, int b, Uint32 c, SDL_Window **d, SDL_Renderer **e),(a,b,c,d,e…
336 SDL_DYNAPI_PROC(SDL_Renderer*,SDL_CreateRenderer,(SDL_Window *a, int b, Uint32 c),(a,b,c),return)
337 SDL_DYNAPI_PROC(SDL_Renderer*,SDL_CreateSoftwareRenderer,(SDL_Surface *a),(a),return)
338 SDL_DYNAPI_PROC(SDL_Renderer*,SDL_GetRenderer,(SDL_Window *a),(a),return)
339 SDL_DYNAPI_PROC(int,SDL_GetRendererInfo,(SDL_Renderer *a, SDL_RendererInfo *b),(a,b),return)
340 SDL_DYNAPI_PROC(int,SDL_GetRendererOutputSize,(SDL_Renderer *a, int *b, int *c),(a,b,c),return)
341 SDL_DYNAPI_PROC(SDL_Texture*,SDL_CreateTexture,(SDL_Renderer *a, Uint32 b, int c, int d, int e),(a,…
342 SDL_DYNAPI_PROC(SDL_Texture*,SDL_CreateTextureFromSurface,(SDL_Renderer *a, SDL_Surface *b),(a,b),r…
354 SDL_DYNAPI_PROC(SDL_bool,SDL_RenderTargetSupported,(SDL_Renderer *a),(a),return)
[all …]
/third_party/flutter/skia/third_party/externals/sdl/test/
Dtestintersections.c41 DrawPoints(SDL_Renderer * renderer) in DrawPoints()
105 DrawLines(SDL_Renderer * renderer) in DrawLines()
155 DrawRects(SDL_Renderer * renderer) in DrawRects()
162 DrawRectLineIntersections(SDL_Renderer * renderer) in DrawRectLineIntersections()
186 DrawRectRectIntersections(SDL_Renderer * renderer) in DrawRectRectIntersections()
246 SDL_Renderer *renderer = state->renderers[i]; in loop()
330 SDL_Renderer *renderer = state->renderers[i]; in main()
Dtestdraw2.c39 DrawPoints(SDL_Renderer * renderer) in DrawPoints()
82 DrawLines(SDL_Renderer * renderer) in DrawLines()
134 DrawRects(SDL_Renderer * renderer) in DrawRects()
189 SDL_Renderer *renderer = state->renderers[i]; in loop()
271 SDL_Renderer *renderer = state->renderers[i]; in main()
Dtestrelative.c31 DrawRects(SDL_Renderer * renderer, SDL_Rect * rect) in DrawRects()
53 SDL_Renderer *renderer = state->renderers[i]; in loop()
98 SDL_Renderer *renderer = state->renderers[i]; in main()
Dtestspriteminimal.c34 SDL_Renderer *renderer;
45 LoadSprite(char *file, SDL_Renderer *renderer) in LoadSprite()
94 MoveSprites(SDL_Renderer * renderer, SDL_Texture * sprite) in MoveSprites()
Dtestdrawchessboard.c27 SDL_Renderer *renderer;
31 DrawChessBoard(SDL_Renderer * renderer) in DrawChessBoard()
Dtestnative.c53 LoadSprite(SDL_Renderer *renderer, char *file) in LoadSprite()
84 MoveSprites(SDL_Renderer * renderer, SDL_Texture * sprite) in MoveSprites()
128 SDL_Renderer *renderer; in main()
/third_party/flutter/skia/third_party/externals/sdl/Xcode-iOS/Demos/src/
Dhappy.c26 initializeHappyFaces(SDL_Renderer *renderer) in initializeHappyFaces()
42 render(SDL_Renderer *renderer, double deltaTime) in render()
106 initializeTexture(SDL_Renderer *renderer) in initializeTexture()
133 SDL_Renderer *renderer; in main()
Dtouch.c21 drawLine(SDL_Renderer *renderer, float startx, float starty, float dx, float dy) in drawLine()
56 initializeTexture(SDL_Renderer *renderer) in initializeTexture()
83 SDL_Renderer *renderer; in main()
Drectangles.c12 render(SDL_Renderer *renderer) in render()
45 SDL_Renderer *renderer; in main()
Daccelerometer.c33 render(SDL_Renderer *renderer, int w, int h, double deltaTime) in render()
114 initializeTextures(SDL_Renderer *renderer) in initializeTextures()
162 SDL_Renderer *renderer; in main()
/third_party/skia/third_party/externals/imgui/backends/
Dimgui_impl_sdlrenderer.h16 struct SDL_Renderer;
18 IMGUI_IMPL_API bool ImGui_ImplSDLRenderer_Init(SDL_Renderer* renderer);
/third_party/flutter/skia/third_party/externals/sdl/Xcode-iOS/Template/SDL iOS Application/
Dmain.c20 render(SDL_Renderer *renderer) in render()
54 SDL_Renderer *renderer; in main()

123