Searched refs:source_pixels (Results 1 – 2 of 2) sorted by relevance
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
D | glcRobustBufferAccessBehaviorTests.cpp | 1746 GLubyte source_pixels[image_width * image_height]; in prepareTexture() local 1749 source_pixels[i] = static_cast<GLubyte>(i); in prepareTexture() 1753 0 /* depth */, GL_RED, GL_UNSIGNED_BYTE, source_pixels); in prepareTexture() 1759 GLbyte source_pixels[image_width * image_height * n_components]; in prepareTexture() local 1762 source_pixels[i * n_components + 0] = static_cast<GLubyte>((i % 16) - 8); in prepareTexture() 1763 source_pixels[i * n_components + 1] = static_cast<GLubyte>((i / 16) - 8); in prepareTexture() 1767 0 /* depth */, GL_RG, GL_BYTE, source_pixels); in prepareTexture() 1773 GLfloat source_pixels[image_width * image_height * n_components]; in prepareTexture() local 1776 source_pixels[i * n_components + 0] = (GLfloat)(i % 16) / 16.0f; in prepareTexture() 1777 source_pixels[i * n_components + 1] = (GLfloat)(i / 16) / 16.0f; in prepareTexture() [all …]
|
/third_party/vk-gl-cts/external/openglcts/modules/gles3/ |
D | es3cCopyTexImageConversionsTests.cpp | 7388 PixelData* source_pixels[] = { &source_bl_pixel_data, &source_br_pixel_data, &source_tl_pixel_data, in compareExpectedResultsByReadingPixels() local 7457 …result &= comparePixelData(result_pixels[n], *(reference_pixels[n]), *(source_pixels[n]), result_i… in compareExpectedResultsByReadingPixels()
|