/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/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
|
D | PixelTransfer11.cpp | 132 unsigned int bytesPerPixel = gl::GetSizedInternalFormatInfo(internalFormat).pixelBytes; in setBufferToTextureCopyParams()
|
/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 …]
|
D | mtl_format_utils.h | 61 NSUInteger pixelBytes = 0; 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()
|
D | TextureVk.cpp | 512 GLuint pixelSize = formatInfo.pixelBytes; in setSubImageImpl() 889 sourceBox.width * sourceBox.height * sourceBox.depth * dstTextureFormat.pixelBytes; in copySubTextureImpl() 926 GLuint srcDataRowPitch = sourceBox.width * srcTextureFormat.pixelBytes; in copySubTextureImpl() 927 GLuint dstDataRowPitch = sourceBox.width * dstTextureFormat.pixelBytes; in copySubTextureImpl() 947 CopyImageCHROMIUM(sourceData, srcDataRowPitch, srcTextureFormat.pixelBytes, srcDataDepthPitch, in copySubTextureImpl() 948 pixelReadFunction, destData, dstDataRowPitch, dstTextureFormat.pixelBytes, in copySubTextureImpl() 1907 GLuint sourceRowPitch = baseLevelExtents.width * angleFormat.pixelBytes; in generateMipmapsWithCPU() 2187 dstFormat.pixelBytes * layerCount; in reinitImageAsRenderable() 2196 GLuint srcDataRowPitch = sourceBox.width * srcFormat.pixelBytes; in reinitImageAsRenderable() 2197 GLuint dstDataRowPitch = sourceBox.width * dstFormat.pixelBytes; in reinitImageAsRenderable() [all …]
|
D | vk_helpers.cpp | 782 srcImage->getActualFormat().pixelBytes == dstImage->getActualFormat().pixelBytes); in CanCopyWithTransferForCopyImage() 5755 ASSERT(storageFormat.pixelBytes != 0); in stageSubresourceUpdateImpl() 5789 outputRowPitch = storageFormat.pixelBytes * glExtents.width; in stageSubresourceUpdateImpl() 5967 GLuint srcDataRowPitch = copy.imageExtent.width * srcFormat.pixelBytes; in reformatStagedBufferUpdates() 5968 GLuint dstDataRowPitch = copy.imageExtent.width * dstFormat.pixelBytes; in reformatStagedBufferUpdates() 5989 CopyImageCHROMIUM(srcData, srcDataRowPitch, srcFormat.pixelBytes, srcDataDepthPitch, in reformatStagedBufferUpdates() 5990 pixelReadFunction, dstData, dstDataRowPitch, dstFormat.pixelBytes, in reformatStagedBufferUpdates() 6254 size_t outputRowPitch = storageFormat.pixelBytes * clippedRectangle.width; in stageSubresourceUpdateFromFramebuffer() 6284 storageFormat.pixelBytes * clippedRectangle.width * clippedRectangle.height; in stageSubresourceUpdateFromFramebuffer() 7203 uint32_t pixelBytes = imageFormat.pixelBytes; in copyImageDataToBuffer() local [all …]
|
D | UtilsVk.cpp | 1780 shaderParams.Bs = params.srcFormat->pixelBytes / params.srcFormat->channelCount; in convertVertexBuffer() 1783 shaderParams.Bd = params.dstFormat->pixelBytes / params.dstFormat->channelCount; in convertVertexBuffer() 2937 const uint32_t srcPixelBytes = srcImageFormat.pixelBytes; in copyImageBits() 2938 const uint32_t dstPixelBytes = dstImageFormat.pixelBytes; in copyImageBits() 3024 shaderParams.Bs = srcImageFormat.pixelBytes / srcImageFormat.channelCount; in copyImageBits() 3025 shaderParams.Ss = srcImageFormat.pixelBytes; in copyImageBits() 3027 shaderParams.Bd = dstImageFormat.pixelBytes / dstImageFormat.channelCount; in copyImageBits()
|
/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/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()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
D | VertexAttribute.h | 104 return attrib.format->pixelBytes; in ComputeVertexAttributeTypeSize()
|
D | formatutils.cpp | 346 pixelBytes(0), in InternalFormat() 761 constexpr GLuint pixelBytes() const in pixelBytes() function 817 formatInfo.pixelBytes = formatBits.pixelBytes(); in AddRGBAXFormat() 876 formatInfo.pixelBytes = (luminance + alpha) / 8; in AddLUMAFormat() 913 formatInfo.pixelBytes = (depthBits + stencilBits + unusedBits) / 8; in AddDepthStencilFormat() 949 formatInfo.pixelBytes = compressedBlockSize / 8; in AddCompressedFormat() 994 formatInfo.pixelBytes = (cr + y + cb + alpha + shared) / 8; in AddYUVFormat() 1734 auto bytes = numBlocksWide * numBlocksHigh * pixelBytes * checkedDepth; in computeCompressedImageSize() 1870 ASSERT(internalFormat.pixelBytes == in MaybeOverrideLuminance() 1871 gl::GetInternalFormatInfo(actualFormat, actualType).pixelBytes); in MaybeOverrideLuminance()
|
D | Texture.cpp | 627 levelSize *= format.info->pixelBytes; in getMemorySize() 2048 Extents extents(static_cast<GLuint>(size / internalFormatInfo.pixelBytes), 1, 1); in setBufferRange() 2312 const GLuint pixelBytes = desc.format.info->pixelBytes; in onSubjectStateChange() local 2313 desc.size.width = static_cast<GLuint>(size / pixelBytes); in onSubjectStateChange()
|
D | Renderbuffer.cpp | 313 size *= mState.mFormat.info->pixelBytes; in getMemorySize()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/ |
D | Image9.cpp | 200 sourceRect.x * sourceD3DFormatInfo.pixelBytes + in CopyImage() 203 destOffset.x * destD3DFormatInfo.pixelBytes + in CopyImage() 207 CopyImageCHROMIUM(sourceData, sourceLocked.Pitch, sourceD3DFormatInfo.pixelBytes, 0, in CopyImage() 209 destD3DFormatInfo.pixelBytes, 0, destD3DFormatInfo.info().pixelWriteFunction, in CopyImage()
|