Home
last modified time | relevance | path

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

/external/deqp/modules/egl/
DteglRenderTests.cpp144 void randomizeDrawOp (de::Random& rnd, DrawPrimitiveOp& drawOp) 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/core/
DSkPictureRecord.cpp267 DrawType drawOp = peek_op_and_size(&fWriter, -offset, &opSize); in fillRestoreOffsetPlaceholdersForCurrentStackLevel() local
268 SkASSERT(SAVE_LAYER_SAVEFLAGS_DEPRECATED != drawOp); in fillRestoreOffsetPlaceholdersForCurrentStackLevel()
269 SkASSERT(SAVE_LAYER_SAVELAYERFLAGS_DEPRECATED_JAN_2016 != drawOp); in fillRestoreOffsetPlaceholdersForCurrentStackLevel()
270 SkASSERT(SAVE == drawOp || SAVE_LAYER_SAVELAYERREC == drawOp); in fillRestoreOffsetPlaceholdersForCurrentStackLevel()
/external/skia/tests/
DOnFlushCallbackTest.cpp365 std::unique_ptr<GrDrawOp> drawOp(NonAARectOp::Make(std::move(paint), in preFlush() local
367 rtc->priv().testingOnly_addDrawOp(std::move(drawOp)); in preFlush()