Lines Matching refs:getFormat

263 …return ConstPixelBufferAccess(access.getFormat(), tcu::IVec3(width, height, depth), access.getPitc…  in getSubregion()
289 return PixelBufferAccess(access.getFormat(), tcu::IVec3(width, height, depth), access.getPitch(), in getSubregion()
332 …return PixelBufferAccess(access.getFormat(), access.getSize(), pitch, (deUint8*)access.getDataPtr(… in flipYAccess()
346 …return ConstPixelBufferAccess(access.getFormat(), access.getSize(), pitch, (deUint8*)access.getDat… in flipYAccess()
716 const int pixelSize = access.getFormat().getPixelSize(); in clear()
730 PixelBufferAccess(access.getFormat(), 1, 1, 1, 0, 0, &pixel.u8[0]).setPixel(color, 0, 0); in clear()
747 const int pixelSize = access.getFormat().getPixelSize(); in clear()
761 PixelBufferAccess(access.getFormat(), 1, 1, 1, 0, 0, &pixel.u8[0]).setPixel(color, 0, 0); in clear()
783 …DE_ASSERT(access.getFormat().order == TextureFormat::DS || access.getFormat().order == TextureForm… in clearDepth()
790 …DE_ASSERT(access.getFormat().order == TextureFormat::DS || access.getFormat().order == TextureForm… in clearStencil()
855 if (isCombinedDepthStencilType(access.getFormat().type)) in fillWithComponentGradients()
857 …const bool hasDepth = access.getFormat().order == tcu::TextureFormat::DS || access.getFormat().or… in fillWithComponentGradients()
858 …const bool hasStencil = access.getFormat().order == tcu::TextureFormat::DS || access.getFormat().o… in fillWithComponentGradients()
932 if (isCombinedDepthStencilType(access.getFormat().type)) in fillWithGrid()
934 …const bool hasDepth = access.getFormat().order == tcu::TextureFormat::DS || access.getFormat().or… in fillWithGrid()
935 …const bool hasStencil = access.getFormat().order == tcu::TextureFormat::DS || access.getFormat().o… in fillWithGrid()
1028 const int srcPixelSize = src.getFormat().getPixelSize(); in copy()
1029 const int dstPixelSize = dst.getFormat().getPixelSize(); in copy()
1035 …const bool srcHasDepth = (src.getFormat().order == tcu::TextureFormat::DS || src.getFormat().ord… in copy()
1036 …const bool srcHasStencil = (src.getFormat().order == tcu::TextureFormat::DS || src.getFormat().or… in copy()
1037 …const bool dstHasDepth = (dst.getFormat().order == tcu::TextureFormat::DS || dst.getFormat().ord… in copy()
1038 …const bool dstHasStencil = (dst.getFormat().order == tcu::TextureFormat::DS || dst.getFormat().or… in copy()
1040 if (src.getFormat() == dst.getFormat() && srcTightlyPacked && dstTightlyPacked) in copy()
1047 else if (src.getFormat() == dst.getFormat()) in copy()
1087 TextureChannelClass srcClass = getTextureChannelClass(src.getFormat().type); in copy()
1088 TextureChannelClass dstClass = getTextureChannelClass(dst.getFormat().type); in copy()
1124 …dst.setPixel(linearToSRGBIfNeeded(dst.getFormat(), src.sample2D(sampler, filter, ((float)x+0.5f)*s… in scale()
1131 …dst.setPixel(linearToSRGBIfNeeded(dst.getFormat(), src.sample3D(sampler, filter, ((float)x+0.5f)*s… in scale()
1137 const TextureFormat& format = access.getFormat(); in estimatePixelValueRange()
1269 if (!isCombinedDepthStencilType(baseAccess.getFormat().type)) in toSamplerAccess()
1288 DE_ASSERT(baseAccess.getFormat().order == TextureFormat::DS || in toSamplerAccess()
1289 (mode == Sampler::MODE_DEPTH && baseAccess.getFormat().order == TextureFormat::D) || in toSamplerAccess()
1290 (mode == Sampler::MODE_STENCIL && baseAccess.getFormat().order == TextureFormat::S)); in toSamplerAccess()
1293 switch (baseAccess.getFormat().type) in toSamplerAccess()
1421 …urn toSamplerAccess(ConstPixelBufferAccess(baseFormat, IVec3(0, 0, 0), DE_NULL), mode).getFormat(); in getEffectiveDepthStencilTextureFormat()