Home
last modified time | relevance | path

Searched refs:rect (Results 1251 - 1275 of 1414) sorted by relevance

1...<<51525354555657

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
H A DvktDynamicRenderingRandomTests.cpp670 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 DSwapChain11.cpp910 // 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 DStateManager11.cpp873 // 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 DSampleClip.cpp398 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 DGrDrawingManager.cpp892 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 DSkPathOpsCubic.cpp750 void SkTCubic::setBounds(SkDRect* rect) const {
751 rect->setBounds(fCubic);
/third_party/skia/modules/canvaskit/htmlcanvas/
H A Dcanvas2dcontext.js844 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 DvktDynamicRenderingRandomTests.cpp670 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 Dimx-media-csi.c426 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 Dimx-media-csi.c428 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 Ddw100.c1215 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 Dlp_setup.c146 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 Drenderer_utils.cpp919 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 DSkFontHost_FreeType.cpp1251 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 Ddri2.c2214 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 DrrRenderer.cpp824 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 DGrStyledShapeTest.cpp349 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 DImageFilterTest.cpp383 // 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 Dqxl_drv.h179 struct qxl_rect rect; member
/kernel/linux/linux-5.10/drivers/video/fbdev/sis/
H A Dsis_accel.h384 void fbcon_sis_fillrect(struct fb_info *info, const struct fb_fillrect *rect);
/kernel/linux/linux-5.10/drivers/video/fbdev/savage/
H A Dsavagefb.h402 const struct fb_fillrect *rect);
/kernel/linux/linux-5.10/include/video/
H A Dimx-ipu-v3.h246 struct v4l2_rect rect; member
/kernel/linux/linux-5.10/drivers/media/test-drivers/vimc/
H A Dvimc-scaler.c11 #include <media/v4l2-rect.h>
/kernel/linux/linux-6.6/drivers/media/test-drivers/vimc/
H A Dvimc-scaler.c12 #include <media/v4l2-rect.h>
/kernel/linux/linux-6.6/drivers/video/fbdev/savage/
H A Dsavagefb.h401 const struct fb_fillrect *rect);

Completed in 45 milliseconds

1...<<51525354555657