Searched refs:textureWidth (Results 1 – 2 of 2) sorted by relevance
/hardware/google/gfxstream/host/tests/ |
D | DisplayVk_unittest.cpp | 217 uint32_t textureWidth = 20; in TEST_F() local 223 m_vkCommandPool, textureWidth, textureHeight); in TEST_F() 224 std::vector<uint32_t> pixels(textureWidth * textureHeight, 0); in TEST_F() 231 uint32_t textureWidth = 20; in TEST_F() local 234 m_vkCommandPool, textureWidth, textureHeight); in TEST_F() 235 std::vector<uint32_t> pixels(textureWidth * textureHeight); in TEST_F() 237 for (int j = 0; j < textureWidth; j++) { in TEST_F() 238 uint8_t *pixel = reinterpret_cast<uint8_t *>(&pixels[i * textureWidth + j]); in TEST_F() 240 pixel[1] = static_cast<uint8_t>((j * 0xff / textureWidth) & 0xff); in TEST_F() 259 uint32_t textureWidth = 20; in TEST_F() local [all …]
|
/hardware/google/gfxstream/common/detector/ |
D | GraphicsDetectorVkPrecisionQualifiersOnYuvSamplers.cpp | 50 uint32_t textureWidth = 32; in CanHandlePrecisionQualifierWithYuvSampler() local 52 RGBAImage textureDataRgba = FillWithColor(textureWidth, in CanHandlePrecisionQualifierWithYuvSampler() 66 textureWidth, in CanHandlePrecisionQualifierWithYuvSampler() 75 textureWidth, in CanHandlePrecisionQualifierWithYuvSampler() 84 VK_EXPECT(vk.CreateFramebuffer(textureWidth, in CanHandlePrecisionQualifierWithYuvSampler() 316 .width = textureWidth, in CanHandlePrecisionQualifierWithYuvSampler() 335 .width = static_cast<float>(textureWidth), in CanHandlePrecisionQualifierWithYuvSampler() 348 .width = textureWidth, in CanHandlePrecisionQualifierWithYuvSampler() 361 textureWidth, in CanHandlePrecisionQualifierWithYuvSampler() 368 SaveRGBAToBitmapFile(textureWidth, in CanHandlePrecisionQualifierWithYuvSampler() [all …]
|