Searched refs:sourceDataFormat (Results 1 – 3 of 3) sorted by relevance
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
D | GraphicsContext3DImagePacking.cpp | 1527 DataFormat sourceDataFormat = getDataFormat(format, type); in extractTextureData() local 1536 …if (!packPixels(static_cast<const uint8_t*>(pixels), sourceDataFormat, width, height, unpackAlignm… in extractTextureData() 1544 DataFormat sourceDataFormat, in packPixels() argument 1554 int validSrc = width * TexelBytesForFormat(sourceDataFormat); in packPixels() 1564 if (!HasAlpha(sourceDataFormat) || !HasColor(sourceDataFormat) || !HasColor(dstDataFormat)) in packPixels() 1567 if (sourceDataFormat == dstDataFormat && alphaOp == AlphaDoNothing) { in packPixels() 1581 converter.convert(sourceDataFormat, dstDataFormat, alphaOp); in packPixels()
|
D | GraphicsContext3D.h | 501 …static bool packPixels(const uint8_t* sourceData, DataFormat sourceDataFormat, unsigned width, uns…
|
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/ |
D | WebGLRenderingContext.cpp | 3308 GraphicsContext3D::DataFormat sourceDataFormat = imageExtractor.imageSourceFormat(); in texImage2DImpl() local 3313 …if (type == GL_UNSIGNED_BYTE && sourceDataFormat == GraphicsContext3D::DataFormatRGBA8 && format =… in texImage2DImpl() 3316 …>packImageData(image, imagePixelData, format, type, flipY, alphaOp, sourceDataFormat, imageExtract… in texImage2DImpl() 3604 GraphicsContext3D::DataFormat sourceDataFormat = imageExtractor.imageSourceFormat(); in texSubImage2DImpl() local 3609 …if (type == GL_UNSIGNED_BYTE && sourceDataFormat == GraphicsContext3D::DataFormatRGBA8 && format =… in texSubImage2DImpl() 3612 …>packImageData(image, imagePixelData, format, type, flipY, alphaOp, sourceDataFormat, imageExtract… in texSubImage2DImpl()
|