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/
H A DesextcGeometryShaderOutput.cpp385 unsigned char result_image[TEXTURE_HEIGHT * TEXTURE_WIDTH * TEXTURE_PIXEL_SIZE]; in iterate() local
403 gl.readPixels(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()
493 * @param result_image Image data
502 bool GeometryShaderIfVertexEmitIsDoneAtEndTest::verifyResult(const unsigned char* result_image, unsigned int width, in verifyResult() argument
510 if (false == comparePixel(result_image, x, y, width, height, pixel_size)) in verifyResult()
542 * @param result_image Image data
550 bool GeometryShaderMissingEndPrimitiveCallTest::verifyResult(const unsigned char* result_image, unsigned int width, in verifyResult() argument
560 if ((true == comparePixel(result_image, left, bottom, width, height, pixel_size, 255, 255, 255, 255)) && in verifyResult()
561 (true == comparePixel(result_image, lef in verifyResult()
616 verifyResult(const unsigned char* result_image, unsigned int width, unsigned int height, unsigned int pixel_size) const verifyResult() argument
[all...]
H A DesextcGeometryShaderInput.cpp979 unsigned char result_image[m_texture_width * m_texture_height * m_texture_pixel_size]; in iterate() local
1010 gl.readPixels(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 */, referencePixelCoordinates[1] /* y */, 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 */, referencePixelCoordinates[1] /* y */, in iterate()
1044 m_testCtx.getLog() << tcu::TestLog::Message << "Rendered data [" << result_image[texel_offset + 0] << ", " in iterate()
1045 << result_image[texel_offse in iterate()
1250 unsigned char result_image[m_texture_width * m_texture_height * m_texture_pixel_size]; iterate() local
[all...]
H A DesextcGeometryShaderOutput.hpp123 virtual bool verifyResult(const unsigned char* result_image, unsigned int width, unsigned int height,
190 virtual bool verifyResult(const unsigned char* result_image, unsigned int width, unsigned int height,
223 virtual bool verifyResult(const unsigned char* result_image, unsigned int width, unsigned int height,
262 virtual bool verifyResult(const unsigned char* result_image, unsigned int width, unsigned int height,
H A DesextcGeometryShaderLimits.cpp1137 std::vector<unsigned char> result_image(m_texture_width * m_texture_height * m_texture_pixel_size); in iterate()
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 in verifyResult() local
2850 verifyResultOfMultipleInvocationsPass(unsigned char* result_image) verifyResultOfMultipleInvocationsPass() argument
2910 verifyResultOfSingleInvocationPass(unsigned char* result_image) verifyResultOfSingleInvocationPass() argument
3256 const unsigned char* result_image = (const unsigned char*)data; verifyResult() local
[all...]
H A DesextcGeometryShaderLimits.hpp917 bool verifyResultOfMultipleInvocationsPass(unsigned char* result_image);
918 bool verifyResultOfSingleInvocationPass(unsigned char* result_image);
/third_party/vk-gl-cts/external/openglcts/modules/gl/
H A 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()
H A Dgl3cTextureSwizzleTests.cpp2585 glw::GLubyte result_image[m_output_width * m_output_height * 4 /* channles */ * sizeof(glw::GLuint)]; in captureAndVerify() local
2591 gl.getTexImage(GL_TEXTURE_2D, 0 /* level */, output_format.m_format, output_format.m_type, result_image); in captureAndVerify()
2599 verifyOutputImage(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/
H A 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[
[all...]

Completed in 34 milliseconds