Searched refs:scissor (Results 1 - 25 of 200) sorted by relevance

12345678

/external/mesa3d/src/mesa/state_tracker/
H A Dst_atom_scissor.c41 * Scissor depends on the scissor box, and the framebuffer dimensions.
46 struct pipe_scissor_state scissor; local
51 scissor.minx = 0;
52 scissor.miny = 0;
53 scissor.maxx = fb->Width;
54 scissor.maxy = fb->Height;
61 if (ctx->Scissor.X > (GLint)scissor.minx)
62 scissor.minx = ctx->Scissor.X;
63 if (ctx->Scissor.Y > (GLint)scissor.miny)
64 scissor
[all...]
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dgen6_scissor_state.c40 struct gen6_scissor_rect *scissor; local
43 scissor = brw_state_batch(brw, AUB_TRACE_SCISSOR_STATE,
44 sizeof(*scissor), 32, &scissor_state_offset);
48 /* The scissor only needs to handle the intersection of drawable and
49 * scissor rect. Clipping to the boundaries of static shared buffers
57 /* If the scissor was out of bounds and got clamped to 0
60 * anything. Instead, just provide a min > max scissor inside
63 scissor->xmin = 1;
64 scissor->xmax = 0;
65 scissor
[all...]
H A Dbrw_sf_state.c78 /* The scissor only needs to handle the intersection of drawable
79 * and scissor rect, since there are no longer cliprects for shared
88 /* If the scissor was out of bounds and got clamped to 0
91 * anything. Instead, just provide a min > max scissor inside
94 sfv->scissor.xmin = 1;
95 sfv->scissor.xmax = 0;
96 sfv->scissor.ymin = 1;
97 sfv->scissor.ymax = 0;
100 sfv->scissor.xmin = ctx->DrawBuffer->_Xmin;
101 sfv->scissor
[all...]
/external/swiftshader/src/OpenGL/libGLES_CM/
H A DDevice.cpp526 sw::Rect scissor; local
527 scissor.x0 = scissorRect.x0;
528 scissor.x1 = scissorRect.x1;
529 scissor.y0 = scissorRect.y0;
530 scissor.y1 = scissorRect.y1;
532 setScissor(scissor);
536 sw::Rect scissor; local
537 scissor.x0 = viewport.x0;
538 scissor.x1 = viewport.x0 + viewport.width;
539 scissor
[all...]
/external/autotest/client/deps/glbench/src/
H A Dall_tests.h20 TestBase* GetWindowManagerCompositingTest(bool scissor);
/external/skia/src/gpu/ops/
H A DGrStencilPathOp.h28 const GrScissorState& scissor,
32 hasStencilClip, numStencilBits, scissor,
51 const GrScissorState& scissor,
59 , fScissor(scissor)
23 Make(const SkMatrix& viewMatrix, bool useHWAA, GrPathRendering::FillType fillType, bool hasStencilClip, int numStencilBits, const GrScissorState& scissor, GrRenderTarget* renderTarget, const GrPath* path) argument
46 GrStencilPathOp(const SkMatrix& viewMatrix, bool useHWAA, GrPathRendering::FillType fillType, bool hasStencilClip, int numStencilBits, const GrScissorState& scissor, GrRenderTarget* renderTarget, const GrPath* path) argument
/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_state_clip.c62 const struct pipe_scissor_state *scissor)
68 llvmpipe->scissor = *scissor; /* struct copy */
61 llvmpipe_set_scissor_state(struct pipe_context *pipe, const struct pipe_scissor_state *scissor) argument
H A Dlp_setup.h79 boolean scissor,
120 const struct pipe_scissor_state *scissor );
H A Dlp_setup.c484 boolean scissor,
494 if (setup->scissor_test != scissor) {
496 setup->scissor_test = scissor;
600 const struct pipe_scissor_state *scissor )
604 assert(scissor);
606 setup->scissor.x0 = scissor->minx;
607 setup->scissor.x1 = scissor->maxx-1;
608 setup->scissor
481 lp_setup_set_triangle_state( struct lp_setup_context *setup, unsigned cull_mode, boolean ccw_is_frontface, boolean scissor, boolean gl_rasterization_rules) argument
[all...]
/external/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_state_clip.c62 const struct pipe_scissor_state *scissor)
68 softpipe->scissor = *scissor; /* struct copy */
61 softpipe_set_scissor_state(struct pipe_context *pipe, const struct pipe_scissor_state *scissor) argument
H A Dsp_state_derived.c174 * Recompute cliprect from scissor bounds, scissor enable and surface size.
186 if (sp->rasterizer->scissor) {
190 * clip to scissor rect:
192 sp->cliprect.minx = MAX2(sp->scissor.minx, 0);
193 sp->cliprect.miny = MAX2(sp->scissor.miny, 0);
194 sp->cliprect.maxx = MIN2(sp->scissor.maxx, surfWidth);
195 sp->cliprect.maxy = MIN2(sp->scissor.maxy, surfHeight);
/external/swiftshader/src/OpenGL/libGL/
H A DDevice.cpp686 sw::Rect scissor; local
687 scissor.x0 = scissorRect.x0;
688 scissor.x1 = scissorRect.x1;
689 scissor.y0 = scissorRect.y0;
690 scissor.y1 = scissorRect.y1;
692 setScissor(scissor);
696 sw::Rect scissor; local
697 scissor.x0 = viewport.x0;
698 scissor.x1 = viewport.x0 + viewport.width;
699 scissor
[all...]
/external/swiftshader/src/OpenGL/libGLESv2/
H A DDevice.cpp792 sw::Rect scissor; local
793 scissor.x0 = scissorRect.x0;
794 scissor.x1 = scissorRect.x1;
795 scissor.y0 = scissorRect.y0;
796 scissor.y1 = scissorRect.y1;
798 setScissor(scissor);
802 sw::Rect scissor; local
803 scissor.x0 = viewport.x0;
804 scissor.x1 = viewport.x0 + viewport.width;
805 scissor
[all...]
/external/deqp/modules/gles3/functional/
H A Des3fRasterizerDiscardTests.cpp435 tcu::TestCaseGroup* scissor = new tcu::TestCaseGroup(m_testCtx, "scissor", "Rasterizer discard test for default framebuffer with scissor test enabled"); local
439 addChild(scissor);
464 // Default framebuffer cases with scissor test enabled
466 scissor->addChild(new RasterizerDiscardCase(m_context, "write_depth_points", "points", 4, CASE_WRITE_DEPTH, CASEOPTION_SCISSOR, GL_POINTS));
467 scissor->addChild(new RasterizerDiscardCase(m_context, "write_depth_lines", "lines", 4, CASE_WRITE_DEPTH, CASEOPTION_SCISSOR, GL_LINES));
468 scissor->addChild(new RasterizerDiscardCase(m_context, "write_depth_line_strip", "line_strip", 4, CASE_WRITE_DEPTH, CASEOPTION_SCISSOR, GL_LINE_STRIP));
469 scissor->addChild(new RasterizerDiscardCase(m_context, "write_depth_line_loop", "line_loop", 4, CASE_WRITE_DEPTH, CASEOPTION_SCISSOR, GL_LINE_LOOP));
470 scissor
[all...]
H A Des3fDepthStencilClearTests.cpp73 , scissor (0, 0, 0, 0)
84 tcu::IVec4 scissor; member in struct:deqp::gles3::Functional::__anon4415::Clear
121 DepthStencilClearCase (Context& context, const char* name, const char* description, int numIters, int numClears, bool depth, bool stencil, bool scissor, bool masked);
145 DepthStencilClearCase::DepthStencilClearCase (Context& context, const char* name, const char* description, int numIters, int numClears, bool depth, bool stencil, bool scissor, bool masked) argument
149 , m_testScissor (scissor)
249 clear->scissor = tcu::IVec4(x, y, w, h);
299 gl.scissor(clear->scissor.x(), clear->scissor.y(), clear->scissor
[all...]
/external/deqp/modules/egl/
H A DteglGLES2RenderUtil.cpp38 gl.scissor(x, y, width, height);
/external/mesa3d/src/gallium/drivers/i915/
H A Di915_state_dynamic.c269 unsigned x1 = i915->scissor.minx;
270 unsigned y1 = i915->scissor.miny;
271 unsigned x2 = i915->scissor.maxx - 1;
272 unsigned y2 = i915->scissor.maxy - 1;
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_pipe_misc.c35 const struct pipe_scissor_state *scissor )
39 memcpy( &svga->curr.scissor, scissor, sizeof(*scissor) );
H A Dsvga_state_framebuffer.c464 const struct pipe_scissor_state *scissor = &svga->curr.scissor; local
467 rect.x = scissor->minx;
468 rect.y = scissor->miny;
469 rect.w = scissor->maxx - scissor->minx; /* + 1 ?? */
470 rect.h = scissor->maxy - scissor->miny; /* + 1 ?? */
478 "hw scissor state",
/external/deqp/external/vulkancts/modules/vulkan/draw/
H A DvktDrawBaseClass.cpp174 vk::VkRect2D scissor; local
175 scissor.offset.x = 0;
176 scissor.offset.y = 0;
177 scissor.extent.width = WIDTH;
178 scissor.extent.height = HEIGHT;
186 pipelineCreateInfo.addState(PipelineCreateInfo::ViewportState(1, std::vector<vk::VkViewport>(1, viewport), std::vector<vk::VkRect2D>(1, scissor)));
/external/skia/src/gpu/vk/
H A DGrVkPipeline.cpp490 // We always use one scissor and if it is disabled we just make it the size of the RT
492 VkRect2D scissor;
497 scissor.offset.x = SkTMax(scissorState.rect().fLeft, 0);
498 scissor.extent.width = scissorState.rect().width();
500 scissor.offset.y = scissorState.rect().fTop;
503 scissor.offset.y = target.height() - scissorState.rect().fBottom;
505 scissor.offset.y = SkTMax(scissor.offset.y, 0);
506 scissor.extent.height = scissorState.rect().height();
508 SkASSERT(scissor
[all...]
H A DGrVkGpuCommandBuffer.cpp257 const SkIRect& scissor = clip.scissorRect(); local
258 vkRect.setLTRB(scissor.fLeft, fRenderTarget->height() - scissor.fBottom,
259 scissor.fRight, fRenderTarget->height() - scissor.fTop);
343 const SkIRect& scissor = clip.scissorRect(); local
344 vkRect.setLTRB(scissor.fLeft, fRenderTarget->height() - scissor.fBottom,
345 scissor.fRight, fRenderTarget->height() - scissor
[all...]
/external/deqp/modules/gles2/functional/
H A Des2fDepthStencilClearTests.cpp73 , scissor (0, 0, 0, 0)
84 tcu::IVec4 scissor; member in struct:deqp::gles2::Functional::__anon4288::Clear
121 DepthStencilClearCase (Context& context, const char* name, const char* description, int numIters, int numClears, bool depth, bool stencil, bool scissor, bool masked);
145 DepthStencilClearCase::DepthStencilClearCase (Context& context, const char* name, const char* description, int numIters, int numClears, bool depth, bool stencil, bool scissor, bool masked) argument
149 , m_testScissor (scissor)
246 clear->scissor = tcu::IVec4(x, y, w, h);
296 gl.scissor(clear->scissor.x(), clear->scissor.y(), clear->scissor
[all...]
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/
H A DvktDynamicStateBaseClass.cpp234 vk::VkRect2D scissor; local
235 scissor.offset.x = 0;
236 scissor.offset.y = 0;
237 scissor.extent.width = width;
238 scissor.extent.height = height;
239 m_vk.cmdSetScissor(*m_cmdBuffer, 0, 1, &scissor);
/external/skia/src/gpu/
H A DGrPathRendering.h140 const GrScissorState* scissor,
145 , fScissor(scissor)
137 StencilPathArgs(bool useHWAA, GrRenderTarget* renderTarget, const SkMatrix* viewMatrix, const GrScissorState* scissor, const GrStencilSettings* stencil) argument

Completed in 409 milliseconds

12345678