/external/chromium_org/third_party/skia/src/gpu/ |
D | GrTexture.cpp | 61 size_t textureSize; in gpuMemorySize() local 64 textureSize = GrCompressedFormatDataSize(fDesc.fConfig, fDesc.fWidth, fDesc.fHeight); in gpuMemorySize() 66 textureSize = (size_t) fDesc.fWidth * fDesc.fHeight * GrBytesPerPixel(fDesc.fConfig); in gpuMemorySize() 72 textureSize *= 2; in gpuMemorySize() 74 return textureSize; in gpuMemorySize()
|
D | GrTextStrike.cpp | 86 SkISize textureSize = SkISize::Make(GR_ATLAS_TEXTURE_WIDTH, in generateStrike() local 89 textureSize, in generateStrike()
|
D | GrLayerCache.cpp | 95 SkISize textureSize = SkISize::Make(kAtlasTextureWidth, kAtlasTextureHeight); in initAtlas() local 98 textureSize, kNumPlotsX, kNumPlotsY, false))); in initAtlas()
|
/external/skia/src/gpu/ |
D | GrTexture.cpp | 62 size_t textureSize = (size_t) fDesc.fWidth * in gpuMemorySize() local 76 textureSize = (fDesc.fWidth >> 2) * (fDesc.fHeight >> 2) * 8; in gpuMemorySize() 87 textureSize *= 2; in gpuMemorySize() 89 return textureSize; in gpuMemorySize()
|
D | GrLayerCache.cpp | 59 SkISize textureSize = SkISize::Make(kAtlasTextureWidth, kAtlasTextureHeight); in init() local 61 textureSize, 1, 1, false))); in init()
|
D | GrTextStrike.cpp | 83 SkISize textureSize = SkISize::Make(GR_ATLAS_TEXTURE_WIDTH, in generateStrike() local 86 textureSize, in generateStrike()
|
/external/chromium_org/third_party/mesa/src/src/glsl/builtins/profiles/ |
D | 140.glsl | 475 /* textureSize */ 476 int textureSize( sampler1D sampler, int lod); 477 int textureSize(isampler1D sampler, int lod); 478 int textureSize(usampler1D sampler, int lod); 480 ivec2 textureSize( sampler2D sampler, int lod); 481 ivec2 textureSize(isampler2D sampler, int lod); 482 ivec2 textureSize(usampler2D sampler, int lod); 484 ivec3 textureSize( sampler3D sampler, int lod); 485 ivec3 textureSize(isampler3D sampler, int lod); 486 ivec3 textureSize(usampler3D sampler, int lod); [all …]
|
D | 130.glsl | 471 /* textureSize */ 472 int textureSize( sampler1D sampler, int lod); 473 int textureSize(isampler1D sampler, int lod); 474 int textureSize(usampler1D sampler, int lod); 476 ivec2 textureSize( sampler2D sampler, int lod); 477 ivec2 textureSize(isampler2D sampler, int lod); 478 ivec2 textureSize(usampler2D sampler, int lod); 480 ivec3 textureSize( sampler3D sampler, int lod); 481 ivec3 textureSize(isampler3D sampler, int lod); 482 ivec3 textureSize(usampler3D sampler, int lod); [all …]
|
/external/mesa3d/src/glsl/builtins/profiles/ |
D | 140.glsl | 475 /* textureSize */ 476 int textureSize( sampler1D sampler, int lod); 477 int textureSize(isampler1D sampler, int lod); 478 int textureSize(usampler1D sampler, int lod); 480 ivec2 textureSize( sampler2D sampler, int lod); 481 ivec2 textureSize(isampler2D sampler, int lod); 482 ivec2 textureSize(usampler2D sampler, int lod); 484 ivec3 textureSize( sampler3D sampler, int lod); 485 ivec3 textureSize(isampler3D sampler, int lod); 486 ivec3 textureSize(usampler3D sampler, int lod); [all …]
|
D | 130.glsl | 471 /* textureSize */ 472 int textureSize( sampler1D sampler, int lod); 473 int textureSize(isampler1D sampler, int lod); 474 int textureSize(usampler1D sampler, int lod); 476 ivec2 textureSize( sampler2D sampler, int lod); 477 ivec2 textureSize(isampler2D sampler, int lod); 478 ivec2 textureSize(usampler2D sampler, int lod); 480 ivec3 textureSize( sampler3D sampler, int lod); 481 ivec3 textureSize(isampler3D sampler, int lod); 482 ivec3 textureSize(usampler3D sampler, int lod); [all …]
|
/external/deqp/modules/gles3/functional/ |
D | es3fTextureUnitTests.cpp | 299 …dMax(const tcu::Vector<tcu::Vec2, 3>& derivateParts, const tcu::IVec3& textureSize, const Vec2& sc… in calculateLodMax() argument 301 float dudx = derivateParts[0].x() * (float)textureSize.x() * screenDerivate.x(); in calculateLodMax() 302 float dudy = derivateParts[0].y() * (float)textureSize.x() * screenDerivate.y(); in calculateLodMax() 303 float dvdx = derivateParts[1].x() * (float)textureSize.y() * screenDerivate.x(); in calculateLodMax() 304 float dvdy = derivateParts[1].y() * (float)textureSize.y() * screenDerivate.y(); in calculateLodMax() 305 float dwdx = derivateParts[2].x() * (float)textureSize.z() * screenDerivate.x(); in calculateLodMax() 306 float dwdy = derivateParts[2].y() * (float)textureSize.z() * screenDerivate.y(); in calculateLodMax() 315 …dMin(const tcu::Vector<tcu::Vec2, 3>& derivateParts, const tcu::IVec3& textureSize, const Vec2& sc… in calculateLodMin() argument 317 float dudx = derivateParts[0].x() * (float)textureSize.x() * screenDerivate.x(); in calculateLodMin() 318 float dudy = derivateParts[0].y() * (float)textureSize.x() * screenDerivate.y(); in calculateLodMin() [all …]
|
D | es3fVertexTextureTests.cpp | 124 static inline Vec2 safe2DTexCoords (const Vec2& raw, const IVec2& textureSize) in safe2DTexCoords() argument 126 return safeCoords(raw, textureSize, Vec2(0.5f)); in safe2DTexCoords() 129 static inline Vec3 safe2DArrayTexCoords (const Vec3& raw, const IVec3& textureSize) in safe2DArrayTexCoords() argument 131 return safeCoords(raw, textureSize, Vec3(0.5f, 0.5f, 0.0f)); in safe2DArrayTexCoords() 134 static inline Vec3 safe3DTexCoords (const Vec3& raw, const IVec3& textureSize) in safe3DTexCoords() argument 136 return safeCoords(raw, textureSize, Vec3(0.5f)); in safe3DTexCoords() 237 …PosTexCoordQuadGrid (int gridSize, const IVec2& renderSize, const TexSizeIVec& textureSize, const… 249 …void initializeTexCoords (const TexSizeIVec& textureSize, const TexCoordParams& texCoordParam… 276 …ordQuadGrid (int gridSize, const IVec2& renderSize, const TexSizeIVec& textureSize, const TexCoord… in PosTexCoordQuadGrid() argument 311 initializeTexCoords(textureSize, texCoordParams, useSafeTexCoords); in PosTexCoordQuadGrid() [all …]
|
D | es3fShaderTextureFunctionTests.cpp | 1029 tcu::IVec3 textureSize; member 1186 const bool isSquare = testSize.textureSize.x() == testSize.textureSize.y(); in testTextureSize() 1187 …t bool is2DLodValid = (testSize.textureSize.x() >> (testSize.lod + testSize.lodBase)) != 0 || (… in testTextureSize() 1227 …< "Testing image size " << testSize.textureSize.x() << "x" << testSize.textureSize.y() << "x" << t… in testTextureSize() 1234 …rget, levels, m_textureSpec.format, testSize.textureSize.x(), testSize.textureSize.y(), testSize.t… in testTextureSize() 1241 …estLog::Message << "Testing image size " << testSize.textureSize.x() << "x" << testSize.textureSiz… in testTextureSize() 1248 …e2D(textureTarget, levels, m_textureSpec.format, testSize.textureSize.x(), testSize.textureSize.y(… in testTextureSize() 1254 …IVec3 expectedSize(testSize.expectedSize.x(), testSize.expectedSize.y(), testSize.textureSize.z()); in testTextureSize() 1256 …Testing image size " << testSize.textureSize.x() << "x" << testSize.textureSize.y() << " with " <<… in testTextureSize() 1258 …tedSize.x() << "x" << testSize.expectedSize.y() << " and " << testSize.textureSize.z() << " layer(… in testTextureSize() [all …]
|
/external/deqp/modules/gles2/functional/ |
D | es2fTextureUnitTests.cpp | 219 static float calculateLodMax(const Vec4& derivateParts, const tcu::IVec2& textureSize, const Vec2& … in calculateLodMax() argument 221 float dudx = derivateParts.x() * (float)textureSize.x() * screenDerivate.x(); in calculateLodMax() 222 float dudy = derivateParts.y() * (float)textureSize.x() * screenDerivate.y(); in calculateLodMax() 223 float dvdx = derivateParts.z() * (float)textureSize.y() * screenDerivate.x(); in calculateLodMax() 224 float dvdy = derivateParts.w() * (float)textureSize.y() * screenDerivate.y(); in calculateLodMax() 230 static float calculateLodMin(const Vec4& derivateParts, const tcu::IVec2& textureSize, const Vec2& … in calculateLodMin() argument 232 float dudx = derivateParts.x() * (float)textureSize.x() * screenDerivate.x(); in calculateLodMin() 233 float dudy = derivateParts.y() * (float)textureSize.x() * screenDerivate.y(); in calculateLodMin() 234 float dvdx = derivateParts.z() * (float)textureSize.y() * screenDerivate.x(); in calculateLodMin() 235 float dvdy = derivateParts.w() * (float)textureSize.y() * screenDerivate.y(); in calculateLodMin()
|
D | es2fVertexTextureTests.cpp | 106 static inline Vec2 safe2DTexCoords (const Vec2& raw, const IVec2& textureSize) in safe2DTexCoords() argument 108 return safeCoords(raw, textureSize, Vec2(0.5f)); in safe2DTexCoords() 187 …PosTexCoordQuadGrid (int gridSize, const IVec2& renderSize, const TexSizeIVec& textureSize, const… 199 …void initializeTexCoords (const TexSizeIVec& textureSize, const TexCoordParams& texCoordParam… 226 …ordQuadGrid (int gridSize, const IVec2& renderSize, const TexSizeIVec& textureSize, const TexCoord… in PosTexCoordQuadGrid() argument 261 initializeTexCoords(textureSize, texCoordParams, useSafeTexCoords); in PosTexCoordQuadGrid() 269 void PosTexCoordQuadGrid<TEXTURETYPE_2D>::initializeTexCoords (const IVec2& textureSize, const TexC… in initializeTexCoords() argument 281 m_texCoords.push_back(useSafeTexCoords ? safe2DTexCoords(rawCoord, textureSize) : rawCoord); in initializeTexCoords() 286 void PosTexCoordQuadGrid<TEXTURETYPE_CUBE>::initializeTexCoords (const IVec2& textureSize, const Te… in initializeTexCoords() argument 303 …const Vec2 safeFaceCoord = useSafeTexCoords ? safe2DTexCoords(rawFaceCoord, textureSize) : rawFace… in initializeTexCoords()
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/server/ |
D | radeon_dri.h | 82 int textureSize; /**< \brief size of texture date */ member
|
/external/mesa3d/src/mesa/drivers/dri/r200/server/ |
D | radeon_dri.h | 82 int textureSize; /**< \brief size of texture date */ member
|
/external/mesa3d/src/mesa/drivers/dri/radeon/server/ |
D | radeon_dri.h | 82 int textureSize; /**< \brief size of texture date */ member
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/server/ |
D | radeon_dri.h | 82 int textureSize; /**< \brief size of texture date */ member
|
/external/deqp/modules/gles31/functional/ |
D | es31fShaderImageLoadStoreTests.cpp | 816 const IVec3& textureSize, in readIntegerTextureViaFBOAndVerify() argument 826 const int numSlicesOrFaces = textureType == TEXTURETYPE_CUBE ? 6 : textureSize.z(); in readIntegerTextureViaFBOAndVerify() 829 tcu::TextureLevel resultSlice (textureFormat, textureSize.x(), textureSize.y()); in readIntegerTextureViaFBOAndVerify() 873 const IVec3& textureSize, in readFloatOrNormTextureWithLookupsAndVerify() argument 888 " vec4 color[" + toString(textureSize.x()*textureSize.y()) + "];\n" in readFloatOrNormTextureWithLookupsAndVerify() 903 " highp float s = (float(gx) + 0.5) / float(" + toString(textureSize.x()) + ");\n" in readFloatOrNormTextureWithLookupsAndVerify() 904 …+ 0.5) / float(" + toString(textureType == TEXTURETYPE_CUBE ? textureSize.x() : textureSize.y()) +… in readFloatOrNormTextureWithLookupsAndVerify() 909 " int ndx = gy*" + toString(textureSize.x()) + " + gx;\n" in readFloatOrNormTextureWithLookupsAndVerify() 952 const int numSlicesOrFaces = textureType == TEXTURETYPE_CUBE ? 6 : textureSize.z(); in readFloatOrNormTextureWithLookupsAndVerify() 953 tcu::TextureLevel resultSlice (textureFormat, textureSize.x(), textureSize.y()); in readFloatOrNormTextureWithLookupsAndVerify() [all …]
|
D | es31fTextureGatherTests.cpp | 1634 const IVec2& textureSize) in TextureGather2DCase() argument 1636 , m_textureSize (textureSize) in TextureGather2DCase() 1724 const IVec3& textureSize) in TextureGather2DArrayCase() argument 1726 , m_textureSize (textureSize) in TextureGather2DArrayCase() 1856 int textureSize) in TextureGatherCubeCase() argument 1858 , m_textureSize (textureSize) in TextureGatherCubeCase() 1995 const IVec3& textureSize, in makeTextureGatherCase() argument 2002 … wrapS, wrapT, texSwizzle, minFilter, magFilter, baseLevel, flags, textureSize.swizzle(0, 1)); in makeTextureGatherCase() 2006 wrapS, wrapT, texSwizzle, minFilter, magFilter, baseLevel, flags, textureSize); in makeTextureGatherCase() 2012 wrapS, wrapT, texSwizzle, minFilter, magFilter, baseLevel, flags, textureSize.x()); in makeTextureGatherCase() [all …]
|
/external/deqp/modules/gles2/stress/ |
D | es2sSpecialFloatTests.cpp | 263 const int textureSize = 32; in drawTestPattern() local 264 std::vector<tcu::Vector<deUint8, 4> > buffer(textureSize*textureSize); in drawTestPattern() 266 for (int x = 0; x < textureSize; ++x) in drawTestPattern() 267 for (int y = 0; y < textureSize; ++y) in drawTestPattern() 271 …Uint8)de::clamp(de::abs((float)x / (float)textureSize - 0.5f) * 255.0f + de::abs((float)y / (float… in drawTestPattern() 273 buffer[x * textureSize + y] = tcu::Vector<deUint8, 4>(redComponent, 255, 255, 255); in drawTestPattern() 278 …gl.texImage2D(GL_TEXTURE_2D, 0, GL_RGBA, textureSize, textureSize, 0, GL_RGBA, GL_UNSIGNED_BYTE, b… in drawTestPattern()
|
/external/deqp/modules/gles3/stress/ |
D | es3sSpecialFloatTests.cpp | 271 const int textureSize = 32; in drawTestPattern() local 272 std::vector<tcu::Vector<deUint8, 4> > buffer(textureSize*textureSize); in drawTestPattern() 274 for (int x = 0; x < textureSize; ++x) in drawTestPattern() 275 for (int y = 0; y < textureSize; ++y) in drawTestPattern() 279 …Uint8)de::clamp(de::abs((float)x / (float)textureSize - 0.5f) * 255.0f + de::abs((float)y / (float… in drawTestPattern() 281 buffer[x * textureSize + y] = tcu::Vector<deUint8, 4>(redComponent, 255, 255, 255); in drawTestPattern() 286 …gl.texImage2D(GL_TEXTURE_2D, 0, GL_RGBA8, textureSize, textureSize, 0, GL_RGBA, GL_UNSIGNED_BYTE, … in drawTestPattern()
|