Home
last modified time | relevance | path

Searched refs:scissor (Results 1 – 25 of 668) sorted by relevance

12345678910>>...27

/external/mesa3d/src/mesa/state_tracker/
Dst_atom_scissor.c48 struct pipe_scissor_state scissor[PIPE_MAX_VIEWPORTS]; in st_update_scissor() local
61 scissor[i].minx = 0; in st_update_scissor()
62 scissor[i].miny = 0; in st_update_scissor()
63 scissor[i].maxx = fb_width; in st_update_scissor()
64 scissor[i].maxy = fb_height; in st_update_scissor()
71 if (ctx->Scissor.ScissorArray[i].X > (GLint)scissor[i].minx) in st_update_scissor()
72 scissor[i].minx = ctx->Scissor.ScissorArray[i].X; in st_update_scissor()
73 if (ctx->Scissor.ScissorArray[i].Y > (GLint)scissor[i].miny) in st_update_scissor()
74 scissor[i].miny = ctx->Scissor.ScissorArray[i].Y; in st_update_scissor()
76 if (xmax < (GLint) scissor[i].maxx) in st_update_scissor()
[all …]
Dst_cb_clear.c374 const struct gl_scissor_rect *scissor = &ctx->Scissor.ScissorArray[0]; in is_scissor_enabled() local
377 (scissor->X > 0 || in is_scissor_enabled()
378 scissor->Y > 0 || in is_scissor_enabled()
379 scissor->X + scissor->Width < (int)rb->Width || in is_scissor_enabled()
380 scissor->Y + scissor->Height < (int)rb->Height); in is_scissor_enabled()
466 bool scissor = is_scissor_enabled(ctx, rb); in st_Clear() local
467 if ((scissor && !st->can_scissor_clear) || in st_Clear()
473 have_scissor_buffers |= scissor && st->can_scissor_clear; in st_Clear()
516 const struct gl_scissor_rect *scissor = &ctx->Scissor.ScissorArray[0]; in st_Clear() local
518 .minx = MAX2(scissor->X, 0), in st_Clear()
[all …]
/external/deqp/android/cts/main/vk-master-2019-03-01/
Dfragment-operations.txt1 dEQP-VK.fragment_operations.scissor.points.inside
2 dEQP-VK.fragment_operations.scissor.points.partially_inside
3 dEQP-VK.fragment_operations.scissor.points.outside
4 dEQP-VK.fragment_operations.scissor.lines.inside
5 dEQP-VK.fragment_operations.scissor.lines.partially_inside
6 dEQP-VK.fragment_operations.scissor.lines.outside
7 dEQP-VK.fragment_operations.scissor.lines.crossing
8 dEQP-VK.fragment_operations.scissor.triangles.inside
9 dEQP-VK.fragment_operations.scissor.triangles.partially_inside
10 dEQP-VK.fragment_operations.scissor.triangles.outside
[all …]
/external/deqp/android/cts/main/vksc-master/
Dfragment-operations.txt1 dEQP-VKSC.fragment_operations.scissor.points.inside
2 dEQP-VKSC.fragment_operations.scissor.points.partially_inside
3 dEQP-VKSC.fragment_operations.scissor.points.outside
4 dEQP-VKSC.fragment_operations.scissor.lines.inside
5 dEQP-VKSC.fragment_operations.scissor.lines.partially_inside
6 dEQP-VKSC.fragment_operations.scissor.lines.outside
7 dEQP-VKSC.fragment_operations.scissor.lines.crossing
8 dEQP-VKSC.fragment_operations.scissor.triangles.inside
9 dEQP-VKSC.fragment_operations.scissor.triangles.partially_inside
10 dEQP-VKSC.fragment_operations.scissor.triangles.outside
[all …]
/external/deqp/external/vulkancts/mustpass/main/vksc-default/
Dfragment-operations.txt7 dEQP-VKSC.fragment_operations.scissor.points.inside
8 dEQP-VKSC.fragment_operations.scissor.points.partially_inside
9 dEQP-VKSC.fragment_operations.scissor.points.outside
10 dEQP-VKSC.fragment_operations.scissor.lines.inside
11 dEQP-VKSC.fragment_operations.scissor.lines.partially_inside
12 dEQP-VKSC.fragment_operations.scissor.lines.outside
13 dEQP-VKSC.fragment_operations.scissor.lines.crossing
14 dEQP-VKSC.fragment_operations.scissor.triangles.inside
15 dEQP-VKSC.fragment_operations.scissor.triangles.partially_inside
16 dEQP-VKSC.fragment_operations.scissor.triangles.outside
[all …]
/external/deqp/android/cts/main/vksc-main/
Dfragment-operations.txt7 dEQP-VKSC.fragment_operations.scissor.points.inside
8 dEQP-VKSC.fragment_operations.scissor.points.partially_inside
9 dEQP-VKSC.fragment_operations.scissor.points.outside
10 dEQP-VKSC.fragment_operations.scissor.lines.inside
11 dEQP-VKSC.fragment_operations.scissor.lines.partially_inside
12 dEQP-VKSC.fragment_operations.scissor.lines.outside
13 dEQP-VKSC.fragment_operations.scissor.lines.crossing
14 dEQP-VKSC.fragment_operations.scissor.triangles.inside
15 dEQP-VKSC.fragment_operations.scissor.triangles.partially_inside
16 dEQP-VKSC.fragment_operations.scissor.triangles.outside
[all …]
/external/deqp/external/vulkancts/mustpass/main/vk-default/
Dfragment-operations.txt7 dEQP-VK.fragment_operations.scissor.points.inside
8 dEQP-VK.fragment_operations.scissor.points.partially_inside
9 dEQP-VK.fragment_operations.scissor.points.outside
10 dEQP-VK.fragment_operations.scissor.lines.inside
11 dEQP-VK.fragment_operations.scissor.lines.partially_inside
12 dEQP-VK.fragment_operations.scissor.lines.outside
13 dEQP-VK.fragment_operations.scissor.lines.crossing
14 dEQP-VK.fragment_operations.scissor.triangles.inside
15 dEQP-VK.fragment_operations.scissor.triangles.partially_inside
16 dEQP-VK.fragment_operations.scissor.triangles.outside
[all …]
/external/deqp/android/cts/main/vk-master/
Dfragment-operations.txt7 dEQP-VK.fragment_operations.scissor.points.inside
8 dEQP-VK.fragment_operations.scissor.points.partially_inside
9 dEQP-VK.fragment_operations.scissor.points.outside
10 dEQP-VK.fragment_operations.scissor.lines.inside
11 dEQP-VK.fragment_operations.scissor.lines.partially_inside
12 dEQP-VK.fragment_operations.scissor.lines.outside
13 dEQP-VK.fragment_operations.scissor.lines.crossing
14 dEQP-VK.fragment_operations.scissor.triangles.inside
15 dEQP-VK.fragment_operations.scissor.triangles.partially_inside
16 dEQP-VK.fragment_operations.scissor.triangles.outside
[all …]
/external/swiftshader/tests/regres/testlists/vk-default/
Dfragment-operations.txt7 dEQP-VK.fragment_operations.scissor.points.inside
8 dEQP-VK.fragment_operations.scissor.points.partially_inside
9 dEQP-VK.fragment_operations.scissor.points.outside
10 dEQP-VK.fragment_operations.scissor.lines.inside
11 dEQP-VK.fragment_operations.scissor.lines.partially_inside
12 dEQP-VK.fragment_operations.scissor.lines.outside
13 dEQP-VK.fragment_operations.scissor.lines.crossing
14 dEQP-VK.fragment_operations.scissor.triangles.inside
15 dEQP-VK.fragment_operations.scissor.triangles.partially_inside
16 dEQP-VK.fragment_operations.scissor.triangles.outside
[all …]
/external/skia/src/gpu/ganesh/d3d/
DGrD3DOpsRenderPass.cpp143 D3D12_RECT scissor; in set_scissor_rects() local
144 scissor.left = scissorRect.fLeft; in set_scissor_rects()
145 scissor.right = scissorRect.fRight; in set_scissor_rects()
147 scissor.top = scissorRect.fTop; in set_scissor_rects()
150 scissor.top = renderTarget->height() - scissorRect.fBottom; in set_scissor_rects()
152 scissor.bottom = scissor.top + scissorRect.height(); in set_scissor_rects()
154 SkASSERT(scissor.left >= 0); in set_scissor_rects()
155 SkASSERT(scissor.top >= 0); in set_scissor_rects()
156 gpu->currentCommandList()->setScissorRects(1, &scissor); in set_scissor_rects()
201 void GrD3DOpsRenderPass::onSetScissorRect(const SkIRect& scissor) { in onSetScissorRect() argument
[all …]
/external/mesa3d/src/gallium/frontends/xa/
Dxa_priv.h111 struct pipe_scissor_state scissor; member
128 ctx->scissor.maxx = 0; in xa_scissor_reset()
129 ctx->scissor.maxy = 0; in xa_scissor_reset()
130 ctx->scissor.minx = ~0; in xa_scissor_reset()
131 ctx->scissor.miny = ~0; in xa_scissor_reset()
139 ctx->scissor.maxx = MAX2(ctx->scissor.maxx, maxx); in xa_scissor_update()
140 ctx->scissor.maxy = MAX2(ctx->scissor.maxy, maxy); in xa_scissor_update()
141 ctx->scissor.minx = MIN2(ctx->scissor.minx, minx); in xa_scissor_update()
142 ctx->scissor.miny = MIN2(ctx->scissor.miny, miny); in xa_scissor_update()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_viewport.c76 struct r600_signed_scissor *scissor) in r600_get_scissor_from_viewport() argument
88 scissor->minx = scissor->miny = 0; in r600_get_scissor_from_viewport()
89 scissor->maxx = scissor->maxy = GET_MAX_SCISSOR(rctx); in r600_get_scissor_from_viewport()
106 scissor->minx = minx; in r600_get_scissor_from_viewport()
107 scissor->miny = miny; in r600_get_scissor_from_viewport()
108 scissor->maxx = ceilf(maxx); in r600_get_scissor_from_viewport()
109 scissor->maxy = ceilf(maxy); in r600_get_scissor_from_viewport()
114 struct r600_signed_scissor *scissor) in r600_clamp_scissor() argument
117 out->minx = CLAMP(scissor->minx, 0, max_scissor); in r600_clamp_scissor()
118 out->miny = CLAMP(scissor->miny, 0, max_scissor); in r600_clamp_scissor()
[all …]
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_viewport.c145 struct si_signed_scissor *scissor) in si_get_scissor_from_viewport() argument
168 scissor->minx = minx; in si_get_scissor_from_viewport()
169 scissor->miny = miny; in si_get_scissor_from_viewport()
170 scissor->maxx = ceilf(maxx); in si_get_scissor_from_viewport()
171 scissor->maxy = ceilf(maxy); in si_get_scissor_from_viewport()
175 struct si_signed_scissor *scissor) in si_clamp_scissor() argument
177 out->minx = CLAMP(scissor->minx, 0, SI_MAX_SCISSOR); in si_clamp_scissor()
178 out->miny = CLAMP(scissor->miny, 0, SI_MAX_SCISSOR); in si_clamp_scissor()
179 out->maxx = CLAMP(scissor->maxx, 0, SI_MAX_SCISSOR); in si_clamp_scissor()
180 out->maxy = CLAMP(scissor->maxy, 0, SI_MAX_SCISSOR); in si_clamp_scissor()
[all …]
/external/angle/src/libANGLE/renderer/d3d/d3d9/
DFramebuffer9.cpp219 const gl::Rectangle *scissor, in blitImpl() argument
275 if (scissor) in blitImpl()
277 if (dstRect.left < scissor->x) in blitImpl()
279 srcRect.left += (scissor->x - dstRect.left); in blitImpl()
280 dstRect.left = scissor->x; in blitImpl()
282 if (dstRect.top < scissor->y) in blitImpl()
284 srcRect.top += (scissor->y - dstRect.top); in blitImpl()
285 dstRect.top = scissor->y; in blitImpl()
287 if (dstRect.right > scissor->x + scissor->width) in blitImpl()
289 srcRect.right -= (dstRect.right - (scissor->x + scissor->width)); in blitImpl()
[all …]
/external/skia/src/gpu/ganesh/ops/
DClearOp.cpp28 const GrScissorState& scissor, in MakeColor() argument
30 return GrOp::Make<ClearOp>(context, Buffer::kColor, scissor, color, false); in MakeColor()
34 const GrScissorState& scissor, in MakeStencilClip() argument
38 scissor, in MakeStencilClip()
44 const GrScissorState& scissor, in ClearOp() argument
48 , fScissor(scissor) in ClearOp()
52 this->setBounds(SkRect::Make(scissor.rect()), HasAABloat::kNo, IsHairline::kNo); in ClearOp()
/external/deqp/modules/gles3/functional/
Des3fRasterizerDiscardTests.cpp435 …tcu::TestCaseGroup* scissor = new tcu::TestCaseGroup(m_testCtx, "scissor", "Rasterizer discard tes… in init() local
439 addChild(scissor); in init()
466scissor->addChild(new RasterizerDiscardCase(m_context, "write_depth_points", "points", 4, CASE… in init()
467scissor->addChild(new RasterizerDiscardCase(m_context, "write_depth_lines", "lines", 4, CASE_… in init()
468scissor->addChild(new RasterizerDiscardCase(m_context, "write_depth_line_strip", "line_strip", 4… in init()
469scissor->addChild(new RasterizerDiscardCase(m_context, "write_depth_line_loop", "line_loop", 4,… in init()
470scissor->addChild(new RasterizerDiscardCase(m_context, "write_depth_triangles", "triangles", 4,… in init()
471scissor->addChild(new RasterizerDiscardCase(m_context, "write_depth_triangle_strip", "triangle_str… in init()
472scissor->addChild(new RasterizerDiscardCase(m_context, "write_depth_triangle_fan", "triangle_fan"… in init()
474scissor->addChild(new RasterizerDiscardCase(m_context, "write_stencil_points", "points", 4, CA… in init()
[all …]
Des3fDepthStencilClearTests.cpp73 , scissor (0, 0, 0, 0) in Clear()
84 tcu::IVec4 scissor; member
121 …ar* description, int numIters, int numClears, bool depth, bool stencil, bool scissor, bool masked);
145 …har* description, int numIters, int numClears, bool depth, bool stencil, bool scissor, bool masked) in DepthStencilClearCase() argument
149 , m_testScissor (scissor) in DepthStencilClearCase()
249 clear->scissor = tcu::IVec4(x, y, w, h); in generateClears()
299 gl.scissor(clear->scissor.x(), clear->scissor.y(), clear->scissor.z(), clear->scissor.w()); in renderGL()
427 …tcu::IVec4 clearRect = clear->useScissor ? clear->scissor : tcu::IVec4(0, 0, dst.getWidth(), dst.g… in renderReference()
471 …tcu::IVec4 clearRect = clear->useScissor ? clear->scissor : tcu::IVec4(0, 0, dst.getWidth(), dst.g… in renderReference()
/external/deqp/android/cts/main/vk-master-2020-03-01/
Ddraw.txt122 dEQP-VK.draw.renderpass.scissor.static_scissor_two_quads
123 dEQP-VK.draw.renderpass.scissor.static_scissor_two_clears
124 dEQP-VK.draw.renderpass.scissor.two_static_scissors_one_quad
125 dEQP-VK.draw.renderpass.scissor.static_scissor_partially_outside_viewport
126 dEQP-VK.draw.renderpass.scissor.static_scissor_outside_viewport
127 dEQP-VK.draw.renderpass.scissor.static_scissor_viewport_border
128 dEQP-VK.draw.renderpass.scissor.static_scissor_max_int32
129 dEQP-VK.draw.renderpass.scissor.16_static_scissors
130 dEQP-VK.draw.renderpass.scissor.empty_static_scissor
131 dEQP-VK.draw.renderpass.scissor.dynamic_scissor_two_quads
[all …]
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DClear11.cpp418 if (clearParams.scissor.x >= framebufferSize.width || in clearFramebuffer()
419 clearParams.scissor.y >= framebufferSize.height || clearParams.scissor.width == 0 || in clearFramebuffer()
420 clearParams.scissor.height == 0) in clearFramebuffer()
428 if (clearParams.scissor.x + clearParams.scissor.width <= 0 || in clearFramebuffer()
429 clearParams.scissor.y + clearParams.scissor.height <= 0) in clearFramebuffer()
435 clearParams.scissor.x > 0 || clearParams.scissor.y > 0 || in clearFramebuffer()
436 clearParams.scissor.x + clearParams.scissor.width < framebufferSize.width || in clearFramebuffer()
437 clearParams.scissor.y + clearParams.scissor.height < framebufferSize.height; in clearFramebuffer()
443 scissorRect.left = clearParams.scissor.x; in clearFramebuffer()
444 scissorRect.right = scissorRect.left + clearParams.scissor.width; in clearFramebuffer()
[all …]
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Drasterizer_impl.h657 SWR_RECT scissor;
658 scissor.xmin = std::max(triBBox.xmin, scissorBBox.xmin);
659 scissor.xmax = std::min(triBBox.xmax, scissorBBox.xmax);
660 scissor.ymin = std::max(triBBox.ymin, scissorBBox.ymin);
661 scissor.ymax = std::min(triBBox.ymax, scissorBBox.ymax);
663 POS topLeft{scissor.xmin, scissor.ymin};
664 POS bottomLeft{scissor.xmin, scissor.ymax};
665 POS topRight{scissor.xmax, scissor.ymin};
666 POS bottomRight{scissor.xmax, scissor.ymax};
674 vEdgeFix16[3] = _mm256_set1_pd((rastEdges[3].a * (x - scissor.xmin)) +
[all …]
/external/deqp/doc/testspecs/GLES2/
Dfunctional.scissors.txt22 + dEQP-GLES2.functional.scissor.*
23 + dEQP-GLES3.functional.scissor.*
45 This test set compares images rendered by the target with the scissor test
46 enabled to references generated with the scissor test disabled but with
47 areas outside the scissor rectangle cleared by the test logic.
49 All primitive types are tested in all reasonable scissor configurations
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_setup_context.h183 const struct u_rect *scissor) in scissor_planes_needed() argument
186 scis_planes[0] = (bbox->x0 < scissor->x0); in scissor_planes_needed()
188 scis_planes[1] = (bbox->x1 > scissor->x1); in scissor_planes_needed()
190 scis_planes[2] = (bbox->y0 < scissor->y0); in scissor_planes_needed()
192 scis_planes[3] = (bbox->y1 > scissor->y1); in scissor_planes_needed()
/external/deqp/modules/gles2/functional/
Des2fDepthStencilClearTests.cpp73 , scissor (0, 0, 0, 0) in Clear()
84 tcu::IVec4 scissor; member
121 …ar* description, int numIters, int numClears, bool depth, bool stencil, bool scissor, bool masked);
145 …har* description, int numIters, int numClears, bool depth, bool stencil, bool scissor, bool masked) in DepthStencilClearCase() argument
149 , m_testScissor (scissor) in DepthStencilClearCase()
246 clear->scissor = tcu::IVec4(x, y, w, h); in generateClears()
296 gl.scissor(clear->scissor.x(), clear->scissor.y(), clear->scissor.z(), clear->scissor.w()); in renderGL()
424 …tcu::IVec4 clearRect = clear->useScissor ? clear->scissor : tcu::IVec4(0, 0, dst.getWidth(), dst.g… in renderReference()
468 …tcu::IVec4 clearRect = clear->useScissor ? clear->scissor : tcu::IVec4(0, 0, dst.getWidth(), dst.g… in renderReference()
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawDiscardRectanglesTests.cpp397 const VkRect2D scissor) in generateReferenceImage() argument
421 tcu::clear(tcu::getSubregion(image.getAccess(), scissor.offset.x, scissor.offset.y, in generateReferenceImage()
422 scissor.extent.width, scissor.extent.height), in generateReferenceImage()
433 if ((x >= (deUint32)scissor.offset.x) && (x < (scissor.offset.x + scissor.extent.width)) && in generateReferenceImage()
434 (y >= (deUint32)scissor.offset.y) && (y < (scissor.offset.y + scissor.extent.height))) in generateReferenceImage()
835 for (deUint32 scissor = 0 ; scissor < TEST_SCISSOR_MODE_COUNT; scissor++) in createTests() local
847 (TestScissorMode)scissor, // TestScissorMode scissorMode; in createTests()
851 …name << dynamicName[dynamic] << scissorName[scissor] << modeName[mode] << "rect_" << numRect[rect]; in createTests()
/external/angle/src/tests/egl_tests/
DEGLSurfacelessContextTest.cpp166 GLint scissor[4] = {1, 2, 3, 4}; in TEST_P() local
167 glGetIntegerv(GL_SCISSOR_BOX, scissor); in TEST_P()
169 ASSERT_EQ(0, scissor[0]); in TEST_P()
170 ASSERT_EQ(0, scissor[1]); in TEST_P()
171 ASSERT_EQ(0, scissor[2]); in TEST_P()
172 ASSERT_EQ(0, scissor[3]); in TEST_P()

12345678910>>...27