/external/swiftshader/src/Renderer/ |
D | SetupProcessor.cpp | 76 …bool vPosZW = (context->pixelShader && context->pixelShader->vPosDeclared && fullPixelPositionRegi… in update() 89 state.vFace = context->pixelShader && context->pixelShader->vFaceDeclared; in update() 125 if(context->vertexShader && context->pixelShader) in update() 133 if(context->pixelShader->semantic[interpolant][component - project].active()) in update() 138 …if(context->pixelShader->semantic[interpolant][component - project] == context->vertexShader->outp… in update() 147 switch(context->pixelShader->semantic[interpolant][component - project].usage) in update() 159 else if(context->preTransformed && context->pixelShader) in update() 165 int index = context->pixelShader->semantic[interpolant][component].index; in update() 167 switch(context->pixelShader->semantic[interpolant][component].usage) in update()
|
D | Context.cpp | 299 pixelShader = 0; in init() 593 if(pixelShader) in texCoordActive() 595 usesTexture = pixelShader->usesTexture(coordinate, component) || project; in texCoordActive() 1210 if(pixelShader) in diffuseUsed() 1212 return pixelShader->usesDiffuse(component); in diffuseUsed() 1292 if(pixelShader) in specularUsed() 1294 return pixelShader->usesSpecular(component); in specularUsed() 1397 if(!pixelShader) in textureActive() 1428 return pixelShader->usesTexture(coordinate, component); in textureActive() 1436 return pixelShader ? pixelShader->getVersion() : 0x0000; in pixelShaderVersion() [all …]
|
D | PixelProcessor.cpp | 893 if(context->pixelShader) in update() 895 state.shaderID = context->pixelShader->getSerialID(); in update() 902 state.depthOverride = context->pixelShader && context->pixelShader->depthOverride(); in update() 903 state.shaderContainsKill = context->pixelShader ? context->pixelShader->containsKill() : false; in update() 974 if(state.multiSample > 1 && context->pixelShader) in update() 976 state.centroid = context->pixelShader->containsCentroid(); in update() 979 if(!context->pixelShader) in update() 991 if(context->pixelShader) in update() 993 if(context->pixelShader->usesSampler(i)) in update() 1078 if(context->pixelShader->semantic[interpolant][component].active()) in update() [all …]
|
D | QuadRasterizer.cpp | 31 …nst PixelProcessor::State &state, const PixelShader *pixelShader) : state(state), shader(pixelShad… in QuadRasterizer() argument
|
D | Renderer.cpp | 373 if(context->pixelShader) in draw() 408 …xelState.textureStage[stage].stageOperation != TextureStage::STAGE_DISABLE || context->pixelShader) in draw() 2062 void Renderer::loadConstants(const PixelShader *pixelShader) in loadConstants() argument 2064 if(!pixelShader) return; in loadConstants() 2066 size_t count = pixelShader->getLength(); in loadConstants() 2070 const Shader::Instruction *instruction = pixelShader->getInstruction(i); in loadConstants() 2382 context->pixelShader = shader; in setPixelShader()
|
D | Context.hpp | 479 const PixelShader *pixelShader; member in sw::Context
|
D | Renderer.hpp | 423 void loadConstants(const PixelShader *pixelShader);
|
/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() 2913 Direct3DPixelShader9 *pixelShader = static_cast<Direct3DPixelShader9*>(iPixelShader); in SetPixelShader() local 2917 if(this->pixelShader == pixelShader) in SetPixelShader() 2922 if(pixelShader) in SetPixelShader() [all …]
|
D | Direct3DStateBlock9.hpp | 170 Direct3DPixelShader9 *pixelShader; member in D3D9::Direct3DStateBlock9
|
D | Direct3DDevice9.hpp | 258 Direct3DPixelShader9 *pixelShader; member in D3D9::Direct3DDevice9
|
/external/swiftshader/src/OpenGL/libGL/ |
D | Shader.cpp | 410 pixelShader = 0; in FragmentShader() 415 delete pixelShader; in ~FragmentShader() 425 return pixelShader; in getShader() 430 return pixelShader; in getPixelShader() 435 delete pixelShader; in createShader() 436 pixelShader = new sw::PixelShader(); in createShader() 441 delete pixelShader; in deleteShader() 442 pixelShader = nullptr; in deleteShader()
|
D | Device.cpp | 125 pixelShader = 0; in Device() 411 void Device::setPixelShader(PixelShader *pixelShader) in setPixelShader() argument 413 this->pixelShader = pixelShader; in setPixelShader() 633 if(pixelShader) in bindShaderConstants() 640 Renderer::setPixelShader(pixelShader); // Loads shader constants set with DEF in bindShaderConstants() 641 … pixelShaderConstantsFDirty = pixelShader->dirtyConstantsF; // Shader DEF'ed constants are dirty in bindShaderConstants()
|
D | Device.hpp | 87 sw::PixelShader *pixelShader; member in gl::Device
|
D | Shader.h | 133 sw::PixelShader *pixelShader; variable
|
D | Context.cpp | 1998 sw::PixelShader *pixelShader = programObject->getPixelShader(); in applyShaders() local 2001 device->setPixelShader(pixelShader); in applyShaders()
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
D | Shader.cpp | 425 pixelShader = 0; in FragmentShader() 430 delete pixelShader; in ~FragmentShader() 440 return pixelShader; in getShader() 445 return pixelShader; in getPixelShader() 450 delete pixelShader; in createShader() 451 pixelShader = new sw::PixelShader(); in createShader() 456 delete pixelShader; in deleteShader() 457 pixelShader = nullptr; in deleteShader()
|
D | Device.cpp | 126 pixelShader = nullptr; in Device() 332 void Device::setPixelShader(PixelShader *pixelShader) in setPixelShader() argument 334 this->pixelShader = pixelShader; in setPixelShader() 739 if(pixelShader) in bindShaderConstants() 746 Renderer::setPixelShader(pixelShader); // Loads shader constants set with DEF in bindShaderConstants() 747 … pixelShaderConstantsFDirty = pixelShader->dirtyConstantsF; // Shader DEF'ed constants are dirty in bindShaderConstants()
|
D | Shader.h | 130 sw::PixelShader *pixelShader; variable
|
D | Device.hpp | 83 sw::PixelShader *pixelShader; member in es2::Device
|
/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()
|
/external/swiftshader/src/OpenGL/compiler/ |
D | OutputASM.cpp | 308 pixelShader = 0; in OutputASM() 314 pixelShader = shaderObject->getPixelShader(); in OutputASM() 2606 case EvqFragCoord: pixelShader->vPosDeclared = true; return 0; in registerIndex() 2607 case EvqFrontFacing: pixelShader->vFaceDeclared = true; return 1; in registerIndex() 2761 if(pixelShader) in varyingRegister() 2772 …if(componentCount >= 1) pixelShader->semantic[var][0] = sw::Shader::Semantic(sw::Shader::USAGE_TEX… in varyingRegister() 2773 …if(componentCount >= 2) pixelShader->semantic[var][1] = sw::Shader::Semantic(sw::Shader::USAGE_TEX… in varyingRegister() 2774 …if(componentCount >= 3) pixelShader->semantic[var][2] = sw::Shader::Semantic(sw::Shader::USAGE_TEX… in varyingRegister() 2775 …if(componentCount >= 4) pixelShader->semantic[var][3] = sw::Shader::Semantic(sw::Shader::USAGE_TEX… in varyingRegister() 2781 …if(componentCount >= 1) pixelShader->semantic[var + i][0] = sw::Shader::Semantic(sw::Shader::USAGE… in varyingRegister() [all …]
|
D | OutputASM.h | 313 sw::PixelShader *pixelShader; variable
|