Searched refs:cshader (Results 1 – 3 of 3) sorted by relevance
37 static inline SkShader* AsShader(sk_shader_t* cshader) { in AsShader() argument38 return reinterpret_cast<SkShader*>(cshader); in AsShader()
69 void sk_paint_set_shader(sk_paint_t* cpaint, sk_shader_t* cshader) { in sk_paint_set_shader() argument70 AsPaint(cpaint)->setShader(AsShader(cshader)); in sk_paint_set_shader()
485 void sk_shader_ref(sk_shader_t* cshader) { in sk_shader_ref() argument486 SkSafeRef(AsShader(cshader)); in sk_shader_ref()489 void sk_shader_unref(sk_shader_t* cshader) { in sk_shader_unref() argument490 SkSafeUnref(AsShader(cshader)); in sk_shader_unref()