• Home
  • Raw
  • Download

Lines Matching refs:RGBA

61 inline RGBA readRGBA8 (const ConstPixelBufferAccess& src, deUint32 x, deUint32 y)  in readRGBA8()
66 res |= getChannel<0>(raw) << RGBA::RED_SHIFT; in readRGBA8()
67 res |= getChannel<1>(raw) << RGBA::GREEN_SHIFT; in readRGBA8()
68 res |= getChannel<2>(raw) << RGBA::BLUE_SHIFT; in readRGBA8()
69 res |= getChannel<3>(raw) << RGBA::ALPHA_SHIFT; in readRGBA8()
71 return RGBA(res); in readRGBA8()
86 RGBA bilinearSampleRGBA8 (const ConstPixelBufferAccess& access, deUint32 u, deUint32 v) in bilinearSampleRGBA8()
106 …getChannel<0>(p00), getChannel<0>(p01), getChannel<0>(p10), getChannel<0>(p11)) << RGBA::RED_SHIFT; in bilinearSampleRGBA8()
107 …tChannel<1>(p00), getChannel<1>(p01), getChannel<1>(p10), getChannel<1>(p11)) << RGBA::GREEN_SHIFT; in bilinearSampleRGBA8()
108 …etChannel<2>(p00), getChannel<2>(p01), getChannel<2>(p10), getChannel<2>(p11)) << RGBA::BLUE_SHIFT; in bilinearSampleRGBA8()
109 …tChannel<3>(p00), getChannel<3>(p01), getChannel<3>(p10), getChannel<3>(p11)) << RGBA::ALPHA_SHIFT; in bilinearSampleRGBA8()
111 return RGBA(res); in bilinearSampleRGBA8()
114 …PixelBufferAccess& reference, const ConstPixelBufferAccess& result, const RGBA threshold, int x, i… in comparePixelRGBA8()
116 const RGBA resPix = readRGBA8(result, (deUint32)x, (deUint32)y); in comparePixelRGBA8()
191 …ce, const ConstPixelBufferAccess& result, const PixelBufferAccess& errorMask, const RGBA threshold) in bilinearCompareRGBA8()
193 DE_ASSERT(reference.getFormat() == TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8) && in bilinearCompareRGBA8()
194 result.getFormat() == TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8)); in bilinearCompareRGBA8()
219 …ce, const ConstPixelBufferAccess& result, const PixelBufferAccess& errorMask, const RGBA threshold) in bilinearCompare()
229 if (reference.getFormat() == TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8)) in bilinearCompare()