Searched defs:scissor (Results 1 - 25 of 80) sorted by relevance

1234

/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_state_dump.c315 vp->scissor.xmin, vp->scissor.ymin);
317 vp->scissor.xmax, vp->scissor.ymax);
432 struct gen6_scissor_rect *scissor = intel->batch.bo->virtual + offset; local
435 scissor->xmin, scissor->ymin);
437 scissor->xmax, scissor->ymax);
/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/deqp/modules/gles2/functional/
H A Des2fScissorTests.cpp40 : TestCaseGroup (context, "scissor", "Scissor Tests")
60 const tcu::Vec4 scissor; member in struct:deqp::gles2::Functional::__anon4201
66 { "contained_tris", "Triangles fully inside scissor area (single call)", Vec4(0.1f, 0.1f, 0.8f, 0.8f), Vec4(0.2f, 0.2f, 0.6f, 0.6f), TRIANGLE, 30 },
67 { "partial_tris", "Triangles partially inside scissor area (single call)", Vec4(0.3f, 0.3f, 0.4f, 0.4f), Vec4(0.2f, 0.2f, 0.6f, 0.6f), TRIANGLE, 30 },
68 { "contained_tri", "Triangle fully inside scissor area", Vec4(0.1f, 0.1f, 0.8f, 0.8f), Vec4(0.2f, 0.2f, 0.6f, 0.6f), TRIANGLE, 1 },
69 { "enclosing_tri", "Triangle fully covering scissor area", Vec4(0.4f, 0.4f, 0.2f, 0.2f), Vec4(0.2f, 0.2f, 0.6f, 0.6f), TRIANGLE, 1 },
70 { "partial_tri", "Triangle partially inside scissor area", Vec4(0.4f, 0.4f, 0.6f, 0.6f), Vec4(0.0f, 0.0f, 1.0f, 1.0f), TRIANGLE, 1 },
71 { "outside_render_tri", "Triangle with scissor area outside render target", Vec4(1.4f, 1.4f, 0.6f, 0.6f), Vec4(0.0f, 0.0f, 0.6f, 0.6f), TRIANGLE, 1 },
72 { "partial_lines", "Linse partially inside scissor area", Vec4(0.4f, 0.4f, 0.6f, 0.6f), Vec4(0.0f, 0.0f, 1.0f, 1.0f), LINE, 30 },
73 { "contained_line", "Line fully inside scissor are
[all...]
H A Des2fDepthStencilClearTests.cpp73 , scissor (0, 0, 0, 0)
84 tcu::IVec4 scissor; member in struct:deqp::gles2::Functional::__anon4178::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/modules/gles3/functional/
H A Des3fScissorTests.cpp50 TestCaseGroup (context, "scissor", "Scissor Tests")
70 const tcu::Vec4 scissor; member in struct:deqp::gles3::Functional::__anon4351
76 { "contained_quads", "Triangles fully inside scissor area (single call)", Vec4(0.1f, 0.1f, 0.8f, 0.8f), Vec4(0.2f, 0.2f, 0.6f, 0.6f), TRIANGLE, 30 },
77 { "partial_quads", "Triangles partially inside scissor area (single call)", Vec4(0.3f, 0.3f, 0.4f, 0.4f), Vec4(0.2f, 0.2f, 0.6f, 0.6f), TRIANGLE, 30 },
78 { "contained_tri", "Triangle fully inside scissor area", Vec4(0.1f, 0.1f, 0.8f, 0.8f), Vec4(0.2f, 0.2f, 0.6f, 0.6f), TRIANGLE, 1 },
79 { "enclosing_tri", "Triangle fully covering scissor area", Vec4(0.4f, 0.4f, 0.2f, 0.2f), Vec4(0.2f, 0.2f, 0.6f, 0.6f), TRIANGLE, 1 },
80 { "partial_tri", "Triangle partially inside scissor area", Vec4(0.4f, 0.4f, 0.6f, 0.6f), Vec4(0.0f, 0.0f, 1.0f, 1.0f), TRIANGLE, 1 },
81 { "outside_render_tri", "Triangle with scissor area outside render target", Vec4(1.4f, 1.4f, 0.6f, 0.6f), Vec4(0.0f, 0.0f, 0.6f, 0.6f), TRIANGLE, 1 },
82 { "partial_lines", "Linse partially inside scissor area", Vec4(0.4f, 0.4f, 0.6f, 0.6f), Vec4(0.0f, 0.0f, 1.0f, 1.0f), LINE, 30 },
83 { "contained_line", "Line fully inside scissor are
[all...]
H A Des3fDepthStencilClearTests.cpp73 , scissor (0, 0, 0, 0)
84 tcu::IVec4 scissor; member in struct:deqp::gles3::Functional::__anon4305::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/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_context.h77 struct pipe_scissor_state scissor; member in struct:llvmpipe_context
H A Dlp_setup_context.h107 struct u_rect scissor; member in struct:lp_setup_context
108 struct u_rect draw_region; /* intersection of fb & scissor */
/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
/external/skia/src/gpu/batches/
H A DGrStencilPathBatch.h25 const GrScissorState& scissor,
28 return new GrStencilPathBatch(viewMatrix, useHWAA, stencil, scissor, renderTarget, path);
46 const GrScissorState& scissor,
53 , fScissor(scissor)
22 Create(const SkMatrix& viewMatrix, bool useHWAA, const GrStencilSettings& stencil, const GrScissorState& scissor, GrRenderTarget* renderTarget, const GrPath* path) argument
43 GrStencilPathBatch(const SkMatrix& viewMatrix, bool useHWAA, const GrStencilSettings& stencil, const GrScissorState& scissor, GrRenderTarget* renderTarget, const GrPath* path) argument
/external/deqp/external/vulkancts/modules/vulkan/draw/
H A DvktDrawBaseClass.cpp168 vk::VkRect2D scissor; local
169 scissor.offset.x = 0;
170 scissor.offset.y = 0;
171 scissor.extent.width = WIDTH;
172 scissor.extent.height = HEIGHT;
180 pipelineCreateInfo.addState(PipelineCreateInfo::ViewportState(1, std::vector<vk::VkViewport>(1, viewport), std::vector<vk::VkRect2D>(1, scissor)));
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/utils/
H A DScissorStack.java37 /** Pushes a new scissor {@link Rectangle} onto the stack, merging it with the current top of the stack. The minimal area of
39 * {@link GL20#glScissor(int, int, int, int)} with the final top of stack rectangle. In case no scissor is yet on the stack
43 * @return true if the scissors were pushed. false if the scissor area was zero, in this case the scissors were not pushed and
45 public static boolean pushScissors (Rectangle scissor) { argument
46 fix(scissor);
49 if (scissor.width < 1 || scissor.height < 1) return false;
54 float minX = Math.max(parent.x, scissor.x);
55 float maxX = Math.min(parent.x + parent.width, scissor.x + scissor
108 calculateScissors(Camera camera, Matrix4 batchTransform, Rectangle area, Rectangle scissor) argument
121 calculateScissors(Camera camera, float viewportX, float viewportY, float viewportWidth, float viewportHeight, Matrix4 batchTransform, Rectangle area, Rectangle scissor) argument
[all...]
/external/deqp/modules/gles31/functional/
H A Des31fNegativeFragmentApiTests.cpp48 void scissor (NegativeTestContext& ctx) function in namespace:deqp::gles31::Functional::NegativeTestShared
477 {scissor, "scissor", "Invalid glScissor() usage" },
/external/autotest/client/deps/glbench/src/
H A Dwindowmanagercompositingtest.cc19 WindowManagerCompositingTest(bool scissor) argument
20 : scissor_(scissor),
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/
H A DvktDynamicStateBaseClass.cpp232 vk::VkRect2D scissor; local
233 scissor.offset.x = 0;
234 scissor.offset.y = 0;
235 scissor.extent.width = width;
236 scissor.extent.height = height;
237 m_vk.cmdSetScissor(*m_cmdBuffer, 0, 1, &scissor);
H A DvktDynamicStateVPTests.cpp142 const vk::VkRect2D scissor = { { 0, 0 }, { WIDTH, HEIGHT } }; local
144 setDynamicViewportState(1, &viewport, &scissor);
189 const vk::VkRect2D scissor = { { 0, 0 }, { WIDTH / 2, HEIGHT / 2 } }; local
191 setDynamicViewportState(1, &viewport, &scissor);
400 addChild(new InstanceFactory<ScissorParamTestInstance>(m_testCtx, "scissor", "Perform a scissor test on 1/4 bottom-left part of the surface", shaderPaths));
/external/libgdx/gdx/src/com/badlogic/gdx/utils/viewport/
H A DViewport.java111 public void calculateScissors (Matrix4 batchTransform, Rectangle area, Rectangle scissor) { argument
112 ScissorStack.calculateScissors(camera, screenX, screenY, screenWidth, screenHeight, batchTransform, area, scissor);
/external/mesa3d/src/gallium/auxiliary/vl/
H A Dvl_compositor.h80 struct pipe_scissor_state scissor; member in struct:vl_compositor_state
/external/mesa3d/src/gallium/drivers/nv30/
H A Dnv30_state.c376 const struct pipe_scissor_state *scissor)
380 nv30->scissor = *scissor;
375 nv30_set_scissor_state(struct pipe_context *pipe, const struct pipe_scissor_state *scissor) argument
/external/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_state.h78 struct si_pm4_state *scissor; member in struct:si_state::__anon14088
/external/mesa3d/src/gallium/drivers/svga/
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/skia/src/gpu/
H A DGrPathRendering.h135 const GrScissorState* scissor,
140 , fScissor(scissor)
132 StencilPathArgs(bool useHWAA, GrRenderTarget* renderTarget, const SkMatrix* viewMatrix, const GrScissorState* scissor, const GrStencilSettings* stencil) argument
/external/skia/tests/
H A DGLProgramsTest.cpp328 // dummy scissor state
329 GrScissorState scissor; local

Completed in 884 milliseconds

1234