Lines Matching full:width
109 void reshape(int width, int height);
130 void viewportImpl(long x, long y, unsigned long width, unsigned long height);
148 unsigned int width,
179 // If the width and height of the Canvas's backing store don't
653 void GraphicsContext3DInternal::reshape(int width, int height)
656 SetWindowPos(m_canvasWindow, HWND_TOP, 0, 0, width, height,
661 m_cachedWidth = width;
683 glTexImage2D(target, 0, GL_RGBA8, width, height, 0, GL_RGBA, GL_UNSIGNED_BYTE, 0);
689 glRenderbufferStorageEXT(GL_RENDERBUFFER_EXT, GL_DEPTH_COMPONENT, width, height);
708 m_scanline = new unsigned char[width * 4];
720 int rowBytes = width * 4;
727 unsigned int width,
733 unsigned int rowBytes = width * 4;
773 if (canvasBitmap->width() == m_cachedWidth && canvasBitmap->height() == m_cachedHeight) {
785 if (m_resizingBitmap && (m_resizingBitmap->width() != m_cachedWidth || m_resizingBitmap->height() != m_cachedHeight)) {
829 dst.set(0, 0, canvasBitmap->width(), canvasBitmap->height());
850 // width and height to draw.
852 context->canvas()->width(),
1012 void GraphicsContext3DInternal::viewportImpl(long x, long y, unsigned long width, unsigned long height)
1014 glViewport(x, y, width, height);
1167 void GraphicsContext3D::reshape(int width, int height)
1169 if (width == m_currentWidth && height == m_currentHeight)
1172 m_currentWidth = width;
1175 m_internal->reshape(width, height);
1809 unsigned long width, unsigned long height,
1816 RefPtr<WebGLUnsignedByteArray> array = WebGLUnsignedByteArray::create(width * height * 4);
1817 glReadPixels(x, y, width, height, format, type, array->baseAddress());
1860 unsigned width,
1872 width,
1907 int width, int height,
1927 width,
1944 unmultiplyAlpha(row, width);
1947 width, 1,
1960 width,
1968 width,
1977 unmultiplyAlpha(row, width);
1979 width, 1,
2010 int width = skiaImage->width();
2016 width, height,
2028 int width = CGImageGetWidth(cgImage);
2030 int rowBytes = width * 4;
2037 CGContextRef tmpContext = CGBitmapContextCreate(imageData, width, height, 8, rowBytes,
2043 CGRectMake(0, 0, static_cast<CGFloat>(width), static_cast<CGFloat>(height)),
2046 res = texImage2DHelper(target, level, width, height, rowBytes,
2063 unsigned width,
2069 glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels);
2210 void GraphicsContext3D::viewport(long x, long y, unsigned long width, unsigned long height)
2213 m_internal->viewportImpl(x, y, width, height);