/external/swiftshader/src/D3D9/ |
D | Direct3DStateBlock9.cpp | 46 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 …]
|
D | Direct3DPixelShader9.cpp | 22 …rect3DDevice9 *device, const unsigned long *shaderToken) : device(device), pixelShader(shaderToken) in Direct3DPixelShader9() 117 return &pixelShader; in getPixelShader()
|
D | Direct3DPixelShader9.hpp | 54 sw::PixelShader pixelShader; member in D3D9::Direct3DPixelShader9
|
D | Direct3DDevice9.cpp | 83 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 …]
|
D | Direct3DStateBlock9.hpp | 170 Direct3DPixelShader9 *pixelShader; member in D3D9::Direct3DStateBlock9
|
/external/swiftshader/src/Renderer/ |
D | SetupProcessor.cpp | 76 …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()
|
D | Context.cpp | 303 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 …]
|
D | PixelProcessor.cpp | 960 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 …]
|
D | QuadRasterizer.cpp | 31 …nst PixelProcessor::State &state, const PixelShader *pixelShader) : state(state), shader(pixelShad… in QuadRasterizer() argument
|
D | Renderer.cpp | 408 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()
|
D | Context.hpp | 485 const PixelShader *pixelShader; member in sw::Context
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
D | Shader.cpp | 427 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()
|
D | Device.cpp | 127 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()
|
D | Shader.h | 130 sw::PixelShader *pixelShader; variable
|
D | Device.hpp | 97 const sw::PixelShader *pixelShader; member in es2::Device
|
/external/swiftshader/src/Device/ |
D | SetupProcessor.cpp | 76 …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()
|
D | PixelProcessor.cpp | 628 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 …]
|
D | Context.cpp | 225 pixelShader = nullptr; in init() 729 return pixelShader ? pixelShader->getShaderModel() : 0x0000; in pixelShaderModel() 777 return colorWriteActive() || alphaTestActive() || (pixelShader && pixelShader->containsKill()); in colorUsed()
|
D | QuadRasterizer.cpp | 31 …nst PixelProcessor::State &state, const PixelShader *pixelShader) : state(state), shader(pixelShad… in QuadRasterizer() argument
|
D | Context.hpp | 211 const PixelShader *pixelShader; member in sw::Context
|
D | Renderer.cpp | 359 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/ |
D | Direct3DPixelShader8.cpp | 21 …rect3DDevice8 *device, const unsigned long *shaderToken) : device(device), pixelShader(shaderToken) in Direct3DPixelShader8() 81 return &pixelShader; in getPixelShader()
|
D | Direct3DDevice8.cpp | 78 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 …]
|
D | Direct3DPixelShader8.hpp | 49 sw::PixelShader pixelShader; member in D3D8::Direct3DPixelShader8
|
/external/webrtc/webrtc/modules/video_render/android/ |
D | video_render_opengles20.cc | 275 GLuint pixelShader = loadShader(GL_FRAGMENT_SHADER, pFragmentSource); in createProgram() local 276 if (!pixelShader) { in createProgram() 284 glAttachShader(program, pixelShader); in createProgram()
|