Home
last modified time | relevance | path

Searched refs:pixelShader (Results 1 – 25 of 32) sorted by relevance

12

/external/swiftshader/src/D3D9/
DDirect3DStateBlock9.cpp46 pixelShader = 0; in Direct3DStateBlock9()
241 device->SetPixelShader(pixelShader); in Apply()
490 Direct3DPixelShader9 *pixelShader; in Capture() local
491 device->GetPixelShader(reinterpret_cast<IDirect3DPixelShader9**>(&pixelShader)); in Capture()
493 if(pixelShader) in Capture()
495 pixelShader->bind(); in Capture()
496 pixelShader->Release(); in Capture()
499 if(this->pixelShader) in Capture()
501 this->pixelShader->unbind(); in Capture()
504 this->pixelShader = pixelShader; in Capture()
[all …]
DDirect3DPixelShader9.cpp22 …rect3DDevice9 *device, const unsigned long *shaderToken) : device(device), pixelShader(shaderToken) in Direct3DPixelShader9()
117 return &pixelShader; in getPixelShader()
DDirect3DPixelShader9.hpp54 sw::PixelShader pixelShader; member in D3D9::Direct3DPixelShader9
DDirect3DDevice9.cpp83 pixelShader = 0; in Direct3DDevice9()
249 if(pixelShader) in ~Direct3DDevice9()
251 pixelShader->unbind(); in ~Direct3DDevice9()
252 pixelShader = 0; in ~Direct3DDevice9()
1671 if(pixelShader) in GetPixelShader()
1673 pixelShader->AddRef(); in GetPixelShader()
1676 *shader = pixelShader; in GetPixelShader()
2914 Direct3DPixelShader9 *pixelShader = static_cast<Direct3DPixelShader9*>(iPixelShader); in SetPixelShader() local
2918 if(this->pixelShader == pixelShader) in SetPixelShader()
2923 if(pixelShader) in SetPixelShader()
[all …]
DDirect3DStateBlock9.hpp170 Direct3DPixelShader9 *pixelShader; member in D3D9::Direct3DStateBlock9
/external/swiftshader/src/Renderer/
DSetupProcessor.cpp76 …bool vPosZW = (context->pixelShader && context->pixelShader->isVPosDeclared() && fullPixelPosition… in update()
89 state.vFace = context->pixelShader && context->pixelShader->isVFaceDeclared(); in update()
125 if(context->vertexShader && context->pixelShader) in update()
132 …const Shader::Semantic& semantic = context->pixelShader->getInput(interpolant, component - project… in update()
160 else if(context->preTransformed && context->pixelShader) in update()
166 const Shader::Semantic& semantic = context->pixelShader->getInput(interpolant, component); in update()
DContext.cpp303 pixelShader = 0; in init()
598 if(pixelShader) in texCoordActive()
600 usesTexture = pixelShader->usesTexture(coordinate, component) || project; in texCoordActive()
1215 if(pixelShader) in diffuseUsed()
1217 return pixelShader->usesDiffuse(component); in diffuseUsed()
1297 if(pixelShader) in specularUsed()
1299 return pixelShader->usesSpecular(component); in specularUsed()
1402 if(!pixelShader) in textureActive()
1433 return pixelShader->usesTexture(coordinate, component); in textureActive()
1441 return pixelShader ? pixelShader->getShaderModel() : 0x0000; in pixelShaderModel()
[all …]
DPixelProcessor.cpp960 if(context->pixelShader) in update()
962 state.shaderID = context->pixelShader->getSerialID(); in update()
969 state.depthOverride = context->pixelShader && context->pixelShader->depthOverride(); in update()
970 state.shaderContainsKill = context->pixelShader ? context->pixelShader->containsKill() : false; in update()
1040 if(state.multiSample > 1 && context->pixelShader) in update()
1042 state.centroid = context->pixelShader->containsCentroid(); in update()
1047 if(!context->pixelShader) in update()
1059 if(context->pixelShader) in update()
1061 if(context->pixelShader->usesSampler(i)) in update()
1146 const Shader::Semantic &semantic = context->pixelShader->getInput(interpolant, component); in update()
[all …]
DQuadRasterizer.cpp31 …nst PixelProcessor::State &state, const PixelShader *pixelShader) : state(state), shader(pixelShad… in QuadRasterizer() argument
DRenderer.cpp408 if(context->pixelShader) in draw()
443 …xelState.textureStage[stage].stageOperation != TextureStage::STAGE_DISABLE || context->pixelShader) in draw()
2148 void Renderer::loadConstants(const PixelShader *pixelShader) in loadConstants() argument
2150 if(!pixelShader) return; in loadConstants()
2152 size_t count = pixelShader->getLength(); in loadConstants()
2156 const Shader::Instruction *instruction = pixelShader->getInstruction(i); in loadConstants()
2552 context->pixelShader = shader; in setPixelShader()
DContext.hpp485 const PixelShader *pixelShader; member in sw::Context
/external/swiftshader/src/OpenGL/libGLESv2/
DShader.cpp427 pixelShader = 0; in FragmentShader()
432 delete pixelShader; in ~FragmentShader()
442 return pixelShader; in getShader()
447 return pixelShader; in getPixelShader()
452 delete pixelShader; in createShader()
453 pixelShader = new sw::PixelShader(); in createShader()
458 delete pixelShader; in deleteShader()
459 pixelShader = nullptr; in deleteShader()
DDevice.cpp127 pixelShader = nullptr; in Device()
274 void Device::setPixelShader(const PixelShader *pixelShader) in setPixelShader() argument
276 this->pixelShader = pixelShader; in setPixelShader()
724 if(pixelShader) in bindShaderConstants()
731 Renderer::setPixelShader(pixelShader); // Loads shader constants set with DEF in bindShaderConstants()
732 … pixelShaderConstantsFDirty = pixelShader->dirtyConstantsF; // Shader DEF'ed constants are dirty in bindShaderConstants()
DShader.h130 sw::PixelShader *pixelShader; variable
DDevice.hpp97 const sw::PixelShader *pixelShader; member in es2::Device
/external/swiftshader/src/Device/
DSetupProcessor.cpp76 …bool vPosZW = (context->pixelShader && context->pixelShader->isVPosDeclared() && fullPixelPosition… in update()
87 state.vFace = context->pixelShader && context->pixelShader->isVFaceDeclared(); in update()
114 const Shader::Semantic& semantic = context->pixelShader->getInput(interpolant, component); in update()
DPixelProcessor.cpp628 if(context->pixelShader) in update()
630 state.shaderID = context->pixelShader->getSerialID(); in update()
637 state.depthOverride = context->pixelShader && context->pixelShader->depthOverride(); in update()
638 state.shaderContainsKill = context->pixelShader ? context->pixelShader->containsKill() : false; in update()
705 if(state.multiSample > 1 && context->pixelShader) in update()
707 state.centroid = context->pixelShader->containsCentroid(); in update()
715 if(context->pixelShader) in update()
717 if(context->pixelShader->usesSampler(i)) in update()
730 const Shader::Semantic &semantic = context->pixelShader->getInput(interpolant, component); in update()
758 … state.interpolant[interpolant].centroid = context->pixelShader->getInput(interpolant, 0).centroid; in update()
[all …]
DContext.cpp225 pixelShader = nullptr; in init()
729 return pixelShader ? pixelShader->getShaderModel() : 0x0000; in pixelShaderModel()
777 return colorWriteActive() || alphaTestActive() || (pixelShader && pixelShader->containsKill()); in colorUsed()
DQuadRasterizer.cpp31 …nst PixelProcessor::State &state, const PixelShader *pixelShader) : state(state), shader(pixelShad… in QuadRasterizer() argument
DContext.hpp211 const PixelShader *pixelShader; member in sw::Context
DRenderer.cpp359 if(context->pixelShader) in draw()
1768 void Renderer::loadConstants(const PixelShader *pixelShader) in loadConstants() argument
1770 if(!pixelShader) return; in loadConstants()
1772 size_t count = pixelShader->getLength(); in loadConstants()
1776 const Shader::Instruction *instruction = pixelShader->getInstruction(i); in loadConstants()
2136 context->pixelShader = shader; in setPixelShader()
/external/swiftshader/src/D3D8/
DDirect3DPixelShader8.cpp21 …rect3DDevice8 *device, const unsigned long *shaderToken) : device(device), pixelShader(shaderToken) in Direct3DPixelShader8()
81 return &pixelShader; in getPixelShader()
DDirect3DDevice8.cpp78 pixelShader.push_back(0); // pixelShader[0] = 0 in Direct3DDevice8()
216 for(unsigned int i = 0; i < pixelShader.size(); i++) in ~Direct3DDevice8()
218 if(pixelShader[i]) in ~Direct3DDevice8()
220 pixelShader[i]->unbind(); in ~Direct3DDevice8()
221 pixelShader[i] = 0; in ~Direct3DDevice8()
663 for(index = 1; index < pixelShader.size(); index++) // Skip NULL handle in CreatePixelShader()
665 if(pixelShader[index] == 0) in CreatePixelShader()
667 pixelShader[index] = new Direct3DPixelShader8(this, function); // FIXME: Check for null in CreatePixelShader()
673 if(index == pixelShader.size()) in CreatePixelShader()
675 pixelShader.push_back(new Direct3DPixelShader8(this, function)); in CreatePixelShader()
[all …]
DDirect3DPixelShader8.hpp49 sw::PixelShader pixelShader; member in D3D8::Direct3DPixelShader8
/external/webrtc/webrtc/modules/video_render/android/
Dvideo_render_opengles20.cc275 GLuint pixelShader = loadShader(GL_FRAGMENT_SHADER, pFragmentSource); in createProgram() local
276 if (!pixelShader) { in createProgram()
284 glAttachShader(program, pixelShader); in createProgram()

12