Home
last modified time | relevance | path

Searched refs:ObjectBase (Results 1 – 25 of 70) sorted by relevance

123

/third_party/skia/third_party/externals/dawn/src/tests/unittests/
DObjectBaseTests.cpp19 class Object : public wgpu::ObjectBase<Object, int*> {
21 using ObjectBase::ObjectBase;
22 using ObjectBase::operator=;
36 TEST(ObjectBase, CTypeConstructor) { in TEST() argument
46 TEST(ObjectBase, AcquireConstruction) { in TEST() argument
56 TEST(ObjectBase, Get) { in TEST() argument
68 TEST(ObjectBase, Release) { in TEST() argument
82 TEST(ObjectBase, OperatorBool) { in TEST() argument
93 TEST(ObjectBase, CopyConstructor) { in TEST() argument
108 TEST(ObjectBase, CopyAssignment) { in TEST() argument
[all …]
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DObjectBase.cpp25 ObjectBase::ObjectBase(DeviceBase* device) : RefCounted(kNotErrorPayload), mDevice(device) { in ObjectBase() function in dawn_native::ObjectBase
28 ObjectBase::ObjectBase(DeviceBase* device, ErrorTag) in ObjectBase() function in dawn_native::ObjectBase
32 DeviceBase* ObjectBase::GetDevice() const { in GetDevice()
36 bool ObjectBase::IsError() const { in IsError()
40 ApiObjectBase::ApiObjectBase(DeviceBase* device, const char* label) : ObjectBase(device) { in ApiObjectBase()
46 ApiObjectBase::ApiObjectBase(DeviceBase* device, ErrorTag tag) : ObjectBase(device, tag) { in ApiObjectBase()
50 : ObjectBase(device) { in ApiObjectBase()
DObjectBase.h28 class ObjectBase : public RefCounted {
33 explicit ObjectBase(DeviceBase* device);
34 ObjectBase(DeviceBase* device, ErrorTag tag);
44 class ApiObjectBase : public ObjectBase, public LinkNode<ApiObjectBase> {
DBindGroupLayout.h101 ityp::span<BindingIndex, Ref<ObjectBase>> const bindings = {};
109 static_assert(alignof(Ref<ObjectBase>) <= alignof(BufferBindingData), ""); in GetBindingDataAlignment()
132 BindGroupLayoutBase(DeviceBase* device, ObjectBase::ErrorTag tag);
DComputePipeline.cpp57 ComputePipelineBase::ComputePipelineBase(DeviceBase* device, ObjectBase::ErrorTag tag) in ComputePipelineBase()
75 : ComputePipelineBase(device, ObjectBase::kError) { in MakeError()
DBindGroupLayout.cpp399 BindGroupLayoutBase::BindGroupLayoutBase(DeviceBase* device, ObjectBase::ErrorTag tag) in BindGroupLayoutBase()
419 return new BindGroupLayoutBase(device, ObjectBase::kError); in MakeError()
519 ASSERT(IsAligned(objectPointerStart, alignof(Ref<ObjectBase>))); in GetBindingDataSize()
521 Align(objectPointerStart + mBindingCounts.totalCount * sizeof(Ref<ObjectBase>), in GetBindingDataSize()
530 auto bindings = reinterpret_cast<Ref<ObjectBase>*>(bufferData + mBindingCounts.bufferCount); in ComputeBindingDataPointers()
535 ASSERT(IsPtrAligned(bindings, alignof(Ref<ObjectBase>))); in ComputeBindingDataPointers()
DExternalTexture.cpp102 ExternalTextureBase::ExternalTextureBase(DeviceBase* device, ObjectBase::ErrorTag tag) in ExternalTextureBase()
131 return new ExternalTextureBase(device, ObjectBase::kError); in MakeError()
DTexture.h104 TextureBase(DeviceBase* device, ObjectBase::ErrorTag tag);
146 TextureViewBase(DeviceBase* device, ObjectBase::ErrorTag tag);
DQuerySet.cpp30 ErrorQuerySet(DeviceBase* device) : QuerySetBase(device, ObjectBase::kError) { in ErrorQuerySet()
120 QuerySetBase::QuerySetBase(DeviceBase* device, ObjectBase::ErrorTag tag) in QuerySetBase()
DSampler.cpp97 SamplerBase::SamplerBase(DeviceBase* device, ObjectBase::ErrorTag tag) in SamplerBase()
112 return new SamplerBase(device, ObjectBase::kError); in MakeError()
DBindGroup.cpp344 new (&mBindingData.bindings[i]) Ref<ObjectBase>(); in BindGroupBase()
412 mBindingData.bindings[i].~Ref<ObjectBase>(); in DestroyImpl()
425 BindGroupBase::BindGroupBase(DeviceBase* device, ObjectBase::ErrorTag tag) in BindGroupBase()
431 return new BindGroupBase(device, ObjectBase::kError); in MakeError()
/third_party/skia/third_party/externals/dawn/generator/templates/
Dapi_cpp.h68 class ObjectBase {
70 ObjectBase() = default;
71 ObjectBase(CType handle): mHandle(handle) {
74 ~ObjectBase() {
78 ObjectBase(ObjectBase const& other)
79 : ObjectBase(other.Get()) {
81 Derived& operator=(ObjectBase const& other) {
91 ObjectBase(ObjectBase&& other) {
95 Derived& operator=(ObjectBase&& other) {
105 ObjectBase(std::nullptr_t) {}
[all …]
/third_party/skia/third_party/externals/dawn/src/dawn_wire/client/
DObjectBase.h32 struct ObjectBase : public LinkNode<ObjectBase> { struct
33 ObjectBase(Client* client, uint32_t refcount, uint32_t id) in ObjectBase() function
37 ~ObjectBase() { in ~ObjectBase() argument
DShaderModule.h25 class ShaderModule final : public ObjectBase {
27 using ObjectBase::ObjectBase;
DQueue.h26 class Queue final : public ObjectBase {
28 using ObjectBase::ObjectBase;
DClient.cpp66 ObjectBase* object = objectList.head()->value(); in DestroyAllObjects()
77 ObjectBase* object = mObjects[ObjectType::Device].head()->value(); in DestroyAllObjects()
139 for (LinkNode<ObjectBase>* device = deviceList.head(); device != deviceList.end(); in Disconnect()
146 for (LinkNode<ObjectBase>* object = objectList.head(); object != objectList.end(); in Disconnect()
DBuffer.h28 class Buffer final : public ObjectBase {
30 using ObjectBase::ObjectBase;
/third_party/skia/third_party/externals/dawn/generator/templates/dawn_wire/client/
DApiObjects.h33 struct {{type.name.CamelCase()}} final : ObjectBase {
34 using ObjectBase::ObjectBase;
/third_party/skia/third_party/externals/swiftshader/src/WSI/
DMetalSurface.hpp52 class MetalSurfaceEXT : public MetalSurface, public ObjectBase<MetalSurfaceEXT, VkSurfaceKHR>
60 class MacOSSurfaceMVK : public MetalSurface, public ObjectBase<MacOSSurfaceMVK, VkSurfaceKHR>
DHeadlessSurfaceKHR.hpp22 class HeadlessSurfaceKHR : public SurfaceKHR, public ObjectBase<HeadlessSurfaceKHR, VkSurfaceKHR>
DDirectFBSurfaceEXT.hpp28 class DirectFBSurfaceEXT : public SurfaceKHR, public ObjectBase<DirectFBSurfaceEXT, VkSurfaceKHR>
DXcbSurfaceKHR.hpp28 class XcbSurfaceKHR : public SurfaceKHR, public ObjectBase<XcbSurfaceKHR, VkSurfaceKHR>
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkObject.hpp82 class ObjectBase class
99 class Object : public ObjectBase<T, VkT>
DVkPipeline.hpp77 class GraphicsPipeline : public Pipeline, public ObjectBase<GraphicsPipeline, VkPipeline>
125 class ComputePipeline : public Pipeline, public ObjectBase<ComputePipeline, VkPipeline>
DVkDeviceMemoryExternalHost.hpp21 class ExternalMemoryHost : public vk::DeviceMemory, public vk::ObjectBase<ExternalMemoryHost, VkDev…

123