Home
last modified time | relevance | path

Searched refs:drawOp (Results 1 – 6 of 6) 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/skqp/tests/
DOnFlushCallbackTest.cpp376 std::unique_ptr<GrDrawOp> drawOp(NonAARectOp::Make(std::move(paint), in preFlush() local
378 rtc->priv().testingOnly_addDrawOp(std::move(drawOp)); in preFlush()
/external/skia/tests/
DOnFlushCallbackTest.cpp410 std::unique_ptr<GrDrawOp> drawOp(NonAARectOp::Make(std::move(paint), in preFlush() local
412 rtc->addDrawOp(std::move(drawOp)); in preFlush()
/external/skqp/src/core/
DSkPictureRecord.cpp282 DrawType drawOp = peek_op_and_size(&fWriter, -offset, &opSize); in fillRestoreOffsetPlaceholdersForCurrentStackLevel() local
283 SkASSERT(SAVE == drawOp || SAVE_LAYER_SAVELAYERREC == drawOp); in fillRestoreOffsetPlaceholdersForCurrentStackLevel()
/external/skia/src/core/
DSkPictureRecord.cpp286 DrawType drawOp = peek_op_and_size(&fWriter, -offset, &opSize); in fillRestoreOffsetPlaceholdersForCurrentStackLevel() local
287 SkASSERT(SAVE == drawOp || SAVE_LAYER_SAVELAYERREC == drawOp); in fillRestoreOffsetPlaceholdersForCurrentStackLevel()
/external/skia/src/gpu/
DGrSurfaceDrawContext.cpp1908 GrDrawOp* drawOp = (GrDrawOp*)op.get(); in addDrawOp() local
1910 SkDEBUGCODE(drawOp->fAddDrawOpCalled = true;) in addDrawOp()
1917 GrDrawOp::FixedFunctionFlags fixedFunctionFlags = drawOp->fixedFunctionFlags(); in addDrawOp()
1946 GrProcessorSet::Analysis analysis = drawOp->finalize(*this->caps(), &appliedClip, clampType); in addDrawOp()