Home
last modified time | relevance | path

Searched refs:draws (Results 1 – 25 of 133) sorted by relevance

123456

/external/skia/modules/skottie/src/layers/shapelayer/
DShapeLayer.cpp228 std::vector<sk_sp<sksg::RenderNode >> draws; in attachShape() local
230 const auto add_draw = [this, &draws](sk_sp<sksg::RenderNode> draw, const ShapeRec& rec) { in attachShape()
232 draws.push_back(this->attachBlendMode(rec.fJson, std::move(draw))); in attachShape()
301 if (!draws.empty()) { in attachShape()
302 draws = gDrawEffectAttachers[rec->fInfo.fAttacherIndex](rec->fJson, in attachShape()
304 std::move(draws)); in attachShape()
317 if (draws.size() == 1) { in attachShape()
319 shape_wrapper = std::move(draws.front()); in attachShape()
320 } else if (!draws.empty()) { in attachShape()
322 std::reverse(draws.begin(), draws.end()); in attachShape()
[all …]
DRepeater.cpp119 std::vector<sk_sp<sksg::RenderNode>>&& draws) in RepeaterAdapter() argument
120 : INHERITED(sk_make_sp<RepeaterRenderNode>(std::move(draws), in RepeaterAdapter()
169 std::vector<sk_sp<sksg::RenderNode>>&& draws) { in AttachRepeaterDrawEffect() argument
174 std::reverse(draws.begin(), draws.end()); in AttachRepeaterDrawEffect()
181 std::move(draws))); in AttachRepeaterDrawEffect()
183 repeater_draws = std::move(draws); in AttachRepeaterDrawEffect()
/external/mesa3d/src/freedreno/decode/scripts/
Dparse-submits.lua56 local draws = 0
75 draws = 0
103 if draws == 0 and blits == 0 then
110 if draws > 0 then
113 printf(" # of draws: %u\n", draws)
171 if draws < 10 then
173 elseif allmrts[base] or draws == 0 then
267 if draws > 0 then
411 draws = draws + 1
/external/skqp/src/gpu/ops/
DGrDashOp.cpp359 SkSTArray<kNumStackDashes, DashDraw, true> draws; in onPrepareDraws() local
367 DashDraw& draw = draws.push_back(args); in onPrepareDraws()
581 if (!draws[i].fLineDone) { in onPrepareDraws()
585 draws[i].fStartOffset, draws[i].fDevBloatX, draws[i].fDevBloatY, in onPrepareDraws()
586 draws[i].fLineLength, draws[i].fHalfDevStroke, draws[i].fIntervals[0], in onPrepareDraws()
587 draws[i].fIntervals[1], draws[i].fStrokeWidth, capType); in onPrepareDraws()
594 if (draws[i].fHasStartRect) { in onPrepareDraws()
598 draws[i].fStartOffset, draws[i].fDevBloatX, draws[i].fDevBloatY, in onPrepareDraws()
599 draws[i].fIntervals[0], draws[i].fHalfDevStroke, draws[i].fIntervals[0], in onPrepareDraws()
600 draws[i].fIntervals[1], draws[i].fStrokeWidth, capType); in onPrepareDraws()
[all …]
DGrAAConvexPathRenderer.cpp354 DrawArray* draws, in create_vertices() argument
358 Draw* draw = &draws->push_back(); in create_vertices()
380 draw = &draws->push_back(); in create_vertices()
784 SkSTArray<kPreallocDrawCnt, Draw, true> draws; in onPrepareDraws() local
786 create_vertices(segments, fanPt, color, &draws, verts, idxs, kVertexStride); in onPrepareDraws()
788 GrMesh* meshes = target->allocMeshes(draws.count()); in onPrepareDraws()
789 for (int j = 0; j < draws.count(); ++j) { in onPrepareDraws()
790 const Draw& draw = draws[j]; in onPrepareDraws()
799 draws.count()); in onPrepareDraws()
/external/skqp/tools/lua/
Dpaths.lua15 draws = 0
69 draws = draws + 1
115 io.write("draws = draws + ", draws, "\n");
Dpaths_agg.lua3 draws = 0
16 io.write("Number of draws: ", draws, "\n");
36 (100*(totalSWPaths / (draws + clips))), "\n")
/external/skia/src/gpu/ops/
DGrDashOp.cpp388 SkSTArray<kNumStackDashes, DashDraw, true> draws; in onPrepareDraws() local
396 DashDraw& draw = draws.push_back(args); in onPrepareDraws()
612 if (!draws[i].fLineDone) { in onPrepareDraws()
615 draws[i].fStartOffset, draws[i].fDevBloatX, in onPrepareDraws()
616 draws[i].fLineLength, draws[i].fIntervals[0], in onPrepareDraws()
617 draws[i].fIntervals[1], draws[i].fStrokeWidth, in onPrepareDraws()
618 draws[i].fPerpendicularScale, in onPrepareDraws()
626 if (draws[i].fHasStartRect) { in onPrepareDraws()
629 draws[i].fStartOffset, draws[i].fDevBloatX, in onPrepareDraws()
630 draws[i].fIntervals[0], draws[i].fIntervals[0], in onPrepareDraws()
[all …]
DGrAAConvexPathRenderer.cpp370 DrawArray* draws, in create_vertices() argument
374 Draw* draw = &draws->push_back(); in create_vertices()
395 draw = &draws->push_back(); in create_vertices()
846 SkSTArray<kPreallocDrawCnt, Draw, true> draws; in onPrepareDraws() local
848 create_vertices(segments, fanPt, color, &draws, verts, idxs, kVertexStride); in onPrepareDraws()
850 GrSimpleMesh* meshes = target->allocMeshes(draws.count()); in onPrepareDraws()
851 for (int j = 0; j < draws.count(); ++j) { in onPrepareDraws()
852 const Draw& draw = draws[j]; in onPrepareDraws()
860 fDraws.push_back({ meshes, draws.count() }); in onPrepareDraws()
/external/skqp/modules/skottie/src/
DSkottieShapeLayer.cpp364 std::vector<sk_sp<sksg::RenderNode>>&& draws) { in AttachRepeaterDrawEffect() argument
370 if (draws.size() > 1) { in AttachRepeaterDrawEffect()
371 repeater_node = sksg::Group::Make(std::move(draws)); in AttachRepeaterDrawEffect()
373 repeater_node = std::move(draws[0]); in AttachRepeaterDrawEffect()
419 repeater_draws = std::move(draws); in AttachRepeaterDrawEffect()
589 std::vector<sk_sp<sksg::RenderNode >> draws; in attachShape() local
623 draws.push_back(std::move(subgroup)); in attachShape()
650 draws.push_back(sksg::Draw::Make(std::move(geo), std::move(paint))); in attachShape()
655 if (!draws.empty()) { in attachShape()
656 draws = gDrawEffectAttachers[rec->fInfo.fAttacherIndex](rec->fJson, in attachShape()
[all …]
/external/skia/modules/skottie/src/text/
DTextAdapter.cpp137 std::vector<sk_sp<sksg::RenderNode>> draws; in addFragment() local
138 draws.reserve(static_cast<size_t>(fText->fHasFill) + static_cast<size_t>(fText->fHasStroke)); in addFragment()
146 draws.push_back(sksg::Draw::Make(blob_node, rec.fFillColorNode)); in addFragment()
155 draws.push_back(sksg::Draw::Make(blob_node, rec.fStrokeColorNode)); in addFragment()
167 SkASSERT(!draws.empty()); in addFragment()
176 draws.push_back(sksg::Draw::Make(sksg::Rect::Make(box), std::move(box_color))); in addFragment()
179 auto draws_node = (draws.size() > 1) in addFragment()
180 ? sksg::Group::Make(std::move(draws)) in addFragment()
181 : std::move(draws[0]); in addFragment()
/external/deqp/modules/egl/
DteglPartialUpdateTests.cpp149 vector<DrawCommand> draws; member
176 dst.draws.push_back(drawCommand); in generateRandomFrame()
248 for (size_t drawNdx = 0; drawNdx < frame.draws.size(); drawNdx++) in render()
250 const ColoredRect& coloredRect = frame.draws[drawNdx].rect; in render()
252 if (frame.draws[drawNdx].drawType == PartialUpdateTest::DRAWTYPE_GLES2_RENDER) in render()
302 else if (frame.draws[drawNdx].drawType == PartialUpdateTest::DRAWTYPE_GLES2_CLEAR) in render()
332 for (size_t drawNdx = 0; drawNdx < frame.draws.size(); drawNdx++) in render()
334 const ColoredRect& coloredRect = frame.draws[drawNdx].rect; in render()
335 …if (frame.draws[drawNdx].drawType == PartialUpdateTest::DRAWTYPE_GLES2_RENDER || frame.draws[drawN… in render()
479 for (size_t drawNdx = 0; drawNdx < frame.draws.size(); drawNdx++) in getDamageRegion()
[all …]
DteglBufferAgeTests.cpp161 vector<DrawCommand> draws; member
188 (*dst).draws.push_back(drawCommand); in generateRandomFrame()
260 for (size_t drawNdx = 0; drawNdx < frame.draws.size(); drawNdx++) in render()
262 const ColoredRect& coloredRect = frame.draws[drawNdx].rect; in render()
263 if (frame.draws[drawNdx].drawType == BufferAgeTest::DRAWTYPE_GLES2_RENDER) in render()
313 else if (frame.draws[drawNdx].drawType == BufferAgeTest::DRAWTYPE_GLES2_CLEAR) in render()
343 for (size_t drawNdx = 0; drawNdx < frame.draws.size(); drawNdx++) in render()
345 const ColoredRect& coloredRect = frame.draws[drawNdx].rect; in render()
346 …if (frame.draws[drawNdx].drawType == BufferAgeTest::DRAWTYPE_GLES2_RENDER || frame.draws[drawNdx].… in render()
DteglSwapBuffersWithDamageTests.cpp117 vector<DrawCommand> draws; member
190 for (size_t drawNdx = 0; drawNdx < frame.draws.size(); drawNdx++) in render()
192 const ColoredRect& coloredRect = frame.draws[drawNdx].rect; in render()
194 if (frame.draws[drawNdx].drawType == DRAWTYPE_GLES2_RENDER) in render()
244 else if (frame.draws[drawNdx].drawType == DRAWTYPE_GLES2_CLEAR) in render()
661 frame.draws.push_back(drawCommand); in generateFrameSequence()
671 for (size_t drawNdx = 0; drawNdx < frame.draws.size(); drawNdx++) in getDamageRegion()
673 const ColoredRect& rect = frame.draws[drawNdx].rect; in getDamageRegion()
/external/mesa3d/src/freedreno/.gitlab-ci/reference/
Dshadow.log19 # of draws: 1
39 # of draws: 2
/external/tensorflow/tensorflow/python/ops/distributions/
Dcategorical.py277 draws = random_ops.multinomial(
279 draws = array_ops.reshape(
280 array_ops.transpose(draws),
282 return math_ops.cast(draws, self.dtype)
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_draw.c763 const struct pipe_draw_start_count *draws, in si_emit_draw_packets() argument
918 base_vertex = original_index_size ? info->index_bias : draws[0].start; in si_emit_draw_packets()
945 uint64_t va = index_va + draws[0].start * original_index_size; in si_emit_draw_packets()
947 si_dispatch_prim_discard_cs_and_draw(sctx, info, draws[i].count, in si_emit_draw_packets()
949 va, MIN2(index_max_size, draws[i].count)); in si_emit_draw_packets()
955 uint64_t va = index_va + draws[i].start * index_size; in si_emit_draw_packets()
961 radeon_emit(cs, draws[i].count); in si_emit_draw_packets()
974 radeon_set_sh_reg(cs, sh_base_reg + SI_SGPR_BASE_VERTEX * 4, draws[i].start); in si_emit_draw_packets()
977 radeon_emit(cs, draws[i].count); in si_emit_draw_packets()
982 sctx->last_base_vertex = draws[num_draws - 1].start; in si_emit_draw_packets()
[all …]
/external/skia/gm/
Dcompositor_quads.cpp267 int draws = this->drawTile(canvas, baseRect, quad, edgeAA, tileID, *quadCount); in clipTile() local
269 return draws; in clipTile()
387 int draws = 0; in clipTile() local
410 draws += this->clipTile(canvas, tileID, baseRect, sub, subAA, lines + 2, lineCount - 1, in clipTile()
413 return draws; in clipTile()
700 int draws = this->INHERITED::drawTiles(canvas); in drawTiles() local
702 draws += this->drawAndReset(canvas); in drawTiles()
703 return draws; in drawTiles()
908 int draws = this->INHERITED::drawTiles(canvas); in drawTiles() local
910 draws += this->drawAndReset(canvas); in drawTiles()
[all …]
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pt_vsplit.c58 ushort draws[MAP_SIZE]; member
99 vsplit->cache.draws[hash] = vsplit->cache.num_fetch_elts; in vsplit_add_cache()
106 vsplit->draw_elts[vsplit->cache.num_draw_elts++] = vsplit->cache.draws[hash]; in vsplit_add_cache()
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_vbo.c859 unsigned draws = count, pushes, i; in nvc0_draw_indirect() local
861 draws = MIN2(draws, (NV04_PFIFO_MAX_PACKET_LEN - 4) / size); in nvc0_draw_indirect()
864 draws = MIN2(draws, 32); in nvc0_draw_indirect()
865 pushes = draws; in nvc0_draw_indirect()
873 NVC0_FIFO_PKHDR_1I(0, macro, 3 + !!buf_count + draws * size)); in nvc0_draw_indirect()
876 PUSH_DATA(push, draws); in nvc0_draw_indirect()
886 NVC0_IB_ENTRY_1_NO_PREFETCH | (size * 4 * draws)); in nvc0_draw_indirect()
887 offset += draws * info->indirect->stride; in nvc0_draw_indirect()
896 count -= draws; in nvc0_draw_indirect()
897 drawid += draws; in nvc0_draw_indirect()
/external/deqp/doc/testspecs/GLES3/
Dfunctional.fence_sync.txt27 - With varying number of primitive draws
29 - With varying number of primitive draws
/external/skqp/docs/
DSkCanvas_Reference.bmh21 Canvas generated by Raster_Surface draws to memory visible to the CPU.
45 Allocates a three by three bitmap, clears it to white, and draws a black pixel
60 SkPaint paint; // by default, draws black
91 Allocates a three by three bitmap, clears it to white, and draws a black pixel
108 SkPaint paint; // by default, draws black
212 SkPaint paint; // by default, draws black, 12 point text
262 SkPaint paint; // by default, draws black, 12 point text
294 #Line # draws saved Layers, frees resources ##
299 Canvas Layer draws into bitmap. saveLayerAlpha sets up an additional
523 Draws "ABC" on the device. Then draws "DEF" in Layer, and reads
[all …]
Doverview.bmh5 Skia draws 2D primitives, paths and bitmaps, using the styles in the SkPaint, to
/external/mesa3d/src/gallium/drivers/panfrost/
Dpan_mfbd.c45 ((batch->clear | batch->draws) & PIPE_CLEAR_DEPTHSTENCIL)) in panfrost_mfbd_has_zs_crc_ext()
237 if (!zs_surf || !((batch->clear | batch->draws) & PIPE_CLEAR_DEPTHSTENCIL)) in get_z_internal_format()
275 if (!((batch->clear | batch->draws) & PIPE_CLEAR_DEPTHSTENCIL)) in panfrost_mfbd_zs_crc_ext_set_bufs()
554 if (!((batch->clear | batch->draws) & (PIPE_CLEAR_COLOR0 << cb))) in panfrost_mfbd_fragment()
596 ((batch->clear | batch->draws) & PIPE_CLEAR_DEPTHSTENCIL)) { in panfrost_mfbd_fragment()
/external/deqp/external/openglcts/docs/specs/
DCTS_ARB_indirect_parameters.txt71 draws and second with 4 draws.

123456