Home
last modified time | relevance | path

Searched refs:drawOp (Results 1 – 4 of 4) sorted by relevance

/external/deqp/modules/egl/
DteglRenderTests.cpp144 void randomizeDrawOp (de::Random& rnd, DrawPrimitiveOp& drawOp, const bool alphaZeroOrOne) in randomizeDrawOp() argument
160 drawOp.type = (PrimitiveType)rnd.getInt(0, PRIMITIVETYPE_LAST-1); in randomizeDrawOp()
161 drawOp.count = rnd.getInt(minPrimitives, maxPrimitives); in randomizeDrawOp()
162 drawOp.blend = (BlendMode)rnd.getInt(0, BLENDMODE_LAST-1); in randomizeDrawOp()
163 drawOp.depth = (DepthMode)rnd.getInt(0, DEPTHMODE_LAST-1); in randomizeDrawOp()
164 drawOp.stencil = (StencilMode)rnd.getInt(0, STENCILMODE_LAST-1); in randomizeDrawOp()
165 drawOp.stencilRef = rnd.getInt(minStencilRef, maxStencilRef); in randomizeDrawOp()
167 if (drawOp.type == PRIMITIVETYPE_TRIANGLE) in randomizeDrawOp()
169 drawOp.positions.resize(drawOp.count*3); in randomizeDrawOp()
170 drawOp.colors.resize(drawOp.count*3); in randomizeDrawOp()
[all …]
/external/skia/src/gpu/ganesh/ops/
DAtlasRenderTask.cpp167 auto drawOp = static_cast<GrDrawOp*>(op.get()); in addAtlasDrawOp() local
168 SkDEBUGCODE(drawOp->fAddDrawOpCalled = true;) in addAtlasDrawOp()
170 auto processorAnalysis = drawOp->finalize(caps, nullptr, in addAtlasDrawOp()
175 drawOp->setClippedBounds(drawOp->bounds()); in addAtlasDrawOp()
/external/skia/src/gpu/ganesh/
DSurfaceDrawContext.cpp1902 GrDrawOp* drawOp = (GrDrawOp*)op.get(); in addDrawOp() local
1904 SkDEBUGCODE(drawOp->fAddDrawOpCalled = true;) in addDrawOp()
1911 const bool opUsesMSAA = drawOp->usesMSAA(); in addDrawOp()
1921 skipDraw = clip->apply(fContext, this, drawOp, aaType, in addDrawOp()
1933 GrProcessorSet::Analysis analysis = drawOp->finalize(*this->caps(), &appliedClip, clampType); in addDrawOp()
1935 const bool opUsesStencil = drawOp->usesStencil(); in addDrawOp()
1970 if (!this->setupDstProxyView(drawOp->bounds(), drawNeedsMSAA, &dstProxyView)) { in addDrawOp()
/external/skia/src/core/
DSkPictureRecord.cpp271 DrawType drawOp = peek_op_and_size(&fWriter, -offset, &opSize); in fillRestoreOffsetPlaceholdersForCurrentStackLevel() local
272 SkASSERT(SAVE == drawOp || SAVE_LAYER_SAVELAYERREC == drawOp); in fillRestoreOffsetPlaceholdersForCurrentStackLevel()