/third_party/skia/src/gpu/ops/ |
H A D | StrokeTessellateOp.cpp | 49 , fProcessors(std::move(paint)) { in StrokeTessellateOp() 145 auto* headCopy = alloc->make<PathStrokeList>(std::move(op->fPathStrokeList)); in onCombineIfPossible() 188 auto* pipeline = GrTessellationShader::MakePipeline(args, fAAType, std::move(clip), in prePrepareTessellator() 189 std::move(fProcessors)); in prePrepareTessellator() 237 (clip) ? std::move(*clip) : GrAppliedClip::Disabled()); in onPrePrepare() 254 std::array<float, 2> matrixMinMaxScales; in onPrepare()
|
/third_party/skia/src/effects/ |
H A D | SkOpPathEffect.cpp | 17 return sk_sp<SkPathEffect>(new SkOpPE(std::move(one), std::move(two), op)); in Make() 21 : fOne(std::move(one)), fTwo(std::move(two)), fOp(op) {} in SkOpPE() 91 return buffer.isValid() ? SkMergePathEffect::Make(std::move(one), std::move(two), op) : nullptr; in CreateProc()
|
/third_party/skia/src/gpu/vk/ |
H A D | GrVkCommandBuffer.h | 114 fTrackedResources.push_back(std::move(resource)); in addResource() 124 fTrackedRecycledResources.push_back(std::move(resource)); in addRecycledResource() 132 fTrackedGpuBuffers.push_back(std::move(buffer)); in addGrBuffer() 136 fTrackedGpuSurfaces.push_back(std::move(surface)); in addGrSurface() 232 std::unique_ptr<GrVkSecondaryCommandBuffer> secondaryBuffer); 339 SkTArray<std::unique_ptr<GrVkSecondaryCommandBuffer>, true> fSecondaryCommandBuffers;
|
H A D | GrVkUniformHandler.cpp | 181 uint32_t elementSize = std::max<uint32_t>(16, grsltype_to_vk_size(type, layout)); in get_aligned_offset() 223 tempInfo.fVariable = GrShaderVar{std::move(resolvedName), in internalAddUniformArray() 261 GrShaderVar{std::move(mangleName), in addSampler() 265 std::move(layoutQualifier), in addSampler() 306 GrShaderVar{std::move(mangleName), kInput_GrSLType, GrShaderVar::TypeModifier::Uniform, in addInputSampler() 307 GrShaderVar::kNonArray, std::move(layoutQualifier), SkString()}, in addInputSampler()
|
/third_party/skia/src/core/ |
H A D | SkBlockAllocator.cpp | 202 static_assert(2 * kMaxN <= std::numeric_limits<int32_t>::max()); // Growth policy won't overflow in addBlock() 233 fN0 = std::min(kMaxN, nextN0); in addBlock() 234 fN1 = std::min(kMaxN, nextN1); in addBlock() 244 allocSize = std::min(alignAllocSize(std::max(minSize, sizeIncrement * nextN1)), in addBlock() 263 std::vector<const Block*> blocks; in validate()
|
H A D | SkPicture.cpp | 39 static std::atomic<uint32_t> nextID{1}; in SkPicture() 41 fUniqueID = nextID.fetch_add(+1, std::memory_order_relaxed); in SkPicture() 175 std::unique_ptr<SkPictureData> data( in MakeFromStream() 216 std::unique_ptr<SkPictureData> data(SkPictureData::CreateFromBuffer(buffer, info)); in MakeFromBuffer() 289 std::unique_ptr<SkPictureData> data(this->backport()); in serialize() 300 std::unique_ptr<SkPictureData> data(picture->backport()); in Flatten()
|
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/ |
H A D | SamplerCore.hpp | 126 static std::string fmt(const sw::SamplerFunction &v) in fmt() 128 return std::string("SamplerFunction[") + in fmt() 129 "method: " + std::to_string(v.method) + in fmt() 130 ", offset: " + std::to_string(v.offset) + in fmt() 131 ", sample: " + std::to_string(v.sample) + in fmt() 135 static std::vector<rr::Value *> val(const sw::SamplerFunction &v) { return {}; } in val()
|
/third_party/skia/third_party/externals/spirv-tools/source/ |
H A D | operand.cpp | 120 for (auto it = std::lower_bound(beg, end, needle, comp); in spvOperandTableValueLookup() 470 std::find(pattern.crbegin(), pattern.crend(), SPV_OPERAND_TYPE_RESULT_ID); in spvAlternatePatternFollowingImmediate() 510 std::function<bool(unsigned)> spvOperandCanBeForwardDeclaredFunction( in spvOperandCanBeForwardDeclaredFunction() 512 std::function<bool(unsigned index)> out; in spvOperandCanBeForwardDeclaredFunction() 579 std::function<bool(unsigned)> spvDbgInfoExtOperandCanBeForwardDeclaredFunction( in spvDbgInfoExtOperandCanBeForwardDeclaredFunction() 590 std::function<bool(unsigned index)> out; in spvDbgInfoExtOperandCanBeForwardDeclaredFunction()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/ |
H A D | operand.cpp | 120 for (auto it = std::lower_bound(beg, end, needle, comp); in spvOperandTableValueLookup() 470 std::find(pattern.crbegin(), pattern.crend(), SPV_OPERAND_TYPE_RESULT_ID); in spvAlternatePatternFollowingImmediate() 510 std::function<bool(unsigned)> spvOperandCanBeForwardDeclaredFunction( in spvOperandCanBeForwardDeclaredFunction() 512 std::function<bool(unsigned index)> out; in spvOperandCanBeForwardDeclaredFunction() 579 std::function<bool(unsigned)> spvDbgInfoExtOperandCanBeForwardDeclaredFunction( in spvDbgInfoExtOperandCanBeForwardDeclaredFunction() 590 std::function<bool(unsigned index)> out; in spvDbgInfoExtOperandCanBeForwardDeclaredFunction()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/fuzz/ |
H A D | transformation_add_constant_scalar_test.cpp | 26 std::string reference_shader = R"( in TEST() 30 %1 = OpExtInstImport "GLSL.std.450" in TEST() 125 std::string reference_shader = R"( in TEST() 129 %1 = OpExtInstImport "GLSL.std.450" in TEST() 303 std::string variant_shader = R"( in TEST() 307 %1 = OpExtInstImport "GLSL.std.450" in TEST()
|
/third_party/skia/third_party/externals/oboe/src/opensles/ |
H A D | AudioOutputStreamOpenSLES.cpp | 321 std::lock_guard<std::mutex> lock(mLock); in requestPause() 352 std::lock_guard<std::mutex> lock(mLock); in requestFlush() 378 std::lock_guard<std::mutex> lock(mLock); in requestStop()
|
/third_party/skia/tests/ |
H A D | GrQuadBufferTest.cpp | 43 static std::vector<GrQuad> generate_quads(float seed, int cnt, const GrQuad::Type types[]) { in generate_quads() 54 std::vector<GrQuad> quads; in generate_quads() 95 std::vector<GrQuad> expectedDeviceQuads = generate_quads(1.f, kQuadCount, kDeviceTypes); in TEST() 96 std::vector<GrQuad> expectedLocalQuads = generate_quads(2.f, kQuadCount, kLocalTypes); in TEST() 140 std::vector<GrQuad> quadsA = generate_quads(1.f, kQuadCount, kTypesA); in TEST() 141 std::vector<GrQuad> quadsB = generate_quads(2.f, kQuadCount, kTypesB); in TEST()
|
/third_party/skia/third_party/externals/angle2/util/fuchsia/ |
H A D | ScenicWindow.cpp | 83 bool ScenicWindow::initializeImpl(const std::string &name, int width, int height) in initializeImpl() 91 std::tie(viewToken, viewHolderToken) = scenic::NewViewTokenPair(); in initializeImpl() 94 mView = std::make_unique<scenic::View>(&mScenicSession, std::move(viewToken), name); in initializeImpl() 98 mPresenter->PresentOrReplaceView(std::move(viewHolderToken), nullptr); in initializeImpl() 222 void ScenicWindow::onScenicEvents(std::vector<fuchsia::ui::scenic::Event> events) in onScenicEvents()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
H A D | CommandBuffer.cpp | 220 std::array<float, 4> ConvertToFloatColor(dawn_native::Color color) { in ConvertToFloatColor() 221 const std::array<float, 4> outputValue = { in ConvertToFloatColor() 226 std::array<int32_t, 4> ConvertToSignedIntegerColor(dawn_native::Color color) { in ConvertToSignedIntegerColor() 227 const std::array<int32_t, 4> outputValue = { in ConvertToSignedIntegerColor() 233 std::array<uint32_t, 4> ConvertToUnsignedIntegerColor(dawn_native::Color color) { in ConvertToUnsignedIntegerColor() 234 const std::array<uint32_t, 4> outputValue = { in ConvertToUnsignedIntegerColor()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/DWARF/ |
H A D | DWARFDebugFrame.h | 50 using InstrList = std::vector<Instruction>; 78 std::vector<Instruction> Instructions; 178 Version(Version), Augmentation(std::move(Augmentation)), in CIE() 183 AugmentationData(std::move(AugmentationData)), in CIE() 270 std::vector<std::unique_ptr<dwarf::FrameEntry>> Entries;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Demangle/ |
H A D | MicrosoftDemangle.h | 23 // (such as std::vector) with this allocator. But it pays off -- 67 addNode(std::max(AllocUnit, Size)); in allocUnalignedBuffer() 86 addNode(std::max(AllocUnit, Size)); in allocArray() 103 return new (PP) T(std::forward<Args>(ConstructorArgs)...); in alloc() 108 return new (Head->Buf) T(std::forward<Args>(ConstructorArgs)...); in alloc() 185 std::pair<uint64_t, bool> demangleNumber(StringView &MangledName); 254 std::pair<Qualifiers, bool> demangleQualifiers(StringView &MangledName);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
H A D | CFGDiff.h | 57 // 1. std::pair<const GraphDiff<BasicBlock *> *, BasicBlock *>> : 61 // 2. std::pair<const GraphDiff<Inverse<BasicBlock *>> *, BasicBlock *>> : 65 // 3. std::pair<const GraphDiff<BasicBlock *> *, Inverse<BasicBlock *>>> : 69 // 4. std::pair<const GraphDiff<Inverse<BasicBlock *>> *, Inverse<BasicBlock *>> 160 using NodeRef = std::pair<DataRef, BasicBlock *>; 214 using NodeRef = std::pair<DataRef, BasicBlock *>; 268 std::pair<const GraphDiff<BasicBlock *, false> *, BasicBlock *>> 272 std::pair<const GraphDiff<BasicBlock *, true> *, BasicBlock *>> 276 std::pair<const GraphDiff<BasicBlock *, false> *, Inverse<BasicBlock *>>> 280 std [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ObjectYAML/ |
H A D | COFFYAML.h | 73 std::vector<CodeViewYAML::YAMLDebugSubsection> DebugS; 74 std::vector<CodeViewYAML::LeafRecord> DebugT; 75 std::vector<CodeViewYAML::LeafRecord> DebugP; 77 std::vector<Relocation> Relocations; 106 std::vector<Section> Sections; 107 std::vector<Symbol> Symbols;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Scalar/ |
H A D | LoopPassManager.h | 132 Worklist.insert(std::move(PreOrderLoops)); in appendLoopsToWorklist() 268 : Pass(std::move(Pass)), LoopCanonicalizationFPM(DebugLogging), in FunctionToLoopPassAdaptor() 376 PA.intersect(std::move(PassPA)); in run() 414 return FunctionToLoopPassAdaptor<LoopPassT>(std::move(Pass), UseMemorySSA, in createFunctionToLoopPassAdaptor() 421 std::string Banner; 425 PrintLoopPass(raw_ostream &OS, const std::string &Banner = "");
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
H A D | SILowerSGPRSpills.cpp | 109 assert(std::distance(MIS.begin(), I) == 1); in insertCSRSaves() 110 MachineInstr &Inst = *std::prev(I); in insertCSRSaves() 121 std::vector<CalleeSavedInfo> &CSI, in insertCSRRestores() 145 MachineInstr &Inst = *std::prev(I); in insertCSRRestores() 203 std::vector<CalleeSavedInfo> CSI; in spillCalleeSavedRegs() 274 Next = std::next(I); in runOnMachineFunction()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
H A D | PPCBranchSelector.cpp | 45 std::vector<std::pair<unsigned, unsigned>> BlockSizes; 188 MaxAlign = std::max(MaxAlign, Src->getAlignment()); in computeBranchSize() 194 MaxAlign = std::max(MaxAlign, Fn.getBlockNumbered(i)->getAlignment()); in computeBranchSize() 205 MaxAlign = std::max(MaxAlign, Dest->getAlignment()); in computeBranchSize() 208 MaxAlign = std::max(MaxAlign, Fn.getBlockNumbered(i)->getAlignment()); in computeBranchSize()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/ |
H A D | SystemZPostRewrite.cpp | 141 std::swap(Src1Reg, Src2Reg); in selectSELRMux() 142 std::swap(Src1IsHigh, Src2IsHigh); in selectSELRMux() 173 for (auto I = std::prev(MBB.end()); I != MBBI; --I) in expandCondMove() 178 MF.insert(std::next(MachineFunction::iterator(MBB)), RestMBB); in expandCondMove() 186 MF.insert(std::next(MachineFunction::iterator(MBB)), MoveMBB); in expandCondMove() 255 MachineBasicBlock::iterator NMBBI = std::next(MBBI); in selectMBB()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ |
H A D | TargetMachineC.cpp | 68 std::string Error; in LLVMGetTargetFromTriple() 162 std::string StringRep = unwrap(T)->getTargetTriple().str(); in LLVMGetTargetMachineTriple() 167 std::string StringRep = unwrap(T)->getTargetCPU(); in LLVMGetTargetMachineCPU() 172 std::string StringRep = unwrap(T)->getTargetFeatureString(); in LLVMGetTargetMachineFeatureString() 194 std::string error; in LLVMTargetMachineEmit() 221 std::error_code EC; in LLVMTargetMachineEmitToFile()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/Disassembler/ |
H A D | WebAssemblyDisassembler.cpp | 44 std::unique_ptr<const MCInstrInfo> MCII; 55 std::unique_ptr<const MCInstrInfo> MCII) in WebAssemblyDisassembler() 56 : MCDisassembler(STI, Ctx), MCII(std::move(MCII)) {} in WebAssemblyDisassembler() 63 std::unique_ptr<const MCInstrInfo> MCII(T.createMCInstrInfo()); in createWebAssemblyDisassembler() 64 return new WebAssemblyDisassembler(STI, Ctx, std::move(MCII)); in createWebAssemblyDisassembler() 115 if (std::is_floating_point<T>::value) { in parseImmediate()
|
/third_party/skia/third_party/externals/tint/src/reader/wgsl/ |
H A D | token.cc | 22 std::string Token::TypeToName(Type type) { in TypeToName() 325 Token::Token(Type type, const Source& source, const std::string& val) in Token() 347 std::string Token::to_str() const { in to_str() 349 return std::to_string(val_float_); in to_str() 352 return std::to_string(val_int_); in to_str() 355 return std::to_string(val_uint_); in to_str()
|