Home
last modified time | relevance | path

Searched refs:shaderProgram (Results 1 – 9 of 9) sorted by relevance

/external/swiftshader/third_party/PowerVR_SDK/Examples/Beginner/01_HelloAPI/OGLES2/
DOGLES2HelloAPI_LinuxX11.cpp431 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 …]
DOGLES2HelloAPI_OSX.mm329 …@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/deqp/executor/tools/
DxeExtractShaderPrograms.cpp68 …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/
Ddemo.c98 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/
DgluShaderProgram.cpp657 tcu::TestLog& operator<< (tcu::TestLog& log, const ShaderProgram& shaderProgram) in operator <<() argument
663 …for (int shaderNdx = 0; shaderNdx < shaderProgram.getNumShaders((ShaderType)shaderType); shaderNdx… in operator <<()
664 shaderPtrs.push_back(&shaderProgram.getShaderInfo((ShaderType)shaderType, shaderNdx)); in operator <<()
667 …logShaderProgram(log, shaderProgram.getProgramInfo(), shaderPtrs.size(), shaderPtrs.empty() ? DE_N… in operator <<()
/external/deqp/modules/gles31/functional/
Des31fSRGBDecodeTests.cpp1096 …SRGBTestProgram* shaderProgram = new SRGBTestProgram(m_context, m_shaderParametersList[shaderParam… in genShaderPrograms() local
1100 shaderProgram->setBlendRequired(true); in genShaderPrograms()
1105 shaderProgram->setToggleRequired(true); in genShaderPrograms()
1110shaderProgram->setUniformToggle(shaderProgram->getUniformLocation(uniformsToToggle[uniformNameIdx]… in genShaderPrograms()
1114 m_shaderProgramList.push_back(shaderProgram); in genShaderPrograms()
Des31fNegativeShaderApiTests.cpp163 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/
DxeTestResultParser.cpp541 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/
DtcuTestLog.hpp118 TestLog& operator<< (const ShaderProgram& shaderProgram);