/external/swiftshader/third_party/PowerVR_SDK/Examples/Beginner/01_HelloAPI/OGLES2/ |
D | OGLES2HelloAPI_LinuxX11.cpp | 431 bool InitialiseShaders( GLuint &fragmentShader, GLuint &vertexShader, GLuint &shaderProgram) in InitialiseShaders() argument 530 shaderProgram = glCreateProgram(); in InitialiseShaders() 533 glAttachShader(shaderProgram, fragmentShader); in InitialiseShaders() 534 glAttachShader(shaderProgram, vertexShader); in InitialiseShaders() 537 glBindAttribLocation(shaderProgram, VERTEX_ARRAY, "myVertex"); in InitialiseShaders() 540 glLinkProgram(shaderProgram); in InitialiseShaders() 544 glGetProgramiv(shaderProgram, GL_LINK_STATUS, &isLinked); in InitialiseShaders() 549 glGetProgramiv(shaderProgram, GL_INFO_LOG_LENGTH, &infoLogLength); in InitialiseShaders() 553 glGetProgramInfoLog(shaderProgram, infoLogLength, &charactersWritten, infoLog); in InitialiseShaders() 568 glUseProgram(shaderProgram); in InitialiseShaders() [all …]
|
D | OGLES2HelloAPI_OSX.mm | 329 …@Output shaderProgram Handle to a shader program containing the fragment and vertex… 333 …(GLuint &)fragmentShader andVertexShader:(GLuint &)vertexShader withProgram:(GLuint &)shaderProgram 432 shaderProgram = glCreateProgram(); 435 glAttachShader(shaderProgram, fragmentShader); 436 glAttachShader(shaderProgram, vertexShader); 439 glBindAttribLocation(shaderProgram, VERTEX_ARRAY, "myVertex"); 442 glLinkProgram(shaderProgram); 446 glGetProgramiv(shaderProgram, GL_LINK_STATUS, &isLinked); 451 glGetProgramiv(shaderProgram, GL_INFO_LOG_LENGTH, &infoLogLength); 455 glGetProgramInfoLog(shaderProgram, infoLogLength, &charactersWritten, infoLog); [all …]
|
/external/skia/bench/ |
D | GLBench.cpp | 111 GrGLuint shaderProgram; in CreateProgram() local 112 GR_GL_CALL_RET(gl, shaderProgram, CreateProgram()); in CreateProgram() 113 GR_GL_CALL(gl, AttachShader(shaderProgram, vertexShader)); in CreateProgram() 114 GR_GL_CALL(gl, AttachShader(shaderProgram, fragmentShader)); in CreateProgram() 115 GR_GL_CALL(gl, LinkProgram(shaderProgram)); in CreateProgram() 120 GR_GL_CALL(gl, GetProgramiv(shaderProgram, GR_GL_LINK_STATUS, &success)); in CreateProgram() 122 GR_GL_CALL(gl, GetProgramInfoLog(shaderProgram, 512, nullptr, infoLog)); in CreateProgram() 128 return shaderProgram; in CreateProgram()
|
/external/deqp/executor/tools/ |
D | xeExtractShaderPrograms.cpp | 68 …e& cmdLine, const std::string& casePath, const xe::ri::ShaderProgram& shaderProgram, int programNd… in writeShaderProgram() argument 72 for (int shaderNdx = 0; shaderNdx < shaderProgram.shaders.getNumItems(); shaderNdx++) in writeShaderProgram() 74 …const xe::ri::Shader& shader = dynamic_cast<const xe::ri::Shader&>(shaderProgram.shaders.getItem(… in writeShaderProgram()
|
/external/autotest/client/site_tests/graphics_SanAngeles/src/ |
D | demo.c | 98 GLuint shaderProgram; member 178 result->shaderProgram = 0; in newGLObject() 255 bindShaderProgram(object->shaderProgram); in drawGLObject() 256 if (object->shaderProgram == sShaderLit.program) in drawGLObject() 262 else if (object->shaderProgram == sShaderFlat.program) in drawGLObject() 477 result->shaderProgram = sShaderLit.program; in createSuperShape() 532 result->shaderProgram = sShaderFlat.program; in createGroundPlane() 580 result->shaderProgram = sShaderFade.program; in createFadeQuad()
|
/external/deqp/framework/opengl/ |
D | gluShaderProgram.cpp | 507 tcu::TestLog& operator<< (tcu::TestLog& log, const ShaderProgram& shaderProgram) in operator <<() argument 513 …for (int shaderNdx = 0; shaderNdx < shaderProgram.getNumShaders((ShaderType)shaderType); shaderNdx… in operator <<() 514 shaderPtrs.push_back(&shaderProgram.getShaderInfo((ShaderType)shaderType, shaderNdx)); in operator <<() 517 …logShaderProgram(log, shaderProgram.getProgramInfo(), shaderPtrs.size(), shaderPtrs.empty() ? DE_N… in operator <<()
|
/external/deqp/modules/gles31/functional/ |
D | es31fSRGBDecodeTests.cpp | 1096 …SRGBTestProgram* shaderProgram = new SRGBTestProgram(m_context, m_shaderParametersList[shaderParam… in genShaderPrograms() local 1100 shaderProgram->setBlendRequired(true); in genShaderPrograms() 1105 shaderProgram->setToggleRequired(true); in genShaderPrograms() 1110 …shaderProgram->setUniformToggle(shaderProgram->getUniformLocation(uniformsToToggle[uniformNameIdx]… in genShaderPrograms() 1114 m_shaderProgramList.push_back(shaderProgram); in genShaderPrograms()
|
D | es31fNegativeShaderApiTests.cpp | 163 GLuint shaderProgram[2]; in shader_binary() local 189 shaderProgram[0] = ctx.glCreateShader(GL_VERTEX_SHADER); in shader_binary() 190 shaderProgram[1] = ctx.glCreateProgram(); in shader_binary() 223 ctx.glShaderBinary(2, &shaderProgram[0], binaryFormats[0], 0, 0); in shader_binary()
|
/external/deqp/executor/ |
D | xeTestResultParser.cpp | 541 ri::ShaderProgram* shaderProgram = curList->allocItem<ri::ShaderProgram>(); in handleElementStart() local 542 shaderProgram->linkStatus = toBool(getAttribute("LinkStatus")); in handleElementStart() 543 item = shaderProgram; in handleElementStart()
|
/external/deqp/framework/common/ |
D | tcuTestLog.hpp | 118 TestLog& operator<< (const ShaderProgram& shaderProgram);
|