Home
last modified time | relevance | path

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

/third_party/vk-gl-cts/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 …]
/third_party/skia/src/gpu/ops/
DAtlasRenderTask.cpp165 auto drawOp = static_cast<GrDrawOp*>(op.get()); in addAtlasDrawOp() local
166 SkDEBUGCODE(drawOp->fAddDrawOpCalled = true;) in addAtlasDrawOp()
168 auto processorAnalysis = drawOp->finalize(caps, nullptr, in addAtlasDrawOp()
173 drawOp->setClippedBounds(drawOp->bounds()); in addAtlasDrawOp()
/third_party/skia/src/gpu/v1/
DSurfaceDrawContext.cpp1907 GrDrawOp* drawOp = (GrDrawOp*)op.get(); in addDrawOp() local
1909 SkDEBUGCODE(drawOp->fAddDrawOpCalled = true;) in addDrawOp()
1916 const bool opUsesMSAA = drawOp->usesMSAA(); in addDrawOp()
1926 skipDraw = clip->apply(fContext, this, drawOp, aaType, in addDrawOp()
1938 GrProcessorSet::Analysis analysis = drawOp->finalize(*this->caps(), &appliedClip, clampType); in addDrawOp()
1940 const bool opUsesStencil = drawOp->usesStencil(); in addDrawOp()
1975 if (!this->setupDstProxyView(drawOp->bounds(), drawNeedsMSAA, &dstProxyView)) { in addDrawOp()
/third_party/skia/src/core/
DSkPictureRecord.cpp276 DrawType drawOp = peek_op_and_size(&fWriter, -offset, &opSize); in fillRestoreOffsetPlaceholdersForCurrentStackLevel() local
277 SkASSERT(SAVE == drawOp || SAVE_LAYER_SAVELAYERREC == drawOp); in fillRestoreOffsetPlaceholdersForCurrentStackLevel()