HomeSort by relevance Sort by last modified time
    Searched refs:scissor (Results 1 - 25 of 278) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/mesa3d/src/mesa/state_tracker/
st_atom_scissor.c 42 * Scissor depends on the scissor box, and the framebuffer dimensions.
47 struct pipe_scissor_state scissor[PIPE_MAX_VIEWPORTS]; local
57 scissor[i].minx = 0;
58 scissor[i].miny = 0;
59 scissor[i].maxx = fb_width;
60 scissor[i].maxy = fb_height;
62 if (ctx->Scissor.EnableFlags & (1 << i)) {
64 GLint xmax = MAX2(0, ctx->Scissor.ScissorArray[i].X + ctx->Scissor.ScissorArray[i].Width)
111 const struct gl_scissor_attrib *scissor = &ctx->Scissor; local
    [all...]
  /external/mesa3d/src/gallium/drivers/etnaviv/
etnaviv_rasterizer.h 44 bool scissor; member in struct:etna_rasterizer_state
etnaviv_rasterizer.c 67 /* so->scissor overrides the scissor, defaulting to the whole framebuffer,
68 * with the scissor state */
69 cs->scissor = so->scissor;
  /external/skia/src/gpu/
GrReducedClip.h 41 * enforce this scissor during draw.
43 const SkIRect& scissor() const { SkASSERT(fHasScissor); return fScissor; } function in class:GrReducedClip
44 int left() const { return this->scissor().left(); }
45 int top() const { return this->scissor().top(); }
46 int width() const { return this->scissor().width(); }
47 int height() const { return this->scissor().height(); }
50 * Indicates whether scissor() is defined. It will always be defined if the maskElements() are
70 * inside of scissor().
GrPathRendering.h 95 const GrScissorState* scissor,
100 , fScissor(scissor)
GrClipStackClip.cpp 182 if (PathNeedsSWRenderer(context, reducedClip.scissor(), hasUserStencilSettings,
192 // scissor, or entirely software
226 if (reducedClip.hasScissor() && !GrClip::IsInsideClip(reducedClip.scissor(), devBounds)) {
227 out->hardClip().addScissor(reducedClip.scissor(), bounds);
261 const SkIRect& scissor = reducedClip.scissor(); local
262 SkASSERT(rtIBounds.contains(scissor)); // Mask shouldn't be larger than the RT.
281 out->addCoverageFP(create_fp_for_mask(std::move(result), reducedClip.scissor()));
300 if (renderTargetContext->priv().mustRenderClip(reducedClip.maskGenID(), reducedClip.scissor(),
303 renderTargetContext->priv().setLastClip(reducedClip.maskGenID(), reducedClip.scissor(),
405 const SkIRect& scissor() const { return fScissor; } function in class:__anon38135::ClipMaskData
    [all...]
  /external/skqp/src/gpu/
GrReducedClip.h 41 * enforce this scissor during draw.
43 const SkIRect& scissor() const { SkASSERT(fHasScissor); return fScissor; } function in class:GrReducedClip
44 int left() const { return this->scissor().left(); }
45 int top() const { return this->scissor().top(); }
46 int width() const { return this->scissor().width(); }
47 int height() const { return this->scissor().height(); }
50 * Indicates whether scissor() is defined. It will always be defined if the maskElements() are
70 * inside of scissor().
GrPathRendering.h 95 const GrScissorState* scissor,
100 , fScissor(scissor)
GrClipStackClip.cpp 181 if (PathNeedsSWRenderer(context, reducedClip.scissor(), hasUserStencilSettings,
191 // scissor, or entirely software
225 if (reducedClip.hasScissor() && !GrClip::IsInsideClip(reducedClip.scissor(), devBounds)) {
226 out->hardClip().addScissor(reducedClip.scissor(), bounds);
259 const SkIRect& scissor = reducedClip.scissor(); local
260 SkASSERT(rtIBounds.contains(scissor)); // Mask shouldn't be larger than the RT.
279 out->addCoverageFP(create_fp_for_mask(std::move(result), reducedClip.scissor()));
298 if (renderTargetContext->priv().mustRenderClip(reducedClip.maskGenID(), reducedClip.scissor(),
301 renderTargetContext->priv().setLastClip(reducedClip.maskGenID(), reducedClip.scissor(),
403 const SkIRect& scissor() const { return fScissor; } function in class:__anon38938::ClipMaskData
    [all...]
  /external/swiftshader/src/OpenGL/libGLES_CM/
Device.cpp 477 sw::Rect scissor; local
478 scissor.x0 = scissorRect.x0;
479 scissor.x1 = scissorRect.x1;
480 scissor.y0 = scissorRect.y0;
481 scissor.y1 = scissorRect.y1;
483 setScissor(scissor);
487 sw::Rect scissor; local
488 scissor.x0 = viewport.x0;
489 scissor.x1 = viewport.x0 + viewport.width;
490 scissor.y0 = viewport.y0
    [all...]
  /external/mesa3d/src/gallium/state_trackers/xa/
xa_priv.h 110 /* destination scissor state.. we scissor out untouched parts
113 struct pipe_scissor_state scissor; member in struct:xa_context
129 ctx->scissor.maxx = 0;
130 ctx->scissor.maxy = 0;
131 ctx->scissor.minx = ~0;
132 ctx->scissor.miny = ~0;
140 ctx->scissor.maxx = MAX2(ctx->scissor.maxx, maxx);
141 ctx->scissor.maxy = MAX2(ctx->scissor.maxy, maxy)
    [all...]
  /external/skia/src/gpu/ops/
GrStencilPathOp.cpp 22 const GrScissorState& scissor,
27 hasStencilClip, scissor, path);
GrStencilPathOp.h 28 const GrScissorState& scissor,
49 const GrScissorState& scissor,
56 , fScissor(scissor)
  /external/skqp/src/gpu/ops/
GrStencilPathOp.cpp 22 const GrScissorState& scissor,
27 hasStencilClip, scissor, path);
GrStencilPathOp.h 28 const GrScissorState& scissor,
49 const GrScissorState& scissor,
56 , fScissor(scissor)
  /external/autotest/client/deps/glbench/src/
all_tests.h 24 TestBase* GetWindowManagerCompositingTest(bool scissor);
  /external/mesa3d/src/gallium/drivers/llvmpipe/
lp_setup_context.h 116 struct u_rect draw_regions[PIPE_MAX_VIEWPORTS]; /* intersection of fb & scissor */
173 const struct u_rect *scissor)
176 scis_planes[0] = (bbox->x0 < scissor->x0);
178 scis_planes[1] = (bbox->x1 > scissor->x1);
180 scis_planes[2] = (bbox->y0 < scissor->y0);
182 scis_planes[3] = (bbox->y1 > scissor->y1);
  /external/mesa3d/src/gallium/drivers/r600/
r600_viewport.c 72 * using a scissor.
76 struct r600_signed_scissor *scissor)
86 /* r600_draw_rectangle sets this. Disable the scissor. */
88 scissor->minx = scissor->miny = 0;
89 scissor->maxx = scissor->maxy = GET_MAX_SCISSOR(rctx);
106 scissor->minx = minx;
107 scissor->miny = miny;
108 scissor->maxx = ceilf(maxx)
    [all...]
  /external/swiftshader/src/OpenGL/libGLESv2/
Device.cpp 777 sw::Rect scissor; local
778 scissor.x0 = scissorRect.x0;
779 scissor.x1 = scissorRect.x1;
780 scissor.y0 = scissorRect.y0;
781 scissor.y1 = scissorRect.y1;
783 setScissor(scissor);
787 sw::Rect scissor; local
788 scissor.x0 = viewport.x0;
789 scissor.x1 = viewport.x0 + viewport.width;
790 scissor.y0 = viewport.y0
    [all...]
  /external/mesa3d/src/gallium/drivers/freedreno/
freedreno_gmem.c 66 * Where the per-tile section handles scissor setup, mem2gmem restore (if
111 struct pipe_scissor_state *scissor = &batch->max_scissor; local
142 !memcmp(&gmem->scissor, scissor, sizeof(gmem->scissor))) {
154 minx = scissor->minx & ~(gmem_alignw - 1);
155 miny = scissor->miny & ~(gmem_alignh - 1);
156 width = scissor->maxx - minx;
157 height = scissor->maxy - miny;
194 gmem->scissor = *scissor
    [all...]
freedreno_gmem.h 51 struct pipe_scissor_state scissor; member in struct:fd_gmem_stateobj
  /external/mesa3d/src/gallium/drivers/vc4/
vc4_emit.c 41 /* Clip to the scissor if it's enabled, but still clip to the
50 if (!vc4->rasterizer->base.scissor) {
56 minx = MAX2(vp_minx, vc4->scissor.minx);
57 miny = MAX2(vp_miny, vc4->scissor.miny);
58 maxx = MIN2(vp_maxx, vc4->scissor.maxx);
59 maxy = MIN2(vp_maxy, vc4->scissor.maxy);
  /external/deqp/modules/gles3/functional/
es3fRasterizerDiscardTests.cpp 286 log << TestLog::Message << "Scissor test enabled: glScissor(0, 0, " << renderTarget.getWidth() << ", " << renderTarget.getHeight() << ")" << TestLog::EndMessage;
435 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_WR (…)
    [all...]
  /external/mesa3d/src/gallium/drivers/radeonsi/
si_state_viewport.c 52 * using a scissor.
56 struct si_signed_scissor *scissor)
79 scissor->minx = minx;
80 scissor->miny = miny;
81 scissor->maxx = ceilf(maxx);
82 scissor->maxy = ceilf(maxy);
87 struct si_signed_scissor *scissor)
89 out->minx = CLAMP(scissor->minx, 0, SI_MAX_SCISSOR);
90 out->miny = CLAMP(scissor->miny, 0, SI_MAX_SCISSOR);
91 out->maxx = CLAMP(scissor->maxx, 0, SI_MAX_SCISSOR)
    [all...]
  /external/deqp/modules/egl/
teglGLES2RenderUtil.cpp 38 gl.scissor(x, y, width, height);

Completed in 677 milliseconds

1 2 3 4 5 6 7 8 91011>>