/third_party/skia/src/gpu/mock/ |
H A D | GrMockGpu.h | 34 std::unique_ptr<GrSemaphore> SK_WARN_UNUSED_RESULT makeSemaphore(bool isOwned) override { 37 std::unique_ptr<GrSemaphore> wrapBackendSemaphore(const GrBackendSemaphore& /* semaphore */, 44 std::unique_ptr<GrSemaphore> prepareTextureForCrossContextUsage(GrTexture*) override { 191 std::array<float, 4> color) override {
|
/third_party/skia/third_party/externals/swiftshader/src/Device/ |
H A D | Renderer.hpp | 59 using TriangleBatch = std::array<Triangle, MaxBatchSize>; 60 using PrimitiveBatch = std::array<Primitive, MaxBatchSize>; 144 static void processPixels(vk::Device *device, const marl::Loan<DrawCall> &draw, const marl::Loan<BatchData> &batch, const std::shared_ptr<marl::Finally> &finally); 225 std::atomic<int> nextDrawID = { 0 };
|
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/ |
H A D | transformation_add_copy_memory.cpp | 26 : message_(std::move(message)) {} in TransformationAddCopyMemory() 138 insert_before_iter.InsertBefore(std::move(new_instruction)); in Apply() 200 return std::all_of(type.AsStruct()->element_types().begin(), in CanUsePointeeWithCopyMemory() 210 std::unordered_set<uint32_t> TransformationAddCopyMemory::GetFreshIds() const { in GetFreshIds()
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
H A D | code_sink.cpp | 79 std::unordered_set<uint32_t> bbs_with_uses; in FindNewBasicBlockFor() 292 const std::unordered_set<uint32_t>& set) { in IntersectsPath() 293 std::vector<uint32_t> worklist; in IntersectsPath() 295 std::unordered_set<uint32_t> already_done; in IntersectsPath()
|
H A D | value_number_table.cpp | 224 std::size_t ValueTableHash::operator()(const Instruction& inst) const { in operator ()() 228 std::u32string h; in operator ()() 237 return std::hash<std::u32string>()(h); in operator ()()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
H A D | transformation_add_copy_memory.cpp | 26 : message_(std::move(message)) {} in TransformationAddCopyMemory() 138 insert_before_iter.InsertBefore(std::move(new_instruction)); in Apply() 200 return std::all_of(type.AsStruct()->element_types().begin(), in CanUsePointeeWithCopyMemory() 210 std::unordered_set<uint32_t> TransformationAddCopyMemory::GetFreshIds() const { in GetFreshIds()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
H A D | code_sink.cpp | 79 std::unordered_set<uint32_t> bbs_with_uses; in FindNewBasicBlockFor() 292 const std::unordered_set<uint32_t>& set) { in IntersectsPath() 293 std::vector<uint32_t> worklist; in IntersectsPath() 295 std::unordered_set<uint32_t> already_done; in IntersectsPath()
|
H A D | value_number_table.cpp | 224 std::size_t ValueTableHash::operator()(const Instruction& inst) const { in operator ()() 228 std::u32string h; in operator ()() 237 return std::hash<std::u32string>()(h); in operator ()()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/fuzz/ |
H A D | available_instructions_test.cpp | 26 std::string shader = R"( in TEST() 28 %1 = OpExtInstImport "GLSL.std.450" in TEST() 278 std::string shader = R"( in TEST() 280 %1 = OpExtInstImport "GLSL.std.450" in TEST()
|
/third_party/skia/src/utils/win/ |
H A D | SkIStream.cpp | 90 SkIStream::SkIStream(std::unique_ptr<SkStreamAsset> stream) in SkIStream() 92 , fSkStream(std::move(stream)) in SkIStream() 100 HRESULT SkIStream::CreateFromSkStream(std::unique_ptr<SkStreamAsset> stream, IStream** ppStream) { in CreateFromSkStream() 104 *ppStream = new SkIStream(std::move(stream)); in CreateFromSkStream()
|
/third_party/skia/src/xps/ |
H A D | SkXPSDevice.h | 104 TypefaceUse(SkFontID id, int index, std::unique_ptr<SkStream> data, in TypefaceUse() 106 : typefaceId(id), ttcIndex(index), fontData(std::move(data)) in TypefaceUse() 107 , xpsFont(std::move(xps)), glyphsUsed(numGlyphs) {} in TypefaceUse() 110 const std::unique_ptr<SkStream> fontData;
|
/third_party/skia/src/utils/mac/ |
H A D | SkCreateCGImageRef.cpp | 86 static std::unique_ptr<SkBitmap> prepare_for_image_ref(const SkBitmap& bm, in prepare_for_image_ref() 94 std::unique_ptr<SkBitmap> copy(new SkBitmap); in prepare_for_image_ref() 101 return std::make_unique<SkBitmap>(bm); in prepare_for_image_ref() 112 std::unique_ptr<SkBitmap> bitmap = prepare_for_image_ref(bm, &bitsPerComponent, &info); in SkCreateCGImageRefWithColorspace()
|
/third_party/skia/tests/graphite/ |
H A D | CommandBufferTest.cpp | 85 commandBuffer->bindGraphicsPipeline(std::move(graphicsPipeline)); in DEF_GRAPHITE_TEST_FOR_CONTEXTS() 91 commandBuffer->bindGraphicsPipeline(std::move(graphicsPipeline)); in DEF_GRAPHITE_TEST_FOR_CONTEXTS() 108 commandBuffer->bindGraphicsPipeline(std::move(graphicsPipeline)); in DEF_GRAPHITE_TEST_FOR_CONTEXTS() 149 commandBuffer->bindGraphicsPipeline(std::move(graphicsPipeline)); in DEF_GRAPHITE_TEST_FOR_CONTEXTS()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
H A D | Limits.cpp | 78 constexpr uint32_t ReduceSameValue(std::integer_sequence<uint32_t, I, Is...>) { in ReduceSameValue() 178 #define X_TIER_COUNT(Better, limitName, ...) , std::integer_sequence<uint64_t, __VA_ARGS__>{}.size() in ApplyLimitTiers() 180 ReduceSameValue(std::integer_sequence<uint32_t LIMIT_GROUP(X_TIER_COUNT)>{}) in ApplyLimitTiers() 194 constexpr std::array<decltype(Limits::limitName), kTierCount> tiers{__VA_ARGS__}; \ in ApplyLimitTiers()
|
H A D | CommandAllocator.h | 61 using CommandBlocks = std::vector<BlockDef>; 64 constexpr uint32_t kEndOfBlock = std::numeric_limits<uint32_t>::max(); 65 constexpr uint32_t kAdditionalData = std::numeric_limits<uint32_t>::max() - 1; 81 void AcquireCommandBlocks(std::vector<CommandAllocator> allocators);
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
H A D | ResidencyManagerD3D12.cpp | 127 std::min(queryVideoMemoryInfo.Budget / 2, segmentInfo->externalRequest); in UpdateMemorySegmentInfo() 209 std::vector<ID3D12Pageable*> resourcesToEvict; in EnsureCanMakeResident() 242 std::vector<ID3D12Pageable*> localHeapsToMakeResident; in EnsureHeapsAreResident() 243 std::vector<ID3D12Pageable*> nonLocalHeapsToMakeResident; in EnsureHeapsAreResident()
|
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
H A D | MultisampledSamplingTests.cpp | 29 static constexpr std::array<std::array<float, 2>, 4> kSamplePositions = { 152 std::vector<float> vBufferData; in TEST_P() 226 std::array<float, 8> expectedData; in TEST_P()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/utils/ |
H A D | WGPUHelpers.cpp | 72 std::initializer_list<BindingLayoutEntryInitializationHelper> entriesInitializer, in MakeBindGroupLayout() 74 std::vector<BindGroupLayoutEntry> entries; in MakeBindGroupLayout() 174 std::initializer_list<BindingInitializationHelper> entriesInitializer) { in MakeBindGroup() 175 std::vector<BindGroupEntry> entries; in MakeBindGroup()
|
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/table/truetype/ |
H A D | loca_table.cc | 116 std::vector<int32_t>* LocaTable::Builder::LocaList() { in LocaList() 120 void LocaTable::Builder::SetLocaList(std::vector<int32_t>* list) { in SetLocaList() 191 for (std::vector<int32_t>::iterator l = loca_.begin(), end = loca_.end(); in SubSerialize() 236 std::vector<int32_t>* LocaTable::Builder::GetLocaList() { in GetLocaList()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
H A D | ARMTargetParser.h | 227 bool getFPUFeatures(unsigned FPUKind, std::vector<StringRef> &Features); 228 bool getHWDivFeatures(unsigned HWDivKind, std::vector<StringRef> &Features); 230 std::vector<StringRef> &Features); 239 std::vector<StringRef> &Features);
|
H A D | BinaryStreamReader.h | 76 static_assert(std::is_integral<T>::value, in readInteger() 90 static_assert(std::is_enum<T>::value, in readEnum() 92 typename std::underlying_type<T>::type N; in readEnum() 273 std::pair<BinaryStreamReader, BinaryStreamReader>
|
H A D | BranchProbability.h | 211 uint64_t Sum = std::accumulate(Begin, End, uint64_t(0), in normalizeProbabilities() 228 std::replace_if(Begin, End, in normalizeProbabilities() 237 BranchProbability BP(1, std::distance(Begin, End)); in normalizeProbabilities() 238 std::fill(Begin, End, BP); in normalizeProbabilities()
|
H A D | Path.h | 53 : public iterator_facade_base<const_iterator, std::input_iterator_tag, 79 : public iterator_facade_base<reverse_iterator, std::input_iterator_tag, 241 std::string convert_to_slash(StringRef path, Style style = Style::native); 472 std::error_code widenPath(const Twine &Path8, SmallVectorImpl<wchar_t> &Path16);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
H A D | AliasAnalysisSummary.h | 58 typedef std::bitset<NumAliasAttrs> AliasAttrs; 213 return std::less<Value *>()(LHS.Val, RHS.Val) || in operator <() 255 return DenseMapInfo<std::pair<Value *, unsigned>>::getHashValue( in getHashValue() 256 std::make_pair(IV.Val, IV.DerefLevel)); in getHashValue()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
H A D | DenseMapInfo.h | 137 struct DenseMapInfo<std::pair<T, U> > { 138 typedef std::pair<T, U> Pair; 143 return std::make_pair(FirstInfo::getEmptyKey(), in getEmptyKey() 147 return std::make_pair(FirstInfo::getTombstoneKey(), in getTombstoneKey()
|