Home
last modified time | relevance | path

Searched refs:textureType (Results 1 – 25 of 119) sorted by relevance

12345

/third_party/skia/third_party/externals/swiftshader/src/Device/
DSampler.hpp93 VkImageViewType textureType; member
120 switch(textureType) in is1D()
132 UNSUPPORTED("VkImageViewType %d", (int)textureType); in is1D()
139 switch(textureType) in is2D()
151 UNSUPPORTED("VkImageViewType %d", (int)textureType); in is2D()
158 switch(textureType) in is3D()
170 UNSUPPORTED("VkImageViewType %d", (int)textureType); in is3D()
177 switch(textureType) in isCube()
189 UNSUPPORTED("VkImageViewType %d", (int)textureType); in isCube()
196 switch(textureType) in isArrayed()
[all …]
/third_party/skia/third_party/externals/swiftshader/src/Renderer/
DSampler.cpp54 textureType = TEXTURE_NULL; in Sampler()
90 if(textureType != TEXTURE_NULL) in samplerState()
92 state.textureType = textureType; in samplerState()
253 textureType = type; in setTextureLevel()
383 return textureType != TEXTURE_NULL; in hasTexture()
396 return textureType == TEXTURE_CUBE; in hasCubeTexture()
401 return textureType == TEXTURE_3D || textureType == TEXTURE_2D_ARRAY; in hasVolumeTexture()
438 return textureType; in getTextureType()
459 if(textureType != TEXTURE_2D || texture.maxAnisotropy == 1.0f) in getTextureFilter()
469 if(textureType == TEXTURE_CUBE) in getAddressingModeU()
[all …]
/third_party/skia/src/gpu/
DGrTextureProxy.cpp38 if (this->textureType() == GrTextureType::kExternal) { in GrTextureProxy()
64 if (this->textureType() == GrTextureType::kExternal) { in GrTextureProxy()
84 if (this->textureType() == GrTextureType::kExternal) { in GrTextureProxy()
171 return first->backendFormat().textureType() == second->backendFormat().textureType() && in ProxiesAreCompatibleAsDynamicState()
212 this->textureType(), in callbackDesc()
228 SkASSERT(surface->asTexture()->textureType() == this->textureType()); in onValidateSurface()
DGrResourceProvider.cpp46 GrTextureType textureType, in createTexture() argument
70 textureType)) { in createTexture()
77 textureType, in createTexture()
101 textureType, in createTexture()
114 GrTextureType textureType, in getExactScratch() argument
122 textureType, in getExactScratch()
136 GrTextureType textureType, in createTexture() argument
155 GrMipmapped::kNo, textureType)) { in createTexture()
159 auto tex = this->createApproxTexture(dimensions, format, textureType, renderable, in createTexture()
168 textureType, in createTexture()
[all …]
DGrResourceProvider.h66 GrTextureType textureType,
74 GrTextureType textureType,
88 GrTextureType textureType,
104 GrTextureType textureType,
120 GrTextureType textureType,
DGrProgramDesc.cpp48 static uint32_t sampler_key(GrTextureType textureType, const GrSwizzle& swizzle, in sampler_key() argument
50 int samplerTypeKey = texture_type_key(textureType); in sampler_key()
66 uint32_t samplerKey = sampler_key(backendFormat.textureType(), sampler.swizzle(), caps); in add_geomproc_sampler_keys()
125 uint32_t samplerKey = sampler_key(backendFormat.textureType(), te->view().swizzle(), caps); in gen_fp_key()
DGrTexture.cpp44 GrTextureType textureType, in GrTexture() argument
47 , fTextureType(textureType) in GrTexture()
54 if (textureType == GrTextureType::kExternal) { in GrTexture()
DGrTextureProxy.h55 GrTextureType textureType() const { return this->backendFormat().textureType(); } in textureType() function
59 return GrTextureTypeHasRestrictedSampling(this->textureType()); in hasRestrictedSampling()
DGrTexture.h43 GrTextureType textureType() const { return fTextureType; } in textureType() function
45 return GrTextureTypeHasRestrictedSampling(this->textureType()); in hasRestrictedSampling()
DGrGpu.cpp100 GrTextureType textureType, in createTextureCommon() argument
118 textureType)) { in createTextureCommon()
154 GrTextureType textureType, in createTexture() argument
169 textureType, in createTexture()
184 GrTextureType textureType, in createTexture() argument
217 textureType, in createTexture()
297 if (!caps->isFormatTexturable(backendTex.getBackendFormat(), backendTex.textureType())) { in wrapBackendTexture()
316 if (!caps->isFormatTexturable(backendTex.getBackendFormat(), backendTex.textureType())) { in wrapCompressedBackendTexture()
338 if (!caps->isFormatTexturable(backendTex.getBackendFormat(), backendTex.textureType()) || in wrapRenderableBackendTexture()
DGrTextureRenderTargetProxy.cpp169 this->textureType(), in callbackDesc()
186 SkASSERT(surface->asTexture()->textureType() == this->textureType()); in onValidateSurface()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cTextureFilterMinmaxTests.cpp81 SupportedTextureType* textureType = *iter; in ~TextureFilterMinmaxUtils() local
82 delete textureType; in ~TextureFilterMinmaxUtils()
557 TextureFilterMinmaxUtils::SupportedTextureType* textureType = *iter; in testReductionModeQueriesDefaultValues() local
559 gl.getTexParameteriv(textureType->getType(), GL_TEXTURE_REDUCTION_MODE_ARB, &params); in testReductionModeQueriesDefaultValues()
563 gl.getTexParameterIiv(textureType->getType(), GL_TEXTURE_REDUCTION_MODE_ARB, &params); in testReductionModeQueriesDefaultValues()
598 TextureFilterMinmaxUtils::SupportedTextureType* textureType = *iter; in testReductionModeQueries() local
600 gl.texParameteriv(textureType->getType(), GL_TEXTURE_REDUCTION_MODE_ARB, &pname); in testReductionModeQueries()
603 gl.texParameterIiv(textureType->getType(), GL_TEXTURE_REDUCTION_MODE_ARB, &pname); in testReductionModeQueries()
658 TextureFilterMinmaxUtils::SupportedTextureType* textureType = *textureTypeIter; in iterate() local
667 …if (dataTypeIter->hasFlag(TextureFilterMinmaxUtils::EXCLUDE_3D) && textureType->getType() == GL_TE… in iterate()
[all …]
/third_party/vk-gl-cts/modules/egl/
DteglGLES2SharedRenderingPerfTests.cpp90 TextureType textureType; member
494 if (m_config.textureType == TestConfig::TEXTURETYPE_IMAGE in TestContext()
495 || m_config.textureType == TestConfig::TEXTURETYPE_SHARED_IMAGE in TestContext()
496 || m_config.textureType == TestConfig::TEXTURETYPE_SHARED_IMAGE_TEXTURE) in TestContext()
515 if (m_config.textureType == TestConfig::TEXTURETYPE_IMAGE in TestContext()
516 || m_config.textureType == TestConfig::TEXTURETYPE_SHARED_IMAGE in TestContext()
517 || m_config.textureType == TestConfig::TEXTURETYPE_SHARED_IMAGE_TEXTURE) in TestContext()
543 if (m_config.textureType == TestConfig::TEXTURETYPE_TEXTURE) in TestContext()
545 else if (m_config.textureType == TestConfig::TEXTURETYPE_SHARED_TEXTURE) in TestContext()
552 else if (m_config.textureType == TestConfig::TEXTURETYPE_IMAGE) in TestContext()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
Drenderergl_utils.h125 bool UseTexImage2D(gl::TextureType textureType);
126 bool UseTexImage3D(gl::TextureType textureType);
127 GLenum GetTextureBindingQuery(gl::TextureType textureType);
128 GLenum GetTextureBindingTarget(gl::TextureType textureType);
/third_party/skia/third_party/externals/angle2/src/common/
Dutilities.h144 GLenum textureType,
160 GLenum textureType; member
177 GLenum textureType, in UniformTypeInfo() argument
192 textureType(textureType), in UniformTypeInfo()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineImageTests.cpp315 std::ostringstream textureType; in getGlslTextureType() local
318 textureType << "u"; in getGlslTextureType()
320 textureType << "i"; in getGlslTextureType()
325 textureType << "texture1D"; in getGlslTextureType()
329 textureType << "texture1DArray"; in getGlslTextureType()
333 textureType << "texture2D"; in getGlslTextureType()
337 textureType << "texture2DArray"; in getGlslTextureType()
341 textureType << "texture3D"; in getGlslTextureType()
345 textureType << "textureCube"; in getGlslTextureType()
349 textureType << "textureCubeArray"; in getGlslTextureType()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
Dmtl_resources.mm178 desc.textureType = MTLTextureType2DMultisample;
209 desc.textureType = MTLTextureType2DArray;
238 desc.textureType = MTLTextureType3D;
255 desc.textureType = MTLTextureType2D;
380 desc.textureType == MTLTextureType2DMultisample)
469 textureType:type
486 textureType:original->textureType()
567 if (textureType() != MTLTextureType3D)
614 switch (textureType())
630 switch (textureType())
[all …]
DImageMtl.mm39 if (texture.textureType != MTLTextureType2D && texture.textureType != MTLTextureTypeCube)
145 switch (mNativeTexture->textureType())
/third_party/skia/src/gpu/gl/
DGrGLTexture.cpp93 GrGLenum GrGLTexture::target() const { return target_from_texture_type(this->textureType()); } in target()
115 info.fTarget = target_from_texture_type(this->textureType()); in getBackendTexture()
123 target_from_texture_type(this->textureType())); in backendFormat()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderTextureGatherTests.cpp858 static inline glu::DataType getSamplerType (TextureType textureType, const tcu::TextureFormat& form… in getSamplerType() argument
862 switch (textureType) in getSamplerType()
872 switch (textureType) in getSamplerType()
1015 TextureType textureType; member
1044 , textureType (textureType_) in GatherCaseBaseParams()
1061 , textureType (TEXTURETYPE_LAST) in GatherCaseBaseParams()
1179 …DE_ASSERT(m_baseParams.textureType == TEXTURETYPE_CUBE || !(m_baseParams.flags & GATHERCASE_DONT_S… in TextureGatherInstance()
1288 const auto textureType = textureBinding->getType(); in init() local
1291 switch (textureType) in init()
1450 const IVec3 coordBits = m_baseParams.textureType == TEXTURETYPE_2D ? IVec3(20,20,0) in verify()
[all …]
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fShaderImageLoadStoreTests.cpp237 …SamplerOrImageType (TextureFormat::ChannelType formatType, TextureType textureType, bool isSampler) in getShaderSamplerOrImageType() argument
243 const char* const imageTypePart = textureType == TEXTURETYPE_BUFFER ? "Buffer" in getShaderSamplerOrImageType()
244 : textureType == TEXTURETYPE_2D ? "2D" in getShaderSamplerOrImageType()
245 : textureType == TEXTURETYPE_3D ? "3D" in getShaderSamplerOrImageType()
246 : textureType == TEXTURETYPE_CUBE ? "Cube" in getShaderSamplerOrImageType()
247 : textureType == TEXTURETYPE_2D_ARRAY ? "2DArray" in getShaderSamplerOrImageType()
832 TextureType textureType, in readIntegerTextureViaFBOAndVerify() argument
838 DE_ASSERT(textureType != TEXTURETYPE_BUFFER); in readIntegerTextureViaFBOAndVerify()
844 const int numSlicesOrFaces = textureType == TEXTURETYPE_CUBE ? 6 : textureSize.z(); in readIntegerTextureViaFBOAndVerify()
845 const deUint32 textureTargetGL = getGLTextureTarget(textureType); in readIntegerTextureViaFBOAndVerify()
[all …]
Des31fTextureGatherTests.cpp854 static inline glu::DataType getSamplerType (TextureType textureType, const tcu::TextureFormat& form… in getSamplerType() argument
858 switch (textureType) in getSamplerType()
868 switch (textureType) in getSamplerType()
963 TextureType textureType,
1039 TextureType textureType, in TextureGatherCase() argument
1063 , m_textureType (textureType) in TextureGatherCase()
1230 TextureType textureType, in genProgramSources() argument
1240 const glu::DataType samplerType = getSamplerType(textureType, textureFormat); in genProgramSources()
1241 const int numDims = getNumTextureSamplingDimensions(textureType); in genProgramSources()
2005 static inline TextureGatherCase* makeTextureGatherCase (TextureType textureType, in makeTextureGatherCase() argument
[all …]
/third_party/skia/src/ports/
DSkScalerContext_win_dw.h55 DWRITE_TEXTURE_TYPE textureType);
59 DWRITE_TEXTURE_TYPE textureType,
DSkScalerContext_win_dw.cpp484 DWRITE_TEXTURE_TYPE textureType, in getBoundingBox() argument
544 HRM(glyphRunAnalysis->GetAlphaTextureBounds(textureType, bbox), in getBoundingBox()
968 DWRITE_TEXTURE_TYPE textureType) in drawDWMask() argument
973 if (DWRITE_TEXTURE_CLEARTYPE_3x1 == textureType) { in drawDWMask()
1043 HRNM(glyphRunAnalysis->CreateAlphaTexture(textureType, in drawDWMask()
1168 DWRITE_TEXTURE_TYPE textureType = fTextureType; in generateImage() local
1171 textureType = DWRITE_TEXTURE_ALIASED_1x1; in generateImage()
1188 const void* bits = this->drawDWMask(glyph, renderingMode, textureType); in generateImage()
1198 SkASSERT(DWRITE_TEXTURE_ALIASED_1x1 == textureType); in generateImage()
1201 if (textureType == DWRITE_TEXTURE_ALIASED_1x1) { in generateImage()
/third_party/skia/tests/
DEGLImageTest.cpp180 REPORTER_ASSERT(reporter, proxy->textureType() == GrTextureType::kExternal); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
181 REPORTER_ASSERT(reporter, proxy->peekTexture()->textureType() == GrTextureType::kExternal); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
199 SkDebugf("type: %d\n", (int)surfaceContext->asTextureProxy()->textureType()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()

12345