Searched refs:totalBytesRequired (Results 1 – 1 of 1) sorted by relevance
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/ |
D | WebGLRenderingContextBase.cpp | 3083 unsigned totalBytesRequired = 0; in readPixels() local 3085 …mputeImageSizeInBytes(format, type, width, height, m_packAlignment, &totalBytesRequired, &padding); in readPixels() 3090 if (pixels->byteLength() < totalBytesRequired) { in readPixels() 4812 unsigned totalBytesRequired; in validateTexFuncData() local 4813 …n::computeImageSizeInBytes(format, type, width, height, m_unpackAlignment, &totalBytesRequired, 0); in validateTexFuncData() 4818 if (pixels->byteLength() < totalBytesRequired) { in validateTexFuncData() 4820 …GLImageConversion::computeImageSizeInBytes(format, type, width, height, 1, &totalBytesRequired, 0); in validateTexFuncData() 4821 if (pixels->byteLength() == totalBytesRequired) { in validateTexFuncData()
|