Home
last modified time | relevance | path

Searched refs:RefCounted (Results 1 – 25 of 80) sorted by relevance

1234

/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dvk_internal_shaders_autogen.h203 RefCounted<ShaderAndSerial> **shaderOut);
206 RefCounted<ShaderAndSerial> **shaderOut);
209 RefCounted<ShaderAndSerial> **shaderOut);
212 RefCounted<ShaderAndSerial> **shaderOut);
215 RefCounted<ShaderAndSerial> **shaderOut);
218 RefCounted<ShaderAndSerial> **shaderOut);
221 RefCounted<ShaderAndSerial> **shaderOut);
224 RefCounted<ShaderAndSerial> **shaderOut);
227 RefCounted<ShaderAndSerial> **shaderOut);
230 RefCounted<ShaderAndSerial> **shaderOut);
[all …]
Dvk_internal_shaders_autogen.cpp351 RefCounted<ShaderAndSerial> *shaders, in GetShader()
355 RefCounted<ShaderAndSerial> **shaderOut) in GetShader()
358 RefCounted<ShaderAndSerial> &shader = shaders[shaderFlags]; in GetShader()
395 for (RefCounted<ShaderAndSerial> &shader : mBlitResolve_frag_shaders) in destroy()
399 for (RefCounted<ShaderAndSerial> &shader : mBlitResolveStencilNoExport_comp_shaders) in destroy()
403 for (RefCounted<ShaderAndSerial> &shader : mConvertIndex_comp_shaders) in destroy()
407 for (RefCounted<ShaderAndSerial> &shader : mConvertIndexIndirectLineLoop_comp_shaders) in destroy()
411 for (RefCounted<ShaderAndSerial> &shader : mConvertIndirectLineLoop_comp_shaders) in destroy()
415 for (RefCounted<ShaderAndSerial> &shader : mConvertVertex_comp_shaders) in destroy()
419 for (RefCounted<ShaderAndSerial> &shader : mFullScreenTri_vert_shaders) in destroy()
[all …]
Dvk_utils.h561 class RefCounted : angle::NonCopyable
564 RefCounted() : mRefCount(0) {}
565 explicit RefCounted(T &&newObject) : mRefCount(0), mObject(std::move(newObject)) {}
566 ~RefCounted() { ASSERT(mRefCount == 0 && !mObject.valid()); }
568 RefCounted(RefCounted &&copy) : mRefCount(copy.mRefCount), mObject(std::move(copy.mObject))
574 RefCounted &operator=(RefCounted &&rhs)
619 void set(RefCounted<T> *refCounted)
642 RefCounted<T> *mRefCounted = nullptr;
663 void set(VkDevice device, RefCounted<T> *refCounted)
683 void setUnreferenced(RefCounted<T> *refCounted)
[all …]
/third_party/skia/third_party/externals/sfntly/cpp/src/test/
Dsmart_pointer_test.cc21 using sfntly::RefCounted;
24 class Foo : public RefCounted<Foo> {
36 EXPECT_EQ(size_t(1), RefCounted<Foo>::object_counter_); in TestSmartPointer()
42 EXPECT_EQ(size_t(1), RefCounted<Foo>::object_counter_); in TestSmartPointer()
49 EXPECT_EQ(size_t(1), RefCounted<Foo>::object_counter_); in TestSmartPointer()
55 EXPECT_EQ(size_t(2), RefCounted<Foo>::object_counter_); in TestSmartPointer()
60 EXPECT_EQ(size_t(2), RefCounted<Foo>::object_counter_); in TestSmartPointer()
63 EXPECT_EQ(size_t(1), RefCounted<Foo>::object_counter_); in TestSmartPointer()
67 EXPECT_EQ(size_t(1), RefCounted<Foo>::object_counter_); in TestSmartPointer()
71 EXPECT_EQ(size_t(1), RefCounted<Foo>::object_counter_); in TestSmartPointer()
[all …]
/third_party/skia/third_party/externals/dawn/src/common/
DRefCounted.cpp25 RefCounted::RefCounted(uint64_t payload) : mRefCount(kRefCountIncrement + payload) { in RefCounted() function in RefCounted
29 uint64_t RefCounted::GetRefCountForTesting() const { in GetRefCountForTesting()
33 uint64_t RefCounted::GetRefCountPayload() const { in GetRefCountPayload()
41 void RefCounted::Reference() { in Reference()
52 void RefCounted::Release() { in Release()
76 void RefCounted::APIReference() { in APIReference()
80 void RefCounted::APIRelease() { in APIRelease()
84 void RefCounted::DeleteThis() { in DeleteThis()
DRefCounted.h23 class RefCounted {
25 RefCounted(uint64_t payload = 0);
37 virtual ~RefCounted() = default;
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/port/
Drefcount.h121 class RefCounted : virtual public RefCount {
123 RefCounted() : ref_count_(0) { in RefCounted() function
130 RefCounted(const RefCounted<TDerived>&) : ref_count_(0) {} in RefCounted() function
131 virtual ~RefCounted() { in ~RefCounted()
138 RefCounted<TDerived>& operator=(const RefCounted<TDerived>&) {
171 template <typename TDerived> size_t RefCounted<TDerived>::object_counter_ = 0;
172 template <typename TDerived> size_t RefCounted<TDerived>::next_id_ = 0;
Djava_iterator.h41 public RefCounted< PODIterator<ReturnType, Container> > {
68 public RefCounted< RefIterator<ReturnType, Container> > {
/third_party/gn/src/base/memory/
Dref_counted.h191 class RefCounted; variable
196 RefCounted<T, DefaultRefCountedTraits>::DeleteInternal(x); in Destruct()
201 class RefCounted : public subtle::RefCountedBase {
206 RefCounted() : subtle::RefCountedBase(T::kRefCountPreference) {} in RefCounted() function
222 ~RefCounted() = default;
231 RefCounted(const RefCounted&) = delete;
232 RefCounted& operator=(const RefCounted&) = delete;
/third_party/skia/third_party/externals/sfntly/cpp/src/sample/subtly/
Dcharacter_predicate.h33 public sfntly::RefCounted<AcceptRange> {
48 public sfntly::RefCounted<AcceptSet> {
60 public sfntly::RefCounted<AcceptAll> {
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/table/truetype/
Dglyph_table.h36 public RefCounted<GlyphTable> {
112 public RefCounted<GlyphTable::Builder> {
161 class SimpleGlyph : public Glyph, public RefCounted<SimpleGlyph> {
177 public RefCounted<SimpleGlyphBuilder> {
228 class CompositeGlyph : public Glyph, public RefCounted<CompositeGlyph> {
245 public RefCounted<CompositeGlyphBuilder> {
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DObjectBase.cpp25 ObjectBase::ObjectBase(DeviceBase* device) : RefCounted(kNotErrorPayload), mDevice(device) { in ObjectBase()
29 : RefCounted(kErrorPayload), mDevice(device) { in ObjectBase()
75 RefCounted::DeleteThis(); in DeleteThis()
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/table/core/
Dcmap_table.h49 class CMapTable : public SubTableContainerTable, public RefCounted<CMapTable> {
216 class CMapFormat0 : public CMap, public RefCounted<CMapFormat0> {
220 public RefCounted<Builder> {
268 class CMapFormat2 : public CMap, public RefCounted<CMapFormat2> {
272 public RefCounted<Builder> {
321 public RefCounted<CMapFormat4> {
325 public RefCounted<Builder> {
328 class Segment : public RefCounted<Segment> {
497 public RefCounted<Builder> {
Dhorizontal_device_metrics_table.h28 public RefCounted<HorizontalDeviceMetricsTable> {
30 class Builder : public TableBasedTableBuilder, public RefCounted<Builder> {
Dhorizontal_metrics_table.h27 public RefCounted<HorizontalMetricsTable> {
30 class Builder : public TableBasedTableBuilder, public RefCounted<Builder> {
Dhorizontal_header_table.h27 public RefCounted<HorizontalHeaderTable> {
30 class Builder : public TableBasedTableBuilder, public RefCounted<Builder> {
/third_party/skia/third_party/externals/dawn/src/tests/unittests/
DRefCountedTests.cpp20 class RCTest : public RefCounted {
22 RCTest() : RefCounted() { in RCTest()
25 RCTest(uint64_t payload) : RefCounted(payload) { in RCTest()
50 TEST(RefCounted, StartsWithOneRef) { in TEST() argument
59 TEST(RefCounted, AddingRefKeepsAlive) { in TEST() argument
72 TEST(RefCounted, RaceOnReferenceRelease) { in TEST() argument
/third_party/skia/third_party/externals/sfntly/doc/
Dsmart_pointer_usage.md7 Ref-countable object type inherits from RefCounted&lt;&gt;, which have
16 class Foo : public RefCounted<Foo> {
46 - All RefCounted objects must be instantiated on the heap. Allocating
58 > class A : public I, public RefCounted<A>; // A specific implementation
59 > class B : public I, public RefCounted<B>; // B specific implementation
122 > ^([ACDR]) class RefCounted<class sfntly::([A-Za-z0-9:]+)>[ *const]+:oc=([-0-9]+),oid=([0-9]+),rc=…
/third_party/openh264/module/
DRefCounted.h86 class RefCounted {
101 RefCounted() in RefCounted() function
105 virtual ~RefCounted() in ~RefCounted()
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/table/bitmap/
Debsc_table.h25 public RefCounted<EbscTable> {
51 public RefCounted<BitmapScaleTable> {
67 public RefCounted<Builder> {
Dsimple_bitmap_glyph.h25 public RefCounted<SimpleBitmapGlyph> {
28 public RefCounted<Builder> {
Dsmall_glyph_metrics.h26 public RefCounted<SmallGlyphMetrics> {
40 public RefCounted<Builder> {
Dcomposite_bitmap_glyph.h25 public RefCounted<CompositeBitmapGlyph> {
51 public RefCounted<Builder> {
Debdt_table.h27 public RefCounted<EbdtTable> {
37 public RefCounted<Builder> {
Dbig_glyph_metrics.h25 public RefCounted<BigGlyphMetrics> {
43 public RefCounted<Builder> {

1234