Searched defs:program (Results 126 - 150 of 378) sorted by last modified time

1234567891011>>

/external/deqp/modules/glshared/
H A DglsShaderLibrary.cpp196 void parsePipelineProgram (ShaderCase::PipelineProgram& program);
1054 void ShaderParser::parsePipelineProgram (ShaderCase::PipelineProgram& program) argument
1107 parseError(string("invalid pipeline program value: " + m_curTokenStr));
1112 parseError("program pipeline object must have active stages");
1115 program.activeStageBits = activeStages;
1116 program.requirements.swap(requirements);
1117 program.vertexSources.swap(vertexSources);
1118 program.fragmentSources.swap(fragmentSources);
1119 program.tessCtrlSources.swap(tessellationCtrlSources);
1120 program
[all...]
H A DglsShaderPerformanceCase.cpp21 * \brief Single-program test case wrapper for ShaderPerformanceMeasurer.
172 void ShaderPerformanceCase::setupProgram (deUint32 program) argument
174 DE_UNREF(program);
H A DglsShaderPerformanceMeasurer.cpp140 void ShaderPerformanceMeasurer::init (deUint32 program, const vector<AttribSpec>& attributes, int calibratorInitialNumCalls) argument
211 int location = gl.getAttribLocation(program, m_attributes[attribNdx].name.c_str());
223 gl.useProgram(program);
H A DglsShaderRenderCase.cpp409 log << *m_program; // Always log shader program.
556 static void getDefaultVertexArrays (const glw::Functions& gl, const QuadGrid& quadGrid, deUint32 program, vector<VertexArrayBinding>& vertexArrays) argument
593 int loc = gl.getAttribLocation(program, matrices[matNdx].name);
627 // Setup program.
H A DglsStateChangePerfTestCases.cpp318 glu::ShaderProgram* program = new glu::ShaderProgram(m_renderCtx, glu::ProgramSources() << glu::VertexSource(vertexShaderSource) << glu::FragmentSource(fragmentShaderSource)); local
320 if (!program->isOk())
322 m_testCtx.getLog() << *program;
323 delete program;
327 m_programs.push_back(program);
H A DglsTextureBufferCase.cpp399 glu::ShaderProgram* const program = new glu::ShaderProgram(renderContext, glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource)); member in class:deqp::gls::__anon20412::glu
401 return program;
580 glu::ShaderProgram& program,
587 gl.useProgram(program.getProgram());
611 const deInt32 location = gl.getUniformLocation(program.getProgram(), "u_vtxSampler");
620 const deInt32 location = gl.getUniformLocation(program.getProgram(), "u_fragSampler");
675 const rr::Program program(vertexShader, fragmentShader);
700 const rr::DrawCommand cmd(renderState, renderTarget, program, 1, vertexAttribs, primitives);
707 const rr::DrawCommand cmd(renderState, renderTarget, program, 1, vertexAttribs, primitives);
759 glu::ShaderProgram& program,
576 renderGL(glu::RenderContext& renderContext, RenderBits renderBits, deUint32 coordSeed, int triangleCount, glu::ShaderProgram& program, glu::TextureBuffer& texture) argument
755 render(TestLog& log, glu::RenderContext& renderContext, RenderBits renderBits, de::Random& rng, glu::ShaderProgram& program, glu::TextureBuffer& texture, const tcu::PixelBufferAccess& target) argument
[all...]
H A DglsTextureTestUtil.cpp1053 glu::ShaderProgram* ProgramLibrary::getProgram (Program program) argument
1057 if (m_programs.find(program) != m_programs.end())
1058 return m_programs[program]; // Return from cache.
1087 bool isCube = de::inRange<int>(program, PROGRAM_CUBE_FLOAT, PROGRAM_CUBE_SHADOW_BIAS);
1088 bool isArray = de::inRange<int>(program, PROGRAM_2D_ARRAY_FLOAT, PROGRAM_2D_ARRAY_SHADOW)
1089 || de::inRange<int>(program, PROGRAM_1D_ARRAY_FLOAT, PROGRAM_1D_ARRAY_SHADOW);
1091 bool is1D = de::inRange<int>(program, PROGRAM_1D_FLOAT, PROGRAM_1D_UINT_BIAS)
1092 || de::inRange<int>(program, PROGRAM_1D_ARRAY_FLOAT, PROGRAM_1D_ARRAY_SHADOW)
1093 || de::inRange<int>(program, PROGRAM_BUFFER_FLOAT, PROGRAM_BUFFER_UINT);
1095 bool is2D = de::inRange<int>(program, PROGRAM_2D_FLOA
1397 glu::ShaderProgram* program = m_programLibrary.getProgram(progSpec); local
1401 log << *program; local
[all...]
H A DglsUniformBlockCase.cpp1167 void getGLUniformLayout (const glw::Functions& gl, UniformLayout& layout, deUint32 program) argument
1172 gl.getProgramiv(program, GL_ACTIVE_UNIFORMS, &numActiveUniforms);
1173 gl.getProgramiv(program, GL_ACTIVE_UNIFORM_BLOCKS, &numActiveBlocks);
1186 gl.getActiveUniformBlockiv(program, (deUint32)blockNdx, GL_UNIFORM_BLOCK_DATA_SIZE, &size);
1187 gl.getActiveUniformBlockiv(program, (deUint32)blockNdx, GL_UNIFORM_BLOCK_NAME_LENGTH, &nameLen);
1188 gl.getActiveUniformBlockiv(program, (deUint32)blockNdx, GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS, &numBlockUniforms);
1194 gl.getActiveUniformBlockName(program, (deUint32)blockNdx, (glw::GLsizei)nameBuf.size(), DE_NULL, &nameBuf[0]);
1201 gl.getActiveUniformBlockiv(program, (deUint32)blockNdx, GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES, &entry.activeUniformIndices[0]);
1223 gl.getActiveUniformsiv(program, (glw::GLsizei)uniformIndices.size(), &uniformIndices[0], GL_UNIFORM_TYPE, &types[0]);
1224 gl.getActiveUniformsiv(program, (gl
1434 log << program; local
1866 checkIndexQueries(deUint32 program, const UniformLayout& layout) const argument
[all...]
/external/deqp/execserver/tools/
H A DxsClient.cpp140 std::string program; member in class:xs::CommandLine
185 msg.name = m_cmdLine.program;
294 printf(" --program=[program] Test program\n");
295 printf(" --params=[params] Test program params\n");
319 else if (deStringBeginsWith(arg, "--program="))
320 cmdLine.program = parseString(arg+10);
/external/deqp/executor/
H A DxeTestLogWriter.cpp321 const ri::ShaderProgram& program = static_cast<const ri::ShaderProgram&>(item); local
323 << Writer::Attribute("LinkStatus", getStatusName(program.linkStatus));
325 writeResultItem(program.linkInfoLog, dst);
327 for (int ndx = 0; ndx < program.shaders.getNumItems(); ndx++)
328 writeResultItem(program.shaders.getItem(ndx), dst);
/external/deqp/framework/opengl/
H A DgluDrawUtil.cpp218 //! Lower named bindings to locations and eliminate bindings that are not used by program.
220 static OutputIter namedBindingsToProgramLocations (const glw::Functions& gl, deUint32 program, InputIter first, InputIter end, OutputIter out) argument
228 int location = gl.getAttribLocation(program, binding.name.c_str());
442 static bool isProgramActive (const RenderContext& context, deUint32 program) argument
448 return activeProgram == program;*/
450 DE_UNREF(program);
495 void drawFromUserPointers (const RenderContext& context, deUint32 program, int numVertexArrays, const VertexArrayBinding* vertexArrays, const PrimitiveList& primitives, DrawUtilCallback* callback) argument
501 DE_ASSERT(isProgramActive(context, program));
504 namedBindingsToProgramLocations(gl, program, vertexArrays, vertexArrays+numVertexArrays, std::inserter(bindingsWithLocations, bindingsWithLocations.begin()));
527 void drawFromBuffers (const RenderContext& context, deUint32 program, in argument
580 drawFromVAOBuffers(const RenderContext& context, deUint32 program, int numVertexArrays, const VertexArrayBinding* vertexArrays, const PrimitiveList& primitives, DrawUtilCallback* callback) argument
590 draw(const RenderContext& context, deUint32 program, int numVertexArrays, const VertexArrayBinding* vertexArrays, const PrimitiveList& primitives, DrawUtilCallback* callback) argument
[all...]
H A DgluProgramInterfaceQuery.cpp33 deUint32 getProgramResourceUint (const glw::Functions& gl, deUint32 program, deUint32 programInterface, deUint32 index, deUint32 queryParam) argument
36 gl.getProgramResourceiv(program, programInterface, index, 1, &queryParam, 1, DE_NULL, (int*)&value);
41 void getProgramResourceName (const glw::Functions& gl, deUint32 program, deUint32 programInterface, deUint32 index, std::string& dst) argument
43 const int length = getProgramResourceInt(gl, program, programInterface, index, GL_NAME_LENGTH);
48 gl.getProgramResourceName(program, programInterface, index, (int)buf.size(), DE_NULL, &buf[0]);
61 static void getProgramInterfaceActiveVariables (const glw::Functions& gl, deUint32 program, deUint32 programInterface, deUint32 index, std::vector<int>& activeVariables) argument
63 const int numActiveVariables = getProgramResourceInt(gl, program, programInterface, index, GL_NUM_ACTIVE_VARIABLES);
69 gl.getProgramResourceiv(program, programInterface, index, 1, &queryParam, (int)activeVariables.size(), DE_NULL, &activeVariables[0]);
74 void getProgramInterfaceBlockInfo (const glw::Functions& gl, deUint32 program, deUint32 programInterface, deUint32 index, InterfaceBlockInfo& info) argument
77 info.bufferBinding = getProgramResourceUint(gl, program, programInterfac
86 getProgramInterfaceVariableInfo(const glw::Functions& gl, deUint32 program, deUint32 programInterface, deUint32 index, InterfaceVariableInfo& info) argument
[all...]
H A DgluProgramInterfaceQuery.hpp89 int getProgramResourceInt (const glw::Functions& gl, deUint32 program, deUint32 programInterface, deUint32 index, deUint32 queryParam);
90 deUint32 getProgramResourceUint (const glw::Functions& gl, deUint32 program, deUint32 programInterface, deUint32 index, deUint32 queryParam);
92 void getProgramResourceName (const glw::Functions& gl, deUint32 program, deUint32 programInterface, deUint32 index, std::string& dst);
93 std::string getProgramResourceName (const glw::Functions& gl, deUint32 program, deUint32 programInterface, deUint32 index);
95 void getProgramInterfaceBlockInfo (const glw::Functions& gl, deUint32 program, deUint32 programInterface, deUint32 index, InterfaceBlockInfo& info);
96 InterfaceBlockInfo getProgramInterfaceBlockInfo (const glw::Functions& gl, deUint32 program, deUint32 programInterface, deUint32 index);
98 void getProgramInterfaceVariableInfo (const glw::Functions& gl, deUint32 program, deUint32 programInterface, deUint32 index, InterfaceVariableInfo& info);
99 InterfaceVariableInfo getProgramInterfaceVariableInfo (const glw::Functions& gl, deUint32 program, deUint32 programInterface, deUint32 index);
103 inline int getProgramResourceInt (const glw::Functions& gl, deUint32 program, deUint32 programInterface, deUint32 index, deUint32 queryParam) argument
105 return (int)getProgramResourceUint(gl, program, programInterfac
108 getProgramResourceName(const glw::Functions& gl, deUint32 program, deUint32 programInterface, deUint32 index) argument
115 getProgramInterfaceBlockInfo(const glw::Functions& gl, deUint32 program, deUint32 programInterface, deUint32 index) argument
122 getProgramInterfaceVariableInfo(const glw::Functions& gl, deUint32 program, deUint32 programInterface, deUint32 index) argument
[all...]
H A DgluShaderProgram.cpp21 * \brief Wrapper for GL program object.
112 static bool getProgramLinkStatus (const RenderContext& renderCtx, deUint32 program) argument
117 gl.getProgramiv(program, GL_LINK_STATUS, &linkStatus);
122 static std::string getProgramInfoLog (const RenderContext& renderCtx, deUint32 program) argument
129 gl.getProgramiv(program, GL_INFO_LOG_LENGTH, &infoLogLen);
135 gl.getProgramInfoLog(program, (int)infoLog.size(), &unusedLen, &infoLog[0]);
151 Program::Program (const RenderContext& renderCtx, deUint32 program) argument
153 , m_program (program)
155 m_info.linkOk = getProgramLinkStatus(renderCtx, program);
156 m_info.infoLog = getProgramInfoLog(renderCtx, program);
253 useProgramStages(deUint32 stages, deUint32 program) argument
261 activeShaderProgram(deUint32 program) argument
408 operator <<(tcu::TestLog& log, const ShaderProgram& program) argument
[all...]
/external/deqp/framework/opengl/simplereference/
H A DsglrContextUtil.cpp31 void drawQuad (sglr::Context& ctx, deUint32 program, const tcu::Vec3& p0, const tcu::Vec3& p1) argument
36 drawQuadWithVaoBuffers(ctx, program, p0, p1);
40 drawQuadWithClientPointers(ctx, program, p0, p1);
44 void drawQuadWithVaoBuffers (sglr::Context& ctx, deUint32 program, const tcu::Vec3& p0, const tcu::Vec3& p1) argument
64 deInt32 posLoc = ctx.getAttribLocation(program, "a_position");
65 deInt32 coordLoc = ctx.getAttribLocation(program, "a_coord");
74 ctx.useProgram(program);
114 void drawQuadWithClientPointers (sglr::Context& ctx, deUint32 program, const tcu::Vec3& p0, const tcu::Vec3& p1) argument
134 deInt32 posLoc = ctx.getAttribLocation(program, "a_position");
135 deInt32 coordLoc = ctx.getAttribLocation(program, "a_coor
[all...]
H A DsglrContextWrapper.cpp184 void ContextWrapper::glUseProgram (deUint32 program) argument
186 m_curCtx->useProgram(program);
H A DsglrGLContext.cpp711 deInt32 GLContext::getAttribLocation (deUint32 program, const char *name) argument
713 return m_wrapper->glGetAttribLocation(program, name);
775 deInt32 GLContext::getUniformLocation (deUint32 program, const char *name) argument
777 return m_wrapper->glGetUniformLocation(program, name);
854 glu::ShaderProgram* program = DE_NULL; local
857 program = new glu::ShaderProgram(m_context, glu::makeVtxFragSources(shader->m_vertSrc, shader->m_fragSrc));
859 program = new glu::ShaderProgram(m_context,
864 if (!program->isOk())
866 m_log << *program; local
867 delete program;
872 m_log << *program; local
878 deleteProgram(deUint32 program) argument
893 useProgram(deUint32 program) argument
[all...]
/external/deqp/framework/platform/null/
H A DtcuNullRenderContext.cpp372 GLW_APICALL void GLW_APIENTRY glGetProgramiv (GLuint program, GLenum pname, GLint* params) argument
374 DE_UNREF(program);
/external/deqp/framework/referencerenderer/
H A DrrRenderer.cpp506 void flatshadeVertices (const Program& program, ContainerType& list) argument
509 const std::vector<rr::VertexVaryingInfo>& fragInputs = (program.geometryShader) ? (program.geometryShader->getOutputs()) : (program.vertexShader->getOutputs());
521 const Program& program,
534 const std::vector<rr::VertexVaryingInfo>& fragInputs = (program.geometryShader) ? (program.geometryShader->getOutputs()) : (program.vertexShader->getOutputs());
711 const Program& program,
721 const std::vector<rr::VertexVaryingInfo>& fragInputs = (program
520 clipPrimitives(std::vector<pa::Triangle>& list, const Program& program, bool clipWithZPlanes, VertexPacketAllocator& vpalloc) argument
710 clipPrimitives(std::vector<pa::Line>& list, const Program& program, bool clipWithZPlanes, VertexPacketAllocator& vpalloc) argument
781 clipPrimitives(std::vector<pa::Point>& list, const Program& program, bool clipWithZPlanes, VertexPacketAllocator& vpalloc) argument
1025 writeFragmentPackets(const RenderState& state, const RenderTarget& renderTarget, const Program& program, const FragmentPacket* fragmentPackets, int numRasterizedPackets, rr::FaceType facetype, const std::vector<rr::GenericVec4>& fragmentOutputArray, const float* depthValues, std::vector<Fragment>& fragmentBuffer) argument
1098 rasterizePrimitive(const RenderState& state, const RenderTarget& renderTarget, const Program& program, const pa::Triangle& triangle, const tcu::IVec4& renderTargetRect, RasterizationInternalBuffers& buffers) argument
1166 rasterizePrimitive(const RenderState& state, const RenderTarget& renderTarget, const Program& program, const pa::Line& line, const tcu::IVec4& renderTargetRect, RasterizationInternalBuffers& buffers) argument
1219 rasterizePrimitive(const RenderState& state, const RenderTarget& renderTarget, const Program& program, const pa::Point& point, const tcu::IVec4& renderTargetRect, RasterizationInternalBuffers& buffers) argument
1285 rasterize(const RenderState& state, const RenderTarget& renderTarget, const Program& program, const ContainerType& list) argument
1329 drawBasicPrimitives(const RenderState& state, const RenderTarget& renderTarget, const Program& program, ContainerType& primList, VertexPacketAllocator& vpalloc) argument
1386 drawGeometryShaderOutputAsPrimitives(const RenderState& state, const RenderTarget& renderTarget, const Program& program, VertexPacket* const* vertices, size_t numVertices, VertexPacketAllocator& vpalloc) argument
1405 drawWithGeometryShader(const RenderState& state, const RenderTarget& renderTarget, const Program& program, std::vector<typename PrimitiveTypeTraits<DrawPrimitiveType>::Type>& input, DrawContext& drawContext) argument
1473 drawAsPrimitives(const RenderState& state, const RenderTarget& renderTarget, const Program& program, VertexPacket* const* vertices, int numVertices, DrawContext& drawContext, VertexPacketAllocator& vpalloc) argument
[all...]
H A DrrRenderer.hpp113 , program (program_)
122 const Program& program; member in class:rr::DrawCommand
/external/deqp/modules/egl/
H A DteglGLES2SharedRenderingPerfTests.cpp420 GLuint program = gl.createProgram(); local
422 gl.attachShader(program, vertexShader);
424 gl.attachShader(program, fragmentShader);
427 gl.linkProgram(program);
433 gl.getProgramiv(program, GL_LINK_STATUS, &status);
441 gl.getProgramInfoLog(program, 0, &length, NULL);
445 gl.getProgramInfoLog(program, (GLsizei)log.size(), &length, &(log[0]));
457 return program;
1039 log << TestLog::Message << "Shared program." << TestLog::EndMessage;
1376 // Add shared program test
[all...]
H A DteglGLES2SharingTests.cpp396 Program program(vertexShader, fragmentShader);
398 if (!program.isOk())
399 TCU_FAIL("Failed to compile shader program");
442 GLU_CHECK_CALL(glUseProgram(program.getProgram()));
444 GLuint gridLocation = glGetAttribLocation(program.getProgram(), "a_pos");
448 GLuint colorLocation = glGetAttribLocation(program.getProgram(), "a_color");
573 Program program(vertexShader, fragmentShader);
575 if (!program.isOk())
576 TCU_FAIL("Failed to compile shader program");
611 GLU_CHECK_CALL(glUseProgram(program
990 GLuint program = glCreateProgram(); local
1237 TestCaseGroup* program = new TestCaseGroup(m_eglTestCtx, "program", "Program creation, destruction and rendering test"); local
[all...]
H A DteglGLES2SharingThreadedTests.cpp99 void addProgram (SharedPtr<Program> program) { m_programs.push_back(program); } argument
138 SharedPtr<Program> program = m_programs[index]; local
142 return program;
1467 GLuint program; member in class:deqp::egl::GLES2ThreadTest::Program
1475 , program (0)
1484 CreateProgram (SharedPtr<Program>& program, bool useSync, bool serverSync);
1491 CreateProgram::CreateProgram (SharedPtr<Program>& program, bool useSync, bool serverSync) argument
1494 program = SharedPtr<Program>(new Program(getEvent(), getSync()));
1495 m_program = program;
1500 GLuint program = 0; local
1520 DeleteProgram(SharedPtr<Program> program, bool useSync, bool serverSync) argument
1529 GLuint program = m_program->program; local
1549 AttachShader(SharedPtr<Program> program, SharedPtr<Shader> shader, bool useSync, bool serverSync) argument
1590 DetachShader(SharedPtr<Program> program, GLenum type, bool useSync, bool serverSync) argument
1641 LinkProgram(SharedPtr<Program> program, bool useSync, bool serverSync) argument
1651 GLuint program = m_program->program; local
1669 RenderBuffer(SharedPtr<Program> program, SharedPtr<Buffer> buffer, bool useSync, bool serverSync) argument
1737 RenderTexture(SharedPtr<Program> program, SharedPtr<Texture> texture, bool useSync, bool serverSync) argument
2404 SharedPtr<GLES2ThreadTest::Program> program = m_threads[threadNdx]->context->resourceManager->getProgram(programNdx); local
2728 SharedPtr<GLES2ThreadTest::Program> program; local
2740 SharedPtr<GLES2ThreadTest::Program> program = m_threads[threadNdx]->context->resourceManager->popProgram(attachProgramNdx); local
2752 SharedPtr<GLES2ThreadTest::Program> program = m_threads[threadNdx]->context->resourceManager->popProgram(detachableProgramNdx); local
2760 SharedPtr<GLES2ThreadTest::Program> program = m_threads[threadNdx]->context->resourceManager->popProgram(linkableProgramNdx); local
3117 SharedPtr<GLES2ThreadTest::Program> program; local
3204 SharedPtr<GLES2ThreadTest::Program> program; local
3308 SharedPtr<GLES2ThreadTest::Program> program; local
3528 SharedPtr<GLES2ThreadTest::Program> program; local
[all...]
H A DteglNativeColorMappingTests.cpp99 deUint32 program = 0; local
112 program = gl.createProgram();
116 GLU_EXPECT_NO_ERROR(gl.getError(), "Failed to create shaders and program");
154 gl.attachShader(program, vertexShader);
155 gl.attachShader(program, fragmentShader);
156 gl.linkProgram(program);
157 GLU_EXPECT_NO_ERROR(gl.getError(), "Failed to setup program");
162 gl.getProgramiv(program, GL_LINK_STATUS, &linkStatus);
163 gl.getProgramiv(program, GL_INFO_LOG_LENGTH, &infoLogLength);
167 gl.getProgramInfoLog(program, (gl
214 render(const glw::Functions& gl, deUint32 program, const tcu::Vec4& color) argument
322 deUint32 program = 0; local
364 deUint32 program = 0; local
404 deUint32 program = 0; local
[all...]
H A DteglNativeCoordMappingTests.cpp99 deUint32 program = 0; local
112 program = gl.createProgram();
116 GLU_EXPECT_NO_ERROR(gl.getError(), "Failed to create shaders and program");
154 gl.attachShader(program, vertexShader);
155 gl.attachShader(program, fragmentShader);
156 gl.linkProgram(program);
157 GLU_EXPECT_NO_ERROR(gl.getError(), "Failed to setup program");
162 gl.getProgramiv(program, GL_LINK_STATUS, &linkStatus);
163 gl.getProgramiv(program, GL_INFO_LOG_LENGTH, &infoLogLength);
167 gl.getProgramInfoLog(program, (gl
224 render(const glw::Functions& gl, deUint32 program, int targetWidth, int targetHeight, int x, int y, int width, int height) argument
369 deUint32 program = 0; local
415 deUint32 program = 0; local
459 deUint32 program = 0; local
[all...]

Completed in 387 milliseconds

1234567891011>>