Home
last modified time | relevance | path

Searched refs:glType (Results 1 – 20 of 20) sorted by relevance

/third_party/vk-gl-cts/modules/gles2/functional/
Des2fReadPixelsTests.cpp66 void getFormatInfo (tcu::TextureFormat& format, GLint& glFormat, GLint& glType, int& pixelSize);
144 void ReadPixelsTest::getFormatInfo (tcu::TextureFormat& format, GLint& glFormat, GLint& glType, int… in getFormatInfo() argument
149 GLU_CHECK_CALL(glGetIntegerv(GL_IMPLEMENTATION_COLOR_READ_TYPE, &glType)); in getFormatInfo()
153 if (glu::getTypeName(glType) == DE_NULL) in getFormatInfo()
154 …pported GL_IMPLEMENTATION_COLOR_READ_TYPE: " + de::toString(tcu::Format::Hex<4>(glType))).c_str()); in getFormatInfo()
156 format = glu::mapGLTransferFormat(glFormat, glType); in getFormatInfo()
164 glType = GL_UNSIGNED_BYTE; in getFormatInfo()
179 GLint glType; in iterate() local
181 getFormatInfo(format, glFormat, glType, pixelSize); in iterate()
182 …" << glu::getTextureFormatStr(glFormat) << ", Type: " << glu::getTypeStr(glType) << tcu::TestLog::… in iterate()
[all …]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DStructureHLSL.cpp147 const GLenum glType = GLVariableType(type); in prePadding() local
148 const int numComponents = gl::VariableComponentCount(glType); in prePadding()
217 const GLenum glType = GLVariableType(type); in postPaddingString() local
218 const int numComponents = gl::VariableComponentCount(glType); in postPaddingString()
253 const GLenum glType = GLVariableType(type); in postPaddingString() local
254 numComponents = gl::MatrixComponentCount(glType, isRowMajorMatrix); in postPaddingString()
269 const GLenum glType = GLVariableType(type); in postPaddingString() local
270 numComponents = gl::VariableComponentCount(glType); in postPaddingString()
DBuildSPIRV.cpp120 const GLenum glType = in ToShaderVariable() local
123 var.fields.push_back(ToShaderVariable(fieldType.getStruct(), glType, in ToShaderVariable()
135 const GLenum glType = in SpirvTypeToShaderVariable() local
140 return ToShaderVariable(type.block, glType, type.arraySizes, isRowMajor); in SpirvTypeToShaderVariable()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fShaderStateQueryTests.cpp60 glw::GLenum glType; member
111 std::string(glu::getShaderVarTypeStr(samplerTypes[typeNdx].glType).toString()), in iterate()
112 "Uniform type " + glu::getShaderVarTypeStr(samplerTypes[typeNdx].glType).toString()); in iterate()
125 …form sampler of type " << glu::getShaderVarTypeStr(samplerTypes[typeNdx].glType) << tcu::TestLog::… in iterate()
149 if (type != (glw::GLint)samplerTypes[typeNdx].glType) in iterate()
152 buf << "Invalid type, expected " << samplerTypes[typeNdx].glType << ", got " << type; in iterate()
Des31fSeparateShaderTests.cpp1122 const GLenum glType = glu::getGLShaderType(shaderType); in createSingleShaderProgram() local
1123 const GLuint programName = glCreateShaderProgramv(glType, 1, &srcStr); in createSingleShaderProgram()
Des31fCopyImageTests.cpp794 const deUint32 glType = getTypeForInternalFormat(format); in genericTexImage() local
800 …lTarget, level, format, (glw::GLsizei)size.x(), (glw::GLsizei)size.y(), 0, glFormat, glType, data); in genericTexImage()
805 …(glw::GLsizei)size.x(), (glw::GLsizei)size.y(), (glw::GLsizei)size.z(), 0, glFormat, glType, data); in genericTexImage()
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/
DStructureHLSL.cpp126 const GLenum glType = GLVariableType(type); in prePadding() local
127 const int numComponents = gl::VariableComponentCount(glType); in prePadding()
188 const GLenum glType = GLVariableType(type); in postPaddingString() local
189 numComponents = gl::MatrixComponentCount(glType, isRowMajorMatrix); in postPaddingString()
204 const GLenum glType = GLVariableType(type); in postPaddingString() local
205 numComponents = gl::VariableComponentCount(glType); in postPaddingString()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DInputLayoutCache.h35 void addAttributeData(GLenum glType,
DInputLayoutCache.cpp72 void PackedAttributeLayout::addAttributeData(GLenum glType, in addAttributeData() argument
77 gl::AttributeType attribType = gl::GetAttributeType(glType); in addAttributeData()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DInputLayoutCache.h35 void addAttributeData(GLenum glType,
DInputLayoutCache.cpp72 void PackedAttributeLayout::addAttributeData(GLenum glType, in addAttributeData() argument
77 gl::AttributeType attribType = gl::GetAttributeType(glType); in addAttributeData()
/third_party/skia/gm/
Dexoticformats.cpp73 uint32_t glType = get_uint(header, 16); in load_ktx() local
86 if (glType != 0 || glFormat != 0) { // only care about compressed data for now in load_ktx()
/third_party/skia/third_party/externals/dawn/src/tests/white_box/
DEGLImageWrappingTests.cpp299 GLenum glType, in DoClearTest() argument
344 gl.ReadPixels(0, 0, 1, 1, glFormat, glType, result.data()); in DoClearTest()
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
DCommandBufferGL.cpp722 GLenum glType; in Execute() local
727 glType = format.type; in Execute()
732 glType = GL_FLOAT; in Execute()
737 glType = GL_UNSIGNED_BYTE; in Execute()
755 copySize.height, glFormat, glType, offset); in Execute()
769 copySize.height, glFormat, glType, offset); in Execute()
/third_party/vk-gl-cts/framework/opengl/
DgluShaderUtil.cpp1182 DataType getDataTypeFromGLType (deUint32 glType) in getDataTypeFromGLType() argument
1184 switch (glType) in getDataTypeFromGLType()
DgluShaderUtil.hpp273 DataType getDataTypeFromGLType (deUint32 glType);
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
Dmtl_utils.h134 MTLTextureType GetTextureType(gl::TextureType glType);
Dmtl_utils.mm861 MTLTextureType GetTextureType(gl::TextureType glType)
863 switch (glType)
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DMultisampledRenderToTextureTest.cpp142 const GLType *glType,
563 const GLType *glType, in createAndAttachColorAttachment() argument
568 GLenum internalFormat = glType ? glType->internalFormat : GL_RGBA; in createAndAttachColorAttachment()
569 GLenum format = glType ? glType->format : GL_RGBA; in createAndAttachColorAttachment()
570 GLenum type = glType ? glType->type : GL_UNSIGNED_BYTE; in createAndAttachColorAttachment()
/third_party/skia/third_party/externals/angle2/src/libANGLE/capture/
Dframe_capture_utils.cpp1204 GLenum glType = format.type; in SerializeTextureData() local
1211 bool unpackSize = format.computePackUnpackEndByte(glType, size, packState, true, &endByte); in SerializeTextureData()
1235 index.getLevelIndex(), glFormat, glType, in SerializeTextureData()