Searched refs:cliprect (Results 1 – 11 of 11) sorted by relevance
/AliOS-Things-master/components/SDL2/src/render/software/ |
A D | SDL_render_sw.c | 43 const SDL_Rect *cliprect; member 593 const SDL_Rect *cliprect = drawstate->cliprect; in SetDrawState() local 596 if (cliprect != NULL) { in SetDrawState() 598 clip_rect.x = cliprect->x + viewport->x; in SetDrawState() 599 clip_rect.y = cliprect->y + viewport->y; in SetDrawState() 600 clip_rect.w = cliprect->w; in SetDrawState() 601 clip_rect.h = cliprect->h; in SetDrawState() 622 drawstate.cliprect = NULL; in SW_RunCommandQueue() 638 … drawstate.cliprect = cmd->data.cliprect.enabled ? &cmd->data.cliprect.rect : NULL; in SW_RunCommandQueue()
|
/AliOS-Things-master/components/SDL2/src/render/opengles/ |
A D | SDL_render_gles.c | 77 SDL_Rect cliprect; member 765 const SDL_Rect *rect = &data->drawstate.cliprect; in SetDrawState() 855 const SDL_Rect *rect = &cmd->data.cliprect.rect; in GLES_RunCommandQueue() 856 if (data->drawstate.cliprect_enabled != cmd->data.cliprect.enabled) { in GLES_RunCommandQueue() 857 data->drawstate.cliprect_enabled = cmd->data.cliprect.enabled; in GLES_RunCommandQueue() 860 if (SDL_memcmp(&data->drawstate.cliprect, rect, sizeof (SDL_Rect)) != 0) { in GLES_RunCommandQueue() 861 SDL_memcpy(&data->drawstate.cliprect, rect, sizeof (SDL_Rect)); in GLES_RunCommandQueue()
|
/AliOS-Things-master/components/SDL2/src/render/psp/ |
A D | SDL_render_psp.c | 727 const SDL_Rect *rect = &cmd->data.cliprect.rect; in PSP_RunCommandQueue() 728 if (data->drawstate.cliprect_enabled != cmd->data.cliprect.enabled) { in PSP_RunCommandQueue() 729 data->drawstate.cliprect_enabled = cmd->data.cliprect.enabled; in PSP_RunCommandQueue() 732 if (SDL_memcmp(&data->drawstate.cliprect, rect, sizeof (SDL_Rect)) != 0) { in PSP_RunCommandQueue() 733 SDL_memcpy(&data->drawstate.cliprect, rect, sizeof (SDL_Rect)); in PSP_RunCommandQueue()
|
/AliOS-Things-master/components/SDL2/src/render/direct3d/ |
A D | SDL_render_d3d.c | 53 SDL_Rect cliprect; member 1217 const SDL_Rect *rect = &data->drawstate.cliprect; in SetDrawState() 1302 const SDL_Rect *rect = &cmd->data.cliprect.rect; in D3D_RunCommandQueue() 1303 if (data->drawstate.cliprect_enabled != cmd->data.cliprect.enabled) { in D3D_RunCommandQueue() 1304 data->drawstate.cliprect_enabled = cmd->data.cliprect.enabled; in D3D_RunCommandQueue() 1308 if (SDL_memcmp(&data->drawstate.cliprect, rect, sizeof (SDL_Rect)) != 0) { in D3D_RunCommandQueue() 1309 SDL_memcpy(&data->drawstate.cliprect, rect, sizeof (SDL_Rect)); in D3D_RunCommandQueue()
|
/AliOS-Things-master/components/SDL2/src/render/opengl/ |
A D | SDL_render_gl.c | 75 SDL_Rect cliprect; member 1008 const SDL_Rect *rect = &data->drawstate.cliprect; in SetDrawState() 1162 const SDL_Rect *rect = &cmd->data.cliprect.rect; in GL_RunCommandQueue() 1163 if (data->drawstate.cliprect_enabled != cmd->data.cliprect.enabled) { in GL_RunCommandQueue() 1164 data->drawstate.cliprect_enabled = cmd->data.cliprect.enabled; in GL_RunCommandQueue() 1167 if (SDL_memcmp(&data->drawstate.cliprect, rect, sizeof (SDL_Rect)) != 0) { in GL_RunCommandQueue() 1168 SDL_memcpy(&data->drawstate.cliprect, rect, sizeof (SDL_Rect)); in GL_RunCommandQueue()
|
/AliOS-Things-master/components/SDL2/src/render/ |
A D | SDL_sysrender.h | 91 } cliprect; member
|
A D | SDL_render.c | 138 cmd->data.cliprect.enabled ? "true" : "false", in DebugLogRenderCommands() 139 cmd->data.cliprect.rect.x, cmd->data.cliprect.rect.y, in DebugLogRenderCommands() 140 cmd->data.cliprect.rect.w, cmd->data.cliprect.rect.h); in DebugLogRenderCommands() 360 cmd->data.cliprect.enabled = renderer->clipping_enabled; in QueueCmdSetClipRect() 361 … SDL_memcpy(&cmd->data.cliprect.rect, &renderer->clip_rect, sizeof (cmd->data.cliprect.rect)); in QueueCmdSetClipRect()
|
/AliOS-Things-master/components/SDL2/src/render/opengles2/ |
A D | SDL_render_gles2.c | 146 SDL_Rect cliprect; member 979 const SDL_Rect *rect = &data->drawstate.cliprect; in SetDrawState() 1252 const SDL_Rect *rect = &cmd->data.cliprect.rect; in GLES2_RunCommandQueue() 1253 if (data->drawstate.cliprect_enabled != cmd->data.cliprect.enabled) { in GLES2_RunCommandQueue() 1254 data->drawstate.cliprect_enabled = cmd->data.cliprect.enabled; in GLES2_RunCommandQueue() 1258 if (SDL_memcmp(&data->drawstate.cliprect, rect, sizeof (SDL_Rect)) != 0) { in GLES2_RunCommandQueue() 1259 SDL_memcpy(&data->drawstate.cliprect, rect, sizeof (SDL_Rect)); in GLES2_RunCommandQueue()
|
/AliOS-Things-master/components/SDL2/src/render/metal/ |
A D | SDL_render_metal.m | 1216 SDL_Rect cliprect; field 1251 const SDL_Rect *rect = &statecache->cliprect; 1372 … SDL_memcpy(&statecache.cliprect, &cmd->data.cliprect.rect, sizeof (statecache.cliprect)); 1373 statecache.cliprect_enabled = cmd->data.cliprect.enabled;
|
/AliOS-Things-master/components/SDL2/src/video/directfb/ |
A D | SDL_DirectFB_render.c | 690 if (cmd->data.cliprect.enabled) { in DirectFB_RunCommandQueue() 691 const SDL_Rect *rect = &cmd->data.cliprect.rect; in DirectFB_RunCommandQueue()
|
/AliOS-Things-master/components/SDL2/src/render/direct3d11/ |
A D | SDL_render_d3d11.c | 2234 const SDL_Rect *rect = &cmd->data.cliprect.rect; in D3D11_RunCommandQueue() 2235 if (rendererData->currentCliprectEnabled != cmd->data.cliprect.enabled) { in D3D11_RunCommandQueue() 2236 rendererData->currentCliprectEnabled = cmd->data.cliprect.enabled; in D3D11_RunCommandQueue()
|
Completed in 39 milliseconds