/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/ |
D | st_gen_mipmap.c | 74 uint baseLevel, uint lastLevel) in st_render_mipmap() argument 101 util_gen_mipmap(st->gen_mipmap, psv, face, baseLevel, lastLevel, in st_render_mipmap() 147 const uint baseLevel = texObj->BaseLevel; in st_generate_mipmap() local 209 if (!st_render_mipmap(st, target, stObj, baseLevel, lastLevel)) { in st_generate_mipmap() 216 for (dstLevel = baseLevel + 1; dstLevel <= lastLevel; dstLevel++) { in st_generate_mipmap()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_gen_mipmap.c | 74 uint baseLevel, uint lastLevel) in st_render_mipmap() argument 101 util_gen_mipmap(st->gen_mipmap, psv, face, baseLevel, lastLevel, in st_render_mipmap() 147 const uint baseLevel = texObj->BaseLevel; in st_generate_mipmap() local 209 if (!st_render_mipmap(st, target, stObj, baseLevel, lastLevel)) { in st_generate_mipmap() 216 for (dstLevel = baseLevel + 1; dstLevel <= lastLevel; dstLevel++) { in st_generate_mipmap()
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
D | texobj.c | 444 const GLint baseLevel = t->BaseLevel; in _mesa_test_texobj_completeness() local 463 if ((baseLevel < 0) || (baseLevel >= MAX_TEXTURE_LEVELS)) { in _mesa_test_texobj_completeness() 464 incomplete(t, BASE, "base level = %d is invalid", baseLevel); in _mesa_test_texobj_completeness() 468 if (t->MaxLevel < baseLevel) { in _mesa_test_texobj_completeness() 470 t->MaxLevel, baseLevel); in _mesa_test_texobj_completeness() 474 baseImage = t->Image[0][baseLevel]; in _mesa_test_texobj_completeness() 478 incomplete(t, BASE, "Image[baseLevel=%d] == NULL", baseLevel); in _mesa_test_texobj_completeness() 535 t->_MaxLevel = baseLevel + maxLog2; /* 'p' in the GL spec */ in _mesa_test_texobj_completeness() 540 t->_MaxLambda = (GLfloat) (t->_MaxLevel - baseLevel); in _mesa_test_texobj_completeness() 559 assert(t->Image[face][baseLevel] == NULL || in _mesa_test_texobj_completeness() [all …]
|
/external/mesa3d/src/mesa/main/ |
D | texobj.c | 444 const GLint baseLevel = t->BaseLevel; in _mesa_test_texobj_completeness() local 463 if ((baseLevel < 0) || (baseLevel >= MAX_TEXTURE_LEVELS)) { in _mesa_test_texobj_completeness() 464 incomplete(t, BASE, "base level = %d is invalid", baseLevel); in _mesa_test_texobj_completeness() 468 if (t->MaxLevel < baseLevel) { in _mesa_test_texobj_completeness() 470 t->MaxLevel, baseLevel); in _mesa_test_texobj_completeness() 474 baseImage = t->Image[0][baseLevel]; in _mesa_test_texobj_completeness() 478 incomplete(t, BASE, "Image[baseLevel=%d] == NULL", baseLevel); in _mesa_test_texobj_completeness() 535 t->_MaxLevel = baseLevel + maxLog2; /* 'p' in the GL spec */ in _mesa_test_texobj_completeness() 540 t->_MaxLambda = (GLfloat) (t->_MaxLevel - baseLevel); in _mesa_test_texobj_completeness() 559 assert(t->Image[face][baseLevel] == NULL || in _mesa_test_texobj_completeness() [all …]
|
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d11/ |
D | TextureStorage11.h | 69 …virtual ID3D11ShaderResourceView *createSRV(int baseLevel, int mipLevels, DXGI_FORMAT format, ID3D… 107 SRVKey(int baseLevel = 0, int mipLevels = 0, bool swizzle = false); 111 int baseLevel; member 164 …virtual ID3D11ShaderResourceView *createSRV(int baseLevel, int mipLevels, DXGI_FORMAT format, ID3D… 195 …virtual ID3D11ShaderResourceView *createSRV(int baseLevel, int mipLevels, DXGI_FORMAT format, ID3D… 228 …virtual ID3D11ShaderResourceView *createSRV(int baseLevel, int mipLevels, DXGI_FORMAT format, ID3D… 264 …virtual ID3D11ShaderResourceView *createSRV(int baseLevel, int mipLevels, DXGI_FORMAT format, ID3D…
|
D | TextureStorage11.cpp | 49 TextureStorage11::SRVKey::SRVKey(int baseLevel, int mipLevels, bool swizzle) in SRVKey() argument 50 : baseLevel(baseLevel), mipLevels(mipLevels), swizzle(swizzle) in SRVKey() 56 return baseLevel == rhs.baseLevel && in operator ==() 198 unsigned int mipLevels = mipmapping ? (samplerState.maxLevel - samplerState.baseLevel) : 1; in getSRV() 201 mipLevels = std::min(mipLevels, mMipLevels - mTopLevel - samplerState.baseLevel); in getSRV() 208 SRVKey key(samplerState.baseLevel, mipLevels, swizzleRequired); in getSRV() 219 srv = createSRV(samplerState.baseLevel, mipLevels, format, texture); in getSRV() 578 ID3D11ShaderResourceView *TextureStorage11_2D::createSRV(int baseLevel, int mipLevels, DXGI_FORMAT … in createSRV() argument 583 srvDesc.Texture2D.MostDetailedMip = mTopLevel + baseLevel; in createSRV() 866 ID3D11ShaderResourceView *TextureStorage11_Cube::createSRV(int baseLevel, int mipLevels, DXGI_FORMA… in createSRV() argument [all …]
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_mipmap_tree.h | 71 GLuint baseLevel; /** gl_texture_object->baseLevel it was created for */ member 104 GLenum target, gl_format mesaFormat, GLuint baseLevel, GLuint numLevels,
|
D | radeon_mipmap_tree.c | 168 for(i = 0, level = mt->baseLevel; i < mt->numLevels; i++, level++) { in calculate_miptree_layout() 189 GLenum target, gl_format mesaFormat, GLuint baseLevel, GLuint numLevels, in radeon_miptree_create() argument 202 mt->baseLevel = baseLevel; in radeon_miptree_create() 327 if (texObj->BaseLevel < mt->baseLevel) in radeon_miptree_matches_texture() 330 mtBaseLevel = &mt->levels[texObj->BaseLevel - mt->baseLevel]; in radeon_miptree_matches_texture()
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/ |
D | radeon_mipmap_tree.h | 71 GLuint baseLevel; /** gl_texture_object->baseLevel it was created for */ member 104 GLenum target, gl_format mesaFormat, GLuint baseLevel, GLuint numLevels,
|
D | radeon_mipmap_tree.c | 168 for(i = 0, level = mt->baseLevel; i < mt->numLevels; i++, level++) { in calculate_miptree_layout() 189 GLenum target, gl_format mesaFormat, GLuint baseLevel, GLuint numLevels, in radeon_miptree_create() argument 202 mt->baseLevel = baseLevel; in radeon_miptree_create() 327 if (texObj->BaseLevel < mt->baseLevel) in radeon_miptree_matches_texture() 330 mtBaseLevel = &mt->levels[texObj->BaseLevel - mt->baseLevel]; in radeon_miptree_matches_texture()
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | radeon_mipmap_tree.h | 71 GLuint baseLevel; /** gl_texture_object->baseLevel it was created for */ member 104 GLenum target, gl_format mesaFormat, GLuint baseLevel, GLuint numLevels,
|
D | radeon_mipmap_tree.c | 168 for(i = 0, level = mt->baseLevel; i < mt->numLevels; i++, level++) { in calculate_miptree_layout() 189 GLenum target, gl_format mesaFormat, GLuint baseLevel, GLuint numLevels, in radeon_miptree_create() argument 202 mt->baseLevel = baseLevel; in radeon_miptree_create() 327 if (texObj->BaseLevel < mt->baseLevel) in radeon_miptree_matches_texture() 330 mtBaseLevel = &mt->levels[texObj->BaseLevel - mt->baseLevel]; in radeon_miptree_matches_texture()
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/ |
D | radeon_mipmap_tree.h | 71 GLuint baseLevel; /** gl_texture_object->baseLevel it was created for */ member 104 GLenum target, gl_format mesaFormat, GLuint baseLevel, GLuint numLevels,
|
D | radeon_mipmap_tree.c | 168 for(i = 0, level = mt->baseLevel; i < mt->numLevels; i++, level++) { in calculate_miptree_layout() 189 GLenum target, gl_format mesaFormat, GLuint baseLevel, GLuint numLevels, in radeon_miptree_create() argument 202 mt->baseLevel = baseLevel; in radeon_miptree_create() 327 if (texObj->BaseLevel < mt->baseLevel) in radeon_miptree_matches_texture() 330 mtBaseLevel = &mt->levels[texObj->BaseLevel - mt->baseLevel]; in radeon_miptree_matches_texture()
|
/external/deqp/framework/opengl/simplereference/ |
D | sglrReferenceContext.cpp | 4765 const int baseLevel = getBaseLevel(); in isComplete() local 4767 if (hasLevel(baseLevel)) in isComplete() 4769 const tcu::ConstPixelBufferAccess& level0 = getLevel(baseLevel); in isComplete() 4776 const int numLevels = de::min(getMaxLevel()-baseLevel+1, getNumMipLevels1D(w)); in isComplete() 4780 if (hasLevel(baseLevel+levelNdx)) in isComplete() 4782 const tcu::ConstPixelBufferAccess& level = getLevel(baseLevel+levelNdx); in isComplete() 4830 const int baseLevel = getBaseLevel(); in updateView() local 4832 if (hasLevel(baseLevel) && !isEmpty(getLevel(baseLevel))) in updateView() 4834 const int width = getLevel(baseLevel).getWidth(); in updateView() 4836 const int numLevels = isMipmap ? de::min(getMaxLevel()-baseLevel+1, getNumMipLevels1D(width)) : 1; in updateView() [all …]
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_gen_mipmap.h | 57 uint layer, uint baseLevel, uint lastLevel, uint filter);
|
D | u_gen_mipmap.c | 1104 uint layer, uint baseLevel, uint lastLevel) in make_1d_mipmap() argument 1109 for (dstLevel = baseLevel + 1; dstLevel <= lastLevel; dstLevel++) { in make_1d_mipmap() 1142 uint layer, uint baseLevel, uint lastLevel) in make_2d_mipmap() argument 1150 for (dstLevel = baseLevel + 1; dstLevel <= lastLevel; dstLevel++) { in make_2d_mipmap() 1186 uint face, uint baseLevel, uint lastLevel) in make_3d_mipmap() argument 1198 for (dstLevel = baseLevel + 1; dstLevel <= lastLevel; dstLevel++) { in make_3d_mipmap() 1238 uint layer, uint baseLevel, uint lastLevel) in fallback_gen_mipmap() argument 1242 make_1d_mipmap(ctx, pt, layer, baseLevel, lastLevel); in fallback_gen_mipmap() 1247 make_2d_mipmap(ctx, pt, layer, baseLevel, lastLevel); in fallback_gen_mipmap() 1250 make_3d_mipmap(ctx, pt, layer, baseLevel, lastLevel); in fallback_gen_mipmap() [all …]
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
D | u_gen_mipmap.h | 57 uint layer, uint baseLevel, uint lastLevel, uint filter);
|
D | u_gen_mipmap.c | 1104 uint layer, uint baseLevel, uint lastLevel) in make_1d_mipmap() argument 1109 for (dstLevel = baseLevel + 1; dstLevel <= lastLevel; dstLevel++) { in make_1d_mipmap() 1142 uint layer, uint baseLevel, uint lastLevel) in make_2d_mipmap() argument 1150 for (dstLevel = baseLevel + 1; dstLevel <= lastLevel; dstLevel++) { in make_2d_mipmap() 1186 uint face, uint baseLevel, uint lastLevel) in make_3d_mipmap() argument 1198 for (dstLevel = baseLevel + 1; dstLevel <= lastLevel; dstLevel++) { in make_3d_mipmap() 1238 uint layer, uint baseLevel, uint lastLevel) in fallback_gen_mipmap() argument 1242 make_1d_mipmap(ctx, pt, layer, baseLevel, lastLevel); in fallback_gen_mipmap() 1247 make_2d_mipmap(ctx, pt, layer, baseLevel, lastLevel); in fallback_gen_mipmap() 1250 make_3d_mipmap(ctx, pt, layer, baseLevel, lastLevel); in fallback_gen_mipmap() [all …]
|
/external/deqp/modules/gles31/functional/ |
D | es31fTextureGatherTests.cpp | 952 int baseLevel, 1026 int baseLevel, in TextureGatherCase() argument 1038 , m_baseLevel (baseLevel) in TextureGatherCase() 1625 int baseLevel, in TextureGather2DCase() argument 1628 …mat, shadowCompareMode, wrapS, wrapT, texSwizzle, minFilter, magFilter, baseLevel, mipmapIncomplet… in TextureGather2DCase() 1715 int baseLevel, in TextureGather2DArrayCase() argument 1718 …mat, shadowCompareMode, wrapS, wrapT, texSwizzle, minFilter, magFilter, baseLevel, mipmapIncomplet… in TextureGather2DArrayCase() 1847 int baseLevel, in TextureGatherCubeCase() argument 1850 …mat, shadowCompareMode, wrapS, wrapT, texSwizzle, minFilter, magFilter, baseLevel, mipmapIncomplet… in TextureGatherCubeCase() 1984 int baseLevel, in makeTextureGatherCase() argument [all …]
|
/external/deqp/modules/glshared/ |
D | glsTextureTestUtil.hpp | 332 , baseLevel (0) in ReferenceParams() 343 , baseLevel (0) in ReferenceParams() 352 int baseLevel; member
|
D | glsTextureTestUtil.cpp | 105 static tcu::Texture1DView getSubView (const tcu::Texture1DView& view, int baseLevel, int maxLevel) in getSubView() argument 107 const int clampedBase = de::clamp(baseLevel, 0, view.getNumLevels()-1); in getSubView() 113 static tcu::Texture2DView getSubView (const tcu::Texture2DView& view, int baseLevel, int maxLevel) in getSubView() argument 115 const int clampedBase = de::clamp(baseLevel, 0, view.getNumLevels()-1); in getSubView() 121 static tcu::TextureCubeView getSubView (const tcu::TextureCubeView& view, int baseLevel, int maxLev… in getSubView() argument 123 const int clampedBase = de::clamp(baseLevel, 0, view.getNumLevels()-1); in getSubView() 134 static tcu::Texture3DView getSubView (const tcu::Texture3DView& view, int baseLevel, int maxLevel) in getSubView() argument 136 const int clampedBase = de::clamp(baseLevel, 0, view.getNumLevels()-1); in getSubView() 142 static tcu::TextureCubeArrayView getSubView (const tcu::TextureCubeArrayView& view, int baseLevel, … in getSubView() argument 144 const int clampedBase = de::clamp(baseLevel, 0, view.getNumLevels()-1); in getSubView() [all …]
|
/external/chromium_org/third_party/angle/src/libGLESv2/ |
D | angletypes.h | 157 GLint baseLevel; member
|
D | Texture.cpp | 62 mSamplerState.baseLevel = 0; in Texture() 160 void Texture::setBaseLevel(GLint baseLevel) in setBaseLevel() argument 162 mSamplerState.baseLevel = baseLevel; in setBaseLevel() 237 return mSamplerState.baseLevel; in getBaseLevel() 270 sampler->baseLevel = topLevel + mSamplerState.baseLevel; in getSamplerState()
|
/external/deqp/modules/gles3/functional/ |
D | es3fTextureMipmapTests.cpp | 1677 const int baseLevel = (deInt32Hash(cellNdx) ^ deStringHash(getName()) ^ 0xac2f274a) % numLevels; in getBaseLevel() local 1679 return baseLevel; in getBaseLevel() 1690 params.baseLevel = getBaseLevel(cellNdx); in getReferenceParams() 1992 const int baseLevel = (deInt32Hash(cellNdx) ^ deStringHash(getName()) ^ 0x23fae13) % numLevels; in getBaseLevel() local 1994 return baseLevel; in getBaseLevel() 2005 params.baseLevel = getBaseLevel(cellNdx); in getReferenceParams() 2309 const int baseLevel = (deInt32Hash(cellNdx) ^ deStringHash(getName()) ^ 0x7347e9) % numLevels; in getBaseLevel() local 2311 return baseLevel; in getBaseLevel() 2322 params.baseLevel = getBaseLevel(cellNdx); in getReferenceParams()
|