Home
last modified time | relevance | path

Searched refs:SamplerFormat (Results 1 – 15 of 15) sorted by relevance

/third_party/skia/third_party/externals/angle2/src/common/
Duniform_type_info_autogen.cpp22 {{GL_NONE, GL_NONE, GL_NONE, GL_NONE, GL_NONE, SamplerFormat::InvalidEnum, 0, 0, 0, 0, 0 * 0,
24 {GL_BOOL, GL_BOOL, GL_NONE, GL_NONE, GL_NONE, SamplerFormat::InvalidEnum, 1, 1, 1,
26 {GL_BOOL_VEC2, GL_BOOL, GL_NONE, GL_NONE, GL_BOOL_VEC2, SamplerFormat::InvalidEnum, 1, 2, 2,
28 {GL_BOOL_VEC3, GL_BOOL, GL_NONE, GL_NONE, GL_BOOL_VEC3, SamplerFormat::InvalidEnum, 1, 3, 3,
30 {GL_BOOL_VEC4, GL_BOOL, GL_NONE, GL_NONE, GL_BOOL_VEC4, SamplerFormat::InvalidEnum, 1, 4, 4,
32 {GL_FLOAT, GL_FLOAT, GL_NONE, GL_NONE, GL_BOOL, SamplerFormat::InvalidEnum, 1, 1, 1,
34 {GL_FLOAT_MAT2, GL_FLOAT, GL_NONE, GL_FLOAT_MAT2, GL_NONE, SamplerFormat::InvalidEnum, 2, 2, 4,
36 {GL_FLOAT_MAT2x3, GL_FLOAT, GL_NONE, GL_FLOAT_MAT3x2, GL_NONE, SamplerFormat::InvalidEnum, 3,
38 {GL_FLOAT_MAT2x4, GL_FLOAT, GL_NONE, GL_FLOAT_MAT4x2, GL_NONE, SamplerFormat::InvalidEnum, 4,
40 {GL_FLOAT_MAT3, GL_FLOAT, GL_NONE, GL_FLOAT_MAT3, GL_NONE, SamplerFormat::InvalidEnum, 3, 3, 9,
[all …]
Dutilities.h129 enum class SamplerFormat : uint8_t enum
147 SamplerFormat samplerFormat,
163 SamplerFormat samplerFormat;
180 SamplerFormat samplerFormat, in UniformTypeInfo()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DProgramExecutable.h29 SamplerFormat formatIn,
39 SamplerFormat format;
159 SamplerFormat getSamplerFormatForTextureUnitIndex(size_t textureUnitIndex) const in getSamplerFormatForTextureUnitIndex()
392 ActiveTextureArray<SamplerFormat> mActiveSamplerFormats;
DProgramExecutable.cpp243 mActiveSamplerFormats.fill(SamplerFormat::InvalidEnum); in reset()
461 SamplerFormat format = stream->readEnum<SamplerFormat>(); in load()
805 mActiveSamplerFormats[textureUnit] = SamplerFormat::InvalidEnum; in updateActiveSamplers()
841 SamplerFormat foundFormat = SamplerFormat::InvalidEnum; in setSamplerUniformTextureTypeAndFormat()
870 foundFormat = SamplerFormat::InvalidEnum; in setSamplerUniformTextureTypeAndFormat()
1174 if (mActiveSamplerFormats[textureUnit] == SamplerFormat::InvalidEnum) in validateSamplersImpl()
DTexture.h125 ANGLE_INLINE bool compatibleWithSamplerFormatForWebGL(SamplerFormat format, in compatibleWithSamplerFormatForWebGL()
136 return mCachedSamplerFormat == SamplerFormat::InvalidEnum || format == mCachedSamplerFormat; in compatibleWithSamplerFormatForWebGL()
189 SamplerFormat computeRequiredSamplerFormat(const SamplerState &samplerState) const;
247 mutable SamplerFormat mCachedSamplerFormat;
DTexture.cpp153 mCachedSamplerFormat(SamplerFormat::InvalidEnum), in TextureState()
294 SamplerFormat TextureState::computeRequiredSamplerFormat(const SamplerState &samplerState) const in computeRequiredSamplerFormat()
301 return SamplerFormat::Shadow; in computeRequiredSamplerFormat()
310 return SamplerFormat::Float; in computeRequiredSamplerFormat()
312 return SamplerFormat::Signed; in computeRequiredSamplerFormat()
314 return SamplerFormat::Unsigned; in computeRequiredSamplerFormat()
316 return SamplerFormat::InvalidEnum; in computeRequiredSamplerFormat()
DProgram.cpp1056 SamplerFormat formatIn, in SamplerBinding()
3677 SamplerFormat format = samplerUniform.typeInfo->samplerFormat; in linkSamplerAndImageBindings()
4063 SamplerFormat &newSamplerFormat = mState.mExecutable->mActiveSamplerFormats[newTextureUnit]; in updateSamplerUniform()
4064 SamplerFormat &oldSamplerFormat = mState.mExecutable->mActiveSamplerFormats[oldTextureUnit]; in updateSamplerUniform()
4083 newSamplerFormat = SamplerFormat::InvalidEnum; in updateSamplerUniform()
4091 oldSamplerFormat = SamplerFormat::InvalidEnum; in updateSamplerUniform()
4097 oldSamplerFormat == SamplerFormat::InvalidEnum) in updateSamplerUniform()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
Drenderer_utils.cpp62 constexpr angle::PackedEnumMap<gl::SamplerFormat, IncompleteTextureParameters>
64 {gl::SamplerFormat::Float, {GL_RGBA8, GL_RGBA, GL_UNSIGNED_BYTE, {0, 0, 0, 255}}},
65 {gl::SamplerFormat::Unsigned,
67 {gl::SamplerFormat::Signed, {GL_RGBA8I, GL_RGBA_INTEGER, GL_BYTE, {0, 0, 0, 127}}},
68 {gl::SamplerFormat::Shadow,
582 gl::SamplerFormat format, in getIncompleteTexture()
659 if (format == gl::SamplerFormat::Shadow) in getIncompleteTexture()
Drenderer_utils.h222 gl::SamplerFormat format,
227 using TextureMapWithSamplerFormat = angle::PackedEnumMap<gl::SamplerFormat, gl::TextureMap>;
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DContext9.cpp500 return mIncompleteTextures.getIncompleteTexture(context, type, gl::SamplerFormat::Float, in getIncompleteTexture()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DContext11.cpp999 return mIncompleteTextures.getIncompleteTexture(context, type, gl::SamplerFormat::Float, this, in getIncompleteTexture()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DContextVk.h422 gl::SamplerFormat format,
DContextVk.cpp768 gl::SamplerFormat format, in getIncompleteTexture()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
DContextMtl.mm249 context, texType, gl::SamplerFormat::Float, nullptr, &texture));
1449 return mIncompleteTextures.getIncompleteTexture(context, type, gl::SamplerFormat::Float,
DProgramMtl.mm1322 if (samplerBinding.format == gl::SamplerFormat::Shadow)