Searched refs:textureSize (Results 1 - 19 of 19) sorted by relevance

/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/server/
H A Dradeon_dri.h82 int textureSize; /**< \brief size of texture date */ member in struct:__anon14499
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/server/
H A Dradeon_dri.h82 int textureSize; /**< \brief size of texture date */ member in struct:__anon14511
/external/mesa3d/src/mesa/drivers/dri/r200/server/
H A Dradeon_dri.h82 int textureSize; /**< \brief size of texture date */ member in struct:__anon27910
/external/mesa3d/src/mesa/drivers/dri/radeon/server/
H A Dradeon_dri.h82 int textureSize; /**< \brief size of texture date */ member in struct:__anon27922
/external/skia/src/gpu/
H A DGrLayerCache.cpp59 SkISize textureSize = SkISize::Make(kAtlasTextureWidth, kAtlasTextureHeight); local
61 textureSize, 1, 1, false)));
H A DGrTexture.cpp62 size_t textureSize = (size_t) fDesc.fWidth * local
76 textureSize = (fDesc.fWidth >> 2) * (fDesc.fHeight >> 2) * 8;
87 textureSize *= 2;
89 return textureSize;
H A DGrTextStrike.cpp83 SkISize textureSize = SkISize::Make(GR_ATLAS_TEXTURE_WIDTH, local
86 textureSize,
/external/chromium_org/third_party/skia/src/gpu/
H A DGrTexture.cpp61 size_t textureSize; local
64 textureSize = GrCompressedFormatDataSize(fDesc.fConfig, fDesc.fWidth, fDesc.fHeight);
66 textureSize = (size_t) fDesc.fWidth * fDesc.fHeight * GrBytesPerPixel(fDesc.fConfig);
72 textureSize *= 2;
74 return textureSize;
H A DGrTextStrike.cpp86 SkISize textureSize = SkISize::Make(GR_ATLAS_TEXTURE_WIDTH, local
89 textureSize,
H A DGrLayerCache.cpp95 SkISize textureSize = SkISize::Make(kAtlasTextureWidth, kAtlasTextureHeight); local
98 textureSize, kNumPlotsX, kNumPlotsY, false)));
/external/deqp/modules/gles3/functional/
H A Des3fTextureUnitTests.cpp299 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 Des3fVertexTextureTests.cpp124 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 Des3fShaderTextureFunctionTests.cpp1029 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 Des2fTextureUnitTests.cpp219 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 Des2fVertexTextureTests.cpp106 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 Des2sSpecialFloatTests.cpp263 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 Des31fShaderImageLoadStoreTests.cpp816 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 Des31fTextureGatherTests.cpp1634 const IVec2& textureSize)
1636 , m_textureSize (textureSize)
1724 const IVec3& textureSize)
1726 , m_textureSize (textureSize)
1856 int textureSize)
1858 , m_textureSize (textureSize)
1995 const IVec3& textureSize,
2002 wrapS, wrapT, texSwizzle, minFilter, magFilter, baseLevel, flags, textureSize.swizzle(0, 1));
2006 wrapS, wrapT, texSwizzle, minFilter, magFilter, baseLevel, flags, textureSize);
2012 wrapS, wrapT, texSwizzle, minFilter, magFilter, baseLevel, flags, textureSize
1620 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 Des3sSpecialFloatTests.cpp271 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...]

Completed in 1895 milliseconds