Home
last modified time | relevance | path

Searched refs:fragmentShader (Results 1 – 15 of 15) sorted by relevance

/external/webkit/Source/WebCore/platform/graphics/chromium/
DProgramBinding.cpp52 bool ProgramBindingBase::init(const String& vertexShader, const String& fragmentShader) in init() argument
54 m_program = createShaderProgram(vertexShader, fragmentShader); in init()
87 unsigned fragmentShader = loadShader(GraphicsContext3D::FRAGMENT_SHADER, fragmentShaderSource); in createShaderProgram() local
88 if (!fragmentShader) { in createShaderProgram()
101 GLC(m_context, m_context->attachShader(programObject, fragmentShader)); in createShaderProgram()
117 GLC(m_context, m_context->deleteShader(fragmentShader)); in createShaderProgram()
DRenderSurfaceChromium.cpp116 … GLC(context3D, context3D->uniform1i(maskProgram->fragmentShader().samplerLocation(), 0)); in drawSurface()
119 … GLC(context3D, context3D->uniform1i(maskProgram->fragmentShader().maskSamplerLocation(), 1)); in drawSurface()
123 shaderAlphaLocation = maskProgram->fragmentShader().alphaLocation(); in drawSurface()
131 GLC(context3D, context3D->uniform1i(program->fragmentShader().samplerLocation(), 0)); in drawSurface()
133 shaderAlphaLocation = program->fragmentShader().alphaLocation(); in drawSurface()
DProgramBinding.h42 bool init(const String& vertexShader, const String& fragmentShader);
73 const FragmentShader& fragmentShader() const { return m_fragmentShader; } in fragmentShader() function
DLayerTilerChromium.cpp388 GLC(context, context->uniform1i(program->fragmentShader().samplerLocation(), 0)); in draw()
450 GLC(context, context->uniform1f(program->fragmentShader().alphaLocation(), opacity)); in drawTexturedQuad()
/external/webkit/Source/WebCore/platform/graphics/chromium/cc/
DCCVideoLayerImpl.cpp126 GLC(context, context->uniform1i(program->fragmentShader().yTextureLocation(), 1)); in drawYUV()
127 GLC(context, context->uniform1i(program->fragmentShader().uTextureLocation(), 2)); in drawYUV()
128 GLC(context, context->uniform1i(program->fragmentShader().vTextureLocation(), 3)); in drawYUV()
130 …GLC(context, context->uniformMatrix3fv(program->fragmentShader().ccMatrixLocation(), 0, const_cast… in drawYUV()
131 …GLC(context, context->uniform3fv(program->fragmentShader().yuvAdjLocation(), const_cast<float*>(yu… in drawYUV()
136 program->fragmentShader().alphaLocation()); in drawYUV()
154 GLC(context, context->uniform1i(program->fragmentShader().samplerLocation(), 0)); in drawRGBA()
159 program->fragmentShader().alphaLocation()); in drawRGBA()
DCCCanvasLayerImpl.cpp61 GLC(context, context->uniform1i(program->fragmentShader().samplerLocation(), 0)); in draw()
65 program->fragmentShader().alphaLocation()); in draw()
DCCPluginLayerImpl.cpp66 GLC(context, context->uniform1i(program->fragmentShader().samplerLocation(), 0)); in draw()
70 program->fragmentShader().alphaLocation()); in draw()
DCCHeadsUpDisplay.cpp118 GLC(context, context->uniform1i(program->fragmentShader().samplerLocation(), 0)); in draw()
125 program->fragmentShader().alphaLocation()); in draw()
DCCLayerImpl.cpp183 …GLC(context, context->uniform4f(program->fragmentShader().colorLocation(), debugBorderColor().red(… in drawDebugBorder()
/external/webkit/Source/WebCore/platform/graphics/gpu/
DShader.cpp106 …unsigned fragmentShader = loadShader(context, GraphicsContext3D::FRAGMENT_SHADER, fragmentShaderSo… in loadProgram() local
107 if (!fragmentShader) in loadProgram()
113 context->attachShader(program, fragmentShader); in loadProgram()
120 context->deleteShader(fragmentShader); in loadProgram()
/external/webkit/Source/WebCore/platform/graphics/android/rendering/
DShaderProgram.h101 , fragmentShader(-1) in ShaderResource()
108 , fragmentShader(fragment) in ShaderResource()
114 GLuint fragmentShader; member
DShaderProgram.cpp273 glDetachShader(m_resources[i].program, m_resources[i].fragmentShader); in cleanupGLResources()
275 glDeleteShader(m_resources[i].fragmentShader); in cleanupGLResources()
/external/jmonkeyengine/engine/src/core/com/jme3/material/
DTechniqueDef.java230 public void setShaderFile(String vertexShader, String fragmentShader, String shaderLanguage){ in setShaderFile() argument
232 this.fragName = fragmentShader; in setShaderFile()
/external/webkit/Source/WebCore/platform/graphics/opengl/
DTextureMapperGL.cpp133 GLuint fragmentShader = glCreateShader(GL_FRAGMENT_SHADER); in createShaderProgram() local
135 GL_CMD(glShaderSource(fragmentShader, 1, &fragmentShaderSource, 0)) in createShaderProgram()
138 GL_CMD(glCompileShader(fragmentShader)) in createShaderProgram()
140 GL_CMD(glAttachShader(programID, fragmentShader)) in createShaderProgram()
/external/webkit/Source/WebCore/
DChangeLog64149 (WebCore::ProgramBinding::fragmentShader):