Searched refs:sourceWidth (Results 1 – 6 of 6) sorted by relevance
/external/chromium_org/chrome/browser/resources/image_loader/ |
D | image_loader.js | 134 var sourceWidth = width; 139 sourceWidth = height; 143 var targetWidth = sourceWidth; 147 targetWidth = sourceWidth * options.scale;
|
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/ |
D | generatemip.h | 149 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()
|
D | Renderer11.h | 144 …derResourceView *source, const gl::Rectangle &sourceArea, unsigned int sourceWidth, unsigned int s…
|
D | Renderer11.cpp | 2556 …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/ |
D | MipMapGenerator.java | 49 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/ |
D | RenderBoxModelObject.cpp | 1225 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()
|