/external/deqp/modules/gles2/functional/ |
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 …RGBA8.getLevel(0), tcu::PixelBufferAccess(format, width, height, 1, rowPitch, 0, &(pixelData[0]))); in iterate() 247 …vel(0), tcu::PixelBufferAccess(format, width, height, 1, rowPitch, 0, &(pixelData[0])), tcu::Vec4(… in iterate()
|
/external/angle/src/tests/gl_tests/ |
D | GetImageTest.cpp | 44 GLTexture InitTextureWithFormatAndSize(GLenum format, uint32_t size, void *pixelData) in InitTextureWithFormatAndSize() argument 48 glTexImage2D(GL_TEXTURE_2D, 0, format, size, size, 0, format, GL_UNSIGNED_BYTE, pixelData); in InitTextureWithFormatAndSize() 54 GLTexture InitTextureWithSize(uint32_t size, void *pixelData) in InitTextureWithSize() argument 59 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, size, size, 0, GL_RGBA, GL_UNSIGNED_BYTE, pixelData); in InitTextureWithSize() 67 std::vector<GLColor> pixelData(kSize * kSize, GLColor::red); in InitSimpleTexture() local 68 return InitTextureWithSize(kSize, pixelData.data()); in InitSimpleTexture()
|
D | ClearTest.cpp | 717 std::vector<unsigned char> pixelData(kSize * kSize * 4, 255); in TEST_P() local 729 pixelData.data()); in TEST_P() 786 std::vector<unsigned char> pixelData(kSize * kSize * 4, 255); in TEST_P() local 799 pixelData.data()); in TEST_P() 857 std::vector<unsigned char> pixelData(kSize * kSize * 4, 255); in TEST_P() local 868 pixelData.data()); in TEST_P() 963 std::vector<unsigned char> pixelData(kSize * kSize * 4, 255); in TEST_P() local 974 pixelData.data()); in TEST_P() 1046 std::vector<unsigned char> pixelData(kSize * kSize * 4, 0); in TEST_P() local 1058 kDataTypes[i], pixelData.data()); in TEST_P() [all …]
|
D | PixmapTest.cpp | 246 std::vector<unsigned int> pixelData(getWindowWidth() * getWindowHeight(), pixelValue); in TEST_P() local 248 GL_UNSIGNED_BYTE, &pixelData[0]); in TEST_P()
|
D | DepthStencilTest.cpp | 121 std::vector<GLColor> pixelData(width * height); in ensureColor() local 122 glReadPixels(0, 0, width, height, GL_RGBA, GL_UNSIGNED_BYTE, pixelData.data()); in ensureColor() 126 GLColor actualColor = pixelData[i]; in ensureColor()
|
D | PbufferTest.cpp | 471 std::vector<unsigned int> pixelData(getWindowWidth() * getWindowHeight(), pixelValue); in TEST_P() local 473 GL_UNSIGNED_BYTE, &pixelData[0]); in TEST_P()
|
/external/deqp/modules/gles3/functional/ |
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 pixelSi… 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 …cu::ConstPixelBufferAccess(format, m_width, m_height, 1, rowPitch, 0, &(pixelData[pixelSize * m_sk… in iterate()
|
/external/angle/src/tests/gl_tests/gles1/ |
D | FramebufferObjectTest.cpp | 148 std::vector<unsigned char> pixelData(kSize * kSize * 4, 0); in TEST_P() local 150 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 4, 4, 0, GL_RGBA, GL_UNSIGNED_BYTE, pixelData.data()); in TEST_P()
|
/external/angle/util/windows/win32/ |
D | Win32Window.h | 27 bool takeScreenshot(uint8_t *pixelData) override;
|
D | Win32Window.cpp | 609 bool Win32Window::takeScreenshot(uint8_t *pixelData) in takeScreenshot() argument 689 int getBitsResult = GetDIBits(screenDC, tmpBitmap, 0, mHeight, pixelData, in takeScreenshot()
|
/external/angle/util/ |
D | OSWindow.h | 41 virtual bool takeScreenshot(uint8_t *pixelData);
|
D | OSWindow.cpp | 387 bool OSWindow::takeScreenshot(uint8_t *pixelData) in takeScreenshot() argument
|
/external/angle/src/libANGLE/renderer/d3d/ |
D | TextureStorage.h | 74 const uint8_t *pixelData) = 0;
|
D | TextureD3D.cpp | 247 const uint8_t *pixelData = nullptr; in setImageImpl() local 248 ANGLE_TRY(GetUnpackPointer(context, unpack, unpackBuffer, pixels, layerOffset, &pixelData)); in setImageImpl() 250 if (pixelData != nullptr) in setImageImpl() 255 mTexStorage->setData(context, index, image, nullptr, type, unpack, pixelData)); in setImageImpl() 261 ANGLE_TRY(image->loadData(context, fullImageArea, unpack, type, pixelData, in setImageImpl() 282 const uint8_t *pixelData = nullptr; in subImage() local 283 ANGLE_TRY(GetUnpackPointer(context, unpack, unpackBuffer, pixels, layerOffset, &pixelData)); in subImage() 285 if (pixelData != nullptr) in subImage() 292 return mTexStorage->setData(context, index, image, &area, type, unpack, pixelData); in subImage() 295 ANGLE_TRY(image->loadData(context, area, unpack, type, pixelData, index.usesTex3D())); in subImage() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRenderBuiltinVarTests.cpp | 1373 const Vec4 pixelData = sampleLocationBuffer.getPixel(pixelAddress.x(), pixelAddress.y()); in validateSampleLocations() local 1375 if (pixelData.z() != 0.0f) in validateSampleLocations() 1377 … << rowNdx << "): has unexpected .z component, expected: 0.0, got: " << pixelData.z() << TestLog::… in validateSampleLocations() 1381 if (pixelData.w() != 1.0f) in validateSampleLocations() 1383 … << rowNdx << "): has unexpected .w component, expected: 1.0, got: " << pixelData.w() << TestLog::… in validateSampleLocations() 1387 locations.push_back(Vec2(pixelData.x(), pixelData.y())); in validateSampleLocations()
|
/external/angle/src/libANGLE/renderer/d3d/d3d9/ |
D | TextureStorage9.h | 55 const uint8_t *pixelData) override;
|
D | TextureStorage9.cpp | 101 const uint8_t *pixelData) in setData() argument
|
/external/skqp/src/utils/mac/ |
D | SkCreateCGImageRef.cpp | 53 static void SkBitmap_ReleaseInfo(void* info, const void* pixelData, size_t size) { in SkBitmap_ReleaseInfo() argument
|
/external/swiftshader/src/Vulkan/ |
D | VkImage.hpp | 134 …void clear(void *pixelData, VkFormat pixelFormat, const vk::Format &viewFormat, const VkImageSubre…
|
D | VkImage.cpp | 1027 void Image::clear(void *pixelData, VkFormat pixelFormat, const vk::Format &viewFormat, const VkImag… in clear() argument 1029 …device->getBlitter()->clear(pixelData, pixelFormat, this, viewFormat, subresourceRange, &renderAre… in clear()
|
/external/angle/src/tests/perf_tests/ |
D | TracePerfTest.cpp | 1570 std::vector<uint8_t> pixelData(pixelCount * 4); in saveScreenshot() local 1580 pixelData.data()); in saveScreenshot() 1590 memcpy(&rgbData[dstPixel * 3], &pixelData[srcPixel * 4], 3); in saveScreenshot()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/dvb/ |
D | DvbParser.java | 623 byte[] pixelData, in paintPixelDataSubBlock() argument 630 ParsableBitArray data = new ParsableBitArray(pixelData); in paintPixelDataSubBlock()
|
/external/angle/src/libANGLE/capture/ |
D | FrameCapture.cpp | 4072 const uint8_t *pixelData = nullptr; in captureCompressedTextureData() local 4081 pixelData = reinterpret_cast<const uint8_t *>(pixelUnpackBuffer->getMapPointer()); in captureCompressedTextureData() 4085 pixelData = data; in captureCompressedTextureData() 4088 if (!pixelData) in captureCompressedTextureData() 4102 compressedData.assign(pixelData, pixelData + imageSize); in captureCompressedTextureData() 4191 memcpy(&levelData[levelOffset], &pixelData[pixelOffset], pixelRowPitch); in captureCompressedTextureData() 4298 std::vector<uint8_t> pixelData = {0, 0, 0, 0}; in maybeOverrideEntryPoint() local 4300 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, pixelData.data()); in maybeOverrideEntryPoint()
|
/external/deqp/modules/gles31/functional/ |
D | es31fShaderImageLoadStoreTests.cpp | 1343 void *const pixelData = (deUint8*)data + y*rowPitch + x*pixelSize; in replaceBadFloatReinterpretValues() local 1347 void *const channelData = (deUint8*)pixelData + c*pixelSize/imageNumChannels; in replaceBadFloatReinterpretValues() 1524 void *const pixelData = (deUint8*)data + y*rowPitch + x*pixelSize; in iterate() local 1526 deMemcpy(scratchAccess.getDataPtr(), pixelData, pixelSize); in iterate() 1533 deMemcpy(pixelData, scratchAccess.getDataPtr(), pixelSize); in iterate()
|
/external/skqp/experimental/canvaskit/ |
D | canvaskit_bindings.cpp | 548 sk_sp<SkData> pixelData = SkData::MakeFromMalloc(pixels, plen); in EMSCRIPTEN_BINDINGS() local 550 return SkImage::MakeRasterData(info, pixelData, rowBytes); in EMSCRIPTEN_BINDINGS()
|