/external/deqp/modules/gles31/functional/ |
H A D | es31fShaderHelperInvocationTests.cpp | 133 static void drawRandomPrimitives (const glu::RenderContext& renderCtx, deUint32 program, PrimitiveType primType, int numPrimitives, de::Random* rnd) argument 147 gl.useProgram(program); 155 const int pointSizeLoc = gl.getUniformLocation(program, "u_pointSize"); 167 glu::draw(renderCtx, program, (int)vertexArrays.size(), &vertexArrays[0],
|
H A D | es31fTextureSpecificationTests.cpp | 117 void renderTex (tcu::Surface& dst, deUint32 program, int width, int height); 186 void TextureSpecCase::renderTex (tcu::Surface& dst, deUint32 program, int width, int height) argument 194 sglr::drawQuad(*getCurrentContext(), program, tcu::Vec3(-1.0f, -1.0f, 0.0f), tcu::Vec3(-1.0f + w*2.0f, -1.0f + h*2.0f, 0.0f)); local
|
/external/deqp/modules/glshared/ |
H A D | glsAttributeLocationTests.cpp | 333 string getProgramInfoLog (const glw::Functions& gl, deUint32 program) argument 338 gl.getProgramiv(program, GL_INFO_LOG_LENGTH, &length); 343 gl.getProgramInfoLog(program, (glw::GLsizei)infoLog.length(), DE_NULL, &(infoLog[0])); 349 bool getProgramLinkStatus (const glw::Functions& gl, deUint32 program) argument 353 gl.getProgramiv(program, GL_LINK_STATUS, &status); 359 void logProgram (TestLog& log, const glw::Functions& gl, deUint32 program) argument 361 const bool programLinkOk = getProgramLinkStatus(gl, program); 362 const string programInfoLog = getProgramInfoLog(gl, program); 412 pair<deUint32, deUint32> createAndAttachShaders (TestLog& log, glu::RenderContext& renderCtx, deUint32 program, const vector<Attribute>& attributes, bool attributeAliasing) argument 439 gl.attachShader(program, vertexShade 473 bindAttributes(TestLog& log, const glw::Functions& gl, deUint32 program, const vector<Bind>& binds) argument 497 checkActiveAttribQuery(TestLog& log, const glw::Functions& gl, deUint32 program, const vector<Attribute>& attributes) argument 602 checkAttribLocationQuery(TestLog& log, const glw::Functions& gl, deUint32 program, const vector<Attribute>& attributes, const map<string, deUint32>& bindings) argument 631 checkQuery(TestLog& log, const glw::Functions& gl, deUint32 program, const vector<Attribute>& attributes, const map<string, deUint32>& bindings) argument 698 deUint32 program = 0; local [all...] |
H A D | glsScissorTests.cpp | 72 void drawQuad (const glw::Functions& gl, deUint32 program, const Vec3& p0, const Vec3& p1) argument 86 const deInt32 posLoc = gl.getAttribLocation(program, "a_position"); 88 gl.useProgram(program); 98 void drawPrimitives (const glw::Functions& gl, deUint32 program, const deUint32 type, const vector<float>& vertices, const vector<deUint16>& indices) argument 100 const deInt32 posLoc = gl.getAttribLocation(program, "a_position"); 104 gl.useProgram(program); 178 virtual void render (GLuint program, const IVec4& viewport) const = 0; 294 virtual void render (GLuint program, const IVec4& viewport) const; 317 void ScissorPrimitiveCase::render (GLuint program, const IVec4&) const argument 381 gl.uniform4fv(gl.getUniformLocation(program, "u_colo 432 render(GLuint program, const IVec4&) const argument 518 render(GLuint program, const IVec4& viewport) const argument [all...] |
H A D | glsTextureBufferCase.cpp | 399 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...] |
/external/libpng/contrib/libtests/ |
H A D | pngunknown.c | 13 * This is a C program that is intended to be linked against libpng. It 15 * arguments to save or discard combinations of chunks. The program is 33 /* Since this program tests the ability to change the unknown chunk handling 385 const char *program; member in struct:__anon24618 394 init_display(display *d, const char *program) argument 400 d->program = program; 401 d->file = program; 1057 usage(const char *program, const char *reason) argument 1061 "testfile.png\n", reason, program); [all...] |
/external/mesa3d/src/mesa/drivers/dri/i915/ |
H A D | i915_context.h | 131 /* Maximum size of the program packet, which matches the limits on 136 /* Hardware version of a parsed fragment program. "Derived" from the 146 bool error; /* If program is malformed for any reason. */ 159 /* TODO: split between the stored representation of a program and 166 GLuint program[(I915_MAX_TEX_INSN + I915_MAX_ALU_INSN) * 3]; member in struct:i915_fragment_program 172 GLuint *csr; /* Cursor, points into program. 334 extern void i915_disassemble_program(const GLuint * program, GLuint sz);
|
/external/mesa3d/src/mesa/main/ |
H A D | shaderapi.c | 49 #include "program/program.h" 50 #include "program/prog_parameter.h" 206 * Attach shader to a shader program. 209 attach_shader(struct gl_context *ctx, GLuint program, GLuint shader) argument 215 shProg = _mesa_lookup_shader_program_err(ctx, program, "glAttachShader"); 227 /* The shader is already attched to this program. The 301 * texture objects (and buffer objects, etc). Shader/program 341 detach_shader(struct gl_context *ctx, GLuint program, GLuint shader) argument 347 shProg = _mesa_lookup_shader_program_err(ctx, program, "glDetachShade 412 get_attached_shaders(struct gl_context *ctx, GLuint program, GLsizei maxCount, GLsizei *count, GLuint *obj) argument 453 get_programiv(struct gl_context *ctx, GLuint program, GLenum pname, GLint *params) argument 645 get_program_info_log(struct gl_context *ctx, GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog) argument 747 link_program(struct gl_context *ctx, GLuint program) argument 987 validate_program(struct gl_context *ctx, GLuint program) argument 1010 _mesa_AttachObjectARB(GLhandleARB program, GLhandleARB shader) argument 1018 _mesa_AttachShader(GLuint program, GLuint shader) argument 1118 _mesa_DetachObjectARB(GLhandleARB program, GLhandleARB shader) argument 1126 _mesa_DetachShader(GLuint program, GLuint shader) argument 1143 _mesa_GetAttachedShaders(GLuint program, GLsizei maxCount, GLsizei *count, GLuint *obj) argument 1206 _mesa_GetProgramiv(GLuint program, GLenum pname, GLint *params) argument 1222 _mesa_GetProgramInfoLog(GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog) argument 1410 _mesa_UseProgramObjectARB(GLhandleARB program) argument 1450 _mesa_ValidateProgramARB(GLhandleARB program) argument 1536 _mesa_ProgramParameteriARB(GLuint program, GLenum pname, GLint value) argument 1613 _mesa_UseShaderProgramEXT(GLenum type, GLuint program) argument 1653 _mesa_ActiveProgramEXT(GLuint program) argument 1673 GLuint program = 0; local [all...] |
/external/mesa3d/src/mesa/program/ |
H A D | nvfragparse.c | 27 * NVIDIA fragment program parser. 44 #include "program.h" 140 * Remember, we can't modify the target program object until we've 141 * _successfully_ parsed the program text. 145 const GLubyte *start; /* start of program string */ 148 struct gl_fragment_program *program; /* current program */ member in struct:parse_state 757 * Parse a program local parameter register "p[##]" 771 /* a numbered program parameter register */ 774 RETURN_ERROR1("Invalid constant program numbe 1275 Parse_InstructionSequence(struct parse_state *parseState, struct prog_instruction program[]) argument 1473 _mesa_parse_nv_fragment_program(struct gl_context *ctx, GLenum dstTarget, const GLubyte *str, GLsizei len, struct gl_fragment_program *program) argument [all...] |
H A D | prog_optimize.c | 30 #include "program.h" 214 * \param prog the program to search/replace 244 * Remove dead instructions from the given program. 376 * Scan forward in program from 'start' for the next occurances of TEMP[index]. 735 * Try to remove extraneous MOV instructions from the given program. 1044 * Find the live intervals for each temporary register in the program. 1126 * the number of temporary registers used by the program. 1224 * Scan the program and replace all the old temporary register 1243 print_it(struct gl_context *ctx, struct gl_program *program, const char *txt) { 1244 fprintf(stderr, "%s (%u inst):\n", txt, program 1273 _mesa_simplify_cmp(struct gl_program * program) argument 1346 _mesa_optimize_program(struct gl_context *ctx, struct gl_program *program) argument [all...] |
H A D | program_parse.y | 30 #include "program/program.h" 31 #include "program/prog_parameter.h" 32 #include "program/prog_parameter_layout.h" 33 #include "program/prog_statevars.h" 34 #include "program/prog_instruction.h" 36 #include "program/symbol_table.h" 37 #include "program/program_parser.h" 278 program: language optionSequence statementSequence END label 284 yyerror(& @1, state, "invalid fragment program heade [all...] |
/external/sonivox/arm-fm-22k/host_src/ |
H A D | eas_types.h | 224 /* external audio callback program change */ 228 EAS_U8 program; member in struct:s_ext_audio_prg_chg_tag
|
/external/sonivox/arm-hybrid-22k/host_src/ |
H A D | eas_types.h | 224 /* external audio callback program change */ 228 EAS_U8 program; member in struct:s_ext_audio_prg_chg_tag
|
/external/sonivox/arm-wt-22k/host_src/ |
H A D | eas_types.h | 229 /* external audio callback program change */ 233 EAS_U8 program; member in struct:s_ext_audio_prg_chg_tag
|
/external/wpa_supplicant_8/hostapd/ |
H A D | hostapd_cli.c | 238 static int hostapd_cli_exec(const char *program, const char *arg1, argument 250 res = os_exec(program, arg, 1);
|
/external/chromium_org/cc/test/ |
H A D | test_web_graphics_context_3d.h | 49 virtual void attachShader(GLuint program, GLuint shader); 106 virtual GLint getUniformLocation(GLuint program, const GLchar* name); 112 virtual GLboolean isProgram(GLuint program); 117 virtual void useProgram(GLuint program); 208 virtual void getAttachedShaders(GLuint program, argument 212 virtual GLint getAttribLocation(GLuint program, const GLchar* name); 225 virtual void getProgramiv(GLuint program, GLenum pname, GLint* value); 239 virtual void getUniformfv(GLuint program, GLint location, GLfloat* value) {} argument 240 virtual void getUniformiv(GLuint program, GLint location, GLint* value) {} argument
|
/external/chromium_org/courgette/ |
H A D | adjustment_method_2.cc | 30 'program'. Each symbol in A1 has a unique numerical name or index. We can 159 // The purpose of adjustment is to assign indexes to Labels of a program 'p' to 160 // make the sequence of indexes similar to a 'model' program 'm'. Labels 186 LabelInfo* assignment_; // Label from other program corresponding to this. 250 // a single program LabelInfo, |program_info_|. 614 base::StringAppendF(&s, " program shingles %" PRIuS "\n", program_size); 741 // the 'program' (the 'variables') and their AssignmentCandidates. 839 // * Useless patterns (not stored). There are no 'program' shingles for this 1020 // the model and shingles in the program. 1198 // the program sequenc 1228 Adjust(const AssemblyProgram& model, AssemblyProgram* program) argument 1250 CollectTraces(const AssemblyProgram* program, Trace* abs32, Trace* rel32, bool is_model) argument [all...] |
/external/chromium_org/gpu/command_buffer/client/ |
H A D | gles2_implementation_impl_autogen.h | 16 void GLES2Implementation::AttachShader(GLuint program, GLuint shader) { argument 18 GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glAttachShader(" << program << ", " 20 helper_->AttachShader(program, shader); 348 void GLES2Implementation::DeleteProgram(GLuint program) { argument 350 GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glDeleteProgram(" << program 352 GPU_CLIENT_DCHECK(program != 0); 353 DeleteProgramHelper(program); 434 void GLES2Implementation::DetachShader(GLuint program, GLuint shader) { argument 436 GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glDetachShader(" << program << ", " 438 helper_->DetachShader(program, shade 720 GetProgramiv(GLuint program, GLenum pname, GLint* params) argument 748 GetProgramInfoLog(GLuint program, GLsizei bufsize, GLsizei* length, char* infolog) argument 992 IsProgram(GLuint program) argument 1575 UseProgram(GLuint program) argument 1588 ValidateProgram(GLuint program) argument [all...] |
/external/chromium_org/gpu/command_buffer/service/ |
H A D | program_manager.cc | 462 // restore the previous program but since we've already linked successfully 463 // at this point the previous program is gone. 637 set_log_info("program not linked"); 758 // Note: This is only valid to call right after a program has been linked 996 // Find out if an attribute is declared in this program's shaders. 1270 void ProgramManager::StartTracking(Program* /* program */) { 1274 void ProgramManager::StopTracking(Program* /* program */) { 1310 bool ProgramManager::IsOwned(Program* program) { argument 1313 if (it->second.get() == program) { 1321 ShaderManager* shader_manager, Program* program) { 1320 RemoveProgramInfoIfUnused( ShaderManager* shader_manager, Program* program) argument 1338 MarkAsDeleted( ShaderManager* shader_manager, Program* program) argument 1348 UseProgram(Program* program) argument 1354 UnuseProgram( ShaderManager* shader_manager, Program* program) argument 1364 ClearUniforms(Program* program) argument [all...] |
H A D | program_manager_unittest.cc | 58 // Check we can create program. 60 // Check program got created. 66 // Check we get nothing for a non-existent program. 73 // Check we can create program. 76 // Check program got created. 94 // Check we can create program. 99 // Check program got created. 116 // Check we can create program. 262 bool LinkAsExpected(Program* program, argument 264 GLuint service_id = program 356 Program* program = local 463 const Program* program = manager_.GetProgram(kClientProgramId); local 481 const Program* program = manager_.GetProgram(kClientProgramId); local 495 const Program* program = manager_.GetProgram(kClientProgramId); local 503 const Program* program = manager_.GetProgram(kClientProgramId); local 532 Program* program = manager_.CreateProgram( local 575 const Program* program = manager_.GetProgram(kClientProgramId); local 611 const Program* program = manager_.GetProgram(kClientProgramId); local 684 Program* program = local 753 Program* program = local 849 Program* program = manager_.CreateProgram( local 888 Program* program = manager_.CreateProgram( local 937 Program* program = manager_.CreateProgram( local 985 const Program* program = manager_.GetProgram(kClientProgramId); local 1043 const Program* program = manager_.GetProgram(kClientProgramId); local 1126 Program* program = local 1184 Program* program = local 1204 Program* program = SetupShaderVariableTest( local 1221 Program* program = SetupShaderVariableTest( local 1238 Program* program = SetupShaderVariableTest( local 1253 Program* program = SetupShaderVariableTest( local 1269 Program* program = SetupShaderVariableTest( local 1287 Program* program = SetupShaderVariableTest( local 1307 Program* program = SetupShaderVariableTest( local 1325 Program* program = SetupShaderVariableTest( local 1344 Program* program = SetupShaderVariableTest( local 1365 Program* program = manager_.CreateProgram( local 1442 Program* program = manager_.CreateProgram( local 1561 SetExpectationsForProgramCached( Program* program, Shader* vertex_shader, Shader* fragment_shader) argument 1581 SetExpectationsForNotCachingProgram( Program* program, Shader* vertex_shader, Shader* fragment_shader) argument 1603 SetExpectationsForProgramLoad( GLuint service_program_id, Program* program, Shader* vertex_shader, Shader* fragment_shader, ProgramCache::ProgramLoadResult result) argument [all...] |
/external/chromium_org/mojo/examples/pepper_container_app/ |
H A D | ppb_opengles2_thunk.cc | 31 void AttachShader(PP_Resource context_id, GLuint program, GLuint shader) { argument 34 glAttachShader(program, shader); 39 GLuint program, 44 glBindAttribLocation(program, index, name); 318 void DeleteProgram(PP_Resource context_id, GLuint program) { argument 321 glDeleteProgram(program); 369 void DetachShader(PP_Resource context_id, GLuint program, GLuint shader) { argument 372 glDetachShader(program, shader); 508 GLuint program, 517 glGetActiveAttrib(program, inde 38 BindAttribLocation(PP_Resource context_id, GLuint program, GLuint index, const char* name) argument 507 GetActiveAttrib(PP_Resource context_id, GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, char* name) argument 521 GetActiveUniform(PP_Resource context_id, GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, char* name) argument 535 GetAttachedShaders(PP_Resource context_id, GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shaders) argument 546 GetAttribLocation(PP_Resource context_id, GLuint program, const char* name) argument 608 GetProgramiv(PP_Resource context_id, GLuint program, GLenum pname, GLint* params) argument 618 GetProgramInfoLog(PP_Resource context_id, GLuint program, GLsizei bufsize, GLsizei* length, char* infolog) argument 711 GetUniformfv(PP_Resource context_id, GLuint program, GLint location, GLfloat* params) argument 721 GetUniformiv(PP_Resource context_id, GLuint program, GLint location, GLint* params) argument 731 GetUniformLocation(PP_Resource context_id, GLuint program, const char* name) argument 806 IsProgram(PP_Resource context_id, GLuint program) argument 849 LinkProgram(PP_Resource context_id, GLuint program) argument 1264 UseProgram(PP_Resource context_id, GLuint program) argument 1271 ValidateProgram(PP_Resource context_id, GLuint program) argument [all...] |
/external/chromium_org/third_party/angle/src/libGLESv2/ |
H A D | validationES.cpp | 229 // ES3 spec (section 2.11.1) -- "Commands that accept shader or program object names will generate the 230 // error INVALID_VALUE if the provided name is not the name of either a shader or program object and 245 // No shader/program object has this ID 1851 bool ValidateGetUniformBase(Context *context, GLuint program, GLint location) argument 1853 if (program == 0) 1859 gl::Program *programObject = context->getProgram(program); 1883 bool ValidateGetUniformfv(Context *context, GLuint program, GLint location, GLfloat* params) argument 1885 return ValidateGetUniformBase(context, program, location); 1888 bool ValidateGetUniformiv(Context *context, GLuint program, GLint location, GLint* params) argument 1890 return ValidateGetUniformBase(context, program, locatio 1893 ValidateSizedGetUniform(Context *context, GLuint program, GLint location, GLsizei bufSize) argument 1916 ValidateGetnUniformfvEXT(Context *context, GLuint program, GLint location, GLsizei bufSize, GLfloat* params) argument 1921 ValidateGetnUniformivEXT(Context *context, GLuint program, GLint location, GLsizei bufSize, GLint* params) argument [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/i915/ |
H A D | i915_context.h | 110 uint *program; member in struct:i915_fragment_shader 119 * and doesn't require regenerating/changing the fragment program to
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/codegen/ |
H A D | nv50_ir_ra.cpp | 195 RegAlloc(Program *program) : prog(program), sequence(0) { } argument
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
H A D | brw_blorp_blit.cpp | 344 * The bulk of the work done by the WM program is to wrap and unwrap the 560 /* True if, at the point in the program currently being compiled, the 1026 * program we haven't read from the MCS buffer. 1113 * program we don't have access to the MCS buffer. 1699 * program to run once per sample rather than once per pixel, because 1709 * arrange for the WM program to run once per sample rather than once 1882 const GLuint *program = prog.compile(brw, &program_size); local 1885 program, program_size,
|