Home
last modified time | relevance | path

Searched refs:SLType (Results 1 – 8 of 8) sorted by relevance

/third_party/skia/experimental/graphite/src/
DUniformManager.cpp222 static uint32_t WriteUniform(SLType type, in WriteUniform()
229 case SLType::kInt: in WriteUniform()
232 case SLType::kInt2: in WriteUniform()
235 case SLType::kInt3: in WriteUniform()
238 case SLType::kInt4: in WriteUniform()
241 case SLType::kHalf: in WriteUniform()
244 case SLType::kFloat: in WriteUniform()
247 case SLType::kHalf2: in WriteUniform()
250 case SLType::kFloat2: in WriteUniform()
253 case SLType::kHalf3: in WriteUniform()
[all …]
DUniform.h24 constexpr Uniform(const char* name, SLType type) : Uniform(name, type, kNonArray) {} in Uniform()
26 constexpr Uniform(const char* name, SLType type, int count) in Uniform()
35 constexpr bool isInitialized() const { return this->type() != SLType::kVoid; } in isInitialized()
38 constexpr SLType type() const { return static_cast<SLType>(fType); } in type()
DContextUtils.cpp30 {"colors", SLType::kHalf4 , kMaxStops },
31 {"offsets", SLType::kFloat, kMaxStops },
32 {"point0", SLType::kFloat2 },
33 {"point1", SLType::kFloat2 },
34 {"radius0", SLType::kFloat },
35 {"radius1", SLType::kFloat },
40 {"color", SLType::kFloat4 }
284 case SLType::kFloat4: in emit_MSL_uniform_struct()
287 case SLType::kFloat2: in emit_MSL_uniform_struct()
290 case SLType::kFloat: in emit_MSL_uniform_struct()
[all …]
DGraphicsPipelineDesc.h32 SLType gpuType) in Attribute()
34 SkASSERT(name && gpuType != SLType::kVoid); in Attribute()
40 constexpr bool isInitialized() const { return fGPUType != SLType::kVoid; } in isInitialized()
44 constexpr SLType gpuType() const { return fGPUType; } in gpuType()
52 SLType fGPUType = SLType::kVoid;
DUniformManager.h42 SLType getUniformTypeForLayout(SLType type);
DDrawTypes.h20 enum class SLType { enum
65 static const int kSLTypeCount = static_cast<int>(SLType::kLast) + 1;
/third_party/skia/tests/graphite/
DUniformCacheTest.cpp23 {"point0", SLType::kFloat2 }, in make_ud()
24 {"point1", SLType::kFloat2 }, in make_ud()
25 {"point2", SLType::kFloat2 }, in make_ud()
DCommandBufferTest.cpp104 { "position", VertexAttribType::kFloat2, SLType::kFloat2 } in DEF_GRAPHITE_TEST_FOR_CONTEXTS()
142 { "position", VertexAttribType::kFloat2, SLType::kFloat2 }, in DEF_GRAPHITE_TEST_FOR_CONTEXTS()
143 { "dims", VertexAttribType::kFloat2, SLType::kFloat2 }, in DEF_GRAPHITE_TEST_FOR_CONTEXTS()
144 { "color", VertexAttribType::kFloat4, SLType::kFloat4 } in DEF_GRAPHITE_TEST_FOR_CONTEXTS()