/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/ |
D | Format.h | 41 GLuint pixelBytes, 95 GLuint pixelBytes; member 139 GLuint pixelBytes, in Format() argument 160 pixelBytes(pixelBytes), in Format()
|
D | renderer_utils.cpp | 233 params.area.width * sourceFormat.pixelBytes); in PackPixels() 248 destWithOffset + y * params.outputPitch + x * params.destFormat->pixelBytes; in PackPixels() 249 const uint8_t *src = source + y * inputPitch + x * sourceFormat.pixelBytes; in PackPixels() 275 destWithOffset + y * params.outputPitch + x * params.destFormat->pixelBytes; in PackPixels() 276 const uint8_t *src = source + y * inputPitch + x * sourceFormat.pixelBytes; in PackPixels()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/ |
D | Format.h | 41 GLuint pixelBytes, 99 GLuint pixelBytes; member 145 GLuint pixelBytes, in Format() argument 168 pixelBytes(pixelBytes), in Format()
|
D | d3d_format.h | 23 D3DFormat(GLuint pixelBytes, 37 GLuint pixelBytes; member
|
D | d3d_format.cpp | 23 : pixelBytes(0), in D3DFormat() 47 : pixelBytes(bits / 8), in D3DFormat()
|
D | renderer_utils.cpp | 320 xAxisPitch = sourceFormat.pixelBytes; in PackPixels() 341 yAxisPitch = sourceFormat.pixelBytes; in PackPixels() 351 xAxisPitch = -static_cast<int>(sourceFormat.pixelBytes); in PackPixels() 353 source += sourceFormat.pixelBytes * (params.area.width - 1); in PackPixels() 363 yAxisPitch = -static_cast<int>(sourceFormat.pixelBytes); in PackPixels() 367 sourceFormat.pixelBytes * (params.area.width - 1); in PackPixels() 380 params.area.width * sourceFormat.pixelBytes); in PackPixels() 395 destWithOffset + y * params.outputPitch + x * params.destFormat->pixelBytes; in PackPixels() 422 destWithOffset + y * params.outputPitch + x * params.destFormat->pixelBytes; in PackPixels()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | vk_format_utils.cpp | 172 ASSERT(format.pixelBytes != 0); in getImageCopyBufferAlignment() 173 const size_t texelSize = format.pixelBytes; in getImageCopyBufferAlignment() 303 size_t pixelBytes = bufferFormat.pixelBytes; in GetVertexInputAlignment() local 304 return format.vkBufferFormatIsPacked ? pixelBytes : (pixelBytes / bufferFormat.channelCount); in GetVertexInputAlignment()
|
D | VertexArrayVk.cpp | 46 unsigned int formatSize = angleFormat.pixelBytes; in BindingIsAligned() 246 ASSERT(binding.getStride() % (srcFormat.pixelBytes / srcFormat.channelCount) == 0); in convertVertexBufferGPU() 248 unsigned srcFormatSize = srcFormat.pixelBytes; in convertVertexBufferGPU() 249 unsigned destFormatSize = destFormat.pixelBytes; in convertVertexBufferGPU() 291 unsigned srcFormatSize = vertexFormat.angleFormat().pixelBytes; in convertVertexBufferCPU() 292 unsigned dstFormatSize = vertexFormat.bufferFormat().pixelBytes; in convertVertexBufferCPU() 446 stride = vertexFormat.bufferFormat().pixelBytes; in syncDirtyAttrib() 500 stride = vertexFormat.bufferFormat().pixelBytes; in syncDirtyAttrib() 582 GLuint stride = vertexFormat.bufferFormat().pixelBytes; in updateClientAttribs()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
D | ResourceManager11.cpp | 53 uint64_t pixelBytes = in ComputeMemoryUsage() local 54 static_cast<uint64_t>(d3d11::GetDXGIFormatSizeInfo(desc->Format).pixelBytes); in ComputeMemoryUsage() 55 return ComputeMippedMemoryUsage(desc->Width, desc->Height, 1, pixelBytes, desc->MipLevels); in ComputeMemoryUsage() 61 uint64_t pixelBytes = in ComputeMemoryUsage() local 62 static_cast<uint64_t>(d3d11::GetDXGIFormatSizeInfo(desc->Format).pixelBytes); in ComputeMemoryUsage() 63 return ComputeMippedMemoryUsage(desc->Width, desc->Height, desc->Depth, pixelBytes, in ComputeMemoryUsage() 486 data->SysMemPitch = levelWidth * formatSizeInfo.pixelBytes; in createInitDataIfNeeded() 534 data->SysMemPitch = levelWidth * formatSizeInfo.pixelBytes; in createInitDataIfNeeded()
|
D | Image11.cpp | 99 gl::GetSizedInternalFormatInfo(sourceFormat.fboImplementationInternalFormat).pixelBytes; in CopyImage() 105 GLuint destPixelBytes = destFormatInfo.pixelBytes; in CopyImage() 291 GLuint outputPixelSize = dxgiFormatInfo.pixelBytes; in loadData() 327 GLuint outputPixelSize = dxgiFormatInfo.pixelBytes; in loadCompressedData() 406 GLsizei rowOffset = dxgiFormatInfo.pixelBytes * destOffset.x; in copyFromFramebuffer() 420 size_t bufferSize = destFormatInfo.pixelBytes * sourceArea.width * sourceArea.height; in copyFromFramebuffer() 427 GLuint memoryBufferRowPitch = destFormatInfo.pixelBytes * sourceArea.width; in copyFromFramebuffer()
|
D | formatutils11.h | 40 GLuint pixelBytes; member
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
D | ResourceManager11.cpp | 53 uint64_t pixelBytes = in ComputeMemoryUsage() local 54 static_cast<uint64_t>(d3d11::GetDXGIFormatSizeInfo(desc->Format).pixelBytes); in ComputeMemoryUsage() 55 return ComputeMippedMemoryUsage(desc->Width, desc->Height, 1, pixelBytes, desc->MipLevels); in ComputeMemoryUsage() 61 uint64_t pixelBytes = in ComputeMemoryUsage() local 62 static_cast<uint64_t>(d3d11::GetDXGIFormatSizeInfo(desc->Format).pixelBytes); in ComputeMemoryUsage() 63 return ComputeMippedMemoryUsage(desc->Width, desc->Height, desc->Depth, pixelBytes, in ComputeMemoryUsage() 482 data->SysMemPitch = levelWidth * formatSizeInfo.pixelBytes; in createInitDataIfNeeded() 526 data->SysMemPitch = levelWidth * formatSizeInfo.pixelBytes; in createInitDataIfNeeded()
|
D | Image11.cpp | 99 gl::GetSizedInternalFormatInfo(sourceFormat.fboImplementationInternalFormat).pixelBytes; in CopyImage() 105 GLuint destPixelBytes = destFormatInfo.pixelBytes; in CopyImage() 289 GLuint outputPixelSize = dxgiFormatInfo.pixelBytes; in loadData() 325 GLuint outputPixelSize = dxgiFormatInfo.pixelBytes; in loadCompressedData() 404 GLsizei rowOffset = dxgiFormatInfo.pixelBytes * destOffset.x; in copyFromFramebuffer() 418 size_t bufferSize = destFormatInfo.pixelBytes * sourceArea.width * sourceArea.height; in copyFromFramebuffer() 425 GLuint memoryBufferRowPitch = destFormatInfo.pixelBytes * sourceArea.width; in copyFromFramebuffer()
|
D | formatutils11.h | 39 GLuint pixelBytes; member
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/ |
D | mtl_format_utils.mm | 321 NSUInteger pixelBytes, 325 false, pixelBytes, channels); 348 NSUInteger pixelBytes, 358 mNativePixelFormatCapsTable[id].pixelBytes = pixelBytes; 359 mNativePixelFormatCapsTable[id].pixelBytesMSAA = pixelBytes; 362 mNativePixelFormatCapsTable[id].alignment = MAX(pixelBytes / channels, 1U); 377 NSUInteger pixelBytesRender = mNativePixelFormatCapsTable[id].pixelBytes; 409 pixelBytesRender = MAX(mNativePixelFormatCapsTable[id].pixelBytes, minSize); 481 mNativePixelFormatCapsTable[id].pixelBytes = pixelBytesRender;
|
D | VertexArrayMtl.mm | 59 *strideOut = packedFormat.actualAngleFormat().pixelBytes; 464 ASSERT((bufferOffset % angleFormat.pixelBytes) == 0); 552 (binding.getStride() < format.actualAngleFormat().pixelBytes) || 607 streamFormat.actualAngleFormat().pixelBytes); 642 (binding.getOffset() % format.actualAngleFormat().pixelBytes) != 0 || 644 (binding.getStride() < format.actualAngleFormat().pixelBytes) || 938 unsigned srcFormatSize = srcVertexFormat.intendedAngleFormat().pixelBytes; 996 conversion->data.updateAlignment(contextMtl, convertedAngleFormat.pixelBytes);
|
D | mtl_utils.mm | 381 const size_t dstRowPitch = dstFormat.pixelBytes * size.width; 394 const size_t srcRowPitch = srcFormat.pixelBytes * size.width; 399 CopyImageCHROMIUM(srcRow.data(), srcRowPitch, srcFormat.pixelBytes, 0, 401 dstFormat.pixelBytes, 0, dstFormat.pixelWriteFunction, 1374 NSUInteger pixelBytes = caps.pixelBytes; 1376 pixelBytes = isMSAA ? pixelBytesMSAA : pixelBytes; 1379 currentRenderTargetSize += pixelBytes;
|
D | TextureMtl.mm | 238 ASSERT(srcAngleFormat.pixelBytes <= sizeof(depthStencilData)); 247 psrc + d * src2DImageSize + r * srcRowPitch + c * srcAngleFormat.pixelBytes; 250 c * dstAngleFormat.pixelBytes; 273 size_t stagingBufferRowPitch = regionSize.width * stagingAngleFormat.pixelBytes; 305 size_t stagingBufferRowPitch = regionSize.width * textureAngleFormat.pixelBytes; 1332 size_t prevLevelRowPitch = angleFormat.pixelBytes * prevLevelWidth; 1351 size_t dstRowPitch = angleFormat.pixelBytes * dstWidth; 1805 if (offset % mFormat.actualAngleFormat().pixelBytes || pixelsRowPitch < minRowPitch) 1912 const size_t dstRowPitch = dstFormat.pixelBytes * mtlArea.size.width; 1980 CopyImageCHROMIUM(psrc, pixelsRowPitch, pixelsAngleFormat.pixelBytes, 0, [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/ |
D | formatutils9.h | 34 D3DFormat(GLuint pixelBytes, 48 GLuint pixelBytes; member
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | vk_format_utils.cpp | 204 size_t pixelBytes = bufferFormat.pixelBytes; in getVertexInputAlignment() local 205 return mVkBufferFormatIsPacked ? pixelBytes : (pixelBytes / bufferFormat.channelCount); in getVertexInputAlignment() 328 ASSERT(actualFormat.pixelBytes != 0); in GetImageCopyBufferAlignment() 329 const size_t texelSize = actualFormat.pixelBytes; in GetImageCopyBufferAlignment()
|
D | VertexArrayVk.cpp | 47 unsigned int formatSize = angleFormat.pixelBytes; in BindingIsAligned() 380 ASSERT(binding.getStride() % (srcFormat.pixelBytes / srcFormat.channelCount) == 0); in convertVertexBufferGPU() 382 unsigned srcFormatSize = srcFormat.pixelBytes; in convertVertexBufferGPU() 383 unsigned dstFormatSize = dstFormat.pixelBytes; in convertVertexBufferGPU() 429 unsigned srcFormatSize = vertexFormat.getIntendedFormat().pixelBytes; in convertVertexBufferCPU() 430 unsigned dstFormatSize = vertexFormat.getActualBufferFormat(compressed).pixelBytes; in convertVertexBufferCPU() 672 stride = vertexFormat.getActualBufferFormat(compressed).pixelBytes; in syncDirtyAttrib() 713 stride = vertexFormat.getActualBufferFormat(compressed).pixelBytes; in syncDirtyAttrib() 789 GLuint stride = vertexFormat.getActualBufferFormat(false).pixelBytes; in updateStreamedAttribs()
|
/third_party/mesa3d/src/mesa/swrast/ |
D | s_copypix.c | 441 GLuint pixelBytes, widthInBytes; in swrast_fast_copy_pixels() local 492 pixelBytes = _mesa_get_format_bytes(srcRb->Format); in swrast_fast_copy_pixels() 493 widthInBytes = width * pixelBytes; in swrast_fast_copy_pixels() 512 srcMap = map + srcY * rowStride + srcX * pixelBytes; in swrast_fast_copy_pixels() 513 dstMap = map + dstY * rowStride + dstX * pixelBytes; in swrast_fast_copy_pixels()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/null/ |
D | FramebufferNULL.cpp | 133 pixels += leftClip * glFormat.pixelBytes + topClip * rowBytes; in readPixels() 138 memset(pixels, 42, glFormat.pixelBytes * area.width); in readPixels()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/null/ |
D | FramebufferNULL.cpp | 161 pixels += leftClip * glFormat.pixelBytes + topClip * rowBytes; in readPixels() 166 memset(pixels, 42, glFormat.pixelBytes * area.width); in readPixels()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
D | FramebufferGL.cpp | 280 GLuint pixelBytes, in Initialize() argument 303 if (rowBytes < area.width * pixelBytes) in Initialize() 305 checkedAllocatedBytes += area.width * pixelBytes - rowBytes; in Initialize() 338 GLuint pixelBytes, in RearrangeEXTTextureNorm16Pixels() argument 365 ASSERT(originalReadFormatPixelBytes > pixelBytes); in RearrangeEXTTextureNorm16Pixels() 392 src += pixelBytes; in RearrangeEXTTextureNorm16Pixels() 706 outPtr += leftClip * glFormat.pixelBytes + topClip * rowBytes; in readPixels()
|