/third_party/vk-gl-cts/modules/gles2/functional/ |
H A D | es2fReadPixelsTests.cpp | 207 std::vector<deUint8> pixelData; in iterate() local 210 pixelData.resize(rowPitch * height, 0); in iterate() 213 GLU_CHECK_CALL(glReadPixels(0, 0, width, height, glFormat, glType, &(pixelData[0]))); in iterate() 231 tcu::copy(resultRGBA8.getLevel(0), tcu::PixelBufferAccess(format, width, height, 1, rowPitch, 0, &(pixelData[0]))); in iterate() 247 if (tcu::floatThresholdCompare(m_testCtx.getLog(), "Result", "Result", reference.getLevel(0), tcu::PixelBufferAccess(format, width, height, 1, rowPitch, 0, &(pixelData[0])), tcu::Vec4(redThreshold, greenThreshold, blueThreshold, alphaThreshold), tcu::COMPARE_LOG_RESULT)) in iterate()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fReadPixelsTests.cpp | 89 void clearColor (tcu::Texture2D& reference, vector<deUint8>& pixelData, int pixelSize); 221 void ReadPixelsTest::clearColor (tcu::Texture2D& reference, vector<deUint8>& pixelData, int pixelSize) in clearColor() argument 316 pixelData.resize(rowPitch * (m_height + m_skipRows), 0); in clearColor() 318 GLU_CHECK_CALL(glReadPixels(0, 0, m_width, m_height, m_format, m_type, &(pixelData[0]))); in clearColor() 352 vector<deUint8> pixelData; in iterate() local 353 clearColor(reference, pixelData, pixelSize); in iterate() 357 const tcu::ConstPixelBufferAccess resultAccess = tcu::ConstPixelBufferAccess(format, m_width, m_height, 1, rowPitch, 0, &(pixelData[pixelSize * m_skipPixels + m_skipRows * rowPitch])); in iterate()
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | GetImageTest.cpp | 50 GLTexture InitTextureWithFormatAndSize(GLenum format, uint32_t size, void *pixelData) in InitTextureWithFormatAndSize() argument 54 glTexImage2D(GL_TEXTURE_2D, 0, format, size, size, 0, format, GL_UNSIGNED_BYTE, pixelData); in InitTextureWithFormatAndSize() 60 GLTexture InitTextureWithSize(uint32_t size, void *pixelData) in InitTextureWithSize() argument 65 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, size, size, 0, GL_RGBA, GL_UNSIGNED_BYTE, pixelData); in InitTextureWithSize() 73 std::vector<GLColor> pixelData(kSize * kSize, GLColor::red); in InitSimpleTexture() 74 return InitTextureWithSize(kSize, pixelData.data()); in InitSimpleTexture()
|
H A D | ClearTest.cpp | 758 std::vector<unsigned char> pixelData(kSize * kSize * 4, 255); in TEST_P() 770 pixelData.data()); in TEST_P() 827 std::vector<unsigned char> pixelData(kSize * kSize * 4, 255); in TEST_P() 840 pixelData.data()); in TEST_P() 898 std::vector<unsigned char> pixelData(kSize * kSize * 4, 255); in TEST_P() 909 pixelData.data()); in TEST_P() 1004 std::vector<unsigned char> pixelData(kSize * kSize * 4, 255); in TEST_P() 1015 pixelData.data()); in TEST_P() 1087 std::vector<unsigned char> pixelData(kSize * kSize * 4, 0); in TEST_P() 1099 kDataTypes[i], pixelData in TEST_P() 1325 unsigned char pixelData[] = {255, 255, 255, 255}; TEST_P() local [all...] |
H A D | PixmapTest.cpp | 246 std::vector<unsigned int> pixelData(getWindowWidth() * getWindowHeight(), pixelValue); in TEST_P() 248 GL_UNSIGNED_BYTE, &pixelData[0]); in TEST_P()
|
H A D | DepthStencilTest.cpp | 121 std::vector<GLColor> pixelData(width * height); in ensureColor() 122 glReadPixels(0, 0, width, height, GL_RGBA, GL_UNSIGNED_BYTE, pixelData.data()); in ensureColor() 126 GLColor actualColor = pixelData[i]; in ensureColor()
|
H A D | PbufferTest.cpp | 471 std::vector<unsigned int> pixelData(getWindowWidth() * getWindowHeight(), pixelValue); in TEST_P() 473 GL_UNSIGNED_BYTE, &pixelData[0]); in TEST_P()
|
H A D | TextureTest.cpp | 5449 std::vector<GLubyte> pixelData; in TEST_P() local 5452 pixelData.push_back(0u); in TEST_P() 5453 pixelData.push_back(255u); in TEST_P() 5454 pixelData.push_back(0u); in TEST_P() 5463 &pixelData[0]); in TEST_P() 5474 &pixelData[0]); in TEST_P() 8465 std::vector<uint8_t> pixelData(100, 0); 8469 pixelData.data()); 8483 std::vector<uint8_t> pixelData(128 * 128 * 8 * 4, 0x1f); 8484 glBufferData(GL_PIXEL_UNPACK_BUFFER, 128 * 128 * 8 * 4, pixelData [all...] |
H A D | CopyTextureTest.cpp | 1768 std::vector<GLColor> pixelData(10 * 10, GLColor::red); in TEST_P() 1771 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 10, 10, 0, GL_RGBA, GL_UNSIGNED_BYTE, pixelData.data()); in TEST_P()
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/gles1/ |
H A D | FramebufferObjectTest.cpp | 148 std::vector<unsigned char> pixelData(kSize * kSize * 4, 0); in TEST_P() 150 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 4, 4, 0, GL_RGBA, GL_UNSIGNED_BYTE, pixelData.data()); in TEST_P()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/ |
H A D | vktShaderRenderBuiltinVarTests.cpp | 1383 const Vec4 pixelData = sampleLocationBuffer.getPixel(pixelAddress.x(), pixelAddress.y()); in validateSampleLocations() local 1385 if (pixelData.z() != 0.0f) in validateSampleLocations() 1387 log << TestLog::Message << "Pixel (" << colNdx << "," << rowNdx << "): has unexpected .z component, expected: 0.0, got: " << pixelData.z() << TestLog::EndMessage; in validateSampleLocations() 1391 if (pixelData.w() != 1.0f) in validateSampleLocations() 1393 log << TestLog::Message << "Pixel (" << colNdx << "," << rowNdx << "): has unexpected .w component, expected: 1.0, got: " << pixelData.w() << TestLog::EndMessage; in validateSampleLocations() 1397 locations.push_back(Vec2(pixelData.x(), pixelData.y())); in validateSampleLocations() 1437 const Vec4 pixelData = sampleLocationBuffer.getPixel(colNdx, rowNdx); in validateSampleLocations() local 1439 if (pixelData.z() != 0.0f) in validateSampleLocations() 1441 log << TestLog::Message << "Pixel (" << colNdx << "," << rowNdx << "): has unexpected .z component, expected: 0.0, got: " << pixelData in validateSampleLocations() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/ |
H A D | vktShaderRenderBuiltinVarTests.cpp | 1383 const Vec4 pixelData = sampleLocationBuffer.getPixel(pixelAddress.x(), pixelAddress.y()); in validateSampleLocations() local 1385 if (pixelData.z() != 0.0f) in validateSampleLocations() 1387 log << TestLog::Message << "Pixel (" << colNdx << "," << rowNdx << "): has unexpected .z component, expected: 0.0, got: " << pixelData.z() << TestLog::EndMessage; in validateSampleLocations() 1391 if (pixelData.w() != 1.0f) in validateSampleLocations() 1393 log << TestLog::Message << "Pixel (" << colNdx << "," << rowNdx << "): has unexpected .w component, expected: 1.0, got: " << pixelData.w() << TestLog::EndMessage; in validateSampleLocations() 1397 locations.push_back(Vec2(pixelData.x(), pixelData.y())); in validateSampleLocations() 1437 const Vec4 pixelData = sampleLocationBuffer.getPixel(colNdx, rowNdx); in validateSampleLocations() local 1439 if (pixelData.z() != 0.0f) in validateSampleLocations() 1441 log << TestLog::Message << "Pixel (" << colNdx << "," << rowNdx << "): has unexpected .z component, expected: 0.0, got: " << pixelData in validateSampleLocations() [all...] |
/third_party/skia/third_party/externals/angle2/util/ |
H A D | OSWindow.h | 41 virtual bool takeScreenshot(uint8_t *pixelData);
|
H A D | OSWindow.cpp | 387 bool OSWindow::takeScreenshot(uint8_t *pixelData) in takeScreenshot() argument
|
/third_party/skia/third_party/externals/angle2/util/windows/win32/ |
H A D | Win32Window.h | 27 bool takeScreenshot(uint8_t *pixelData) override;
|
H A D | Win32Window.cpp | 609 bool Win32Window::takeScreenshot(uint8_t *pixelData) in takeScreenshot() argument 689 int getBitsResult = GetDIBits(screenDC, tmpBitmap, 0, mHeight, pixelData, in takeScreenshot()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/ |
H A D | TextureStorage.h | 74 const uint8_t *pixelData) = 0;
|
H A D | TextureD3D.cpp | 248 const uint8_t *pixelData = nullptr; in setImageImpl() local 249 ANGLE_TRY(GetUnpackPointer(context, unpack, unpackBuffer, pixels, layerOffset, &pixelData)); in setImageImpl() 251 if (pixelData != nullptr) in setImageImpl() 256 mTexStorage->setData(context, index, image, nullptr, type, unpack, pixelData)); in setImageImpl() 262 ANGLE_TRY(image->loadData(context, fullImageArea, unpack, type, pixelData, in setImageImpl() 283 const uint8_t *pixelData = nullptr; in subImage() local 284 ANGLE_TRY(GetUnpackPointer(context, unpack, unpackBuffer, pixels, layerOffset, &pixelData)); in subImage() 286 if (pixelData != nullptr) in subImage() 293 return mTexStorage->setData(context, index, image, &area, type, unpack, pixelData); in subImage() 296 ANGLE_TRY(image->loadData(context, area, unpack, type, pixelData, inde in subImage() 321 const uint8_t *pixelData = nullptr; setCompressedImageImpl() local 344 const uint8_t *pixelData = nullptr; subImageCompressed() local [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/ |
H A D | TextureStorage9.h | 55 const uint8_t *pixelData) override;
|
H A D | TextureStorage9.cpp | 101 const uint8_t *pixelData) in setData() 95 setData(const gl::Context *context, const gl::ImageIndex &index, ImageD3D *image, const gl::Box *destBox, GLenum type, const gl::PixelUnpackState &unpack, const uint8_t *pixelData) setData() argument
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
H A D | VkImage.hpp | 134 void clear(const void *pixelData, VkFormat pixelFormat, const vk::Format &viewFormat, const VkImageSubresourceRange &subresourceRange, const VkRect2D *renderArea);
|
H A D | VkImage.cpp | 1048 void Image::clear(const void *pixelData, VkFormat pixelFormat, const vk::Format &viewFormat, const VkImageSubresourceRange &subresourceRange, const VkRect2D *renderArea) in clear() argument 1050 device->getBlitter()->clear(pixelData, pixelFormat, this, viewFormat, subresourceRange, renderArea); in clear()
|
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/ |
H A D | TracePerfTest.cpp | 1845 std::vector<uint8_t> pixelData(pixelCount * 4); in saveScreenshot() 1854 pixelData.data()); in saveScreenshot() 1864 memcpy(&rgbData[dstPixel * 3], &pixelData[srcPixel * 4], 3); in saveScreenshot()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/capture/ |
H A D | FrameCapture.cpp | 4460 const uint8_t *pixelData = nullptr; in captureCompressedTextureData() local 4469 pixelData = reinterpret_cast<const uint8_t *>(pixelUnpackBuffer->getMapPointer()); in captureCompressedTextureData() 4473 pixelData = data; in captureCompressedTextureData() 4476 if (!pixelData) in captureCompressedTextureData() 4490 compressedData.assign(pixelData, pixelData + imageSize); in captureCompressedTextureData() 4579 memcpy(&levelData[levelOffset], &pixelData[pixelOffset], pixelRowPitch); in captureCompressedTextureData() 4791 std::vector<uint8_t> pixelData = {0, 0, 0, 0}; in maybeOverrideEntryPoint() local 4794 1, GL_RGBA, GL_UNSIGNED_BYTE, pixelData.data())); in maybeOverrideEntryPoint()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fShaderImageLoadStoreTests.cpp | 1370 void *const pixelData = (deUint8*)data + y*rowPitch + x*pixelSize; in replaceBadFloatReinterpretValues() local 1374 void *const channelData = (deUint8*)pixelData + c*pixelSize/imageNumChannels; in replaceBadFloatReinterpretValues() 1551 void *const pixelData = (deUint8*)data + y*rowPitch + x*pixelSize; in iterate() local 1553 deMemcpy(scratchAccess.getDataPtr(), pixelData, pixelSize); in iterate() 1560 deMemcpy(pixelData, scratchAccess.getDataPtr(), pixelSize); in iterate()
|