Home
last modified time | relevance | path

Searched refs:cshader (Results 1 – 8 of 8) sorted by relevance

/third_party/skia/src/c/
Dsk_effects.cpp41 void sk_shader_ref(sk_shader_t* cshader) { in sk_shader_ref() argument
42 SkSafeRef(AsShader(cshader)); in sk_shader_ref()
45 void sk_shader_unref(sk_shader_t* cshader) { in sk_shader_unref() argument
46 SkSafeUnref(AsShader(cshader)); in sk_shader_unref()
Dsk_types_priv.h37 static inline SkShader* AsShader(sk_shader_t* cshader) { in AsShader() argument
38 return reinterpret_cast<SkShader*>(cshader); in AsShader()
Dsk_paint.cpp68 void sk_paint_set_shader(sk_paint_t* cpaint, sk_shader_t* cshader) { in sk_paint_set_shader() argument
69 AsPaint(cpaint)->setShader(sk_ref_sp(AsShader(cshader))); in sk_paint_set_shader()
/third_party/flutter/skia/src/c/
Dsk_effects.cpp41 void sk_shader_ref(sk_shader_t* cshader) { in sk_shader_ref() argument
42 SkSafeRef(AsShader(cshader)); in sk_shader_ref()
45 void sk_shader_unref(sk_shader_t* cshader) { in sk_shader_unref() argument
46 SkSafeUnref(AsShader(cshader)); in sk_shader_unref()
Dsk_types_priv.h37 static inline SkShader* AsShader(sk_shader_t* cshader) { in AsShader() argument
38 return reinterpret_cast<SkShader*>(cshader); in AsShader()
Dsk_paint.cpp68 void sk_paint_set_shader(sk_paint_t* cpaint, sk_shader_t* cshader) { in sk_paint_set_shader() argument
69 AsPaint(cpaint)->setShader(sk_ref_sp(AsShader(cshader))); in sk_paint_set_shader()
/third_party/vk-gl-cts/external/openglcts/modules/common/subgroups/
DglcSubgroupsTestsUtils.cpp323 glu::ComputeSource cshader(glu::ComputeSource(computeTemplate.specialize(templateArgs))); in makeComputePipeline() local
328 << cshader.source << "\n:end:" << tcu::TestLog::EndMessage; in makeComputePipeline()
335 sources << cshader; in makeComputePipeline()
341 binaries << spirvUtils::makeSpirV(log, cshader, spirvUtils::SPIRV_VERSION_1_3); in makeComputePipeline()
2098 const GlslSource &cshader = context.getSourceCollection().get("comp"); in makeComputeTest() local
2129 makeComputePipeline(context, cshader, in makeComputeTest()
2153 makeComputePipeline(context, cshader, nextX, nextY, nextZ)); in makeComputeTest()
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_shader.c2577 struct r600_pipe_shader *cshader; in generate_gs_copy_shader() local
2588 cshader = calloc(1, sizeof(struct r600_pipe_shader)); in generate_gs_copy_shader()
2589 if (!cshader) in generate_gs_copy_shader()
2592 memcpy(cshader->shader.output, gs_shader->output, ocnt * in generate_gs_copy_shader()
2595 cshader->shader.noutput = ocnt; in generate_gs_copy_shader()
2597 ctx.shader = &cshader->shader; in generate_gs_copy_shader()
2607 memset(cshader->shader.ring_item_sizes, 0, sizeof(cshader->shader.ring_item_sizes)); in generate_gs_copy_shader()
2666 cshader->shader.ring_item_sizes[ring] = 0; in generate_gs_copy_shader()
2696 emit_streamout(&ctx, so, only_ring_0 ? -1 : ring, &cshader->shader.ring_item_sizes[ring]); in generate_gs_copy_shader()
2697 cshader->shader.ring_item_sizes[ring] = ocnt * 16; in generate_gs_copy_shader()
[all …]