/third_party/ffmpeg/libavdevice/ |
D | gdigrab.c | 62 RECT clip_rect; /**< The subarea of the screen or window to clip */ member 124 RECT rect = gdigrab->clip_rect; in gdigrab_region_wnd_init() 243 RECT clip_rect; in gdigrab_read_header() local 302 clip_rect.left = virtual_rect.left; in gdigrab_read_header() 303 clip_rect.top = virtual_rect.top; in gdigrab_read_header() 304 clip_rect.right = virtual_rect.right; in gdigrab_read_header() 305 clip_rect.bottom = virtual_rect.bottom; in gdigrab_read_header() 307 clip_rect.left = gdigrab->offset_x; in gdigrab_read_header() 308 clip_rect.top = gdigrab->offset_y; in gdigrab_read_header() 309 clip_rect.right = gdigrab->width + gdigrab->offset_x; in gdigrab_read_header() [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/src/render/software/ |
D | SDL_drawpoint.c | 42 if (x < dst->clip_rect.x || y < dst->clip_rect.y || in SDL_DrawPoint() 43 x >= (dst->clip_rect.x + dst->clip_rect.w) || in SDL_DrawPoint() 44 y >= (dst->clip_rect.y + dst->clip_rect.h)) { in SDL_DrawPoint() 82 minx = dst->clip_rect.x; in SDL_DrawPoints() 83 maxx = dst->clip_rect.x + dst->clip_rect.w - 1; in SDL_DrawPoints() 84 miny = dst->clip_rect.y; in SDL_DrawPoints() 85 maxy = dst->clip_rect.y + dst->clip_rect.h - 1; in SDL_DrawPoints()
|
D | SDL_blendpoint.c | 209 if (x < dst->clip_rect.x || y < dst->clip_rect.y || in SDL_BlendPoint() 210 x >= (dst->clip_rect.x + dst->clip_rect.w) || in SDL_BlendPoint() 211 y >= (dst->clip_rect.y + dst->clip_rect.h)) { in SDL_BlendPoint() 324 minx = dst->clip_rect.x; in SDL_BlendPoints() 325 maxx = dst->clip_rect.x + dst->clip_rect.w - 1; in SDL_BlendPoints() 326 miny = dst->clip_rect.y; in SDL_BlendPoints() 327 maxy = dst->clip_rect.y + dst->clip_rect.h - 1; in SDL_BlendPoints()
|
D | SDL_blendfillrect.c | 213 if (!SDL_IntersectRect(rect, &dst->clip_rect, &clipped)) { in SDL_BlendFillRect() 218 rect = &dst->clip_rect; in SDL_BlendFillRect() 326 if (!SDL_IntersectRect(&rects[i], &dst->clip_rect, &rect)) { in SDL_BlendFillRects()
|
D | SDL_drawline.c | 157 if (!SDL_IntersectRectAndLine(&dst->clip_rect, &x1, &y1, &x2, &y2)) { in SDL_DrawLine() 192 if (!SDL_IntersectRectAndLine(&dst->clip_rect, &x1, &y1, &x2, &y2)) { in SDL_DrawLines()
|
D | SDL_render_sw.c | 371 SDL_SetClipRect(surface, &renderer->clip_rect); in SW_UpdateClipRect() 384 SDL_Rect clip_rect; in SW_RenderClear() local 394 clip_rect = surface->clip_rect; in SW_RenderClear() 397 SDL_SetClipRect(surface, &clip_rect); in SW_RenderClear()
|
/third_party/gstreamer/gstplugins_bad/gst/dvdspu/ |
D | gstspu-vobsub-render.c | 252 if (next_draw_x > state->vobsub.clip_rect.right) in gstspu_vobsub_render_line() 253 next_draw_x = state->vobsub.clip_rect.right; /* ensure no overflow */ in gstspu_vobsub_render_line() 255 if (state->vobsub.cur_Y >= state->vobsub.clip_rect.top && in gstspu_vobsub_render_line() 256 state->vobsub.cur_Y <= state->vobsub.clip_rect.bottom) in gstspu_vobsub_render_line() 347 if (run_draw_end > state->vobsub.clip_rect.right) in gstspu_vobsub_render_line_with_chgcol() 348 run_draw_end = state->vobsub.clip_rect.right; /* ensure no overflow */ in gstspu_vobsub_render_line_with_chgcol() 379 state->comp_left = MAX (state->comp_left, state->vobsub.clip_rect.left); in gstspu_vobsub_blend_comp_buffers() 380 state->comp_right = MIN (state->comp_right, state->vobsub.clip_rect.right); in gstspu_vobsub_blend_comp_buffers() 388 state->comp_left = state->vobsub.clip_rect.left; in gstspu_vobsub_clear_comp_buffers() 389 state->comp_right = state->vobsub.clip_rect.right; in gstspu_vobsub_clear_comp_buffers() [all …]
|
D | gstspu-vobsub.h | 58 SpuRect clip_rect; member
|
/third_party/flutter/skia/third_party/externals/imgui/examples/ |
D | imgui_impl_opengl2.cpp | 139 …ImVec4 clip_rect = ImVec4(pcmd->ClipRect.x - pos.x, pcmd->ClipRect.y - pos.y, pcmd->ClipRect.z - p… in ImGui_ImplOpenGL2_RenderDrawData() local 140 …if (clip_rect.x < fb_width && clip_rect.y < fb_height && clip_rect.z >= 0.0f && clip_rect.w >= 0.0… in ImGui_ImplOpenGL2_RenderDrawData() 143 …glScissor((int)clip_rect.x, (int)(fb_height - clip_rect.w), (int)(clip_rect.z - clip_rect.x), (int… in ImGui_ImplOpenGL2_RenderDrawData()
|
D | imgui_impl_opengl3.cpp | 245 …ImVec4 clip_rect = ImVec4(pcmd->ClipRect.x - pos.x, pcmd->ClipRect.y - pos.y, pcmd->ClipRect.z - p… in ImGui_ImplOpenGL3_RenderDrawData() local 246 …if (clip_rect.x < fb_width && clip_rect.y < fb_height && clip_rect.z >= 0.0f && clip_rect.w >= 0.0… in ImGui_ImplOpenGL3_RenderDrawData() 250 …glScissor((int)clip_rect.x, (int)(fb_height - clip_rect.w), (int)(clip_rect.z - clip_rect.x), (int… in ImGui_ImplOpenGL3_RenderDrawData() 252 …glScissor((int)clip_rect.x, (int)clip_rect.y, (int)clip_rect.z, (int)clip_rect.w); // Support for … in ImGui_ImplOpenGL3_RenderDrawData()
|
D | imgui_impl_metal.mm | 483 …ImVec4 clip_rect = ImVec4(pcmd->ClipRect.x - pos.x, pcmd->ClipRect.y - pos.y, pcmd->ClipRect.z - p… 484 …if (clip_rect.x < fb_width && clip_rect.y < fb_height && clip_rect.z >= 0.0f && clip_rect.w >= 0.0… 487 MTLScissorRect scissorRect = { .x = NSUInteger(clip_rect.x), 488 .y = NSUInteger(clip_rect.y), 489 .width = NSUInteger(clip_rect.z - clip_rect.x), 490 .height = NSUInteger(clip_rect.w - clip_rect.y) };
|
/third_party/mesa3d/src/intel/tools/imgui/ |
D | imgui_impl_opengl3.cpp | 196 …ImVec4 clip_rect = ImVec4(pcmd->ClipRect.x - pos.x, pcmd->ClipRect.y - pos.y, pcmd->ClipRect.z - p… in ImGui_ImplOpenGL3_RenderDrawData() local 197 …if (clip_rect.x < fb_width && clip_rect.y < fb_height && clip_rect.z >= 0.0f && clip_rect.w >= 0.0… in ImGui_ImplOpenGL3_RenderDrawData() 200 …glScissor((int)clip_rect.x, (int)(fb_height - clip_rect.w), (int)(clip_rect.z - clip_rect.x), (int… in ImGui_ImplOpenGL3_RenderDrawData()
|
/third_party/flutter/engine/flutter/flow/ |
D | embedded_views.h | 22 enum MutatorType { clip_rect, clip_rrect, clip_path, transform, opacity }; enumerator 35 case clip_rect: in Mutator() 55 explicit Mutator(const SkRect& rect) : type_(clip_rect), rect_(rect) {} in Mutator() 76 case clip_rect: 94 return type_ == clip_rect || type_ == clip_rrect || type_ == clip_path; in IsClipType()
|
D | mutators_stack_unittests.cc | 31 ASSERT_TRUE(iter->get()->GetType() == MutatorType::clip_rect); in TEST() 100 ASSERT_TRUE(iter->get()->GetType() == MutatorType::clip_rect); in TEST() 146 ASSERT_TRUE(mutator.GetType() == MutatorType::clip_rect); in TEST()
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/ |
D | SDL_surface.c | 509 surface->clip_rect = full_rect; in SDL_SetClipRect() 512 return SDL_IntersectRect(rect, &full_rect, &surface->clip_rect); in SDL_SetClipRect() 519 *rect = surface->clip_rect; in SDL_GetClipRect() 614 SDL_Rect *clip = &dst->clip_rect; in SDL_UpperBlit() 748 dst_x0 -= dst->clip_rect.x; in SDL_UpperBlitScaled() 749 dst_x1 -= dst->clip_rect.x; in SDL_UpperBlitScaled() 750 dst_y0 -= dst->clip_rect.y; in SDL_UpperBlitScaled() 751 dst_y1 -= dst->clip_rect.y; in SDL_UpperBlitScaled() 758 if (dst_x1 >= dst->clip_rect.w) { in SDL_UpperBlitScaled() 759 src_x1 -= (dst_x1 - dst->clip_rect.w + 1) / scaling_w; in SDL_UpperBlitScaled() [all …]
|
D | SDL_fillrect.c | 254 if (!SDL_IntersectRect(rect, &dst->clip_rect, &clipped)) { in SDL_FillRect() 259 rect = &dst->clip_rect; in SDL_FillRect()
|
/third_party/flutter/engine/flutter/flow/layers/ |
D | clip_rect_layer.cc | 9 ClipRectLayer::ClipRectLayer(const SkRect& clip_rect, Clip clip_behavior) in ClipRectLayer() argument 10 : clip_rect_(clip_rect), clip_behavior_(clip_behavior) { in ClipRectLayer()
|
D | clip_rrect_layer.cc | 62 SkRect clip_rect = clip_rrect_.rect(); in MapRect() local 64 if (dst_rect.intersect(clip_rect)) { in MapRect()
|
D | clip_rect_layer.h | 14 ClipRectLayer(const SkRect& clip_rect, Clip clip_behavior);
|
/third_party/weston/tests/ |
D | weston-test-client-helper.c | 1205 const struct rectangle *clip_rect) in image_check_get_roi() argument 1219 if (clip_rect) { in image_check_get_roi() 1220 box.x1 = clip_rect->x; in image_check_get_roi() 1221 box.y1 = clip_rect->y; in image_check_get_roi() 1222 box.x2 = clip_rect->x + clip_rect->width; in image_check_get_roi() 1223 box.y2 = clip_rect->y + clip_rect->height; in image_check_get_roi() 1332 const struct rectangle *clip_rect, const struct range *prec) in check_images_match() argument 1343 box = image_check_get_roi(img_a, img_b, clip_rect); in check_images_match() 1413 const struct rectangle *clip_rect, in visualize_image_difference() argument 1434 box = image_check_get_roi(img_a, img_b, clip_rect); in visualize_image_difference()
|
/third_party/mesa3d/src/imgui/ |
D | imgui_draw.cpp | 1194 ImVec4 clip_rect = _ClipRectStack.back(); in AddText() local 1197 clip_rect.x = ImMax(clip_rect.x, cpu_fine_clip_rect->x); in AddText() 1198 clip_rect.y = ImMax(clip_rect.y, cpu_fine_clip_rect->y); in AddText() 1199 clip_rect.z = ImMin(clip_rect.z, cpu_fine_clip_rect->z); in AddText() 1200 clip_rect.w = ImMin(clip_rect.w, cpu_fine_clip_rect->w); in AddText() 1202 …font->RenderText(this, font_size, pos, col, clip_rect, text_begin, text_end, wrap_width, cpu_fine_… in AddText() 2749 …ImDrawList* draw_list, float size, ImVec2 pos, ImU32 col, const ImVec4& clip_rect, const char* tex… in RenderText() argument 2759 if (y > clip_rect.w) in RenderText() 2769 if (y + line_height < clip_rect.y && !word_wrap_enabled) in RenderText() 2770 while (y + line_height < clip_rect.y && s < text_end) in RenderText() [all …]
|
/third_party/flutter/skia/third_party/externals/imgui/ |
D | imgui_draw.cpp | 1187 ImVec4 clip_rect = _ClipRectStack.back(); in AddText() local 1190 clip_rect.x = ImMax(clip_rect.x, cpu_fine_clip_rect->x); in AddText() 1191 clip_rect.y = ImMax(clip_rect.y, cpu_fine_clip_rect->y); in AddText() 1192 clip_rect.z = ImMin(clip_rect.z, cpu_fine_clip_rect->z); in AddText() 1193 clip_rect.w = ImMin(clip_rect.w, cpu_fine_clip_rect->w); in AddText() 1195 …font->RenderText(this, font_size, pos, col, clip_rect, text_begin, text_end, wrap_width, cpu_fine_… in AddText() 2737 …ImDrawList* draw_list, float size, ImVec2 pos, ImU32 col, const ImVec4& clip_rect, const char* tex… in RenderText() argument 2747 if (y > clip_rect.w) in RenderText() 2757 if (y + line_height < clip_rect.y && !word_wrap_enabled) in RenderText() 2758 while (y + line_height < clip_rect.y && s < text_end) in RenderText() [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/src/render/ |
D | SDL_render.c | 1091 renderer->clip_rect_backup = renderer->clip_rect; in SDL_SetRenderTarget() 1108 SDL_zero(renderer->clip_rect); in SDL_SetRenderTarget() 1116 renderer->clip_rect = renderer->clip_rect_backup; in SDL_SetRenderTarget() 1292 renderer->clip_rect.x = (int)SDL_floor(rect->x * renderer->scale.x); in SDL_RenderSetClipRect() 1293 renderer->clip_rect.y = (int)SDL_floor(rect->y * renderer->scale.y); in SDL_RenderSetClipRect() 1294 renderer->clip_rect.w = (int)SDL_ceil(rect->w * renderer->scale.x); in SDL_RenderSetClipRect() 1295 renderer->clip_rect.h = (int)SDL_ceil(rect->h * renderer->scale.y); in SDL_RenderSetClipRect() 1298 SDL_zero(renderer->clip_rect); in SDL_RenderSetClipRect() 1309 rect->x = (int)(renderer->clip_rect.x / renderer->scale.x); in SDL_RenderGetClipRect() 1310 rect->y = (int)(renderer->clip_rect.y / renderer->scale.y); in SDL_RenderGetClipRect() [all …]
|
D | SDL_sysrender.h | 146 SDL_Rect clip_rect; member
|
/third_party/skia/third_party/externals/imgui/ |
D | imgui_draw.cpp | 1589 ImVec4 clip_rect = _CmdHeader.ClipRect; in AddText() local 1592 clip_rect.x = ImMax(clip_rect.x, cpu_fine_clip_rect->x); in AddText() 1593 clip_rect.y = ImMax(clip_rect.y, cpu_fine_clip_rect->y); in AddText() 1594 clip_rect.z = ImMin(clip_rect.z, cpu_fine_clip_rect->z); in AddText() 1595 clip_rect.w = ImMin(clip_rect.w, cpu_fine_clip_rect->w); in AddText() 1597 …font->RenderText(this, font_size, pos, col, clip_rect, text_begin, text_end, wrap_width, cpu_fine_… in AddText() 3534 …ImDrawList* draw_list, float size, ImVec2 pos, ImU32 col, const ImVec4& clip_rect, const char* tex… in RenderText() argument 3544 if (y > clip_rect.w) in RenderText() 3554 if (y + line_height < clip_rect.y && !word_wrap_enabled) in RenderText() 3555 while (y + line_height < clip_rect.y && s < text_end) in RenderText() [all …]
|