Home
last modified time | relevance | path

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

12345

/external/skia/src/gpu/
DGrPrimitiveProcessor.cpp56 GrPrimitiveProcessor::TextureSampler::TextureSampler(GrTextureType textureType, in TextureSampler() argument
60 this->reset(textureType, config, samplerState, extraSamplerKey); in TextureSampler()
63 GrPrimitiveProcessor::TextureSampler::TextureSampler(GrTextureType textureType, in TextureSampler() argument
67 this->reset(textureType, config, filterMode, wrapXAndY); in TextureSampler()
70 void GrPrimitiveProcessor::TextureSampler::reset(GrTextureType textureType, in reset() argument
76 fSamplerState.setFilterMode(clamp_filter(textureType, samplerState.filter())); in reset()
77 fTextureType = textureType; in reset()
80 SkASSERT(!fExtraSamplerKey || textureType == GrTextureType::kExternal); in reset()
83 void GrPrimitiveProcessor::TextureSampler::reset(GrTextureType textureType, in reset() argument
88 filterMode = clamp_filter(textureType, filterMode); in reset()
[all …]
DGrProgramDesc.cpp42 static uint32_t sampler_key(GrTextureType textureType, GrPixelConfig config, in sampler_key() argument
44 int samplerTypeKey = texture_type_key(textureType); in sampler_key()
62 k32[i] = sampler_key(tex->texturePriv().textureType(), tex->config(), caps); in add_sampler_keys()
66 SkASSERT(sampler.proxy()->textureType() == GrTextureType::kExternal); in add_sampler_keys()
85 k32[i] = sampler_key(sampler.textureType(), sampler.config(), caps); in add_sampler_keys()
88 SkASSERT(sampler.textureType() == GrTextureType::kExternal); in add_sampler_keys()
DGrTextureProxy.cpp145 first->textureType() == second->textureType() && in ProxiesAreCompatibleAsDynamicState()
178 SkASSERT(surface->asTexture()->texturePriv().textureType() == this->textureType()); in onValidateSurface()
DGrTexturePriv.h43 GrTextureType textureType() const { return fTexture->fTextureType; } in textureType() function
45 return GrTextureTypeHasRestrictedSampling(this->textureType()); in hasRestrictedSampling()
DGrAHardwareBufferImageGenerator.cpp113 GrTextureType textureType = GrTextureType::k2D; in makeProxy() local
115 textureType = GrTextureType::kExternal; in makeProxy()
120 textureType = GrTextureType::kExternal; in makeProxy()
/external/skqp/src/gpu/
DGrPrimitiveProcessor.cpp56 GrPrimitiveProcessor::TextureSampler::TextureSampler(GrTextureType textureType, in TextureSampler() argument
60 this->reset(textureType, config, samplerState, extraSamplerKey); in TextureSampler()
63 GrPrimitiveProcessor::TextureSampler::TextureSampler(GrTextureType textureType, in TextureSampler() argument
67 this->reset(textureType, config, filterMode, wrapXAndY); in TextureSampler()
70 void GrPrimitiveProcessor::TextureSampler::reset(GrTextureType textureType, in reset() argument
76 fSamplerState.setFilterMode(clamp_filter(textureType, samplerState.filter())); in reset()
77 fTextureType = textureType; in reset()
80 SkASSERT(!fExtraSamplerKey || textureType == GrTextureType::kExternal); in reset()
83 void GrPrimitiveProcessor::TextureSampler::reset(GrTextureType textureType, in reset() argument
88 filterMode = clamp_filter(textureType, filterMode); in reset()
[all …]
DGrProgramDesc.cpp42 static uint16_t sampler_key(GrTextureType textureType, GrPixelConfig config, in sampler_key() argument
44 int samplerTypeKey = texture_type_key(textureType); in sampler_key()
64 k16[i] = sampler_key(tex->texturePriv().textureType(), tex->config(), caps); in add_sampler_keys()
68 SkASSERT(sampler.proxy()->textureType() == GrTextureType::kExternal); in add_sampler_keys()
93 k16[i] = sampler_key(sampler.textureType(), sampler.config(), caps); in add_sampler_keys()
96 SkASSERT(sampler.textureType() == GrTextureType::kExternal); in add_sampler_keys()
DGrTextureProxy.cpp145 first->textureType() == second->textureType() && in ProxiesAreCompatibleAsDynamicState()
178 SkASSERT(surface->asTexture()->texturePriv().textureType() == this->textureType()); in onValidateSurface()
DGrTexturePriv.h43 GrTextureType textureType() const { return fTexture->fTextureType; } in textureType() function
45 return GrTextureTypeHasRestrictedSampling(this->textureType()); in hasRestrictedSampling()
DGrGpuCommandBuffer.cpp76 GrTextureType type = primProcProxies[i]->textureType(); in draw()
82 SkASSERT(testProxy->textureType() == type); in draw()
/external/swiftshader/src/Device/
DSampler.cpp53 textureType = TEXTURE_NULL; in Sampler()
89 if(textureType != TEXTURE_NULL) in samplerState()
91 state.textureType = textureType; in samplerState()
250 textureType = type; in setTextureLevel()
380 return textureType != TEXTURE_NULL; in hasTexture()
393 return textureType == TEXTURE_CUBE; in hasCubeTexture()
398 return textureType == TEXTURE_3D || textureType == TEXTURE_2D_ARRAY; in hasVolumeTexture()
425 return textureType; in getTextureType()
446 if(textureType != TEXTURE_2D || texture.maxAnisotropy == 1.0f) in getTextureFilter()
456 if(textureType == TEXTURE_CUBE) in getAddressingModeU()
[all …]
/external/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 …]
/external/deqp/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 …]
/external/clang/test/SemaObjCXX/
Dinstantiate-property-access.mm15 @property int textureType; property
26 (void)(color_attachment[0].textureType == TextureType3D);
27 color_attachment[0].textureType += 1;
/external/deqp/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 …]
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineImageTests.cpp292 std::ostringstream textureType; in getGlslTextureType() local
295 textureType << "u"; in getGlslTextureType()
297 textureType << "i"; in getGlslTextureType()
302 textureType << "texture1D"; in getGlslTextureType()
306 textureType << "texture1DArray"; in getGlslTextureType()
310 textureType << "texture2D"; in getGlslTextureType()
314 textureType << "texture2DArray"; in getGlslTextureType()
318 textureType << "texture3D"; in getGlslTextureType()
322 textureType << "textureCube"; in getGlslTextureType()
326 textureType << "textureCubeArray"; in getGlslTextureType()
[all …]
/external/skqp/include/private/
DGrTextureProxy.h43 GrTextureType textureType() const { return this->backendFormat().textureType(); } in textureType() function
47 return GrTextureTypeHasRestrictedSampling(this->textureType()); in hasRestrictedSampling()
/external/skia/include/private/
DGrTextureProxy.h43 GrTextureType textureType() const { return this->backendFormat().textureType(); } in textureType() function
47 return GrTextureTypeHasRestrictedSampling(this->textureType()); in hasRestrictedSampling()
/external/skqp/src/gpu/gl/
DGrGLTexture.cpp84 return target_from_texture_type(this->texturePriv().textureType()); in target()
106 info.fTarget = target_from_texture_type(this->texturePriv().textureType()); in getBackendTexture()
114 target_from_texture_type(this->texturePriv().textureType())); in backendFormat()
/external/skia/src/gpu/gl/
DGrGLTexture.cpp84 return target_from_texture_type(this->texturePriv().textureType()); in target()
104 info.fTarget = target_from_texture_type(this->texturePriv().textureType()); in getBackendTexture()
112 target_from_texture_type(this->texturePriv().textureType())); in backendFormat()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderTextureGatherTests.cpp855 static inline glu::DataType getSamplerType (TextureType textureType, const tcu::TextureFormat& form… in getSamplerType() argument
859 switch (textureType) in getSamplerType()
869 switch (textureType) in getSamplerType()
1003 TextureType textureType; member
1030 , textureType (textureType_) in GatherCaseBaseParams()
1046 , textureType (TEXTURETYPE_LAST) in GatherCaseBaseParams()
1151 …DE_ASSERT(m_baseParams.textureType == TEXTURETYPE_CUBE || !(m_baseParams.flags & GATHERCASE_DONT_S… in TextureGatherInstance()
1349 const IVec3 coordBits = m_baseParams.textureType == TEXTURETYPE_2D ? IVec3(20,20,0) in verify()
1350 : m_baseParams.textureType == TEXTURETYPE_CUBE ? IVec3(10,10,10) in verify()
1351 : m_baseParams.textureType == TEXTURETYPE_2D_ARRAY ? IVec3(20,20,20) in verify()
[all …]
/external/skqp/src/ports/
DSkScalerContext_win_dw.h41 DWRITE_TEXTURE_TYPE textureType);
45 DWRITE_TEXTURE_TYPE textureType,
/external/skia/src/ports/
DSkScalerContext_win_dw.h41 DWRITE_TEXTURE_TYPE textureType);
45 DWRITE_TEXTURE_TYPE textureType,
/external/deqp/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()
825 TextureType textureType, in readIntegerTextureViaFBOAndVerify() argument
831 DE_ASSERT(textureType != TEXTURETYPE_BUFFER); in readIntegerTextureViaFBOAndVerify()
837 const int numSlicesOrFaces = textureType == TEXTURETYPE_CUBE ? 6 : textureSize.z(); in readIntegerTextureViaFBOAndVerify()
838 const deUint32 textureTargetGL = getGLTextureTarget(textureType); in readIntegerTextureViaFBOAndVerify()
[all …]
/external/skqp/src/gpu/ops/
DGrTextureOp.cpp262 SkASSERT(fProxies[p].fProxy->textureType() == fProxies[0].fProxy->textureType()); in TextureOp()
302 if (proxy->textureType() == GrTextureType::kRectangle) { in tess()
330 auto textureType = fProxies[0].fProxy->textureType(); in onPrepareDraws() local
349 SkASSERT(proxy->textureType() == textureType); in onPrepareDraws()
369 textureType, config, samplerState, extraSamplerKey, in onPrepareDraws()

12345