Lines Matching refs:srcFormatInfo
3170 bool ValidateCopyCompressedFormatCompatible(const InternalFormat &srcFormatInfo, in ValidateCopyCompressedFormatCompatible() argument
3175 ASSERT(srcFormatInfo.internalFormat != dstFormatInfo.internalFormat); in ValidateCopyCompressedFormatCompatible()
3177 const GLenum srcFormat = srcFormatInfo.internalFormat; in ValidateCopyCompressedFormatCompatible()
3208 if (srcFormatInfo.colorEncoding == dstFormatInfo.colorEncoding) in ValidateCopyCompressedFormatCompatible()
3213 const GLenum linearFormat = (srcFormatInfo.colorEncoding == GL_LINEAR) ? srcFormat : dstFormat; in ValidateCopyCompressedFormatCompatible()
3215 (srcFormatInfo.colorEncoding != GL_LINEAR) ? srcFormat : dstFormat; in ValidateCopyCompressedFormatCompatible()
3290 bool ValidateCopyFormatCompatible(const InternalFormat &srcFormatInfo, in ValidateCopyFormatCompatible() argument
3294 if (srcFormatInfo.internalFormat == dstFormatInfo.internalFormat) in ValidateCopyFormatCompatible()
3299 if (srcFormatInfo.compressed != dstFormatInfo.compressed) in ValidateCopyFormatCompatible()
3301 GLenum uncompressedFormat = (!srcFormatInfo.compressed) ? srcFormatInfo.internalFormat in ValidateCopyFormatCompatible()
3303 GLenum compressedFormat = (srcFormatInfo.compressed) ? srcFormatInfo.internalFormat in ValidateCopyFormatCompatible()
3309 if (!srcFormatInfo.compressed) in ValidateCopyFormatCompatible()
3312 return (srcFormatInfo.pixelBytes == dstFormatInfo.pixelBytes); in ValidateCopyFormatCompatible()
3315 return ValidateCopyCompressedFormatCompatible(srcFormatInfo, dstFormatInfo); in ValidateCopyFormatCompatible()
3361 const InternalFormat &srcFormatInfo = in ValidateCopyImageSubDataBase() local
3370 if (srcFormatInfo.internalFormat == GL_NONE || dstFormatInfo.internalFormat == GL_NONE) in ValidateCopyImageSubDataBase()
3385 if ((srcFormatInfo.compressed) && (!dstFormatInfo.compressed)) in ValidateCopyImageSubDataBase()
3387 ASSERT(srcFormatInfo.compressedBlockWidth != 0); in ValidateCopyImageSubDataBase()
3388 ASSERT(srcFormatInfo.compressedBlockHeight != 0); in ValidateCopyImageSubDataBase()
3390 dstWidth /= srcFormatInfo.compressedBlockWidth; in ValidateCopyImageSubDataBase()
3391 dstHeight /= srcFormatInfo.compressedBlockHeight; in ValidateCopyImageSubDataBase()
3396 else if ((!srcFormatInfo.compressed) && (dstFormatInfo.compressed)) in ValidateCopyImageSubDataBase()
3421 if (srcFormatInfo.compressed && !fillsEntireMip && in ValidateCopyImageSubDataBase()
3422 !ValidateCompressedRegion(context, srcFormatInfo, srcWidth, srcHeight)) in ValidateCopyImageSubDataBase()
3436 if (!ValidateCopyFormatCompatible(srcFormatInfo, dstFormatInfo)) in ValidateCopyImageSubDataBase()