/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/ |
H A D | vktDynamicRenderingRandomTests.cpp | 670 VkClearRect rect = { makeRect2D(quadLeft, quadTop, quadRight - quadLeft, quadBottom - quadTop), static_cast<deUint32>(layer), 1u }; in iterate() local 672 vk.cmdClearAttachments(cmdBuffer, 1u, &clearAttachment, 1u, &rect); in iterate()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
H A D | SwapChain11.cpp | 910 // Use IDXGISwapChain1::Present1 with a dirty rect if DXGI 1.2 is available. in present() 911 // Dirty rect present is not supported with a multisampled swapchain. in present() 916 // Can't swap with a dirty rect if this swap chain has never swapped before in present() 922 RECT rect = {static_cast<LONG>(x), static_cast<LONG>(mHeight - y - height), in present() local 924 DXGI_PRESENT_PARAMETERS params = {1, &rect, nullptr, nullptr}; in present()
|
H A D | StateManager11.cpp | 873 // Scissor rect may need to be vertically inverted 1419 D3D11_RECT rect; 1422 rect.left = std::max(0, x); 1423 rect.top = std::max(0, y); 1424 rect.right = x + std::max(0, scissor.width); 1425 rect.bottom = y + std::max(0, scissor.height); 1426 mRenderer->getDeviceContext()->RSSetScissorRects(1, &rect);
|
/third_party/skia/samplecode/ |
H A D | SampleClip.cpp | 398 SkRect rect = SkRect::MakeXYWH(x - r, y - r, 2*r, 2*r); variable 400 if (rect.contains(fPts[i].fX, fPts[i].fY)) {
|
/third_party/skia/src/gpu/ |
H A D | GrDrawingManager.cpp | 892 SkIRect rect, in newWritePixelsTask() 914 rect, in newWritePixelsTask() 891 newWritePixelsTask(sk_sp<GrSurfaceProxy> dst, SkIRect rect, GrColorType srcColorType, GrColorType dstColorType, const GrMipLevel levels[], int levelCount) newWritePixelsTask() argument
|
/third_party/skia/src/pathops/ |
H A D | SkPathOpsCubic.cpp | 750 void SkTCubic::setBounds(SkDRect* rect) const { 751 rect->setBounds(fCubic);
|
/third_party/skia/modules/canvaskit/htmlcanvas/ |
H A D | canvas2dcontext.js | 844 this.rect = function(x, y, width, height) { 845 rect(this._currentPath, x, y, width, height);
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/ |
H A D | vktDynamicRenderingRandomTests.cpp | 670 VkClearRect rect = { makeRect2D(quadLeft, quadTop, quadRight - quadLeft, quadBottom - quadTop), static_cast<deUint32>(layer), 1u }; in iterate() local 672 vk.cmdClearAttachments(cmdBuffer, 1u, &clearAttachment, 1u, &rect); in iterate()
|
/kernel/linux/linux-5.10/drivers/staging/media/imx/ |
H A D | imx-media-csi.c | 426 image.rect = vdev->compose; in csi_idmac_setup_channel() 506 image.rect.width * passthrough_cycles, in csi_idmac_setup_channel() 507 image.rect.height); in csi_idmac_setup_channel() 516 image.rect.top = 1; in csi_idmac_setup_channel()
|
/kernel/linux/linux-6.6/drivers/staging/media/imx/ |
H A D | imx-media-csi.c | 428 image.rect = vdev->compose; in csi_idmac_setup_channel() 508 image.rect.width * passthrough_cycles, in csi_idmac_setup_channel() 509 image.rect.height); in csi_idmac_setup_channel() 518 image.rect.top = 1; in csi_idmac_setup_channel()
|
/kernel/linux/linux-6.6/drivers/media/platform/nxp/dw100/ |
H A D | dw100.c | 1215 const struct v4l2_rect *rect = &src_q_data->crop; in dw100_hw_set_src_crop() local 1219 src_scale = (rect->width << 7) / src_q_data->pix_fmt.width; in dw100_hw_set_src_crop() 1224 left_scale = ((rect->left << 7) * qscale) >> 14; in dw100_hw_set_src_crop() 1225 top_scale = ((rect->top << 7) * qscale) >> 14; in dw100_hw_set_src_crop()
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_setup.c | 146 return setup->rect(setup, v0, v1, v2, v3, v4, v5); in first_rectangle() 198 setup->rect = first_rectangle; in lp_setup_reset() 594 setup->rect = first_rectangle; in lp_setup_bind_rasterizer() 843 setup->rect = first_rectangle; in lp_setup_set_rasterizer_discard() 894 * Calculate "scissor" rect from the (first) viewport. in lp_setup_set_viewports() 1603 /* Initialize empty default fb correctly, so the rect is empty */ in lp_setup_create() 1772 * triangle bounding box and the scissor rect to generate the in lp_setup_add_scissor_planes()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/ |
H A D | renderer_utils.cpp | 919 gl::Rectangle ClipRectToScissor(const gl::State &glState, const gl::Rectangle &rect, bool invertY) in ClipRectToScissor() argument 922 // rect would be the rect itself. in ClipRectToScissor() 924 // Note that on Vulkan, returning this (as opposed to a fixed max-int-sized rect) could lead to in ClipRectToScissor() 930 return rect; in ClipRectToScissor() 934 if (!gl::ClipRectangle(glState.getScissor(), rect, &clippedRect)) in ClipRectToScissor() 941 clippedRect.y = rect.height - clippedRect.y - clippedRect.height; in ClipRectToScissor()
|
/third_party/skia/src/ports/ |
H A D | SkFontHost_FreeType.cpp | 1251 SkRect rect = SkRect::MakeXYWH(SkIntToScalar(fFace->glyph->bitmap_left), 1255 fMatrix22Scalar.mapRect(&rect); 1257 rect.offset(SkFixedToScalar(glyph->getSubXFixed()), 1260 SkIRect irect = rect.roundOut();
|
/third_party/mesa3d/src/gallium/frontends/dri/ |
H A D | dri2.c | 2214 int *rect = &rects[i * 4]; in dri2_set_damage_region() local 2216 u_box_2d(rect[0], rect[1], rect[2], rect[3], &boxes[i]); in dri2_set_damage_region()
|
/third_party/vk-gl-cts/framework/referencerenderer/ |
H A D | rrRenderer.cpp | 824 const WindowRectangle& viewport = state.viewport.rect; in transformVertexClipCoordsToWindowCoords() 1300 const tcu::IVec4 viewportRect = tcu::IVec4(state.viewport.rect.left, state.viewport.rect.bottom, state.viewport.rect.width, state.viewport.rect.height); in rasterize()
|
/third_party/skia/tests/ |
H A D | GrStyledShapeTest.cpp | 349 RectGeo(const SkRect& rect) : fRect(rect) {} in RectGeo() argument 363 // Converted to an outset rectangle or round rect 390 return RectGeo(fRRect.rect()).strokeAndFillIsConvertedToFill(paint); 465 SkRect rect; variable 468 if (SkPathPriv::IsSimpleRect(fPath, false, &rect, &dir, &start)) { 469 return RectGeo(rect).strokeAndFillIsConvertedToFill(paint); 862 // in the line and unclosed rect cases). in test_basic() 926 // stroke-and-filled rect can become a rect), i in test_scale() [all...] |
H A D | ImageFilterTest.cpp | 383 // Check that a color filter image filter without a crop rect can be in DEF_TEST() 390 // Check that a colorfilterimage filter without a crop rect but with an input in DEF_TEST() 411 // Check that a color filter image filter with a crop rect cannot in DEF_TEST() 439 SkRect rect = SkRect::Make(SkIRect::MakeWH(kBitmapSize, kBitmapSize)); in DEF_TEST() local 440 canvas.drawRect(rect, paint); in DEF_TEST() 475 // Check that all filters offset to their absolute crop rect, in test_cropRects() 476 // unaffected by the input crop rect. in test_cropRects() 1119 SkRect rect = SkRect::Make(SkIRect::MakeWH(width, height)); in DEF_TEST() local 1120 canvas.drawRect(rect, paint); in DEF_TEST() 1146 SkRect rect in DEF_TEST() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/qxl/ |
H A D | qxl_drv.h | 179 struct qxl_rect rect; member
|
/kernel/linux/linux-5.10/drivers/video/fbdev/sis/ |
H A D | sis_accel.h | 384 void fbcon_sis_fillrect(struct fb_info *info, const struct fb_fillrect *rect);
|
/kernel/linux/linux-5.10/drivers/video/fbdev/savage/ |
H A D | savagefb.h | 402 const struct fb_fillrect *rect);
|
/kernel/linux/linux-5.10/include/video/ |
H A D | imx-ipu-v3.h | 246 struct v4l2_rect rect; member
|
/kernel/linux/linux-5.10/drivers/media/test-drivers/vimc/ |
H A D | vimc-scaler.c | 11 #include <media/v4l2-rect.h>
|
/kernel/linux/linux-6.6/drivers/media/test-drivers/vimc/ |
H A D | vimc-scaler.c | 12 #include <media/v4l2-rect.h>
|
/kernel/linux/linux-6.6/drivers/video/fbdev/savage/ |
H A D | savagefb.h | 401 const struct fb_fillrect *rect);
|