Home
last modified time | relevance | path

Searched refs:UniformDataBlock (Results 1 – 11 of 11) sorted by relevance

/external/skia/tests/graphite/
DPipelineDataCacheTest.cpp32 UniformDataBlock udb1(SkSpan(kMemory1, kSize)); in DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS()
33 const UniformDataBlock* id1; in DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS()
48 UniformDataBlock udb2(SkSpan(kMemory2, kSize)); in DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS()
49 const UniformDataBlock* id2 = cache->insert(udb2); in DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS()
60 UniformDataBlock udb3(SkSpan(kMemory3, kSize)); in DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS()
61 const UniformDataBlock* id3 = cache->insert(udb3); in DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS()
DUniformManagerTest.cpp94 UniformDataBlock uniformData = mgr.finishUniformDataBlock(); in DEF_TEST()
122 UniformDataBlock uniformData = mgr.finishUniformDataBlock(); in DEF_TEST()
154 UniformDataBlock uniformData = mgr.finishUniformDataBlock(); in DEF_TEST()
185 UniformDataBlock uniformData = mgr.finishUniformDataBlock(); in DEF_TEST()
238 UniformDataBlock uniformData = mgr.finishUniformDataBlock(); in DEF_TEST()
256 UniformDataBlock uniformData = mgr.finishUniformDataBlock(); in DEF_TEST()
282 UniformDataBlock uniformData = mgr.finishUniformDataBlock(); in DEF_TEST()
337 UniformDataBlock uniformData = mgr.finishUniformDataBlock(); in DEF_TEST()
367 UniformDataBlock uniformData = mgr.finishUniformDataBlock(); in DEF_TEST()
391 UniformDataBlock uniformData = mgr.finishUniformDataBlock(); in DEF_TEST()
[all …]
/external/skia/src/gpu/graphite/
DPipelineData.h31 class UniformDataBlock {
33 static UniformDataBlock* Make(const UniformDataBlock&, SkArenaAlloc*);
35 UniformDataBlock(SkSpan<const char> data) : fData(data) {} in UniformDataBlock() function
36 UniformDataBlock() = default;
43 bool operator==(const UniformDataBlock& that) const {
47 bool operator!=(const UniformDataBlock& that) const { return !(*this == that); }
136 UniformDataBlock finishUniformDataBlock() { return fUniformManager.finishUniformDataBlock(); } in finishUniformDataBlock()
DPipelineData.cpp47 UniformDataBlock* UniformDataBlock::Make(const UniformDataBlock& other, SkArenaAlloc* arena) { in Make()
53 return new (ptr) UniformDataBlock(SkSpan<const char>(mem, other.size())); in Make()
57 uint32_t UniformDataBlock::hash() const { in hash()
DUniformManager.h30 class UniformDataBlock; variable
65 UniformDataBlock finishUniformDataBlock();
DContextUtils.h37 std::tuple<UniquePaintParamsID, const UniformDataBlock*, const TextureDataBlock*>
46 std::tuple<const UniformDataBlock*, const TextureDataBlock*> ExtractRenderStepData(
DContextUtils.cpp27 std::tuple<UniquePaintParamsID, const UniformDataBlock*, const TextureDataBlock*>
48 const UniformDataBlock* uniforms = in ExtractPaintData()
58 std::tuple<const UniformDataBlock*, const TextureDataBlock*> ExtractRenderStepData( in ExtractRenderStepData()
68 const UniformDataBlock* uniforms = in ExtractRenderStepData()
DDrawPass.cpp98 const UniformDataBlock* fCpuData;
103 CpuOrGpuData(const UniformDataBlock* cpuData) : fCpuData(cpuData) {} in CpuOrGpuData()
124 using UniformSsboCache = DenseBiMap<const UniformDataBlock*, CpuOrGpuData>;
201 const UniformDataBlock* cpuData) { in trackUniforms()
470 const UniformDataBlock* shadingUniforms = nullptr; in Make()
DPipelineDataCache.h82 using UniformDataCache = PipelineDataCache<UniformDataBlock>;
DUniformManager.cpp496 UniformDataBlock UniformManager::finishUniformDataBlock() { in finishUniformDataBlock()
501 return UniformDataBlock(SkSpan(fStorage.begin(), size)); in finishUniformDataBlock()
/external/skia/include/gpu/graphite/
DRecorder.h50 class UniformDataBlock; variable
54 using UniformDataCache = PipelineDataCache<UniformDataBlock>;