Home
last modified time | relevance | path

Searched refs:SDL_Rect (Results 1 – 25 of 118) sorted by relevance

12345

/third_party/flutter/skia/third_party/externals/sdl/include/
DSDL_rect.h64 typedef struct SDL_Rect struct
68 } SDL_Rect; argument
73 SDL_FORCE_INLINE SDL_bool SDL_PointInRect(const SDL_Point *p, const SDL_Rect *r) in SDL_PointInRect()
82 SDL_FORCE_INLINE SDL_bool SDL_RectEmpty(const SDL_Rect *r) in SDL_RectEmpty()
90 SDL_FORCE_INLINE SDL_bool SDL_RectEquals(const SDL_Rect *a, const SDL_Rect *b) in SDL_RectEquals()
101 extern DECLSPEC SDL_bool SDLCALL SDL_HasIntersection(const SDL_Rect * A,
102 const SDL_Rect * B);
109 extern DECLSPEC SDL_bool SDLCALL SDL_IntersectRect(const SDL_Rect * A,
110 const SDL_Rect * B,
111 SDL_Rect * result);
[all …]
DSDL_surface.h85 SDL_Rect clip_rect; /**< Read-only */
97 typedef int (*SDL_blit) (struct SDL_Surface * src, SDL_Rect * srcrect,
98 struct SDL_Surface * dst, SDL_Rect * dstrect);
348 const SDL_Rect * rect);
357 SDL_Rect * rect);
396 (SDL_Surface * dst, const SDL_Rect * rect, Uint32 color);
398 (SDL_Surface * dst, const SDL_Rect * rects, int count, Uint32 color);
464 (SDL_Surface * src, const SDL_Rect * srcrect,
465 SDL_Surface * dst, SDL_Rect * dstrect);
472 (SDL_Surface * src, SDL_Rect * srcrect,
[all …]
DSDL_render.h381 const SDL_Rect * rect,
404 const SDL_Rect * rect,
425 const SDL_Rect * rect,
542 const SDL_Rect * rect);
550 SDL_Rect * rect);
564 const SDL_Rect * rect);
576 SDL_Rect * rect);
753 const SDL_Rect * rect);
765 const SDL_Rect * rects,
778 const SDL_Rect * rect);
[all …]
/third_party/flutter/skia/third_party/externals/sdl/test/
Dtestautomation_rect.c20 SDL_Rect *rect, SDL_Rect * refRect, in _validateIntersectRectAndLineResults()
51 SDL_Rect refRect = { 0, 0, 32, 32 }; in rect_testIntersectRectAndLine()
52 SDL_Rect rect; in rect_testIntersectRectAndLine()
122 SDL_Rect refRect = { 0, 0, 32, 32 }; in rect_testIntersectRectAndLineInside()
123 SDL_Rect rect; in rect_testIntersectRectAndLineInside()
189 SDL_Rect refRect = { 0, 0, 32, 32 }; in rect_testIntersectRectAndLineOutside()
190 SDL_Rect rect; in rect_testIntersectRectAndLineOutside()
244 SDL_Rect refRect; in rect_testIntersectRectAndLineEmpty()
245 SDL_Rect rect; in rect_testIntersectRectAndLineEmpty()
279 SDL_Rect rect = { 0, 0, 32, 32 }; in rect_testIntersectRectAndLineParam()
[all …]
Dtestnative.c39 static SDL_Rect *positions, *velocities;
88 SDL_Rect viewport; in MoveSprites()
89 SDL_Rect *position, *velocity; in MoveSprites()
188 positions = (SDL_Rect *) SDL_malloc(NUM_SPRITES * sizeof(SDL_Rect)); in main()
189 velocities = (SDL_Rect *) SDL_malloc(NUM_SPRITES * sizeof(SDL_Rect)); in main()
Dtestsprite2.c36 static SDL_Rect *positions;
37 static SDL_Rect *velocities;
114 SDL_Rect viewport, temp; in MoveSprites()
115 SDL_Rect *position, *velocity; in MoveSprites()
348 positions = (SDL_Rect *) SDL_malloc(num_sprites * sizeof(SDL_Rect)); in main()
349 velocities = (SDL_Rect *) SDL_malloc(num_sprites * sizeof(SDL_Rect)); in main()
Dtestintersections.c45 SDL_Rect viewport; in DrawPoints()
85 SDL_Rect lines[MAX_LINES];
108 SDL_Rect viewport; in DrawLines()
129 SDL_Rect rects[MAX_RECTS];
171 SDL_Rect r; in DrawRectLineIntersections()
194 SDL_Rect r; in DrawRectRectIntersections()
Dtestrelative.c27 SDL_Rect rect;
31 DrawRects(SDL_Renderer * renderer, SDL_Rect * rect) in DrawRects()
52 SDL_Rect viewport; in loop()
Dtestdraw2.c43 SDL_Rect viewport; in DrawPoints()
86 SDL_Rect viewport; in DrawLines()
137 SDL_Rect rect; in DrawRects()
138 SDL_Rect viewport; in DrawRects()
/third_party/flutter/skia/third_party/externals/sdl/src/render/
DSDL_sysrender.h67 SDL_Rect locked_rect;
90 const SDL_Rect * rect, const void *pixels,
93 const SDL_Rect * rect,
98 const SDL_Rect * rect, void **pixels, int *pitch);
111 const SDL_Rect * srcrect, const SDL_FRect * dstrect);
113 const SDL_Rect * srcquad, const SDL_FRect * dstrect,
115 int (*RenderReadPixels) (SDL_Renderer * renderer, const SDL_Rect * rect,
142 SDL_Rect viewport;
143 SDL_Rect viewport_backup;
146 SDL_Rect clip_rect;
[all …]
DSDL_yuv_sw_c.h58 int SDL_SW_UpdateYUVTexture(SDL_SW_YUVTexture * swdata, const SDL_Rect * rect,
60 int SDL_SW_UpdateYUVTexturePlanar(SDL_SW_YUVTexture * swdata, const SDL_Rect * rect,
64 int SDL_SW_LockYUVTexture(SDL_SW_YUVTexture * swdata, const SDL_Rect * rect,
67 int SDL_SW_CopyYUVToRGB(SDL_SW_YUVTexture * swdata, const SDL_Rect * srcrect,
DSDL_render.c719 SDL_UpdateTextureYUV(SDL_Texture * texture, const SDL_Rect * rect, in SDL_UpdateTextureYUV()
723 SDL_Rect full_rect; in SDL_UpdateTextureYUV()
765 SDL_UpdateTextureNative(SDL_Texture * texture, const SDL_Rect * rect, in SDL_UpdateTextureNative()
802 SDL_UpdateTexture(SDL_Texture * texture, const SDL_Rect * rect, in SDL_UpdateTexture()
806 SDL_Rect full_rect; in SDL_UpdateTexture()
838 SDL_UpdateTextureYUVPlanar(SDL_Texture * texture, const SDL_Rect * rect, in SDL_UpdateTextureYUVPlanar()
844 SDL_Rect full_rect; in SDL_UpdateTextureYUVPlanar()
885 int SDL_UpdateYUVTexture(SDL_Texture * texture, const SDL_Rect * rect, in SDL_UpdateYUVTexture()
891 SDL_Rect full_rect; in SDL_UpdateYUVTexture()
942 SDL_LockTextureYUV(SDL_Texture * texture, const SDL_Rect * rect, in SDL_LockTextureYUV()
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/render/software/
DSDL_blendfillrect.c30 SDL_BlendFillRect_RGB555(SDL_Surface * dst, const SDL_Rect * rect, in SDL_BlendFillRect_RGB555()
53 SDL_BlendFillRect_RGB565(SDL_Surface * dst, const SDL_Rect * rect, in SDL_BlendFillRect_RGB565()
76 SDL_BlendFillRect_RGB888(SDL_Surface * dst, const SDL_Rect * rect, in SDL_BlendFillRect_RGB888()
99 SDL_BlendFillRect_ARGB8888(SDL_Surface * dst, const SDL_Rect * rect, in SDL_BlendFillRect_ARGB8888()
122 SDL_BlendFillRect_RGB(SDL_Surface * dst, const SDL_Rect * rect, in SDL_BlendFillRect_RGB()
167 SDL_BlendFillRect_RGBA(SDL_Surface * dst, const SDL_Rect * rect, in SDL_BlendFillRect_RGBA()
196 SDL_BlendFillRect(SDL_Surface * dst, const SDL_Rect * rect, in SDL_BlendFillRect()
199 SDL_Rect clipped; in SDL_BlendFillRect()
263 SDL_BlendFillRects(SDL_Surface * dst, const SDL_Rect * rects, int count, in SDL_BlendFillRects()
266 SDL_Rect rect; in SDL_BlendFillRects()
[all …]
DSDL_render_sw.c51 const SDL_Rect * rect, const void *pixels,
54 const SDL_Rect * rect, void **pixels, int *pitch);
67 const SDL_Rect * srcrect, const SDL_FRect * dstrect);
69 const SDL_Rect * srcrect, const SDL_FRect * dstrect,
71 static int SW_RenderReadPixels(SDL_Renderer * renderer, const SDL_Rect * rect,
294 const SDL_Rect * rect, const void *pixels, int pitch) in SW_UpdateTexture()
320 const SDL_Rect * rect, void **pixels, int *pitch) in SW_LockTexture()
384 SDL_Rect clip_rect; in SW_RenderClear()
503 SDL_Rect *final_rects; in SW_RenderFillRects()
510 final_rects = SDL_stack_alloc(SDL_Rect, count); in SW_RenderFillRects()
[all …]
DSDL_blendfillrect.h24 extern int SDL_BlendFillRect(SDL_Surface * dst, const SDL_Rect * rect, SDL_BlendMode blendMode, Uin…
25 extern int SDL_BlendFillRects(SDL_Surface * dst, const SDL_Rect * rects, int count, SDL_BlendMode b…
/third_party/flutter/skia/third_party/externals/sdl/src/video/
DSDL_RLEaccel_c.h26 extern int SDL_RLEBlit(SDL_Surface * src, SDL_Rect * srcrect,
27 SDL_Surface * dst, SDL_Rect * dstrect);
28 extern int SDL_RLEAlphaBlit(SDL_Surface * src, SDL_Rect * srcrect,
29 SDL_Surface * dst, SDL_Rect * dstrect);
DSDL_rect.c28 SDL_HasIntersection(const SDL_Rect * A, const SDL_Rect * B) in SDL_HasIntersection()
75 SDL_IntersectRect(const SDL_Rect * A, const SDL_Rect * B, SDL_Rect * result) in SDL_IntersectRect()
129 SDL_UnionRect(const SDL_Rect * A, const SDL_Rect * B, SDL_Rect * result) in SDL_UnionRect()
192 SDL_EnclosePoints(const SDL_Point * points, int count, const SDL_Rect * clip, in SDL_EnclosePoints()
193 SDL_Rect * result) in SDL_EnclosePoints()
300 ComputeOutCode(const SDL_Rect * rect, int x, int y) in ComputeOutCode()
317 SDL_IntersectRectAndLine(const SDL_Rect * rect, int *X1, int *Y1, int *X2, in SDL_IntersectRectAndLine()
464 int numrects, const SDL_Rect * rects, SDL_Rect *span) in SDL_GetSpanEnclosingRect()
DSDL_rect_c.h23 …_GetSpanEnclosingRect(int width, int height, int numrects, const SDL_Rect * rects, SDL_Rect *span);
DSDL_surface.c492 SDL_SetClipRect(SDL_Surface * surface, const SDL_Rect * rect) in SDL_SetClipRect()
494 SDL_Rect full_rect; in SDL_SetClipRect()
516 SDL_GetClipRect(SDL_Surface * surface, SDL_Rect * rect) in SDL_GetClipRect()
535 SDL_LowerBlit(SDL_Surface * src, SDL_Rect * srcrect, in SDL_LowerBlit()
536 SDL_Surface * dst, SDL_Rect * dstrect) in SDL_LowerBlit()
558 SDL_UpperBlit(SDL_Surface * src, const SDL_Rect * srcrect, in SDL_UpperBlit()
559 SDL_Surface * dst, SDL_Rect * dstrect) in SDL_UpperBlit()
561 SDL_Rect fulldst; in SDL_UpperBlit()
614 SDL_Rect *clip = &dst->clip_rect; in SDL_UpperBlit()
645 SDL_Rect sr; in SDL_UpperBlit()
[all …]
DSDL_sysvideo.h85 SDL_Rect windowed;
174 int (*GetDisplayBounds) (_THIS, SDL_VideoDisplay * display, SDL_Rect * rect);
184 int (*GetDisplayUsableBounds) (_THIS, SDL_VideoDisplay * display, SDL_Rect * rect);
229 … int (*UpdateWindowFramebuffer) (_THIS, SDL_Window * window, const SDL_Rect * rects, int numrects);
270 void (*SetTextInputRect) (_THIS, SDL_Rect *rect);
/third_party/flutter/skia/third_party/externals/sdl/src/dynapi/
DSDL_dynapi_procs.h264 SDL_DYNAPI_PROC(void,SDL_SetTextInputRect,(SDL_Rect *a),(a),)
328 SDL_DYNAPI_PROC(SDL_bool,SDL_HasIntersection,(const SDL_Rect *a, const SDL_Rect *b),(a,b),return)
329 SDL_DYNAPI_PROC(SDL_bool,SDL_IntersectRect,(const SDL_Rect *a, const SDL_Rect *b, SDL_Rect *c),(a,b…
330 SDL_DYNAPI_PROC(void,SDL_UnionRect,(const SDL_Rect *a, const SDL_Rect *b, SDL_Rect *c),(a,b,c),)
331 SDL_DYNAPI_PROC(SDL_bool,SDL_EnclosePoints,(const SDL_Point *a, int b, const SDL_Rect *c, SDL_Rect
332 SDL_DYNAPI_PROC(SDL_bool,SDL_IntersectRectAndLine,(const SDL_Rect *a, int *b, int *c, int *d, int *…
350 SDL_DYNAPI_PROC(int,SDL_UpdateTexture,(SDL_Texture *a, const SDL_Rect *b, const void *c, int d),(a,…
351 SDL_DYNAPI_PROC(int,SDL_UpdateYUVTexture,(SDL_Texture *a, const SDL_Rect *b, const Uint8 *c, int d,…
352 SDL_DYNAPI_PROC(int,SDL_LockTexture,(SDL_Texture *a, const SDL_Rect *b, void **c, int *d),(a,b,c,d)…
359 SDL_DYNAPI_PROC(int,SDL_RenderSetViewport,(SDL_Renderer *a, const SDL_Rect *b),(a,b),return)
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/video/cocoa/
DSDL_cocoamodes.h37 extern int Cocoa_GetDisplayBounds(_THIS, SDL_VideoDisplay * display, SDL_Rect * rect);
38 extern int Cocoa_GetDisplayUsableBounds(_THIS, SDL_VideoDisplay * display, SDL_Rect * rect);
/third_party/flutter/skia/third_party/externals/sdl/src/video/directfb/
DSDL_DirectFB_render.c83 const SDL_Rect * rect,
87 const SDL_Rect * rect,
93 const SDL_Rect * rects);
100 const SDL_Rect ** rects, int count);
105 const SDL_Rect * srcrect,
111 static int DirectFB_RenderReadPixels(SDL_Renderer * renderer, const SDL_Rect * rect,
113 static int DirectFB_RenderWritePixels(SDL_Renderer * renderer, const SDL_Rect * rect,
171 SDLtoDFBRect(const SDL_Rect * sr, DFBRectangle * dr) in SDLtoDFBRect()
763 const SDL_Rect * rect, const void *pixels, int pitch) in DirectFB_UpdateTexture()
820 const SDL_Rect * rect, void **pixels, int *pitch) in DirectFB_LockTexture()
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/video/windows/
DSDL_windowsmodes.h42 extern int WIN_GetDisplayBounds(_THIS, SDL_VideoDisplay * display, SDL_Rect * rect);
43 extern int WIN_GetDisplayUsableBounds(_THIS, SDL_VideoDisplay * display, SDL_Rect * rect);
/third_party/flutter/skia/third_party/externals/sdl/src/video/x11/
DSDL_x11modes.h79 extern int X11_GetDisplayBounds(_THIS, SDL_VideoDisplay * sdl_display, SDL_Rect * rect);
80 extern int X11_GetDisplayUsableBounds(_THIS, SDL_VideoDisplay * sdl_display, SDL_Rect * rect);

12345