Home
last modified time | relevance | path

Searched refs:pixelBytes (Results 1 – 20 of 20) sorted by relevance

/external/chromium_org/third_party/mesa/src/src/mesa/swrast/
Ds_copypix.c452 GLuint pixelBytes, widthInBytes; in swrast_fast_copy_pixels() local
503 pixelBytes = _mesa_get_format_bytes(srcRb->Format); in swrast_fast_copy_pixels()
504 widthInBytes = width * pixelBytes; in swrast_fast_copy_pixels()
523 srcMap = map + srcY * rowStride + srcX * pixelBytes; in swrast_fast_copy_pixels()
524 dstMap = map + dstY * rowStride + dstX * pixelBytes; in swrast_fast_copy_pixels()
/external/mesa3d/src/mesa/swrast/
Ds_copypix.c452 GLuint pixelBytes, widthInBytes; in swrast_fast_copy_pixels() local
503 pixelBytes = _mesa_get_format_bytes(srcRb->Format); in swrast_fast_copy_pixels()
504 widthInBytes = width * pixelBytes; in swrast_fast_copy_pixels()
523 srcMap = map + srcY * rowStride + srcX * pixelBytes; in swrast_fast_copy_pixels()
524 dstMap = map + dstY * rowStride + dstX * pixelBytes; in swrast_fast_copy_pixels()
/external/chromium_org/third_party/angle/src/libGLESv2/
DvalidationES3.cpp534 size_t pixelBytes = static_cast<size_t>(gl::GetInternalFormatInfo(sizedFormat).pixelBytes); in ValidateES3TexImageParameters() local
538 !rx::IsUnsignedMultiplicationSafe(widthSize * heightSize * depthSize, pixelBytes)) in ValidateES3TexImageParameters()
545 size_t copyBytes = widthSize * heightSize * depthSize * pixelBytes; in ValidateES3TexImageParameters()
648 if (destFormat.pixelBytes > 0) in GetEffectiveInternalFormat()
789 if (framebufferInternalFormatInfo.pixelBytes > 0) in IsValidES3CopyTexImageCombination()
820 if ((textureInternalFormatInfo.pixelBytes > 0) && in IsValidES3CopyTexImageCombination()
840 if (textureInternalFormatInfo.pixelBytes > 0) in IsValidES3CopyTexImageCombination()
1016 if (formatInfo.pixelBytes == 0) in ValidateES3TexStorageParameters()
Dformatutils.cpp260 pixelBytes(0), in InternalFormat()
299 formatInfo.pixelBytes = (red + green + blue + alpha + shared) / 8; in RGBAFormat()
319 formatInfo.pixelBytes = (luminance + alpha) / 8; in LUMAFormat()
339 formatInfo.pixelBytes = (depthBits + stencilBits + unusedBits) / 8; in DepthStencilFormat()
360 formatInfo.pixelBytes = compressedBlockSize / 8; in CompressedFormat()
523 if (i->second.pixelBytes > 0) in BuildAllSizedInternalFormatSet()
594 return (pixelBytes * numBlocksWide * numBlocksHight); in computeBlockSize()
613 …return (formatInfo.pixelBytes > 0) ? internalFormat : GetFormatTypeInfo(internalFormat, type).inte… in GetSizedInternalFormat()
Dformatutils.h74 GLuint pixelBytes; member
DFramebuffer.cpp448 if (formatInfo.pixelBytes != colorbufferSize) in completeness()
472 colorbufferSize = formatInfo.pixelBytes; in completeness()
DvalidationES.cpp318 if (formatInfo.pixelBytes == 0) in ValidateRenderbufferStorageParameters()
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d9/
Dformatutils9.h31 GLuint pixelBytes; member
Dformatutils9.cpp57 : pixelBytes(0), in D3DFormat()
78 info.pixelBytes = bits / 8; in InsertD3DFormatInfo()
DRenderer9.cpp2783 … y * outputPitch, source + y * inputPitch, (rect.right - rect.left) * sourceFormatInfo.pixelBytes); in readPixels()
2801 uint8_t *dest = pixels + y * outputPitch + x * destFormatInfo.pixelBytes; in readPixels()
2802 const uint8_t *src = source + y * inputPitch + x * sourceFormatInfo.pixelBytes; in readPixels()
2815 uint8_t *dest = pixels + y * outputPitch + x * destFormatInfo.pixelBytes; in readPixels()
2816 const uint8_t *src = source + y * inputPitch + x * sourceFormatInfo.pixelBytes; in readPixels()
Drenderer9_utils.cpp514 return (d3dFormatInfo.pixelBytes * numBlocksWide * numBlocksHight); in ComputeBlockSize()
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d11/
Dformatutils11.h29 GLuint pixelBytes; member
DImage11.cpp258 GLuint outputPixelSize = dxgiFormatInfo.pixelBytes; in loadData()
287 GLuint outputPixelSize = dxgiFormatInfo.pixelBytes; in loadCompressedData()
392 GLsizei rowOffset = gl::GetInternalFormatInfo(mActualFormat).pixelBytes * xoffset; in copy()
DVertexBuffer11.cpp141 unsigned int elementSize = dxgiFormatInfo.pixelBytes; in getSpaceRequired()
DPixelTransfer11.cpp124 unsigned int bytesPerPixel = gl::GetInternalFormatInfo(internalFormat).pixelBytes; in setBufferToTextureCopyParams()
Dformatutils11.cpp179 : pixelBytes(0), in DXGIFormat()
204 info.pixelBytes = pixelBits / 8; in AddDXGIFormat()
660 if (internalFormat != GL_NONE && formatInfo.pixelBytes > 0) in InsertD3D11FormatInfo()
669 unsigned int compressedBitsPerBlock = formatInfo.pixelBytes * 8; in InsertD3D11FormatInfo()
DRenderer11.cpp2847 … y * params.outputPitch, source + y * inputPitch, params.area.width * sourceFormatInfo.pixelBytes); in packPixels()
2865 …uint8_t *dest = pixelsOut + params.offset + y * params.outputPitch + x * destFormatInfo.pixelBytes; in packPixels()
2866 const uint8_t *src = source + y * inputPitch + x * sourceFormatInfo.pixelBytes; in packPixels()
2883 …uint8_t *dest = pixelsOut + params.offset + y * params.outputPitch + x * destFormatInfo.pixelBytes; in packPixels()
2884 const uint8_t *src = source + y * inputPitch + x * sourceFormatInfo.pixelBytes; in packPixels()
Drenderer11_utils.cpp1028 unsigned int rowWidth = dxgiFormatInfo.pixelBytes * mipWidth; in GenerateInitialTextureData()
DBuffer11.cpp471 bufferSRVDesc.Buffer.ElementWidth = mSize / dxgiFormatInfo.pixelBytes; in getSRV()
DBlit11.cpp773 unsigned int pixelSize = dxgiFormatInfo.pixelBytes; in copyDepthStencil()