Home
last modified time | relevance | path

Searched refs:result_image (Results 1 – 8 of 8) sorted by relevance

/third_party/vk-gl-cts/external/openglcts/modules/glesext/geometry_shader/
DesextcGeometryShaderOutput.cpp385 unsigned char result_image[TEXTURE_HEIGHT * TEXTURE_WIDTH * TEXTURE_PIXEL_SIZE]; in iterate() local
403 …xels(0 /* x */, 0 /* y */, TEXTURE_WIDTH, TEXTURE_HEIGHT, GL_RGBA, GL_UNSIGNED_BYTE, result_image); in iterate()
408 if (true == verifyResult(result_image, TEXTURE_WIDTH, TEXTURE_HEIGHT, TEXTURE_PIXEL_SIZE)) in iterate()
502 bool GeometryShaderIfVertexEmitIsDoneAtEndTest::verifyResult(const unsigned char* result_image, uns… in verifyResult() argument
510 if (false == comparePixel(result_image, x, y, width, height, pixel_size)) in verifyResult()
550 bool GeometryShaderMissingEndPrimitiveCallTest::verifyResult(const unsigned char* result_image, uns… in verifyResult() argument
560 …if ((true == comparePixel(result_image, left, bottom, width, height, pixel_size, 255, 255, 255, 25… in verifyResult()
561 (true == comparePixel(result_image, left, top, width, height, pixel_size, 255, 255, 255, 255)) && in verifyResult()
562 (true == comparePixel(result_image, right, top, width, height, pixel_size, 255, 255, 255, 255)) && in verifyResult()
563 (true == comparePixel(result_image, right, bottom, width, height, pixel_size, 0, 0, 0, 0))) in verifyResult()
[all …]
DesextcGeometryShaderInput.cpp979 unsigned char result_image[m_texture_width * m_texture_height * m_texture_pixel_size]; in iterate() local
1010 …(0 /* x */, 0 /* y */, m_texture_width, m_texture_height, GL_RGBA, GL_UNSIGNED_BYTE, result_image); in iterate()
1017 …if (false == comparePixel(result_image, referencePixelCoordinates[0] /* x */, referencePixelCoordi… in iterate()
1024 …m_testCtx.getLog() << tcu::TestLog::Message << "Rendered data [" << result_image[texel_offset + 0]… in iterate()
1025 << result_image[texel_offset + 1] << ", " << result_image[texel_offset + 2] << ", " in iterate()
1026 << result_image[texel_offset + 3] << "]" in iterate()
1037 …if (false == comparePixel(result_image, referencePixelCoordinates[0] /* x */, referencePixelCoordi… in iterate()
1044 …m_testCtx.getLog() << tcu::TestLog::Message << "Rendered data [" << result_image[texel_offset + 0]… in iterate()
1045 << result_image[texel_offset + 1] << ", " << result_image[texel_offset + 2] << ", " in iterate()
1046 << result_image[texel_offset + 3] << "]" in iterate()
[all …]
DesextcGeometryShaderOutput.hpp123 …virtual bool verifyResult(const unsigned char* result_image, unsigned int width, unsigned int heig…
190 …virtual bool verifyResult(const unsigned char* result_image, unsigned int width, unsigned int heig…
223 …virtual bool verifyResult(const unsigned char* result_image, unsigned int width, unsigned int heig…
262 …virtual bool verifyResult(const unsigned char* result_image, unsigned int width, unsigned int heig…
DesextcGeometryShaderLimits.cpp1137 std::vector<unsigned char> result_image(m_texture_width * m_texture_height * m_texture_pixel_size); in iterate() local
1163 &result_image[0]); in iterate()
1168 if (true == verifyResult(&result_image[0])) in iterate()
1882 const unsigned char* result_image = (const unsigned char*)data; in verifyResult() local
1904 if (0 != memcmp(result_image + texel_offset, &expected_value, sizeof(expected_value))) in verifyResult()
1906 glw::GLint* result_value = (glw::GLint*)(result_image + texel_offset); in verifyResult()
2205 const unsigned char* result_image = (const unsigned char*)data; in verifyResult() local
2222 if (0 != memcmp(result_image + texel_offset, &expected_value, sizeof(expected_value))) in verifyResult()
2224 const glw::GLint* result_value = (const glw::GLint*)(result_image + texel_offset); in verifyResult()
2511 const unsigned char* result_image = (const unsigned char*)data; in verifyResult() local
[all …]
DesextcGeometryShaderLimits.hpp917 bool verifyResultOfMultipleInvocationsPass(unsigned char* result_image);
918 bool verifyResultOfSingleInvocationPass(unsigned char* result_image);
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl3cGPUShader5Tests.cpp500 glw::GLuint result_image[m_width * m_height]; in verifyImage() local
503 gl.getTexImage(GL_TEXTURE_2D, 0 /* level */, GL_RGBA, GL_UNSIGNED_BYTE, result_image); in verifyImage()
511 const glw::GLuint pixel_data = result_image[i]; in verifyImage()
523 const glw::GLuint pixel_data = result_image[i]; in verifyImage()
Dgl3cTextureSwizzleTests.cpp2585 …glw::GLubyte result_image[m_output_width * m_output_height * 4 /* channles */ * sizeof(glw::GLuint… in captureAndVerify() local
2591 …TexImage(GL_TEXTURE_2D, 0 /* level */, output_format.m_format, output_format.m_type, result_image); in captureAndVerify()
2599 …mage(test_case, output_format_index, output_channel_size, index_of_swizzled_channel, result_image); in captureAndVerify()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_cube_map_array/
DesextcTextureCubeMapArraySampling.cpp1673 const T* result_image = (const T*)data; in verifyResultImage() local
1704 return verifyImage<T, N_Components, Width, Height>(result_image, &expected_values[0], n_layers); in verifyResultImage()
3666 std::vector<unsigned char> result_image; local
3673 result_image.resize(estimated_image_size);
3761 format.m_destination.m_type, &result_image[0]);
3770 unsigned char* p = (unsigned char*)&result_image[0];
3771 float* f = (float*)&result_image[0];
3786 unsigned int* pRGBA = (unsigned int*)&result_image[0];
3787 unsigned int* pR = (unsigned int*)&result_image[0];
3798 …bool verification_result = verifyResult(format, resolution, function->m_function, &result_image[0]…