Lines Matching refs:reference
72 void render (tcu::Texture2D& reference);
89 void clearColor (tcu::Texture2D& reference, vector<deUint8>& pixelData, int pixelSize);
108 void ReadPixelsTest::render (tcu::Texture2D& reference) in render() argument
125 if (reference.getFormat().type == tcu::TextureFormat::SIGNED_INT32) in render()
127 else if (reference.getFormat().type == tcu::TextureFormat::UNSIGNED_INT32) in render()
136 if (reference.getFormat().type == tcu::TextureFormat::UNSIGNED_INT32) in render()
138 else if (reference.getFormat().type == tcu::TextureFormat::SIGNED_INT32) in render()
179 const int coordX1 = (int)((-0.5f * reference.getWidth() / 2.0f) + reference.getWidth() / 2.0f); in render()
180 const int coordY1 = (int)((-0.5f * reference.getHeight() / 2.0f) + reference.getHeight() / 2.0f); in render()
181 const int coordX2 = (int)(( 0.5f * reference.getWidth() / 2.0f) + reference.getWidth() / 2.0f); in render()
182 const int coordY2 = (int)(( 0.5f * reference.getHeight() / 2.0f) + reference.getHeight() / 2.0f); in render()
184 for (int x = 0; x < reference.getWidth(); x++) in render()
189 for (int y = 0; y < reference.getHeight(); y++) in render()
193 if (reference.getFormat().type == tcu::TextureFormat::SIGNED_INT32) in render()
194 reference.getLevel(0).setPixel(tcu::IVec4(0, 0, 0, 1000), x, y); in render()
195 else if (reference.getFormat().type == tcu::TextureFormat::UNSIGNED_INT32) in render()
196 reference.getLevel(0).setPixel(tcu::UVec4(0, 0, 0, 1000), x, y); in render()
198 reference.getLevel(0).setPixel(tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f), x, y); in render()
221 void ReadPixelsTest::clearColor (tcu::Texture2D& reference, vector<deUint8>& pixelData, int pixelSi… in clearColor() argument
256 GLU_CHECK_CALL(glViewport(0, 0, reference.getWidth(), reference.getHeight())); in clearColor()
273 tcu::clear(reference.getLevel(0), tcu::Vec4(red, green, blue, alpha)); in clearColor()
289 tcu::clear(reference.getLevel(0), tcu::IVec4(red, green, blue, alpha)); in clearColor()
303 tcu::clear(reference.getLevel(0), tcu::UVec4(red, green, blue, alpha)); in clearColor()
311 render(reference); in clearColor()
335 tcu::Texture2D reference(format, m_width, m_height); in iterate() local
336 reference.allocLevel(0); in iterate()
353 clearColor(reference, pixelData, pixelSize); in iterate()
375 tcu::copy(referenceRGBA8.getLevel(0), reference.getLevel(0)); in iterate()
392 …if (tcu::floatThresholdCompare(m_testCtx.getLog(), "Result", "Result", reference.getLevel(0), resu… in iterate()