/external/skia/src/gpu/ |
H A D | GrTexture.cpp | 34 size_t textureSize; local 37 textureSize = GrCompressedFormatDataSize(fDesc.fConfig, fDesc.fWidth, fDesc.fHeight); 39 textureSize = (size_t) fDesc.fWidth * fDesc.fHeight * GrBytesPerPixel(fDesc.fConfig); 45 textureSize *= 2; 47 return textureSize;
|
H A D | GrLayerCache.cpp | 104 SkISize textureSize = SkISize::Make(kAtlasTextureWidth, kAtlasTextureHeight); local 107 textureSize, kNumPlotsX, kNumPlotsY, false)));
|
/external/mesa3d/src/mesa/drivers/dri/r200/server/ |
H A D | radeon_dri.h | 82 int textureSize; /**< \brief size of texture date */ member in struct:__anon12753
|
/external/mesa3d/src/mesa/drivers/dri/radeon/server/ |
H A D | radeon_dri.h | 82 int textureSize; /**< \brief size of texture date */ member in struct:__anon12765
|
/external/deqp/modules/gles3/functional/ |
H A D | es3fTextureUnitTests.cpp | 299 static float calculateLodMax(const tcu::Vector<tcu::Vec2, 3>& derivateParts, const tcu::IVec3& textureSize, const Vec2& screenDerivate) argument 301 float dudx = derivateParts[0].x() * (float)textureSize.x() * screenDerivate.x(); 302 float dudy = derivateParts[0].y() * (float)textureSize.x() * screenDerivate.y(); 303 float dvdx = derivateParts[1].x() * (float)textureSize.y() * screenDerivate.x(); 304 float dvdy = derivateParts[1].y() * (float)textureSize.y() * screenDerivate.y(); 305 float dwdx = derivateParts[2].x() * (float)textureSize.z() * screenDerivate.x(); 306 float dwdy = derivateParts[2].y() * (float)textureSize.z() * screenDerivate.y(); 315 static float calculateLodMin(const tcu::Vector<tcu::Vec2, 3>& derivateParts, const tcu::IVec3& textureSize, const Vec2& screenDerivate) argument 317 float dudx = derivateParts[0].x() * (float)textureSize.x() * screenDerivate.x(); 318 float dudy = derivateParts[0].y() * (float)textureSize [all...] |
H A D | es3fVertexTextureTests.cpp | 124 static inline Vec2 safe2DTexCoords (const Vec2& raw, const IVec2& textureSize) argument 126 return safeCoords(raw, textureSize, Vec2(0.5f)); 129 static inline Vec3 safe2DArrayTexCoords (const Vec3& raw, const IVec3& textureSize) argument 131 return safeCoords(raw, textureSize, Vec3(0.5f, 0.5f, 0.0f)); 134 static inline Vec3 safe3DTexCoords (const Vec3& raw, const IVec3& textureSize) argument 136 return safeCoords(raw, textureSize, Vec3(0.5f)); 237 PosTexCoordQuadGrid (int gridSize, const IVec2& renderSize, const TexSizeIVec& textureSize, const TexCoordParams& texCoordParams, bool useSafeTexCoords); 249 void initializeTexCoords (const TexSizeIVec& textureSize, const TexCoordParams& texCoordParams, bool useSafeTexCoords); 276 PosTexCoordQuadGrid<TexType>::PosTexCoordQuadGrid (int gridSize, const IVec2& renderSize, const TexSizeIVec& textureSize, const TexCoordParams& texCoordParams, bool useSafeTexCoords) argument 311 initializeTexCoords(textureSize, texCoordParam 319 initializeTexCoords(const IVec2& textureSize, const TexCoordParams& texCoordParams, bool useSafeTexCoords) argument 336 initializeTexCoords(const IVec2& textureSize, const TexCoordParams& texCoordParams, bool useSafeTexCoords) argument 362 initializeTexCoords(const IVec3& textureSize, const TexCoordParams& texCoordParams, bool useSafeTexCoords) argument 379 initializeTexCoords(const IVec3& textureSize, const TexCoordParams& texCoordParams, bool useSafeTexCoords) argument [all...] |
H A D | es3fShaderTextureFunctionTests.cpp | 1029 tcu::IVec3 textureSize; member in struct:deqp::gles3::Functional::TextureSizeCase::TestSize 1186 const bool isSquare = testSize.textureSize.x() == testSize.textureSize.y(); 1187 const bool is2DLodValid = (testSize.textureSize.x() >> (testSize.lod + testSize.lodBase)) != 0 || (testSize.textureSize.y() >> (testSize.lod + testSize.lodBase)) != 0; 1227 m_context.getTestContext().getLog() << TestLog::Message << "Testing image size " << testSize.textureSize.x() << "x" << testSize.textureSize.y() << "x" << testSize.textureSize.z() << TestLog::EndMessage; 1234 gl.texStorage3D(textureTarget, levels, m_textureSpec.format, testSize.textureSize.x(), testSize.textureSize [all...] |
/external/deqp/modules/gles2/functional/ |
H A D | es2fTextureUnitTests.cpp | 219 static float calculateLodMax(const Vec4& derivateParts, const tcu::IVec2& textureSize, const Vec2& screenDerivate) argument 221 float dudx = derivateParts.x() * (float)textureSize.x() * screenDerivate.x(); 222 float dudy = derivateParts.y() * (float)textureSize.x() * screenDerivate.y(); 223 float dvdx = derivateParts.z() * (float)textureSize.y() * screenDerivate.x(); 224 float dvdy = derivateParts.w() * (float)textureSize.y() * screenDerivate.y(); 230 static float calculateLodMin(const Vec4& derivateParts, const tcu::IVec2& textureSize, const Vec2& screenDerivate) argument 232 float dudx = derivateParts.x() * (float)textureSize.x() * screenDerivate.x(); 233 float dudy = derivateParts.y() * (float)textureSize.x() * screenDerivate.y(); 234 float dvdx = derivateParts.z() * (float)textureSize.y() * screenDerivate.x(); 235 float dvdy = derivateParts.w() * (float)textureSize [all...] |
H A D | es2fVertexTextureTests.cpp | 106 static inline Vec2 safe2DTexCoords (const Vec2& raw, const IVec2& textureSize) argument 108 return safeCoords(raw, textureSize, Vec2(0.5f)); 187 PosTexCoordQuadGrid (int gridSize, const IVec2& renderSize, const TexSizeIVec& textureSize, const TexCoordParams& texCoordParams, bool useSafeTexCoords); 199 void initializeTexCoords (const TexSizeIVec& textureSize, const TexCoordParams& texCoordParams, bool useSafeTexCoords); 226 PosTexCoordQuadGrid<TexType>::PosTexCoordQuadGrid (int gridSize, const IVec2& renderSize, const TexSizeIVec& textureSize, const TexCoordParams& texCoordParams, bool useSafeTexCoords) argument 261 initializeTexCoords(textureSize, texCoordParams, useSafeTexCoords); 269 void PosTexCoordQuadGrid<TEXTURETYPE_2D>::initializeTexCoords (const IVec2& textureSize, const TexCoordParams& texCoordParams, bool useSafeTexCoords) argument 281 m_texCoords.push_back(useSafeTexCoords ? safe2DTexCoords(rawCoord, textureSize) : rawCoord); 286 void PosTexCoordQuadGrid<TEXTURETYPE_CUBE>::initializeTexCoords (const IVec2& textureSize, const TexCoordParams& texCoordParams, bool useSafeTexCoords) argument 303 const Vec2 safeFaceCoord = useSafeTexCoords ? safe2DTexCoords(rawFaceCoord, textureSize) [all...] |
/external/deqp/modules/gles2/stress/ |
H A D | es2sSpecialFloatTests.cpp | 263 const int textureSize = 32; local 264 std::vector<tcu::Vector<deUint8, 4> > buffer(textureSize*textureSize); 266 for (int x = 0; x < textureSize; ++x) 267 for (int y = 0; y < textureSize; ++y) 271 const deUint8 redComponent = (deUint8)de::clamp(de::abs((float)x / (float)textureSize - 0.5f) * 255.0f + de::abs((float)y / (float)textureSize - 0.5f) * 255.0f, 0.0f, 255.0f); 273 buffer[x * textureSize + y] = tcu::Vector<deUint8, 4>(redComponent, 255, 255, 255); 278 gl.texImage2D(GL_TEXTURE_2D, 0, GL_RGBA, textureSize, textureSize, [all...] |
/external/deqp/modules/gles31/functional/ |
H A D | es31fShaderImageLoadStoreTests.cpp | 816 const IVec3& textureSize, 826 const int numSlicesOrFaces = textureType == TEXTURETYPE_CUBE ? 6 : textureSize.z(); 829 tcu::TextureLevel resultSlice (textureFormat, textureSize.x(), textureSize.y()); 873 const IVec3& textureSize, 888 " vec4 color[" + toString(textureSize.x()*textureSize.y()) + "];\n" 903 " highp float s = (float(gx) + 0.5) / float(" + toString(textureSize.x()) + ");\n" 904 " highp float t = (float(gy) + 0.5) / float(" + toString(textureType == TEXTURETYPE_CUBE ? textureSize.x() : textureSize 811 readIntegerTextureViaFBOAndVerify(const RenderContext& renderCtx, glu::CallLogWrapper& glLog, deUint32 textureGL, TextureType textureType, const TextureFormat& textureFormat, const IVec3& textureSize, const ImageLayerVerifier& verifyLayer) argument 868 readFloatOrNormTextureWithLookupsAndVerify(const RenderContext& renderCtx, glu::CallLogWrapper& glLog, deUint32 textureGL, TextureType textureType, const TextureFormat& textureFormat, const IVec3& textureSize, const ImageLayerVerifier& verifyLayer) argument [all...] |
H A D | es31fTextureGatherTests.cpp | 1633 const IVec2& textureSize) 1635 , m_textureSize (textureSize) 1723 const IVec3& textureSize) 1725 , m_textureSize (textureSize) 1855 int textureSize) 1857 , m_textureSize (textureSize) 1994 const IVec3& textureSize, 2001 wrapS, wrapT, texSwizzle, minFilter, magFilter, baseLevel, flags, textureSize.swizzle(0, 1)); 2005 wrapS, wrapT, texSwizzle, minFilter, magFilter, baseLevel, flags, textureSize); 2011 wrapS, wrapT, texSwizzle, minFilter, magFilter, baseLevel, flags, textureSize 1619 TextureGather2DCase(Context& context, const char* name, const char* description, GatherType gatherType, OffsetSize offsetSize, tcu::TextureFormat textureFormat, tcu::Sampler::CompareMode shadowCompareMode, tcu::Sampler::WrapMode wrapS, tcu::Sampler::WrapMode wrapT, const MaybeTextureSwizzle& texSwizzle, tcu::Sampler::FilterMode minFilter, tcu::Sampler::FilterMode magFilter, int baseLevel, deUint32 flags, const IVec2& textureSize) argument [all...] |
/external/deqp/modules/gles3/stress/ |
H A D | es3sSpecialFloatTests.cpp | 271 const int textureSize = 32; local 272 std::vector<tcu::Vector<deUint8, 4> > buffer(textureSize*textureSize); 274 for (int x = 0; x < textureSize; ++x) 275 for (int y = 0; y < textureSize; ++y) 279 const deUint8 redComponent = (deUint8)de::clamp(de::abs((float)x / (float)textureSize - 0.5f) * 255.0f + de::abs((float)y / (float)textureSize - 0.5f) * 255.0f, 0.0f, 255.0f); 281 buffer[x * textureSize + y] = tcu::Vector<deUint8, 4>(redComponent, 255, 255, 255); 286 gl.texImage2D(GL_TEXTURE_2D, 0, GL_RGBA8, textureSize, textureSize, [all...] |