Home
last modified time | relevance | path

Searched refs:AsImage (Results 1 – 24 of 24) sorted by relevance

/third_party/skia/src/c/
Dsk_surface.cpp105 static const SkImage* AsImage(const sk_image_t* cimage) { in AsImage() function
154 return ToData(AsImage(cimage)->encodeToData().release()); in sk_image_encode()
158 AsImage(cimage)->ref(); in sk_image_ref()
162 AsImage(cimage)->unref(); in sk_image_unref()
166 return AsImage(cimage)->width(); in sk_image_get_width()
170 return AsImage(cimage)->height(); in sk_image_get_height()
174 return AsImage(cimage)->uniqueID(); in sk_image_get_unique_id()
337 AsCanvas(ccanvas)->drawImage(AsImage(cimage), x, y, to_sampling(csamp), AsPaint(cpaint)); in sk_canvas_draw_image()
344 const SkImage* image = AsImage(cimage); in sk_canvas_draw_image_rect()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dfix_storage_class.cpp225 if (context()->get_type_mgr()->GetType(obj_type_id)->AsImage() && in PropagateType()
226 context()->get_type_mgr()->GetType(pointee_type_id)->AsImage()) { in PropagateType()
Dconvert_to_sampled_image_pass.cpp152 if (variable_type->AsImage()) { in CollectResourcesToConvert()
258 const auto* image_type = variable_type->AsImage(); in GetSampledImageTypeForImage()
Dtypes.h318 Image* AsImage() override { return this; } in AsImage() function
319 const Image* AsImage() const override { return this; } in AsImage() function
Dtype_manager.cpp279 const Image* image = type->AsImage(); in GetTypeInstruction()
548 const Image* image_ty = type.AsImage(); in RebuildType()
Dtypes.cpp348 const Image* it = that->AsImage(); in IsSameImpl()
Dupgrade_memory_model.cpp388 (type->AsPointer() || type->AsImage() || type->AsSampledImage())) { in TraceInstruction()
Dinstruction.cpp224 address_type->AsSampledImage()->image_type()->AsImage(); in IsReadOnlyLoad()
/third_party/spirv-tools/source/opt/
Dfix_storage_class.cpp225 if (context()->get_type_mgr()->GetType(obj_type_id)->AsImage() && in PropagateType()
226 context()->get_type_mgr()->GetType(pointee_type_id)->AsImage()) { in PropagateType()
Dconvert_to_sampled_image_pass.cpp152 if (variable_type->AsImage()) { in CollectResourcesToConvert()
258 const auto* image_type = variable_type->AsImage(); in GetSampledImageTypeForImage()
Dtypes.h312 Image* AsImage() override { return this; } in AsImage() function
313 const Image* AsImage() const override { return this; } in AsImage() function
Dtype_manager.cpp281 const Image* image = type->AsImage(); in GetTypeInstruction()
548 const Image* image_ty = type.AsImage(); in RebuildType()
Dupgrade_memory_model.cpp386 (type->AsPointer() || type->AsImage() || type->AsSampledImage())) { in TraceInstruction()
Dtypes.cpp375 const Image* it = that->AsImage(); in IsSameImpl()
Dinstruction.cpp222 address_type->AsSampledImage()->image_type()->AsImage(); in IsReadOnlyLoad()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dfix_storage_class.cpp225 if (context()->get_type_mgr()->GetType(obj_type_id)->AsImage() && in PropagateType()
226 context()->get_type_mgr()->GetType(pointee_type_id)->AsImage()) { in PropagateType()
Dconvert_to_sampled_image_pass.cpp152 if (variable_type->AsImage()) { in CollectResourcesToConvert()
258 const auto* image_type = variable_type->AsImage(); in GetSampledImageTypeForImage()
Dtypes.h318 Image* AsImage() override { return this; } in AsImage() function
319 const Image* AsImage() const override { return this; } in AsImage() function
Dtype_manager.cpp279 const Image* image = type->AsImage(); in GetTypeInstruction()
548 const Image* image_ty = type.AsImage(); in RebuildType()
Dtypes.cpp348 const Image* it = that->AsImage(); in IsSameImpl()
Dupgrade_memory_model.cpp388 (type->AsPointer() || type->AsImage() || type->AsSampledImage())) { in TraceInstruction()
Dinstruction.cpp224 address_type->AsSampledImage()->image_type()->AsImage(); in IsReadOnlyLoad()
/third_party/skia/third_party/externals/tint/src/reader/spirv/
Dparser_impl.cc2478 type_mgr_->GetType(raw_handle_type->result_id())->AsImage(); in GetTypeForHandleVar()
Dfunction.cc4747 if (unwrapped->AsSampler() || unwrapped->AsImage() || in RegisterLocallyDefinedValues()