Lines Matching defs:height
629 desc->fSize = {backendTex.width(), backendTex.height()};
691 desc->fSize = {backendTex.width(), backendTex.height()};
922 rect.height(),
1013 std::max(levelDims.height() >> 1, 1)}) {
1019 pixelStorage.reset(new char[rb * levelDims.height()]);
1056 std::max(dims.height() >> 1, 1)}) {
1071 GL_CALL(TexSubImage2D(target, level, dstRect.x(), dstRect.y(), dims.width(), dims.height(),
1101 numMipLevels = SkMipmap::ComputeLevelCount(dimensions.width(), dimensions.height())+1;
1104 // TODO: Make sure that the width and height that we pass to OpenGL
1110 dimensions.width(), dimensions.height()));
1126 dimensions.height(),
1136 dimensions = {std::max(1, dimensions.width()/2), std::max(1, dimensions.height()/2)};
1150 dimensions.height(),
1160 dimensions = {std::max(1, dimensions.width()/2), std::max(1, dimensions.height()/2)};
1167 int width, int height) {
1173 format, width, height));
1177 GR_GL_RENDERBUFFER, sampleCount, format, width, height));
1182 GR_GL_RENDERBUFFER, sampleCount, format, width, height));
1260 desc.fSize.width(), desc.fSize.height())) {
1548 return GrBackendTexture(dimensions.width(), dimensions.height(), mipMapped, info,
1580 SkMipmap::ComputeLevelCount(backendTexture.width(), backendTexture.height()) + 1;
1747 dimensions.width(), dimensions.height()));
1757 const int currentHeight = std::max(1, dimensions.height() / twoToTheMipLevel);
1844 fHWWindowRectsState.knownEqualTo(origin, rt->width(), rt->height(), windowState)) {
1856 glwindows[i].setRelativeTo(origin, rt->height(), skwindows[i]);
1862 fHWWindowRectsState.set(origin, rt->width(), rt->height(), windowState);
1994 this->flushScissor(scissor, glRT->height(), origin);
2021 auto nativeBounds = GrNativeRect::MakeRelativeTo(origin, rt->height(), bounds);
2134 this->flushScissor(scissor, glRT->height(), origin);
2190 rect.height(),
2294 target->height(),
2395 this->flushScissor(scissor, rt->height(), kTopLeft_GrSurfaceOrigin);
2404 int t = resolveRect.y() + resolveRect.height();
2648 const int h = texture->height();
3362 dst->height(),
3365 int h = srcRect.height();
3375 int dh = dst->height();
3385 int sh = src->height();
3426 srcRect.width(), srcRect.height()));
3429 srcRect.width(), srcRect.height());
3438 srcRect.width(), srcRect.height());
3491 int height = texture->height();
3492 int levelCount = SkMipmap::ComputeLevelCount(width, height) + 1;
3538 height = texture->height();
3542 int progIdx = TextureSizeToMipmapProgramIdx(width, height);
3555 const float invHeight = 1.0f / height;
3557 invWidth, (width - 1) * invWidth, invHeight, (height - 1) * invHeight));
3568 height = std::max(1, height / 2);
3569 this->flushViewport(SkIRect::MakeWH(width, height), height, kTopLeft_GrSurfaceOrigin);
3637 numMipLevels = SkMipmap::ComputeLevelCount(dimensions.width(), dimensions.height()) + 1;
3678 return GrBackendTexture(dimensions.width(), dimensions.height(), mipMapped, info,
3693 SkMipmap::ComputeLevelCount(backendTexture.width(), backendTexture.height()) + 1;
3770 dimensions.height() > this->caps()->maxRenderTargetSize()) {
3865 dimensions.height()));
3868 dimensions.width(), dimensions.height())) {
3880 dimensions.width(), dimensions.height()));
3884 dimensions.width(), dimensions.height())) {
3913 GrBackendRenderTarget beRT = GrBackendRenderTarget(dimensions.width(), dimensions.height(),