Home
last modified time | relevance | path

Searched refs:program (Results 1 – 25 of 2750) sorted by relevance

12345678910>>...110

/external/mesa3d/src/mesa/program/
Darbprogparse.c70 struct gl_program *program) in _mesa_parse_arb_fragment_program() argument
88 ralloc_free(program->String); in _mesa_parse_arb_fragment_program()
93 program->String = prog.String; in _mesa_parse_arb_fragment_program()
94 program->arb.NumInstructions = prog.arb.NumInstructions; in _mesa_parse_arb_fragment_program()
95 program->arb.NumTemporaries = prog.arb.NumTemporaries; in _mesa_parse_arb_fragment_program()
96 program->arb.NumParameters = prog.arb.NumParameters; in _mesa_parse_arb_fragment_program()
97 program->arb.NumAttributes = prog.arb.NumAttributes; in _mesa_parse_arb_fragment_program()
98 program->arb.NumAddressRegs = prog.arb.NumAddressRegs; in _mesa_parse_arb_fragment_program()
99 program->arb.NumNativeInstructions = prog.arb.NumNativeInstructions; in _mesa_parse_arb_fragment_program()
100 program->arb.NumNativeTemporaries = prog.arb.NumNativeTemporaries; in _mesa_parse_arb_fragment_program()
[all …]
/external/python/cpython2/Lib/unittest/test/
Dtest_program.py50 program = unittest.TestProgram(testRunner=runner, exit=False, verbosity=2)
52 self.assertEqual(program.result, result)
54 self.assertEqual(program.verbosity, 2)
70 program = unittest.main(exit=False,
74 self.assertTrue(hasattr(program, 'result'))
128 self.program = InitialisableProgram()
129 self.program.createTests = lambda: None
135 program = self.program
137 program.msg = msg
138 program.exit = True
[all …]
Dtest_discovery.py204 program = object.__new__(unittest.TestProgram)
209 program._do_discovery = do_discovery
210 program.parseArgs(['something', 'discover'])
213 program.parseArgs(['something', 'discover', 'foo', 'bar'])
222 program = object.__new__(unittest.TestProgram)
223 program.usageExit = usageExit
224 program.testLoader = None
228 program._do_discovery(['one', 'two', 'three', 'four'])
232 program = object.__new__(unittest.TestProgram)
240 program.testLoader = Loader()
[all …]
/external/llvm/utils/
Dcheck-each-file9 program=$2
10 linker=./link-$program
11 echo "Building $program with llvm-native-gcc"
12 rm -f $program
13 gmake -e $program CC=llvm-native-gcc CXX=llvm-native-gxx
14 echo "Erasing $program and re-linking it"
15 rm -f $program
16 echo "rm -f $program" > $linker
17 gmake -n $program >> $linker
23 echo "$program appears to need a dummy __main function; adding one"
[all …]
/external/swiftshader/third_party/LLVM/utils/
Dcheck-each-file9 program=$2
10 linker=./link-$program
11 echo "Building $program with llvm-native-gcc"
12 rm -f $program
13 gmake -e $program CC=llvm-native-gcc CXX=llvm-native-gxx
14 echo "Erasing $program and re-linking it"
15 rm -f $program
16 echo "rm -f $program" > $linker
17 gmake -n $program >> $linker
23 echo "$program appears to need a dummy __main function; adding one"
[all …]
/external/elfutils/libdw/
Dcfi.c105 const uint8_t *program, const uint8_t *const end, bool abi_cfi, in execute_cfi() argument
128 while (program < end) in execute_cfi()
130 uint8_t opcode = *program++; in execute_cfi()
140 operand = *program++; in execute_cfi()
147 cfi_assert (program + 2 <= end); in execute_cfi()
148 operand = read_2ubyte_unaligned_inc (cache, program); in execute_cfi()
151 cfi_assert (program + 4 <= end); in execute_cfi()
152 operand = read_4ubyte_unaligned_inc (cache, program); in execute_cfi()
155 cfi_assert (program + 8 <= end); in execute_cfi()
156 operand = read_8ubyte_unaligned_inc (cache, program); in execute_cfi()
[all …]
/external/deqp/modules/gles2/functional/
Des2fNegativeShaderApiTests.cpp101 GLuint program = glCreateProgram(); in init()
102 glShaderSource(program, 0, 0, 0); in init()
106 glDeleteProgram(program); in init()
124 GLuint program = glCreateProgram(); in init()
125 glCompileShader(program); in init()
129 glDeleteProgram(program); in init()
152 GLuint program = glCreateProgram(); in init()
176 glShaderBinary(1, &program, binaryFormats[0], 0, 0); in init()
190 glDeleteProgram(program); in init()
198 GLuint program = glCreateProgram(); in init()
[all …]
Des2fShaderStateQueryTests.cpp108 bool verifyProgramParam (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLuint program, GLenum… in verifyProgramParam() argument
111 gl.glGetProgramiv(program, pname, &state); in verifyProgramParam()
198 void verifyUniformValue1f (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLuint program, GLin… in verifyUniformValue1f() argument
203 gl.glGetUniformfv(program, location, state); in verifyUniformValue1f()
223 void verifyUniformValue2f (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLuint program, GLin… in verifyUniformValue2f() argument
228 gl.glGetUniformfv(program, location, state); in verifyUniformValue2f()
251 void verifyUniformValue3f (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLuint program, GLin… in verifyUniformValue3f() argument
256 gl.glGetUniformfv(program, location, state); in verifyUniformValue3f()
282 void verifyUniformValue4f (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLuint program, GLin… in verifyUniformValue4f() argument
287 gl.glGetUniformfv(program, location, state); in verifyUniformValue4f()
[all …]
/external/deqp/framework/opengl/
DgluProgramInterfaceQuery.cpp33 deUint32 getProgramResourceUint (const glw::Functions& gl, deUint32 program, deUint32 programInterf… in getProgramResourceUint() argument
36 …gl.getProgramResourceiv(program, programInterface, index, 1, &queryParam, 1, DE_NULL, (int*)&value… in getProgramResourceUint()
41 void getProgramResourceName (const glw::Functions& gl, deUint32 program, deUint32 programInterface,… in getProgramResourceName() argument
43 const int length = getProgramResourceInt(gl, program, programInterface, index, GL_NAME_LENGTH); in getProgramResourceName()
48 gl.getProgramResourceName(program, programInterface, index, (int)buf.size(), DE_NULL, &buf[0]); in getProgramResourceName()
61 static void getProgramInterfaceActiveVariables (const glw::Functions& gl, deUint32 program, deUint3… in getProgramInterfaceActiveVariables() argument
63 …const int numActiveVariables = getProgramResourceInt(gl, program, programInterface, index, GL_NUM_… in getProgramInterfaceActiveVariables()
69 …gl.getProgramResourceiv(program, programInterface, index, 1, &queryParam, (int)activeVariables.siz… in getProgramInterfaceActiveVariables()
74 void getProgramInterfaceBlockInfo (const glw::Functions& gl, deUint32 program, deUint32 programInte… in getProgramInterfaceBlockInfo() argument
77 …info.bufferBinding = getProgramResourceUint(gl, program, programInterface, index, GL_BUFFER_BINDIN… in getProgramInterfaceBlockInfo()
[all …]
DgluProgramInterfaceQuery.hpp89 int getProgramResourceInt (const glw::Functions& gl, deUint32 program, deUint32 programInter…
90 deUint32 getProgramResourceUint (const glw::Functions& gl, deUint32 program, deUint32 programI…
92 void getProgramResourceName (const glw::Functions& gl, deUint32 program, deUint32 programInte…
93 std::string getProgramResourceName (const glw::Functions& gl, deUint32 program, deUint32 progr…
95 void getProgramInterfaceBlockInfo (const glw::Functions& gl, deUint32 program, deUint32 program…
96 InterfaceBlockInfo getProgramInterfaceBlockInfo (const glw::Functions& gl, deUint32 program, deUin…
98 void getProgramInterfaceVariableInfo (const glw::Functions& gl, deUint32 program, deUint32 prog…
99 InterfaceVariableInfo getProgramInterfaceVariableInfo (const glw::Functions& gl, deUint32 program, …
103 inline int getProgramResourceInt (const glw::Functions& gl, deUint32 program, deUint32 programInter… in getProgramResourceInt() argument
105 return (int)getProgramResourceUint(gl, program, programInterface, index, queryParam); in getProgramResourceInt()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i915/
Di915_debug_fp.c242 print_arith_op(GLuint opcode, const GLuint * program) in print_arith_op() argument
245 print_dest_reg(program[0]); in print_arith_op()
246 if (program[0] & A0_DEST_SATURATE) in print_arith_op()
254 print_src_reg(GET_SRC0_REG(program[0], program[1])); in print_arith_op()
261 print_src_reg(GET_SRC1_REG(program[1], program[2])); in print_arith_op()
268 print_src_reg(GET_SRC2_REG(program[2])); in print_arith_op()
275 print_tex_op(GLuint opcode, const GLuint * program) in print_tex_op() argument
277 print_dest_reg(program[0] | A0_DEST_CHANNEL_ALL); in print_tex_op()
282 printf("S[%d],", program[0] & T0_SAMPLER_NR_MASK); in print_tex_op()
284 print_reg_type_nr((program[1] >> T1_ADDRESS_REG_TYPE_SHIFT) & in print_tex_op()
[all …]
/external/mesa3d/src/mesa/main/
Duniforms.h116 _mesa_ProgramUniform1f(GLuint program, GLint, GLfloat);
118 _mesa_ProgramUniform2f(GLuint program, GLint, GLfloat, GLfloat);
120 _mesa_ProgramUniform3f(GLuint program, GLint, GLfloat, GLfloat, GLfloat);
122 _mesa_ProgramUniform4f(GLuint program, GLint, GLfloat, GLfloat, GLfloat, GLfloat);
124 _mesa_ProgramUniform1i(GLuint program, GLint, GLint);
126 _mesa_ProgramUniform2i(GLuint program, GLint, GLint, GLint);
128 _mesa_ProgramUniform3i(GLuint program, GLint, GLint, GLint, GLint);
130 _mesa_ProgramUniform4i(GLuint program, GLint, GLint, GLint, GLint, GLint);
132 _mesa_ProgramUniform1fv(GLuint program, GLint, GLsizei, const GLfloat *);
134 _mesa_ProgramUniform2fv(GLuint program, GLint, GLsizei, const GLfloat *);
[all …]
Duniforms.c288 _mesa_ProgramUniform1f(GLuint program, GLint location, GLfloat v0) in _mesa_ProgramUniform1f() argument
292 _mesa_lookup_shader_program_err(ctx, program, in _mesa_ProgramUniform1f()
298 _mesa_ProgramUniform2f(GLuint program, GLint location, GLfloat v0, GLfloat v1) in _mesa_ProgramUniform2f() argument
305 shProg = _mesa_lookup_shader_program_err(ctx, program, "glProgramUniform2f"); in _mesa_ProgramUniform2f()
310 _mesa_ProgramUniform3f(GLuint program, GLint location, GLfloat v0, GLfloat v1, in _mesa_ProgramUniform3f() argument
319 shProg = _mesa_lookup_shader_program_err(ctx, program, "glProgramUniform3f"); in _mesa_ProgramUniform3f()
324 _mesa_ProgramUniform4f(GLuint program, GLint location, GLfloat v0, GLfloat v1, in _mesa_ProgramUniform4f() argument
334 shProg = _mesa_lookup_shader_program_err(ctx, program, "glProgramUniform4f"); in _mesa_ProgramUniform4f()
339 _mesa_ProgramUniform1i(GLuint program, GLint location, GLint v0) in _mesa_ProgramUniform1i() argument
343 _mesa_lookup_shader_program_err(ctx, program, in _mesa_ProgramUniform1i()
[all …]
/external/mesa3d/src/gallium/drivers/i915/
Di915_debug_fp.c258 unsigned opcode, const unsigned * program) in print_arith_op() argument
261 print_dest_reg(stream, program[0]); in print_arith_op()
262 if (program[0] & A0_DEST_SATURATE) in print_arith_op()
270 print_src_reg(stream, GET_SRC0_REG(program[0], program[1])); in print_arith_op()
277 print_src_reg(stream, GET_SRC1_REG(program[1], program[2])); in print_arith_op()
284 print_src_reg(stream, GET_SRC2_REG(program[2])); in print_arith_op()
292 unsigned opcode, const unsigned * program) in print_tex_op() argument
294 print_dest_reg(stream, program[0] | A0_DEST_CHANNEL_ALL); in print_tex_op()
299 PRINTF(stream, "S[%d],", program[0] & T0_SAMPLER_NR_MASK); in print_tex_op()
302 (program[1] >> T1_ADDRESS_REG_TYPE_SHIFT) & in print_tex_op()
[all …]
/external/deqp/modules/gles31/functional/
Des31fProgramStateQueryTests.cpp132 glu::ShaderProgram program (m_context.getRenderContext(), glu::ProgramSources() in iterate() local
137 TCU_CHECK_MSG(program.isOk(), "Compile failed"); in iterate()
139 m_testCtx.getLog() << program; in iterate()
141 …verifyStateProgramInteger(result, gl, program.getProgram(), GL_GEOMETRY_VERTICES_OUT, 3, m_verifie… in iterate()
142 …verifyStateProgramInteger(result, gl, program.getProgram(), GL_GEOMETRY_INPUT_TYPE, GL_TRIANGLES, … in iterate()
143 …verifyStateProgramInteger(result, gl, program.getProgram(), GL_GEOMETRY_OUTPUT_TYPE, GL_TRIANGLE_S… in iterate()
144 …verifyStateProgramInteger(result, gl, program.getProgram(), GL_GEOMETRY_SHADER_INVOCATIONS, 1, m_v… in iterate()
149 glu::ShaderProgram program (m_context.getRenderContext(), glu::ProgramSources() in iterate() local
154 TCU_CHECK_MSG(program.isOk(), "Compile failed"); in iterate()
156 m_testCtx.getLog() << program; in iterate()
[all …]
Des31fNegativeShaderApiTests.cpp117 GLuint program = ctx.glCreateProgram(); in shader_source() local
118 ctx.glShaderSource(program, 0, 0, 0); in shader_source()
122 ctx.glDeleteProgram(program); in shader_source()
137 GLuint program = ctx.glCreateProgram(); in compile_shader() local
138 ctx.glCompileShader(program); in compile_shader()
142 ctx.glDeleteProgram(program); in compile_shader()
236 GLuint program = ctx.glCreateProgram(); in attach_shader() local
250 ctx.glAttachShader(program, program); in attach_shader()
252 ctx.glAttachShader(shader1, program); in attach_shader()
257 ctx.glAttachShader(program, notAShader); in attach_shader()
[all …]
/external/deqp/modules/gles3/functional/
Des3fNegativeShaderApiTests.cpp119 GLuint program = glCreateProgram(); in init()
120 glShaderSource(program, 0, 0, 0); in init()
124 glDeleteProgram(program); in init()
137 GLuint program = glCreateProgram(); in init()
138 glCompileShader(program); in init()
142 glDeleteProgram(program); in init()
191 GLuint program = glCreateProgram(); in init()
199 glAttachShader(program, program); in init()
201 glAttachShader(shader1, program); in init()
206 glAttachShader(program, -1); in init()
[all …]
Des3fShaderStateQueryTests.cpp111 bool verifyProgramParam (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLuint program, GLenum… in verifyProgramParam() argument
114 gl.glGetProgramiv(program, pname, &state); in verifyProgramParam()
119 void verifyActiveUniformParam (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLuint program,… in verifyActiveUniformParam() argument
122 gl.glGetActiveUniformsiv(program, 1, &index, pname, &state); in verifyActiveUniformParam()
128 …mBlockParam (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLuint program, GLuint blockInde… in verifyActiveUniformBlockParam() argument
131 gl.glGetActiveUniformBlockiv(program, blockIndex, pname, &state); in verifyActiveUniformBlockParam()
257 void verifyUniformValue1f (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLuint program, GLin… in verifyUniformValue1f() argument
262 gl.glGetUniformfv(program, location, state); in verifyUniformValue1f()
282 void verifyUniformValue2f (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLuint program, GLin… in verifyUniformValue2f() argument
287 gl.glGetUniformfv(program, location, state); in verifyUniformValue2f()
[all …]
Des3fShaderApiTests.cpp188 void drawWithProgram (glu::RenderContext& renderCtx, deUint32 program) in drawWithProgram() argument
201 gl.useProgram(program); in drawWithProgram()
208 …glu::draw(renderCtx, program, DE_LENGTH_OF_ARRAY(vertexArrays), &vertexArrays[0], glu::pr::Triangl… in drawWithProgram()
348 void logProgram (TestLog& log, glu::RenderContext& renderCtx, glu::Program& program, ShaderAllocato… in logProgram() argument
350 log << TestLog::ShaderProgram(program.getLinkStatus(), program.getInfoLog()); in logProgram()
363 void logVertexFragmentProgram (TestLog& log, glu::RenderContext& renderCtx, glu::Program& program, … in logVertexFragmentProgram() argument
367 log << TestLog::ShaderProgram(program.getLinkStatus(), program.getInfoLog()); in logVertexFragmentProgram()
482 const GLuint program = glCreateProgram(); in linkProgram() local
484 TCU_CHECK(program != 0); in linkProgram()
486 glAttachShader(program, m_vertShader); in linkProgram()
[all …]
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
DGlShader.java59 private int program; field in GlShader
64 program = GLES20.glCreateProgram(); in GlShader()
65 if (program == 0) { in GlShader()
68 GLES20.glAttachShader(program, vertexShader); in GlShader()
69 GLES20.glAttachShader(program, fragmentShader); in GlShader()
70 GLES20.glLinkProgram(program); in GlShader()
74 GLES20.glGetProgramiv(program, GLES20.GL_LINK_STATUS, linkStatus, 0); in GlShader()
77 GLES20.glGetProgramInfoLog(program)); in GlShader()
78 throw new RuntimeException(GLES20.glGetProgramInfoLog(program)); in GlShader()
84 if (program == -1) { in getAttribLocation()
[all …]
/external/autotest/client/site_tests/graphics_SanAngeles/src/
Dshader.c60 GLuint program = glCreateProgram(); in createProgram() local
61 if (program == 0) in createProgram()
67 glDeleteProgram(program); in createProgram()
70 glAttachShader(program, shaderVertex); in createProgram()
76 glDeleteProgram(program); in createProgram()
79 glAttachShader(program, shaderFragment); in createProgram()
82 glLinkProgram(program); in createProgram()
83 return program; in createProgram()
110 glGetAttribLocation(sShader##programName.program, #varName); \ in getLocations()
114 glGetUniformLocation(sShader##programName.program, #varName); \ in getLocations()
[all …]
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_compute.c67 const struct si_compute *program, in si_compute_get_code_object() argument
70 if (!program->use_code_object_v2) { in si_compute_get_code_object()
74 (program->shader.binary.code + symbol_offset); in si_compute_get_code_object()
98 struct si_compute *program = CALLOC_STRUCT(si_compute); in si_create_compute_state() local
99 struct si_shader *shader = &program->shader; in si_create_compute_state()
102 program->ir_type = cso->ir_type; in si_create_compute_state()
103 program->local_size = cso->req_local_mem; in si_create_compute_state()
104 program->private_size = cso->req_private_mem; in si_create_compute_state()
105 program->input_size = cso->req_input_mem; in si_create_compute_state()
106 program->use_code_object_v2 = HAVE_LLVM >= 0x0400 && in si_create_compute_state()
[all …]
/external/autotest/client/deps/glbench/src/
Dvaryingsandddxytest.cc125 GLuint program = in VaryingsShaderProgram() local
128 int attribute_index = glGetAttribLocation(program, "c"); in VaryingsShaderProgram()
133 return program; in VaryingsShaderProgram()
152 GLuint program = in DdxDdyShaderProgram() local
156 int attribute_index = glGetAttribLocation(program, "c"); in DdxDdyShaderProgram()
161 return program; in DdxDdyShaderProgram()
183 GLuint program = VaryingsShaderProgram(1, vertex_buffer); in Run() local
186 glDeleteProgram(program); in Run()
188 program = VaryingsShaderProgram(2, vertex_buffer); in Run()
191 glDeleteProgram(program); in Run()
[all …]
/external/fonttools/Lib/fontTools/ttLib/tables/
D_f_p_g_m.py9 program = ttProgram.Program()
10 program.fromBytecode(data)
11 self.program = program
14 return self.program.getBytecode()
17 self.program.toXML(writer, ttFont)
21 program = ttProgram.Program()
22 program.fromXML(name, attrs, content, ttFont)
23 self.program = program
26 return len(self.program)
/external/mesa3d/src/gallium/state_trackers/clover/core/
Dprogram.cpp29 program::program(clover::context &ctx, const std::string &source) : in program() function in program
33 program::program(clover::context &ctx, in program() function in program
45 program::compile(const ref_vector<device> &devs, const std::string &opts, in compile()
68 program::link(const ref_vector<device> &devs, const std::string &opts, in link()
69 const ref_vector<program> &progs) { in link()
73 const std::vector<module> ms = map([&](const program &prog) { in link()
92 program::source() const { in source()
96 program::device_range
97 program::devices() const { in devices()
102 program::build::status() const { in status()
[all …]

12345678910>>...110