/external/skia/src/gpu/ |
D | GrTexture.cpp | 34 size_t textureSize; in onGpuMemorySize() local 37 textureSize = GrCompressedFormatDataSize(fDesc.fConfig, fDesc.fWidth, fDesc.fHeight); in onGpuMemorySize() 39 textureSize = (size_t) fDesc.fWidth * fDesc.fHeight * GrBytesPerPixel(fDesc.fConfig); in onGpuMemorySize() 45 textureSize *= 2; in onGpuMemorySize() 47 return textureSize; in onGpuMemorySize()
|
D | GrLayerCache.cpp | 104 SkISize textureSize = SkISize::Make(kAtlasTextureWidth, kAtlasTextureHeight); in initAtlas() local 107 textureSize, kNumPlotsX, kNumPlotsY, false))); in initAtlas()
|
/external/jmonkeyengine/engine/src/core-data/Common/ShaderLib/ |
D | MultiSample.glsllib | 21 ivec2 iTexC = ivec2(texC * textureSize(tex)); 30 ivec2 iTexC = ivec2(texC * textureSize(tex)); 39 ivec2 iTexC = ivec2(texC * textureSize(tex));
|
/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/jmonkeyengine/engine/src/core-data/Common/MatDefs/Shadow/ |
D | PostShadowPSSM15.frag | 67 ivec2 texSize = textureSize(tex, 0); 85 ivec2 texSize = textureSize(tex, 0); 103 float pixSize = 1.0 / textureSize(tex,0).x;
|
/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/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 | 1633 const IVec2& textureSize) in TextureGather2DCase() argument 1635 , m_textureSize (textureSize) in TextureGather2DCase() 1723 const IVec3& textureSize) in TextureGather2DArrayCase() argument 1725 , m_textureSize (textureSize) in TextureGather2DArrayCase() 1855 int textureSize) in TextureGatherCubeCase() argument 1857 , m_textureSize (textureSize) in TextureGatherCubeCase() 1994 const IVec3& textureSize, in makeTextureGatherCase() argument 2001 … wrapS, wrapT, texSwizzle, minFilter, magFilter, baseLevel, flags, textureSize.swizzle(0, 1)); in makeTextureGatherCase() 2005 wrapS, wrapT, texSwizzle, minFilter, magFilter, baseLevel, flags, textureSize); in makeTextureGatherCase() 2011 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()
|
/external/jmonkeyengine/engine/src/core-effects/Common/MatDefs/Water/ |
D | Water15.frag | 159 ivec2 iTexC = ivec2(texC * textureSize(m_Texture)); 162 ivec2 iTexC = ivec2(texC * textureSize(m_Texture, 0)); 335 ivec2 iTexC = ivec2(texC * textureSize(m_Texture)); 338 ivec2 iTexC = ivec2(texC * textureSize(m_Texture, 0));
|
/external/jmonkeyengine/engine/src/core-effects/Common/MatDefs/Post/ |
D | CartoonEdge15.frag | 33 vec2 edgeOffset = vec2(m_EdgeWidth) / textureSize(m_NormalsTexture, 0);
|
/external/deqp/data/gles31/shaders/ |
D | android_extension_pack.test | 414 if (textureSize(u_sampler) > 10) 444 if (textureSize(u_sampler, 3).y > 10)
|