Home
last modified time | relevance | path

Searched refs:TEXTURE_IMAGE_UNITS (Results 1 – 18 of 18) sorted by relevance

/external/swiftshader/src/Device/
DVertexProcessor.cpp187 context->sampler[TEXTURE_IMAGE_UNITS + sampler].setTextureFilter(textureFilter); in setTextureFilter()
196 context->sampler[TEXTURE_IMAGE_UNITS + sampler].setMipmapFilter(mipmapFilter); in setMipmapFilter()
205 context->sampler[TEXTURE_IMAGE_UNITS + sampler].setGatherEnable(enable); in setGatherEnable()
214 context->sampler[TEXTURE_IMAGE_UNITS + sampler].setAddressingModeU(addressMode); in setAddressingModeU()
223 context->sampler[TEXTURE_IMAGE_UNITS + sampler].setAddressingModeV(addressMode); in setAddressingModeV()
232 context->sampler[TEXTURE_IMAGE_UNITS + sampler].setAddressingModeW(addressMode); in setAddressingModeW()
241 context->sampler[TEXTURE_IMAGE_UNITS + sampler].setReadSRGB(sRGB); in setReadSRGB()
250 context->sampler[TEXTURE_IMAGE_UNITS + sampler].setMipmapLOD(bias); in setMipmapLOD()
259 context->sampler[TEXTURE_IMAGE_UNITS + sampler].setBorderColor(borderColor); in setBorderColor()
268 context->sampler[TEXTURE_IMAGE_UNITS + sampler].setMaxAnisotropy(maxAnisotropy); in setMaxAnisotropy()
[all …]
DPixelProcessor.cpp148 if(sampler < TEXTURE_IMAGE_UNITS) in setTextureFilter()
157 if(sampler < TEXTURE_IMAGE_UNITS) in setMipmapFilter()
166 if(sampler < TEXTURE_IMAGE_UNITS) in setGatherEnable()
175 if(sampler < TEXTURE_IMAGE_UNITS) in setAddressingModeU()
184 if(sampler < TEXTURE_IMAGE_UNITS) in setAddressingModeV()
193 if(sampler < TEXTURE_IMAGE_UNITS) in setAddressingModeW()
202 if(sampler < TEXTURE_IMAGE_UNITS) in setReadSRGB()
211 if(sampler < TEXTURE_IMAGE_UNITS) in setMipmapLOD()
220 if(sampler < TEXTURE_IMAGE_UNITS) in setBorderColor()
229 if(sampler < TEXTURE_IMAGE_UNITS) in setMaxAnisotropy()
[all …]
DConfig.hpp80 TEXTURE_IMAGE_UNITS = 16, enumerator
82 TOTAL_IMAGE_UNITS = TEXTURE_IMAGE_UNITS + VERTEX_TEXTURE_IMAGE_UNITS,
DRenderer.cpp348 for(int sampler = 0; sampler < TEXTURE_IMAGE_UNITS; sampler++) in draw()
393 draw->texture[TEXTURE_IMAGE_UNITS + sampler] = context->texture[TEXTURE_IMAGE_UNITS + sampler]; in draw()
394 draw->texture[TEXTURE_IMAGE_UNITS + sampler]->lock(PUBLIC, PRIVATE); in draw()
396 …data->mipmap[TEXTURE_IMAGE_UNITS + sampler] = context->sampler[TEXTURE_IMAGE_UNITS + sampler].getT… in draw()
DPixelProcessor.hpp86 Sampler::State sampler[TEXTURE_IMAGE_UNITS];
/external/swiftshader/src/Renderer/
DVertexProcessor.cpp465 if(stage < TEXTURE_IMAGE_UNITS) in setTextureWrap()
473 for(int i = 0; i < TEXTURE_IMAGE_UNITS; i++) in setTextureWrap()
519 context->sampler[TEXTURE_IMAGE_UNITS + sampler].setTextureFilter(textureFilter); in setTextureFilter()
528 context->sampler[TEXTURE_IMAGE_UNITS + sampler].setMipmapFilter(mipmapFilter); in setMipmapFilter()
537 context->sampler[TEXTURE_IMAGE_UNITS + sampler].setGatherEnable(enable); in setGatherEnable()
546 context->sampler[TEXTURE_IMAGE_UNITS + sampler].setAddressingModeU(addressMode); in setAddressingModeU()
555 context->sampler[TEXTURE_IMAGE_UNITS + sampler].setAddressingModeV(addressMode); in setAddressingModeV()
564 context->sampler[TEXTURE_IMAGE_UNITS + sampler].setAddressingModeW(addressMode); in setAddressingModeW()
573 context->sampler[TEXTURE_IMAGE_UNITS + sampler].setReadSRGB(sRGB); in setReadSRGB()
582 context->sampler[TEXTURE_IMAGE_UNITS + sampler].setMipmapLOD(bias); in setMipmapLOD()
[all …]
DPixelProcessor.cpp362 if(sampler < TEXTURE_IMAGE_UNITS) in setTextureFilter()
371 if(sampler < TEXTURE_IMAGE_UNITS) in setMipmapFilter()
380 if(sampler < TEXTURE_IMAGE_UNITS) in setGatherEnable()
389 if(sampler < TEXTURE_IMAGE_UNITS) in setAddressingModeU()
398 if(sampler < TEXTURE_IMAGE_UNITS) in setAddressingModeV()
407 if(sampler < TEXTURE_IMAGE_UNITS) in setAddressingModeW()
416 if(sampler < TEXTURE_IMAGE_UNITS) in setReadSRGB()
425 if(sampler < TEXTURE_IMAGE_UNITS) in setMipmapLOD()
434 if(sampler < TEXTURE_IMAGE_UNITS) in setBorderColor()
443 if(sampler < TEXTURE_IMAGE_UNITS) in setMaxAnisotropy()
[all …]
DRenderer.cpp395 for(int sampler = 0; sampler < TEXTURE_IMAGE_UNITS; sampler++) in draw()
459 … draw->texture[TEXTURE_IMAGE_UNITS + sampler] = context->texture[TEXTURE_IMAGE_UNITS + sampler]; in draw()
460 draw->texture[TEXTURE_IMAGE_UNITS + sampler]->lock(PUBLIC, PRIVATE); in draw()
462 …data->mipmap[TEXTURE_IMAGE_UNITS + sampler] = context->sampler[TEXTURE_IMAGE_UNITS + sampler].getT… in draw()
464 requiresSync |= context->sampler[TEXTURE_IMAGE_UNITS + sampler].requiresSync(); in draw()
DContext.hpp459 unsigned char textureWrap[TEXTURE_IMAGE_UNITS];
DPixelProcessor.hpp90 Sampler::State sampler[TEXTURE_IMAGE_UNITS];
DContext.cpp215 for(int i = 0; i < TEXTURE_IMAGE_UNITS; i++) textureWrap[i] = 0; in init()
/external/swiftshader/src/Main/
DConfig.hpp80 TEXTURE_IMAGE_UNITS = 16, enumerator
82 TOTAL_IMAGE_UNITS = TEXTURE_IMAGE_UNITS + VERTEX_TEXTURE_IMAGE_UNITS,
/external/swiftshader/tests/fuzzers/
DVertexRoutineFuzzer.cpp110 resources.MaxCombinedTextureImageUnits = sw::TEXTURE_IMAGE_UNITS + sw::VERTEX_TEXTURE_IMAGE_UNITS; in LLVMFuzzerTestOneInput()
111 resources.MaxTextureImageUnits = sw::TEXTURE_IMAGE_UNITS; in LLVMFuzzerTestOneInput()
/external/swiftshader/src/OpenGL/libGLESv2/
DContext.h81 MAX_TEXTURE_IMAGE_UNITS = sw::TEXTURE_IMAGE_UNITS,
/external/swiftshader/src/Pipeline/
DVertexProgram.cpp1529 Pointer<Byte> texture = data + OFFSET(DrawData, mipmap[TEXTURE_IMAGE_UNITS]) + offset; in TEXSIZE()
1570 …Pointer<Byte> texture = data + OFFSET(DrawData, mipmap[TEXTURE_IMAGE_UNITS]) + sampler * sizeof(Te… in sampleTexture()
DPixelProgram.cpp719 for(int i = 0; i < TEXTURE_IMAGE_UNITS; i++) in sampleTexture()
/external/swiftshader/src/Shader/
DVertexProgram.cpp1613 Pointer<Byte> texture = data + OFFSET(DrawData, mipmap[TEXTURE_IMAGE_UNITS]) + offset; in TEXSIZE()
1654 …Pointer<Byte> texture = data + OFFSET(DrawData, mipmap[TEXTURE_IMAGE_UNITS]) + sampler * sizeof(Te… in sampleTexture()
DPixelProgram.cpp731 for(int i = 0; i < TEXTURE_IMAGE_UNITS; i++) in sampleTexture()