Home | History | Annotate | Download | only in canvas

Lines Matching defs:readPixels

2989 void WebGLRenderingContext::readPixels
2998 synthesizeGLError(GraphicsContext3D::INVALID_VALUE, "readPixels", "no destination ArrayBufferView");
3007 synthesizeGLError(GraphicsContext3D::INVALID_ENUM, "readPixels", "invalid format");
3017 synthesizeGLError(GraphicsContext3D::INVALID_ENUM, "readPixels", "invalid type");
3021 synthesizeGLError(GraphicsContext3D::INVALID_OPERATION, "readPixels", "format not RGBA or type not UNSIGNED_BYTE");
3026 synthesizeGLError(GraphicsContext3D::INVALID_OPERATION, "readPixels", "ArrayBufferView not Uint8Array");
3031 synthesizeGLError(GraphicsContext3D::INVALID_FRAMEBUFFER_OPERATION, "readPixels", reason);
3039 synthesizeGLError(error, "readPixels", "invalid dimensions");
3043 synthesizeGLError(GraphicsContext3D::INVALID_OPERATION, "readPixels", "ArrayBufferView not large enough for dimensions");
3052 m_context->readPixels(x, y, width, height, format, type, data);
3057 // when alpha is off, readPixels should set alpha to 255 instead of 0.