Home
last modified time | relevance | path

Searched refs:BufferType (Results 1 – 25 of 77) sorted by relevance

1234

/third_party/flutter/skia/third_party/externals/angle2/src/tests/perf_tests/
DBlitFramebufferPerf.cpp19 enum class BufferType enum
27 const char *BufferTypeString(BufferType type) in BufferTypeString()
31 case BufferType::COLOR: in BufferTypeString()
33 case BufferType::DEPTH: in BufferTypeString()
35 case BufferType::STENCIL: in BufferTypeString()
37 case BufferType::DEPTH_STENCIL: in BufferTypeString()
44 GLbitfield BufferTypeMask(BufferType type) in BufferTypeMask()
48 case BufferType::COLOR: in BufferTypeMask()
50 case BufferType::DEPTH: in BufferTypeMask()
52 case BufferType::STENCIL: in BufferTypeMask()
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
DBlitFramebufferPerf.cpp19 enum class BufferType enum
27 const char *BufferTypeString(BufferType type) in BufferTypeString()
31 case BufferType::COLOR: in BufferTypeString()
33 case BufferType::DEPTH: in BufferTypeString()
35 case BufferType::STENCIL: in BufferTypeString()
37 case BufferType::DEPTH_STENCIL: in BufferTypeString()
44 GLbitfield BufferTypeMask(BufferType type) in BufferTypeMask()
48 case BufferType::COLOR: in BufferTypeMask()
50 case BufferType::DEPTH: in BufferTypeMask()
52 case BufferType::STENCIL: in BufferTypeMask()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/
DvktRenderPassDepthStencilWriteConditionsTests.cpp63 enum BufferType enum
97 …DepthStencilWriteConditionsInstance (Context& context, const BufferType& bufferType, const VkForma…
100 BufferType m_bufferType;
104 …Instance::DepthStencilWriteConditionsInstance (Context& context, const BufferType& bufferType, con… in DepthStencilWriteConditionsInstance()
235 …const VkImageAspectFlagBits imageAspectFlagBits = m_bufferType == BufferType::DEPTH ? VK_IMAG… in iterate()
276 …m_bufferType == BufferType::DEPTH ? VK_TRUE : VK_FALSE, // VkBool32 … in iterate()
280 …m_bufferType == BufferType::STENCIL ? VK_TRUE : VK_FALSE, // VkBool32 … in iterate()
323 if (m_bufferType == BufferType::DEPTH) in iterate()
335 if (m_bufferType == BufferType::STENCIL) in iterate()
361 const BufferType bufferType,
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassDepthStencilWriteConditionsTests.cpp63 enum BufferType enum
97 …DepthStencilWriteConditionsInstance (Context& context, const BufferType& bufferType, const VkForma…
100 BufferType m_bufferType;
104 …Instance::DepthStencilWriteConditionsInstance (Context& context, const BufferType& bufferType, con… in DepthStencilWriteConditionsInstance()
235 …const VkImageAspectFlagBits imageAspectFlagBits = m_bufferType == BufferType::DEPTH ? VK_IMAG… in iterate()
276 …m_bufferType == BufferType::DEPTH ? VK_TRUE : VK_FALSE, // VkBool32 … in iterate()
280 …m_bufferType == BufferType::STENCIL ? VK_TRUE : VK_FALSE, // VkBool32 … in iterate()
323 if (m_bufferType == BufferType::DEPTH) in iterate()
335 if (m_bufferType == BufferType::STENCIL) in iterate()
361 const BufferType bufferType,
[all …]
/third_party/vk-gl-cts/external/amber/src/src/vulkan/
Dengine_vulkan.cc233 auto type = BufferCommand::BufferType::kSSBO; in CreatePipeline()
234 if (buf_info.type == BufferType::kStorageImage) { in CreatePipeline()
235 type = BufferCommand::BufferType::kStorageImage; in CreatePipeline()
236 } else if (buf_info.type == BufferType::kSampledImage) { in CreatePipeline()
237 type = BufferCommand::BufferType::kSampledImage; in CreatePipeline()
238 } else if (buf_info.type == BufferType::kCombinedImageSampler) { in CreatePipeline()
239 type = BufferCommand::BufferType::kCombinedImageSampler; in CreatePipeline()
240 } else if (buf_info.type == BufferType::kUniformTexelBuffer) { in CreatePipeline()
241 type = BufferCommand::BufferType::kUniformTexelBuffer; in CreatePipeline()
242 } else if (buf_info.type == BufferType::kStorageTexelBuffer) { in CreatePipeline()
[all …]
Dpipeline_test.cc31 auto cmd = MakeUnique<BufferCommand>(BufferCommand::BufferType::kPushConstant, in TEST_F()
43 auto cmd = MakeUnique<BufferCommand>(BufferCommand::BufferType::kUniform, in TEST_F()
/third_party/vk-gl-cts/external/amber/src/src/
Dpipeline.cc381 info.type = BufferType::kColor; in AddColorAttachment()
396 info.type = BufferType::kResolve; in AddResolveTarget()
420 depth_stencil_buffer_.type = BufferType::kDepthStencil; in SetDepthStencilBuffer()
449 vertex_buffers_.back().type = BufferType::kVertex; in AddVertexBuffer()
462 push_constant_buffer_.type = BufferType::kPushConstant; in SetPushConstantBuffer()
479 push_constant_buffer_.type = BufferType::kPushConstant; in CreatePushConstantBuffer()
527 BufferType type, in AddBuffer()
548 BufferType type, in AddBuffer()
570 void Pipeline::AddBuffer(Buffer* buf, BufferType type, uint32_t arg_no) { in AddBuffer()
708 if (info.type == BufferType::kUnknown) { in UpdateOpenCLBufferBindings()
[all …]
Dcommand.h490 enum class BufferType { enum
503 BufferCommand(BufferType type, Pipeline* pipeline);
506 bool IsSSBO() const { return buffer_type_ == BufferType::kSSBO; } in IsSSBO()
508 return buffer_type_ == BufferType::kSSBODynamic; in IsSSBODynamic()
510 bool IsUniform() const { return buffer_type_ == BufferType::kUniform; } in IsUniform()
512 return buffer_type_ == BufferType::kUniformDynamic; in IsUniformDynamic()
515 return buffer_type_ == BufferType::kStorageImage; in IsStorageImage()
518 return buffer_type_ == BufferType::kSampledImage; in IsSampledImage()
521 return buffer_type_ == BufferType::kCombinedImageSampler; in IsCombinedImageSampler()
524 return buffer_type_ == BufferType::kUniformTexelBuffer; in IsUniformTexelBuffer()
[all …]
Dpipeline.h200 BufferType type = BufferType::kUnknown;
351 BufferType type,
359 void AddBuffer(Buffer* buf, BufferType type, const std::string& arg_name);
361 void AddBuffer(Buffer* buf, BufferType type, uint32_t arg_no);
/third_party/skia/experimental/graphite/src/
DBuffer.h26 Buffer(size_t size, BufferType type, PrioritizeGpuReads prioritizeGpuReads) in Buffer()
37 BufferType bufferType() const { return fType; } in bufferType()
41 BufferType fType;
DResourceTypes.h32 enum class BufferType { enum
39 static const int kBufferTypeCount = static_cast<int>(BufferType::kUniform) + 1;
DDrawBufferManager.cpp51 BufferType::kVertex, in getVertexWriter()
80 BufferType::kIndex, in getIndexWriter()
113 BufferType::kUniform, in getUniformWriter()
DResourceProvider.h35 sk_sp<Buffer> findOrCreateBuffer(size_t size, BufferType type, PrioritizeGpuReads);
45 virtual sk_sp<Buffer> createBuffer(size_t size, BufferType type, PrioritizeGpuReads) = 0;
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/protected_memory/
DvktProtectedMemBufferValidator.cpp57 const char* generateShaderBufferString (TestType testType, BufferType bufferType) in generateShaderBufferString()
75 …idatorPrograms (vk::SourceCollections& programCollection, TestType testType, BufferType bufferType) in initBufferValidatorPrograms()
182 vk::VkDescriptorType getDescriptorType (BufferType bufferType) in getDescriptorType()
DvktProtectedMemBufferValidator.hpp73 enum BufferType { enum
78 …atorPrograms (vk::SourceCollections& programCollection, TestType testType, BufferType bufferType);
79 vk::VkDescriptorType getDescriptorType (BufferType bufferType);
114 BufferType m_bufferType;
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemBufferValidator.cpp57 const char* generateShaderBufferString (TestType testType, BufferType bufferType) in generateShaderBufferString()
75 …idatorPrograms (vk::SourceCollections& programCollection, TestType testType, BufferType bufferType) in initBufferValidatorPrograms()
182 vk::VkDescriptorType getDescriptorType (BufferType bufferType) in getDescriptorType()
DvktProtectedMemBufferValidator.hpp73 enum BufferType { enum
78 …atorPrograms (vk::SourceCollections& programCollection, TestType testType, BufferType bufferType);
79 vk::VkDescriptorType getDescriptorType (BufferType bufferType);
114 BufferType m_bufferType;
/third_party/flutter/skia/src/shaders/gradients/
DSk4fGradientBase.h46 using BufferType = SkSTArray<8, Sk4fGradientInterval, true>; variable
48 const BufferType* operator->() const { return &fIntervals; }
51 BufferType fIntervals;
/third_party/skia/src/shaders/gradients/
DSk4fGradientBase.h46 using BufferType = SkSTArray<8, Sk4fGradientInterval, true>; variable
48 const BufferType* operator->() const { return &fIntervals; }
51 BufferType fIntervals;
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/postmortem/
DvktPostmortemUseAfterFreeTests.cpp67 enum BufferType enum
135 const BufferType bufferType);
137 const BufferType m_bufferType;
150 const BufferType bufferType);
155 const BufferType m_bufferType;
176 const BufferType bufferType) in UseAfterFreeTestCase()
263 const BufferType bufferType) in UseAfterFreeTestInstance()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/postmortem/
DvktPostmortemUseAfterFreeTests.cpp67 enum BufferType enum
135 const BufferType bufferType);
137 const BufferType m_bufferType;
150 const BufferType bufferType);
155 const BufferType m_bufferType;
176 const BufferType bufferType) in UseAfterFreeTestCase()
263 const BufferType bufferType) in UseAfterFreeTestInstance()
/third_party/skia/tests/graphite/
DCommandBufferTest.cpp78 2*sizeof(UniformData), BufferType::kUniform, PrioritizeGpuReads::kNo); in DEF_GRAPHITE_TEST_FOR_CONTEXTS()
114 4*sizeof(VertexData), BufferType::kVertex, PrioritizeGpuReads::kNo); in DEF_GRAPHITE_TEST_FOR_CONTEXTS()
116 6*sizeof(uint16_t), BufferType::kIndex, PrioritizeGpuReads::kNo); in DEF_GRAPHITE_TEST_FOR_CONTEXTS()
157 2*sizeof(InstanceData), BufferType::kVertex, PrioritizeGpuReads::kNo); in DEF_GRAPHITE_TEST_FOR_CONTEXTS()
181 bufferSize, BufferType::kXferGpuToCpu, PrioritizeGpuReads::kNo); in DEF_GRAPHITE_TEST_FOR_CONTEXTS()
/third_party/vk-gl-cts/external/amber/src/src/amberscript/
Dparser.cc1041 Result Parser::ToBufferType(const std::string& name, BufferType* type) { in ToBufferType()
1044 *type = BufferType::kColor; in ToBufferType()
1046 *type = BufferType::kDepthStencil; in ToBufferType()
1048 *type = BufferType::kPushConstant; in ToBufferType()
1050 *type = BufferType::kUniform; in ToBufferType()
1052 *type = BufferType::kUniformDynamic; in ToBufferType()
1054 *type = BufferType::kStorage; in ToBufferType()
1056 *type = BufferType::kStorageDynamic; in ToBufferType()
1058 *type = BufferType::kStorageImage; in ToBufferType()
1060 *type = BufferType::kSampledImage; in ToBufferType()
[all …]
Dparser_bind_test.cc1393 EXPECT_EQ(BufferType::kUniform, bufs[0].type); in TEST_F()
1431 EXPECT_EQ(BufferType::kUniform, bufs[0].type); in TEST_F()
1613 BufferType type;
1617 TEST_P(AmberScriptParserBufferTypeTest, BufferType) { in TEST_P() argument
1651 testing::Values(BufferTypeData{"uniform", BufferType::kUniform},
1654 BufferType::kStorage})); // NOLINT(whitespace/parens)
2041 EXPECT_EQ(BufferType::kStorageImage, bufs[0].type); in TEST_F()
2072 EXPECT_EQ(BufferType::kStorageImage, bufs[0].type); in TEST_F()
2179 EXPECT_EQ(BufferType::kSampledImage, bufs[0].type); in TEST_F()
2295 EXPECT_EQ(BufferType::kCombinedImageSampler, bufs[0].type); in TEST_F()
[all …]
/third_party/skia/experimental/graphite/src/mtl/
DMtlBuffer.h23 static sk_sp<Buffer> Make(const Gpu*, size_t size, BufferType type, PrioritizeGpuReads);
28 Buffer(size_t size, BufferType type, PrioritizeGpuReads, sk_cfp<id<MTLBuffer>>);

1234