/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/ |
H A D | CLProgramImpl.cpp | 13 CLProgramImpl::CLProgramImpl(const cl::Program &program) : mProgram(program) {} in CLProgramImpl() argument
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
H A D | CLProgramVk.cpp | 13 CLProgramVk::CLProgramVk(const cl::Program &program) : CLProgramImpl(program) {} in CLProgramVk() argument
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fProgramInterfaceQueryTests.cpp | 547 de::MovePtr<ProgramInterfaceDefinition::Program> program (new ProgramInterfaceDefinition::Program()); 738 ProgramInterfaceDefinition::Shader* shader = program->addShader(shaderDef->m_type, shaderDef->m_version); 752 ProgramInterfaceDefinition::Shader* shader = program->addShader((glu::ShaderType)shaderType, shaderDef->m_version); 765 program->setSeparable(programDef->m_separable); 779 program->addTransformFeedbackVarying(buf.str()); 780 program->setTransformFeedbackMode(GL_INTERLEAVED_ATTRIBS); 818 program->addShader(shaderDef->m_type, shaderDef->m_version); 828 program->addShader((glu::ShaderType)shaderType, shaderDef->m_version); 836 program->setSeparable(programDef->m_separable); 839 program [all...] |
H A D | es31fFboNoAttachmentTests.cpp | 87 const glu::ShaderProgram program (renderCtx, glu::makeVtxFragSources(vertexSource, fragmentSource)); in checkFramebufferSize() 93 if (!program.isOk()) in checkFramebufferSize() 94 log << program; in checkFramebufferSize() local 96 TCU_CHECK(program.isOk()); in checkFramebufferSize() 98 gl.useProgram(program.getProgram()); in checkFramebufferSize() 192 const glu::ShaderProgram program (renderCtx, glu::makeVtxFragSources(vertexSource, fragmentSource)); in checkFramebufferRenderable() 195 if (!program.isOk()) in checkFramebufferRenderable() 196 log << program; in checkFramebufferRenderable() local 198 TCU_CHECK(program.isOk()); in checkFramebufferRenderable() 200 gl.useProgram(program in checkFramebufferRenderable() [all...] |
H A D | es31fIndirectComputeDispatchTests.cpp | 55 // - no active shader program 65 // - compute program overwiting buffer 242 glu::ShaderProgram program (m_context.getRenderContext(), glu::ProgramSources() << glu::ComputeSource(src.str())); in createCmdBufferCompute() 244 m_testCtx.getLog() << program; in createCmdBufferCompute() 245 if (!program.isOk()) in createCmdBufferCompute() 248 gl.useProgram(program.getProgram()); in createCmdBufferCompute() 344 const glu::ShaderProgram program (renderCtx, genVerifySources(m_workGroupSize)); in iterate() 349 m_testCtx.getLog() << program; in iterate() 350 TCU_CHECK_MSG(program.isOk(), "Compile failed"); in iterate() 365 gl.useProgram(program in iterate() [all...] |
H A D | es31fShaderSharedVarTests.cpp | 178 const deUint32 program = m_program->getProgram(); in iterate() local 180 const deUint32 outBlockNdx = gl.getProgramResourceIndex(program, GL_SHADER_STORAGE_BLOCK, "Result"); in iterate() 181 const InterfaceBlockInfo outBlockInfo = getProgramInterfaceBlockInfo(gl, program, GL_SHADER_STORAGE_BLOCK, outBlockNdx); in iterate() 183 gl.useProgram(program); in iterate() 188 const int valLoc = gl.getUniformLocation(program, "u_val[0]"); in iterate() 189 const int refLoc = gl.getUniformLocation(program, "u_ref[0]"); in iterate() 190 const int iterCountLoc = gl.getUniformLocation(program, "u_numIters"); in iterate() 317 const InterfaceVariableInfo outVarInfo = getProgramInterfaceVariableInfo(gl, program, GL_BUFFER_VARIABLE, outBlockInfo.activeVariables[0]); in iterate()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
H A D | StateManagerGL.cpp | 219 void StateManagerGL::deleteProgram(GLuint program) in deleteProgram() argument 221 if (program != 0) in deleteProgram() 223 if (mProgram == program) in deleteProgram() 228 mFunctions->deleteProgram(program); in deleteProgram() 394 void StateManagerGL::useProgram(GLuint program) in useProgram() argument 396 if (mProgram != program) in useProgram() 398 forceUseProgram(program); in useProgram() 402 void StateManagerGL::forceUseProgram(GLuint program) in forceUseProgram() argument 404 mProgram = program; in forceUseProgram() 911 // It is possible there is no active program durin in updateProgramTextureBindings() 950 const gl::Program *program = glState.getProgram(); updateProgramStorageBufferBindings() local 979 const gl::Program *program = glState.getProgram(); updateProgramUniformBufferBindings() local 1007 const gl::Program *program = glState.getProgram(); updateProgramAtomicCounterBufferBindings() local 1035 const gl::Program *program = glState.getProgram(); updateProgramImageBindings() local [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcTextureFilterAnisotropicTests.cpp | 645 ShaderProgram program(gl, sources); in drawTexture() 647 if (!program.isOk()) in drawTexture() 650 << "Vertex: " << program.getShaderInfo(SHADERTYPE_VERTEX).infoLog << "\n" in drawTexture() 652 << "Fragment: " << program.getShaderInfo(SHADERTYPE_FRAGMENT).infoLog << "\n" in drawTexture() 654 << "Program: " << program.getProgramInfo().infoLog << tcu::TestLog::EndMessage; in drawTexture() 688 gl.useProgram(program.getProgram()); in drawTexture() 691 GLuint matrixLocation = gl.getUniformLocation(program.getProgram(), "projectionMatrix"); in drawTexture() 692 GLuint texLocation = gl.getUniformLocation(program.getProgram(), "tex"); in drawTexture() 716 GLint attrLocationVertex = gl.getAttribLocation(program.getProgram(), "vertex"); in drawTexture() 718 GLint attrLocationInTexCoord = gl.getAttribLocation(program in drawTexture() [all...] |
H A D | glcNearestEdgeTests.cpp | 330 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(m_vertShaderText, m_fragShaderText)); in renderQuad() 331 if (!program.isOk()) in renderQuad() 334 gl.useProgram(program.getProgram()); in renderQuad() 337 gl.uniform1i(gl.getUniformLocation(program.getProgram(), "texSampler"), 0); in renderQuad() 340 gl.uniform1f(gl.getUniformLocation(program.getProgram(), "texOffset"), m_offsetSign * offset); in renderQuad() 341 gl.uniform1f(gl.getUniformLocation(program.getProgram(), "texWidth"), float(m_width)); in renderQuad() 342 gl.uniform1f(gl.getUniformLocation(program.getProgram(), "texHeight"), float(m_height)); in renderQuad() 348 glu::draw(renderContext, program.getProgram(), in renderQuad()
|
/third_party/glfw/tests/ |
H A D | cursor.c | 333 GLuint vertex_buffer, vertex_shader, fragment_shader, program; in main() local 400 program = glCreateProgram(); in main() 401 glAttachShader(program, vertex_shader); in main() 402 glAttachShader(program, fragment_shader); in main() 403 glLinkProgram(program); in main() 405 mvp_location = glGetUniformLocation(program, "MVP"); in main() 406 vpos_location = glGetAttribLocation(program, "vPos"); in main() 411 glUseProgram(program); in main()
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | TimerQueriesTest.cpp | 324 GLuint program; in TEST_P() member 328 ContextInfo() : context(EGL_NO_CONTEXT), program(0), query(0), display(EGL_NO_DISPLAY) {} in TEST_P() 363 contexts[0].program = CompileProgram(essl1_shaders::vs::Simple(), essl1_shaders::fs::Red()); in TEST_P() 372 contexts[1].program = CompileProgram(kCostlyVS, kCostlyFS); in TEST_P() 379 drawQuad(contexts[0].program, essl1_shaders::PositionAttrib(), 0.8f); in TEST_P() 385 drawQuad(contexts[1].program, "position", 0.8f); in TEST_P() 397 glDeleteProgram(contexts[0].program); in TEST_P() 404 glDeleteProgram(contexts[1].program); in TEST_P()
|
H A D | TextureRectangleTest.cpp | 308 ANGLE_GL_PROGRAM(program, essl1_shaders::vs::Simple(), kFS); in TEST_P() 309 glUseProgram(program); in TEST_P() 311 GLint location = glGetUniformLocation(program, "tex"); in TEST_P() 317 drawQuad(program, essl1_shaders::PositionAttrib(), 0.5f, 1.0f, false); in TEST_P() 343 ANGLE_GL_PROGRAM(program, essl3_shaders::vs::Simple(), kFS); in TEST_P() 344 glUseProgram(program); in TEST_P() 346 GLint location = glGetUniformLocation(program, "tex"); in TEST_P() 352 drawQuad(program, essl3_shaders::PositionAttrib(), 0.5f, 1.0f, false); in TEST_P()
|
/third_party/skia/include/effects/ |
H A D | SkRuntimeEffect.h | 161 static Result MakeForColorFilter(std::unique_ptr<SkSL::Program> program, const Options&); 162 static Result MakeForColorFilter(std::unique_ptr<SkSL::Program> program); 164 static Result MakeForShader(std::unique_ptr<SkSL::Program> program, const Options&); 165 static Result MakeForShader(std::unique_ptr<SkSL::Program> program); 167 static Result MakeForBlender(std::unique_ptr<SkSL::Program> program, const Options&); 168 static Result MakeForBlender(std::unique_ptr<SkSL::Program> program); 255 static Result MakeFromDSL(std::unique_ptr<SkSL::Program> program, 259 static Result MakeInternal(std::unique_ptr<SkSL::Program> program,
|
/third_party/vk-gl-cts/modules/gles2/accuracy/ |
H A D | es2aVaryingInterpolationTests.cpp | 188 glu::ShaderProgram program(m_context.getRenderContext(), in iterate() 191 log << program; in iterate() local 192 if (!program.isOk()) in iterate() 239 const int posLoc = glGetAttribLocation(program.getProgram(), "a_position"); in iterate() 240 const int coordLoc = glGetAttribLocation(program.getProgram(), "a_coords"); in iterate() 249 glUseProgram(program.getProgram()); in iterate() 250 glUniform3f(glGetUniformLocation(program.getProgram(), "u_scale"), scale.x(), scale.y(), scale.z()); in iterate() 251 glUniform3f(glGetUniformLocation(program.getProgram(), "u_bias"), bias.x(), bias.y(), bias.z()); in iterate() 253 GLU_CHECK_MSG("After program setup"); in iterate()
|
/third_party/vk-gl-cts/modules/gles3/accuracy/ |
H A D | es3aVaryingInterpolationTests.cpp | 194 glu::ShaderProgram program(m_context.getRenderContext(), in iterate() 197 log << program; in iterate() local 198 if (!program.isOk()) in iterate() 245 const int posLoc = glGetAttribLocation(program.getProgram(), "a_position"); in iterate() 246 const int coordLoc = glGetAttribLocation(program.getProgram(), "a_coords"); in iterate() 255 glUseProgram(program.getProgram()); in iterate() 256 glUniform3f(glGetUniformLocation(program.getProgram(), "u_scale"), scale.x(), scale.y(), scale.z()); in iterate() 257 glUniform3f(glGetUniformLocation(program.getProgram(), "u_bias"), bias.x(), bias.y(), bias.z()); in iterate() 259 GLU_CHECK_MSG("After program setup"); in iterate()
|
/third_party/mesa3d/src/mesa/program/ |
H A D | arbprogparse.h | 37 struct gl_program *program); 42 struct gl_program *program);
|
/third_party/skia/src/gpu/gl/ |
H A D | GrGLVaryingHandler.h | 17 GrGLVaryingHandler(GrGLSLProgramBuilder* program) : INHERITED(program) {} in GrGLVaryingHandler() argument
|
/third_party/skia/src/gpu/mtl/ |
H A D | GrMtlVaryingHandler.h | 15 GrMtlVaryingHandler(GrGLSLProgramBuilder* program) : INHERITED(program) {} in GrMtlVaryingHandler() argument
|
/third_party/skia/src/gpu/vk/ |
H A D | GrVkVaryingHandler.h | 15 GrVkVaryingHandler(GrGLSLProgramBuilder* program) : INHERITED(program) {} in GrVkVaryingHandler() argument
|
/third_party/skia/src/gpu/ |
H A D | GrSPIRVVaryingHandler.h | 19 GrSPIRVVaryingHandler(GrGLSLProgramBuilder* program) : INHERITED(program) {} in GrSPIRVVaryingHandler() argument
|
/third_party/libunwind/libunwind/doc/ |
H A D | libunwind.tex | 69 within a running program. This is called \emph{local} unwinding. Say 87 achieved by making copies of an unwind cursor. For example, a program 93 approach, the program could move one step ``down'' simply by copying 95 extreme case, a program could maintain a separate cursor for each call 115 (IP), sometimes also known as the ``program counter'', and the stack 131 tell libunwind that your program only needs local unwinding, then a 136 \File{$<$libunwind.h$>$}. It is perfectly OK for a single program to 141 the program (normally \Opt{-l}\File{unwind}). Furthermore, the 206 platforms (architectures). Indeed, a single program can use 218 program include [all...] |
/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsLifetimeTests.cpp | 605 void ShaderProgramAttacher::attach (GLuint shader, GLuint program) in attach() argument 608 glAttachShader(program, shader), in attach() 612 void ShaderProgramAttacher::detach (GLuint shader, GLuint program) in detach() argument 615 glDetachShader(program, shader), in detach() 619 GLuint ShaderProgramAttacher::getAttachment (GLuint program) in getAttachment() argument 626 gl().getAttachedShaders(program, shadersLen, &numShaders, shaders); in getAttachment() 669 void ShaderProgramInputAttacher::drawContainer (GLuint program, Surface& dst) in drawContainer() argument 672 Random rnd (program); in drawContainer() 678 gl().attachShader(program, vtxShader.getShader()); in drawContainer() 679 gl().linkProgram(program); in drawContainer() [all...] |
/third_party/vk-gl-cts/framework/opengl/simplereference/ |
H A D | sglrGLContext.cpp | 711 deInt32 GLContext::getAttribLocation (deUint32 program, const char *name) in getAttribLocation() argument 713 return m_wrapper->glGetAttribLocation(program, name); in getAttribLocation() 775 deInt32 GLContext::getUniformLocation (deUint32 program, const char *name) in getUniformLocation() argument 777 return m_wrapper->glGetUniformLocation(program, name); in getUniformLocation() 854 glu::ShaderProgram* program = DE_NULL; in createProgram() local 857 program = new glu::ShaderProgram(m_context, glu::makeVtxFragSources(shader->m_vertSrc, shader->m_fragSrc)); in createProgram() 859 program = new glu::ShaderProgram(m_context, in createProgram() 864 if (!program->isOk()) in createProgram() 866 m_log << *program; in createProgram() local 867 delete program; in createProgram() 872 m_log << *program; createProgram() local 878 deleteProgram(deUint32 program) deleteProgram() argument 893 useProgram(deUint32 program) useProgram() argument [all...] |
/third_party/vk-gl-cts/modules/egl/ |
H A D | teglGLES2SharingTests.cpp | 357 glu::ShaderProgram program(m_gl, glu::makeVtxFragSources(vertexShader, fragmentShader)); in renderResource() 359 if (!program.isOk()) in renderResource() 360 TCU_FAIL("Failed to compile shader program"); in renderResource() 403 GLU_CHECK_GLW_CALL(m_gl, useProgram(program.getProgram())); in renderResource() 405 GLuint gridLocation = m_gl.getAttribLocation(program.getProgram(), "a_pos"); in renderResource() 409 GLuint colorLocation = m_gl.getAttribLocation(program.getProgram(), "a_color"); in renderResource() 536 glu::ShaderProgram program(m_gl, glu::makeVtxFragSources(vertexShader, fragmentShader)); in renderResource() 538 if (!program.isOk()) in renderResource() 539 TCU_FAIL("Failed to compile shader program"); in renderResource() 574 GLU_CHECK_GLW_CALL(m_gl, useProgram(program in renderResource() 1011 GLuint program = m_gl.createProgram(); renderResource() local 1270 TestCaseGroup* program = new TestCaseGroup(m_eglTestCtx, "program", "Program creation, destruction and rendering test"); init() local [all...] |
/third_party/skia/third_party/externals/tint/src/writer/wgsl/ |
H A D | generator.cc | 26 Result Generate(const Program* program, const Options&) { in Generate() argument 30 auto impl = std::make_unique<GeneratorImpl>(program); in Generate()
|