Searched refs:pixelBytes (Results 1 – 20 of 20) sorted by relevance
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
D | s_copypix.c | 452 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/ |
D | s_copypix.c | 452 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/ |
D | validationES3.cpp | 534 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()
|
D | formatutils.cpp | 260 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()
|
D | formatutils.h | 74 GLuint pixelBytes; member
|
D | Framebuffer.cpp | 448 if (formatInfo.pixelBytes != colorbufferSize) in completeness() 472 colorbufferSize = formatInfo.pixelBytes; in completeness()
|
D | validationES.cpp | 318 if (formatInfo.pixelBytes == 0) in ValidateRenderbufferStorageParameters()
|
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d9/ |
D | formatutils9.h | 31 GLuint pixelBytes; member
|
D | formatutils9.cpp | 57 : pixelBytes(0), in D3DFormat() 78 info.pixelBytes = bits / 8; in InsertD3DFormatInfo()
|
D | Renderer9.cpp | 2783 … 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()
|
D | renderer9_utils.cpp | 514 return (d3dFormatInfo.pixelBytes * numBlocksWide * numBlocksHight); in ComputeBlockSize()
|
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d11/ |
D | formatutils11.h | 29 GLuint pixelBytes; member
|
D | Image11.cpp | 258 GLuint outputPixelSize = dxgiFormatInfo.pixelBytes; in loadData() 287 GLuint outputPixelSize = dxgiFormatInfo.pixelBytes; in loadCompressedData() 392 GLsizei rowOffset = gl::GetInternalFormatInfo(mActualFormat).pixelBytes * xoffset; in copy()
|
D | VertexBuffer11.cpp | 141 unsigned int elementSize = dxgiFormatInfo.pixelBytes; in getSpaceRequired()
|
D | PixelTransfer11.cpp | 124 unsigned int bytesPerPixel = gl::GetInternalFormatInfo(internalFormat).pixelBytes; in setBufferToTextureCopyParams()
|
D | formatutils11.cpp | 179 : 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()
|
D | Renderer11.cpp | 2847 … 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()
|
D | renderer11_utils.cpp | 1028 unsigned int rowWidth = dxgiFormatInfo.pixelBytes * mipWidth; in GenerateInitialTextureData()
|
D | Buffer11.cpp | 471 bufferSRVDesc.Buffer.ElementWidth = mSize / dxgiFormatInfo.pixelBytes; in getSRV()
|
D | Blit11.cpp | 773 unsigned int pixelSize = dxgiFormatInfo.pixelBytes; in copyDepthStencil()
|