Home
last modified time | relevance | path

Searched refs:sourceWidth (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/chrome/browser/resources/image_loader/
Dimage_loader.js134 var sourceWidth = width;
139 sourceWidth = height;
143 var targetWidth = sourceWidth;
147 targetWidth = sourceWidth * options.scale;
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/
Dgeneratemip.h149 static void GenerateMip(unsigned int sourceWidth, unsigned int sourceHeight, in GenerateMip() argument
153 unsigned int mipWidth = std::max(1U, sourceWidth >> 1); in GenerateMip()
158 ASSERT(sourceWidth != 1); in GenerateMip()
168 else if (sourceWidth == 1) in GenerateMip()
DRenderer11.h144 …derResourceView *source, const gl::Rectangle &sourceArea, unsigned int sourceWidth, unsigned int s…
DRenderer11.cpp2556 …derResourceView *source, const gl::Rectangle &sourceArea, unsigned int sourceWidth, unsigned int s… in copyTexture() argument
2630 if (sourceArea.x < 0 || sourceArea.x + sourceArea.width > static_cast<int>(sourceWidth) || in copyTexture()
2655 float u1 = sourceArea.x / float(sourceWidth); in copyTexture()
2657 float u2 = (sourceArea.x + sourceArea.width) / float(sourceWidth); in copyTexture()
/external/jmonkeyengine/engine/src/desktop/jme3tools/converters/
DMipMapGenerator.java49 int sourceWidth = sourceImage.getWidth(); in scaleDown() local
56 … g.drawImage(sourceImage, 0, 0, targetWidth, targetHeight, 0, 0, sourceWidth, sourceHeight, null); in scaleDown()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderBoxModelObject.cpp1225 float sourceWidth = imageWidth - leftSlice - rightSlice; in paintNinePieceImage() local
1280 if (drawTop && sourceWidth > 0) in paintNinePieceImage()
1282 IntRect(leftSlice, 0, sourceWidth, topSlice), in paintNinePieceImage()
1286 if (drawBottom && sourceWidth > 0) in paintNinePieceImage()
1289 … IntRect(leftSlice, imageHeight - bottomSlice, sourceWidth, bottomSlice), in paintNinePieceImage()
1310 middleScaleFactor.setWidth(destinationWidth / sourceWidth); in paintNinePieceImage()
1317 IntRect(leftSlice, topSlice, sourceWidth, sourceHeight), in paintNinePieceImage()