Home
last modified time | relevance | path

Searched refs:baseTexture (Results 1 – 7 of 7) sorted by relevance

/external/swiftshader/src/D3D8/
DDirect3DSurface8.cpp29 Direct3DBaseTexture8 *baseTexture = dynamic_cast<Direct3DBaseTexture8*>(container); in getParentResource() local
31 if(baseTexture) in getParentResource()
33 return baseTexture->getResource(); in getParentResource()
DDirect3DDevice8.cpp3109 Direct3DBaseTexture8 *baseTexture = dynamic_cast<Direct3DBaseTexture8*>(iBaseTexture); in SetTexture() local
3113 if(texture[stage] == baseTexture) in SetTexture()
3118 if(baseTexture) in SetTexture()
3120 baseTexture->bind(); in SetTexture()
3128 texture[stage] = baseTexture; in SetTexture()
3132 stateRecorder.back()->setTexture(stage, baseTexture); in SetTexture()
4708 Direct3DBaseTexture8 *baseTexture = texture[stage]; in bindTextures() local
4722 if(baseTexture && textureUsed) in bindTextures()
4724 resource = baseTexture->getResource(); in bindTextures()
4729 if(baseTexture && textureUsed) in bindTextures()
[all …]
/external/swiftshader/src/D3D9/
DDirect3DSurface9.cpp32 Direct3DBaseTexture9 *baseTexture = dynamic_cast<Direct3DBaseTexture9*>(container); in getParentResource() local
34 if(baseTexture) in getParentResource()
36 return baseTexture->getResource(); in getParentResource()
DDirect3DDevice9.cpp4478 Direct3DBaseTexture9 *baseTexture = dynamic_cast<Direct3DBaseTexture9*>(iBaseTexture); in SetTexture() local
4482 if(texture[sampler] == baseTexture) in SetTexture()
4487 if(baseTexture) in SetTexture()
4489 baseTexture->bind(); // FIXME: Bind individual sub-surfaces? in SetTexture()
4497 texture[sampler] = baseTexture; in SetTexture()
4501 stateRecorder->setTexture(sampler, baseTexture); in SetTexture()
6041 Direct3DBaseTexture9 *baseTexture = texture[sampler]; in bindTextures() local
6063 if(baseTexture && textureUsed) in bindTextures()
6065 resource = baseTexture->getResource(); in bindTextures()
6070 if(baseTexture && textureUsed) in bindTextures()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageMultisampleLoadStoreTests.cpp510 const Texture& baseTexture = textures[baseTextureNdx]; in createImageMultisampleLoadStoreTests() local
511 …oup> imageViewGroup (new tcu::TestCaseGroup(testCtx, getImageTypeName(baseTexture.type()).c_str()… in createImageMultisampleLoadStoreTests()
512 const int numLayerBindModes = (baseTexture.numLayers() == 1 ? 1 : 2); in createImageMultisampleLoadStoreTests()
527 Texture(baseTexture, samples[samplesNdx]), in createImageMultisampleLoadStoreTests()
/external/swiftshader/src/OpenGL/libGLESv2/
DContext.cpp3168 void Context::applyTexture(sw::SamplerType type, int index, Texture *baseTexture) in applyTexture() argument
3186 if(baseTexture && textureUsed) in applyTexture()
3188 resource = baseTexture->getResource(); in applyTexture()
3193 if(baseTexture && textureUsed) in applyTexture()
3195 int baseLevel = baseTexture->getBaseLevel(); in applyTexture()
3196 int maxLevel = std::min(baseTexture->getTopLevel(), baseTexture->getMaxLevel()); in applyTexture()
3197 GLenum target = baseTexture->getTarget(); in applyTexture()
3205 Texture2D *texture = static_cast<Texture2D*>(baseTexture); in applyTexture()
3224 Texture3D *texture = static_cast<Texture3D*>(baseTexture); in applyTexture()
3242 Texture2DArray *texture = static_cast<Texture2DArray*>(baseTexture); in applyTexture()
[all …]
/external/swiftshader/src/OpenGL/libGLES_CM/
DContext.cpp2360 void Context::applyTexture(int index, Texture *baseTexture) in applyTexture() argument
2364 if(baseTexture) in applyTexture()
2366 resource = baseTexture->getResource(); in applyTexture()
2371 if(baseTexture) in applyTexture()
2373 int topLevel = baseTexture->getTopLevel(); in applyTexture()
2375 …if(baseTexture->getTarget() == GL_TEXTURE_2D || baseTexture->getTarget() == GL_TEXTURE_EXTERNAL_OE… in applyTexture()
2377 Texture2D *texture = static_cast<Texture2D*>(baseTexture); in applyTexture()