Home
last modified time | relevance | path

Searched refs:VertexAttribType (Results 1 - 25 of 79) sorted by relevance

1234

/third_party/skia/experimental/graphite/src/
H A DGraphicsPipelineDesc.h31 VertexAttribType cpuType, in Attribute()
43 constexpr VertexAttribType cpuType() const { return fCPUType; } in cpuType()
51 VertexAttribType fCPUType = VertexAttribType::kFloat;
197 static constexpr inline size_t VertexAttribTypeSize(VertexAttribType type) { in VertexAttribTypeSize()
199 case VertexAttribType::kFloat: in VertexAttribTypeSize()
201 case VertexAttribType::kFloat2: in VertexAttribTypeSize()
203 case VertexAttribType::kFloat3: in VertexAttribTypeSize()
205 case VertexAttribType::kFloat4: in VertexAttribTypeSize()
207 case VertexAttribType in VertexAttribTypeSize()
[all...]
H A DDrawTypes.h113 enum class VertexAttribType : uint8_t { class in skgpu::SLType::CType::LoadOp::StoreOp
151 static const int kVertexAttribTypeCount = (int)(VertexAttribType::kLast) + 1;
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
H A DFormat_table_autogen.cpp27 { FormatID::NONE, GL_NONE, GL_NONE, nullptr, NoCopyFunctions, nullptr, nullptr, GL_NONE, 0, 0, 0, 0, 0, 0, 0, 0, 0, false, false, false, false, false, gl::VertexAttribType::InvalidEnum },
28 { FormatID::D16_UNORM, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT16, nullptr, NoCopyFunctions, ReadDepthStencil<D16>, WriteDepthStencil<D16>, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 16, 0, 2, std::numeric_limits<GLuint>::max(), false, false, false, false, false, gl::VertexAttribType::InvalidEnum },
29 { FormatID::D24_UNORM_S8_UINT, GL_DEPTH24_STENCIL8, GL_DEPTH24_STENCIL8, nullptr, NoCopyFunctions, ReadDepthStencil<D24S8>, WriteDepthStencil<D24S8>, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 24, 8, 4, std::numeric_limits<GLuint>::max(), false, false, false, false, false, gl::VertexAttribType::InvalidEnum },
30 { FormatID::D24_UNORM_X8_UINT, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT24, nullptr, NoCopyFunctions, ReadDepthStencil<D24X8>, WriteDepthStencil<D24X8>, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 24, 0, 4, std::numeric_limits<GLuint>::max(), false, false, false, false, false, gl::VertexAttribType::InvalidEnum },
31 { FormatID::D32_FLOAT, GL_DEPTH_COMPONENT32F, GL_DEPTH_COMPONENT32F, nullptr, NoCopyFunctions, ReadDepthStencil<D32F>, WriteDepthStencil<D32F>, GL_FLOAT, 0, 0, 0, 0, 0, 32, 0, 4, std::numeric_limits<GLuint>::max(), false, false, false, false, false, gl::VertexAttribType::Float },
32 { FormatID::D32_FLOAT_S8X24_UINT, GL_DEPTH32F_STENCIL8, GL_DEPTH32F_STENCIL8, nullptr, NoCopyFunctions, ReadDepthStencil<D32FS8X24>, WriteDepthStencil<D32FS8X24>, GL_FLOAT, 0, 0, 0, 0, 0, 32, 8, 8, std::numeric_limits<GLuint>::max(), false, false, false, false, false, gl::VertexAttribType::Float },
33 { FormatID::D32_UNORM, GL_DEPTH_COMPONENT32_OES, GL_DEPTH_COMPONENT32_OES, nullptr, NoCopyFunctions, ReadDepthStencil<D32>, WriteDepthStencil<D32>, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 32, 0, 4, std::numeric_limits<GLuint>::max(), false, false, false, false, false, gl::VertexAttribType::InvalidEnum },
34 { FormatID::S8_UINT, GL_STENCIL_INDEX8, GL_STENCIL_INDEX8, nullptr, NoCopyFunctions, ReadDepthStencil<S8>, WriteDepthStencil<S8>, GL_UNSIGNED_INT, 0, 0, 0, 0, 0, 0, 8, 1, std::numeric_limits<GLuint>::max(), false, false, false, false, false, gl::VertexAttribType::InvalidEnum },
35 { FormatID::A16_FLOAT, GL_ALPHA16F_EXT, GL_ALPHA16F_EXT, GenerateMip<A16F>, NoCopyFunctions, ReadColor<A16F, GLfloat>, WriteColor<A16F, GLfloat>, GL_FLOAT, 0, 0, 0, 16, 0, 0, 0, 2, 1, false, false, false, false, false, gl::VertexAttribType::Float },
36 { FormatID::A1R5G5B5_UNORM, GL_A1RGB5_ANGLEX, GL_A1RGB5_ANGLEX, GenerateMip<A1R5G5B5>, NoCopyFunctions, ReadColor<A1R5G5B5, GLfloat>, WriteColor<A1R5G5B5, GLfloat>, GL_UNSIGNED_NORMALIZED, 5, 5, 5, 1, 0, 0, 0, 2, std::numeric_limits<GLuint>::max(), false, false, false, false, false, gl::VertexAttribType
[all...]
H A DFormat.h48 gl::VertexAttribType vertexAttribType);
114 gl::VertexAttribType vertexAttribType;
152 gl::VertexAttribType vertexAttribType) in Format()
230 return vertexAttribType == gl::VertexAttribType::HalfFloat; in isVertexTypeHalfFloat()
/third_party/skia/third_party/externals/angle2/src/common/
H A DPackedEnums.h459 enum class VertexAttribType class in gl::BlendEquationType::BlendFactorType
485 constexpr VertexAttribType FromGLenum<VertexAttribType>(GLenum from) in FromGLenum()
488 if (packed <= static_cast<GLenum>(VertexAttribType::MaxBasicType)) in FromGLenum()
489 return static_cast<VertexAttribType>(packed); in FromGLenum()
491 return VertexAttribType::UnsignedInt2101010; in FromGLenum()
493 return VertexAttribType::HalfFloatOES; in FromGLenum()
495 return VertexAttribType::Int2101010; in FromGLenum()
497 return VertexAttribType::UnsignedInt1010102; in FromGLenum()
499 return VertexAttribType in FromGLenum()
[all...]
H A DPackedEnums.cpp427 std::ostream &operator<<(std::ostream &os, VertexAttribType value)
431 case VertexAttribType::Byte:
434 case VertexAttribType::Fixed:
437 case VertexAttribType::Float:
440 case VertexAttribType::HalfFloat:
443 case VertexAttribType::HalfFloatOES:
446 case VertexAttribType::Int:
449 case VertexAttribType::Int2101010:
452 case VertexAttribType::Int1010102:
455 case VertexAttribType
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A Dformatutils.h353 angle::FormatID GetVertexFormatID(VertexAttribType type,
358 angle::FormatID GetVertexFormatID(const VertexAttribute &attrib, VertexAttribType currentValueType);
359 angle::FormatID GetCurrentValueFormatID(VertexAttribType currentValueType);
515 ANGLE_INLINE ComponentType GetVertexAttributeComponentType(bool pureInteger, VertexAttribType type) in GetVertexAttributeComponentType()
521 case VertexAttribType::Byte: in GetVertexAttributeComponentType()
522 case VertexAttribType::Short: in GetVertexAttributeComponentType()
523 case VertexAttribType::Int: in GetVertexAttributeComponentType()
526 case VertexAttribType::UnsignedByte: in GetVertexAttributeComponentType()
527 case VertexAttribType::UnsignedShort: in GetVertexAttributeComponentType()
528 case VertexAttribType in GetVertexAttributeComponentType()
[all...]
H A DContext_gles_1_0_autogen.h24 void colorPointer(GLint size, VertexAttribType typePacked, GLsizei stride, \
73 void normalPointer(VertexAttribType typePacked, GLsizei stride, const void *pointer); \
91 void texCoordPointer(GLint size, VertexAttribType typePacked, GLsizei stride, \
106 void vertexPointer(GLint size, VertexAttribType typePacked, GLsizei stride, \
H A DVertexArray.h216 VertexAttribType type,
225 VertexAttribType type,
231 VertexAttribType type,
347 VertexAttribType type,
355 VertexAttribType type,
H A DvalidationES2.h71 VertexAttribType type, in ValidateVertexAttribPointer()
122 if (type == VertexAttribType::Fixed) in ValidateVertexAttribPointer()
H A DvalidationES1_autogen.h68 VertexAttribType typePacked,
259 VertexAttribType typePacked,
334 VertexAttribType typePacked,
390 VertexAttribType typePacked,
H A DContext.h232 VertexAttribTypeCase getVertexAttribTypeValidation(VertexAttribType type) const in getVertexAttribTypeValidation()
237 VertexAttribTypeCase getIntegerVertexAttribTypeValidation(VertexAttribType type) const in getIntegerVertexAttribTypeValidation()
326 angle::PackedEnumMap<VertexAttribType,
328 angle::EnumSize<VertexAttribType>() + 1>
330 angle::PackedEnumMap<VertexAttribType,
332 angle::EnumSize<VertexAttribType>() + 1>
H A DContext_gles_1_0.cpp101 void Context::colorPointer(GLint size, VertexAttribType type, GLsizei stride, const void *ptr) in colorPointer()
106 type == VertexAttribType::UnsignedByte, stride, ptr); in colorPointer()
420 void Context::normalPointer(VertexAttribType type, GLsizei stride, const void *ptr) in normalPointer()
528 void Context::texCoordPointer(GLint size, VertexAttribType type, GLsizei stride, const void *ptr) in texCoordPointer()
595 void Context::vertexPointer(GLint size, VertexAttribType type, GLsizei stride, const void *ptr) in vertexPointer()
677 void Context::pointSizePointer(VertexAttribType type, GLsizei stride, const void *ptr) in pointSizePointer()
H A DvalidationES1.cpp84 VertexAttribType type, in ValidateBuiltinVertexAttributeCommon()
138 case VertexAttribType::Byte: in ValidateBuiltinVertexAttributeCommon()
145 case VertexAttribType::Short: in ValidateBuiltinVertexAttributeCommon()
153 case VertexAttribType::Fixed: in ValidateBuiltinVertexAttributeCommon()
154 case VertexAttribType::Float: in ValidateBuiltinVertexAttributeCommon()
156 case VertexAttribType::UnsignedByte: in ValidateBuiltinVertexAttributeCommon()
784 VertexAttribType type, in ValidateColorPointer()
1273 VertexAttribType type, in ValidateNormalPointer()
1483 VertexAttribType type, in ValidateTexCoordPointer()
1626 VertexAttribType typ in ValidateVertexPointer()
[all...]
H A DVertexArray.cpp451 VertexAttribType type, in setVertexAttribFormatImpl()
470 VertexAttribType type, in setVertexAttribFormat()
525 VertexAttribType type,
584 VertexAttribType type,
597 VertexAttribType type,
H A DContext_gles_3_1_autogen.h127 void vertexAttribFormat(GLuint attribindex, GLint size, VertexAttribType typePacked, \
129 void vertexAttribIFormat(GLuint attribindex, GLint size, VertexAttribType typePacked, \
/third_party/vk-gl-cts/framework/referencerenderer/
H A DrrVertexAttrib.hpp33 enum VertexAttribType enum
111 VertexAttribType type; //!< Attribute component type.
127 VertexAttrib (VertexAttribType type_, int size_, int stride_, int instanceDivisor_, const void* pointer_) in VertexAttrib()
H A DrrVertexAttrib.cpp277 void readFloat (tcu::Vec4& dst, const VertexAttribType type, const int size, const void* ptr) in readFloat()
324 void readInt (tcu::IVec4& dst, const VertexAttribType type, const int size, const void* ptr) in readInt()
371 void readUint (tcu::UVec4& dst, const VertexAttribType type, const int size, const void* ptr) in readUint()
418 int getComponentSize (const VertexAttribType type) in getComponentSize()
/third_party/skia/tests/graphite/
H A 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()
/third_party/vk-gl-cts/framework/opengl/simplereference/
H A DsglrReferenceUtils.hpp38 rr::VertexAttribType mapGLPureIntegerVertexAttributeType (deUint32 type);
39 rr::VertexAttribType mapGLFloatVertexAttributeType (deUint32 type, bool normalizedInteger, int size, glu::ContextType ctxType);
/third_party/skia/third_party/externals/angle2/src/libANGLE/capture/
H A Dcapture_gles_1_0_params.cpp38 VertexAttribType typePacked, in CaptureColorPointer_pointer()
274 VertexAttribType typePacked, in CaptureNormalPointer_pointer()
303 VertexAttribType typePacked, in CaptureTexCoordPointer_pointer()
356 VertexAttribType typePacked, in CaptureVertexPointer_pointer()
H A Dcapture_gles_1_0_autogen.h69 VertexAttribType typePacked,
249 VertexAttribType typePacked,
324 VertexAttribType typePacked,
380 VertexAttribType typePacked,
399 VertexAttribType typePacked,
528 VertexAttribType typePacked,
545 VertexAttribType typePacked,
576 VertexAttribType typePacked,
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
H A DVertexBuffer.h52 gl::VertexAttribType currentValueType,
124 gl::VertexAttribType currentValueType,
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
H A DVertexBuffer9.h32 gl::VertexAttribType currentValueType,
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
H A DVertexBuffer11.h35 gl::VertexAttribType currentValueType,

Completed in 23 milliseconds

1234