Searched refs:totalBytesRequired (Results 1 - 1 of 1) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/html/canvas/
H A DWebGLRenderingContextBase.cpp3131 unsigned totalBytesRequired = 0; local
3133 GLenum error = WebGLImageConversion::computeImageSizeInBytes(format, type, width, height, m_packAlignment, &totalBytesRequired, &padding);
3138 if (pixels->byteLength() < totalBytesRequired) {
4863 unsigned totalBytesRequired; local
4864 GLenum error = WebGLImageConversion::computeImageSizeInBytes(format, type, width, height, m_unpackAlignment, &totalBytesRequired, 0);
4869 if (pixels->byteLength() < totalBytesRequired) {
4871 error = WebGLImageConversion::computeImageSizeInBytes(format, type, width, height, 1, &totalBytesRequired, 0);
4872 if (pixels->byteLength() == totalBytesRequired) {

Completed in 399 milliseconds