Home
last modified time | relevance | path

Searched refs:newWidth (Results 1 – 25 of 33) sorted by relevance

12

/third_party/flutter/skia/third_party/externals/angle2/samples/WindowTest/
DWindowTest.cpp44 int newWidth = width; in main() local
55 newWidth = std::max(0, width + (event.Key.Shift ? -20 : 20)); in main()
101 if (newWidth != width || newHeight != height) in main()
103 width = newWidth; in main()
/third_party/skia/third_party/externals/angle2/samples/WindowTest/
DWindowTest.cpp44 int newWidth = width; in main() local
55 newWidth = std::max(0, width + (event.Key.Shift ? -20 : 20)); in main()
101 if (newWidth != width || newHeight != height) in main()
103 width = newWidth; in main()
/third_party/gstreamer/gstplugins_bad/ext/onnx/
Dgstonnxclient.cpp259 int32_t newWidth = fixedInputImageSize ? width : vmeta->width; in parseDimensions() local
262 if (!dest || width * height < newWidth * newHeight) { in parseDimensions()
264 dest = new uint8_t[newWidth * newHeight * channels]; in parseDimensions()
266 width = newWidth; in parseDimensions()
/third_party/vk-gl-cts/framework/egl/
DegluGLContextFactory.cpp567 int newWidth = 0; in postIterate() local
570 egl.querySurface(m_eglDisplay, m_eglSurface, EGL_WIDTH, &newWidth); in postIterate()
574 if (newWidth != m_glRenderTarget.getWidth() || in postIterate()
578 m_glRenderTarget.getWidth(), m_glRenderTarget.getHeight(), newWidth, newHeight); in postIterate()
580 m_glRenderTarget = tcu::RenderTarget(newWidth, newHeight, in postIterate()
/third_party/flutter/engine/flutter/shell/platform/windows/
Dwin32_window.cc220 LONG newWidth = lprcNewScale->right - lprcNewScale->left; in HandleDpiChange() local
223 SetWindowPos(hwnd, nullptr, lprcNewScale->left, lprcNewScale->top, newWidth, in HandleDpiChange()
/third_party/flutter/skia/include/core/
DSkImageInfo.h435 SkImageInfo makeWH(int newWidth, int newHeight) const { in makeWH()
436 return Make(newWidth, newHeight, fColorType, fAlphaType, fColorSpace); in makeWH()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/wgl/
DDXGISwapChainWindowSurfaceWGL.cpp349 size_t newWidth = rect.right - rect.left; in checkForResize() local
351 if (newWidth != mWidth || newHeight != mHeight) in checkForResize()
353 mWidth = newWidth; in checkForResize()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/wgl/
DDXGISwapChainWindowSurfaceWGL.cpp349 size_t newWidth = rect.right - rect.left; in checkForResize() local
351 if (newWidth != mWidth || newHeight != mHeight) in checkForResize()
353 mWidth = newWidth; in checkForResize()
/third_party/skia/modules/canvaskit/htmlcanvas/
Dcanvas2dcontext.js383 set: function(newWidth) { argument
384 if (newWidth <= 0 || !newWidth) {
388 this._strokeWidth = newWidth;
389 this._paint.setStrokeWidth(newWidth);
/third_party/flutter/skia/modules/canvaskit/htmlcanvas/
Dcanvas2dcontext.js402 set: function(newWidth) { argument
403 if (newWidth <= 0 || !newWidth) {
407 this._strokeWidth = newWidth;
408 this._paint.setStrokeWidth(newWidth);
/third_party/skia/include/core/
DSkImageInfo.h533 SkImageInfo makeWH(int newWidth, int newHeight) const { in makeWH()
534 return Make({newWidth, newHeight}, fColorInfo); in makeWH()
/third_party/vk-gl-cts/modules/egl/
DteglResizeTests.cpp279 const int newWidth = newSurface.getWidth(); in compareCorners() local
281 const int minWidth = de::min(oldWidth, newWidth); in compareCorners()
287 const int newX = xCorner == 0 ? 0 : newWidth - minWidth; in compareCorners()
/third_party/flutter/skia/src/image/
DSkImage_GpuYUVA.cpp269 int newWidth = SkTMin(static_cast<int>(yuvaPixmaps[i].width() * scale), in MakeFromYUVAPixmaps() local
273 SkImageInfo info = yuvaPixmaps[i].info().makeWH(newWidth, newHeight); in MakeFromYUVAPixmaps()
DSkImage_Gpu.cpp491 int newWidth = SkTMin(static_cast<int>(originalPixmap.width() * scale), maxTextureSize); in MakeCrossContextFromPixmap() local
493 SkImageInfo info = originalPixmap.info().makeWH(newWidth, newHeight); in MakeCrossContextFromPixmap()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fFboRenderTest.cpp1133 int newWidth = 64; in render() local
1175 context.texImage2D(GL_TEXTURE_2D, 0, fbo.getConfig().colorFormat, newWidth, newHeight); in render()
1180 context.renderbufferStorage(GL_RENDERBUFFER, fbo.getConfig().colorFormat, newWidth, newHeight); in render()
1193 context.texImage2D(GL_TEXTURE_2D, 0, fbo.getConfig().depthStencilFormat, newWidth, newHeight); in render()
1198 …context.renderbufferStorage(GL_RENDERBUFFER, fbo.getConfig().depthStencilFormat, newWidth, newHeig… in render()
1207 context.viewport(0, 0, newWidth, newHeight); in render()
1244 …readPixels(context, dst, 0, 0, newWidth, newHeight, colorFormat, fboRangeInfo.lookupScale, fboRang… in render()
/third_party/mesa3d/include/HaikuGL/
DGLView.h70 virtual void FrameResized(float newWidth, float newHeight);
/third_party/flutter/skia/src/core/
DSkImageFilter.cpp305 int newWidth, int newHeight, int offX, int offY) { in pad_image() argument
321 sk_sp<SkSpecialSurface> surf(ctx.makeSurface(SkISize::Make(newWidth, newHeight))); in pad_image()
/third_party/mesa3d/src/util/format/
Du_format_fxt1.c1185 int32_t newWidth = (width + 7) & ~7; in fxt1_encode() local
1187 newSource = malloc(comps * newWidth * newHeight * sizeof(uint8_t)); in fxt1_encode()
1190 upscale_teximage2d(width, height, newWidth, newHeight, in fxt1_encode()
1194 width = newWidth; in fxt1_encode()
1196 srcRowStride = comps * newWidth; in fxt1_encode()
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fFboRenderTest.cpp1745 int newWidth = 64; in render() local
1753 context.texImage2D(GL_TEXTURE_2D, 0, fbo.getConfig().colorbufferFormat, newWidth, newHeight); in render()
1758 …context.renderbufferStorage(GL_RENDERBUFFER, fbo.getConfig().colorbufferFormat, newWidth, newHeigh… in render()
1769 …context.renderbufferStorage(GL_RENDERBUFFER, fbo.getConfig().depthbufferFormat, newWidth, newHeigh… in render()
1776 …context.renderbufferStorage(GL_RENDERBUFFER, fbo.getConfig().stencilbufferFormat, newWidth, newHei… in render()
1780 context.viewport(0, 0, newWidth, newHeight); in render()
1817 context.readPixels(dst, 0, 0, newWidth, newHeight); in render()
/third_party/skia/src/core/
DSkImageFilter.cpp393 int newWidth, int newHeight, int offX, int offY) { in pad_image() argument
409 sk_sp<SkSpecialSurface> surf(ctx.makeSurface(SkISize::Make(newWidth, newHeight))); in pad_image()
/third_party/flutter/flutter/packages/flutter/lib/src/rendering/
Dtable.dart925 final double newWidth = widths[x] - deficit * flexes[x] / totalFlex;
926 assert(newWidth.isFinite);
927 if (newWidth <= minWidths[x]) {
934 deficit -= widths[x] - newWidth;
935 widths[x] = newWidth;
/third_party/flutter/flutter/packages/flutter_test/lib/src/
Daccessibility.dart315 final int newWidth = paintBounds.size.width.ceil();
318 final int rightX = leftX + newWidth;
/third_party/skia/src/image/
DSkImage_Gpu.cpp648 int newWidth = std::min(static_cast<int>(originalPixmap.width() * scale), maxTextureSize); in MakeCrossContextFromPixmap() local
650 SkImageInfo info = originalPixmap.info().makeWH(newWidth, newHeight); in MakeCrossContextFromPixmap()
/third_party/flutter/flutter/packages/flutter/lib/src/painting/
Dtext_painter.dart549 final double newWidth = maxIntrinsicWidth.clamp(minWidth, maxWidth);
550 if (newWidth != width) {
551 _paragraph.layout(ui.ParagraphConstraints(width: newWidth));
/third_party/mesa3d/src/mesa/main/
Dmipmap.c1927 GLint newWidth, newHeight, newDepth; in _mesa_prepare_mipmap_levels() local
1933 &newWidth, &newHeight, &newDepth)) { in _mesa_prepare_mipmap_levels()
1939 newWidth, newHeight, newDepth, in _mesa_prepare_mipmap_levels()
1944 width = newWidth; in _mesa_prepare_mipmap_levels()

12