Home
last modified time | relevance | path

Searched refs:path_builder (Results 1 – 11 of 11) sorted by relevance

/external/skqp/src/compute/skc/
Dpath_builder.c21 skc_path_builder_retain(skc_path_builder_t path_builder) in skc_path_builder_retain() argument
23 ++path_builder->refcount; in skc_path_builder_retain()
29 skc_path_builder_release(skc_path_builder_t path_builder) in skc_path_builder_release() argument
31 SKC_ASSERT_STATE_ASSERT(SKC_PATH_BUILDER_STATE_READY,path_builder); in skc_path_builder_release()
33 path_builder->release(path_builder->impl); in skc_path_builder_release()
43 skc_path_begin(skc_path_builder_t path_builder) in skc_path_begin() argument
47 path_builder); in skc_path_begin()
50 path_builder->line .rem = 0; in skc_path_begin()
51 path_builder->quad .rem = 0; in skc_path_begin()
52 path_builder->cubic.rem = 0; in skc_path_begin()
[all …]
Dskc.h38 skc_path_builder_create(skc_context_t context, skc_path_builder_t * path_builder);
41 skc_path_builder_retain(skc_path_builder_t path_builder);
44 skc_path_builder_release(skc_path_builder_t path_builder);
51 skc_path_begin(skc_path_builder_t path_builder);
54 skc_path_end(skc_path_builder_t path_builder, skc_path_t * path);
74 skc_path_move_to(skc_path_builder_t path_builder,
78 skc_path_close(skc_path_builder_t path_builder);
81 skc_path_line_to(skc_path_builder_t path_builder,
85 skc_path_cubic_to(skc_path_builder_t path_builder,
91 skc_path_cubic_smooth_to(skc_path_builder_t path_builder,
[all …]
Dmain.c174 skc_path_builder_t path_builder; in main() local
176 err = skc_path_builder_create(context,&path_builder); in main()
232 paths = SKC_TEST(paths_decode,path_builder); in main()
358 err = skc_path_builder_release(path_builder); in main()
Dcontext.c93 skc_path_builder_create(skc_context_t context, skc_path_builder_t * path_builder) in skc_path_builder_create() argument
95 return context->path_builder(context,path_builder); in skc_path_builder_create()
Dcontext.h38 skc_err (* path_builder )(struct skc_context * const context, member
39 skc_path_builder_t * const path_builder);
/external/skqp/src/compute/skc/platforms/cl_12/
Dpath_builder_cl_12.c171 struct skc_path_builder * path_builder; member
414 skc_path_builder_finalize_subblocks(struct skc_path_builder * const path_builder) in skc_path_builder_finalize_subblocks() argument
422 while (path_builder->line.rem > 0) in skc_path_builder_finalize_subblocks()
424 --path_builder->line.rem; in skc_path_builder_finalize_subblocks()
426 *path_builder->line.coords[0]++ = 0.0f; in skc_path_builder_finalize_subblocks()
427 *path_builder->line.coords[1]++ = 0.0f; in skc_path_builder_finalize_subblocks()
428 *path_builder->line.coords[2]++ = 0.0f; in skc_path_builder_finalize_subblocks()
429 *path_builder->line.coords[3]++ = 0.0f; in skc_path_builder_finalize_subblocks()
432 while (path_builder->quad.rem > 0) in skc_path_builder_finalize_subblocks()
434 --path_builder->quad.rem; in skc_path_builder_finalize_subblocks()
[all …]
Dexport_cl_12.h23 struct skc_path_builder * * const path_builder);
Druntime_cl_12.c187 context->path_builder = skc_path_builder_cl_12_create; in skc_runtime_cl_12_create()
/external/skia/experimental/c-api-example/
Dskia-c-example.c54 sk_pathbuilder_t* path_builder = sk_pathbuilder_new(); in draw() local
55 sk_pathbuilder_move_to(path_builder, 50.0f, 50.0f); in draw()
56 sk_pathbuilder_line_to(path_builder, 590.0f, 50.0f); in draw()
57 sk_pathbuilder_cubic_to(path_builder, -490.0f, 50.0f, 1130.0f, 430.0f, 50.0f, 430.0f); in draw()
58 sk_pathbuilder_line_to(path_builder, 590.0f, 430.0f); in draw()
60 sk_path_t* path = sk_pathbuilder_detach_path(path_builder); in draw()
71 sk_pathbuilder_delete(path_builder); in draw()
Dc.md75 sk_pathbuilder_t* path_builder = sk_pathbuilder_new();
76 sk_pathbuilder_move_to(path_builder, 50.0f, 50.0f);
77 sk_pathbuilder_line_to(path_builder, 590.0f, 50.0f);
78 sk_pathbuilder_cubic_to(path_builder, -490.0f, 50.0f, 1130.0f, 430.0f, 50.0f, 430.0f);
79 sk_pathbuilder_line_to(path_builder, 590.0f, 430.0f);
81 sk_path_t* path = sk_pathbuilder_detach_path(path_builder);
92 sk_pathbuilder_delete(path_builder);
/external/libtextclassifier/native/utils/flatbuffers/
Dmutable_test.cc141 flatbuffers::FlatBufferBuilder path_builder; in TEST_F() local
142 path_builder.Finish(FlatbufferFieldPath::Pack(path_builder, &path)); in TEST_F()
149 path_builder.GetBufferPointer()), in TEST_F()
166 flatbuffers::FlatBufferBuilder path_builder; in TEST_F() local
167 path_builder.Finish(FlatbufferFieldPath::Pack(path_builder, &path)); in TEST_F()
174 path_builder.GetBufferPointer()), in TEST_F()