/external/deqp/modules/egl/ |
H A D | teglSwapBuffersTests.cpp | 134 deUint32 program = 0; local 147 program = gl.createProgram(); 151 GLU_EXPECT_NO_ERROR(gl.getError(), "Failed to create shaders and program"); 189 gl.attachShader(program, vertexShader); 190 gl.attachShader(program, fragmentShader); 191 gl.linkProgram(program); 192 GLU_EXPECT_NO_ERROR(gl.getError(), "Failed to setup program"); 197 gl.getProgramiv(program, GL_LINK_STATUS, &linkStatus); 198 gl.getProgramiv(program, GL_INFO_LOG_LENGTH, &infoLogLength); 202 gl.getProgramInfoLog(program, (gl 293 deUint32 program = 0; local [all...] |
/external/chromium_org/cc/output/ |
H A D | shader.h | 62 unsigned program, 79 unsigned program, 100 unsigned program, 115 unsigned program, 125 unsigned program, 146 unsigned program, 167 unsigned program, 191 unsigned program, 216 unsigned program, 241 unsigned program, 114 Init(gpu::gles2::GLES2Interface* context, unsigned program, int* base_uniform_index) argument [all...] |
/external/chromium_org/native_client_sdk/src/examples/api/video_decode/ |
H A D | video_decode.cc | 45 Shader() : program(0), texcoord_scale_location(0) {} 48 GLuint program; member in struct:__anon8890::Shader 117 void CreateShader(GLuint program, GLenum type, const char* source, int size); 144 // Shader program to draw GL_TEXTURE_2D target. 146 // Shader program to draw GL_TEXTURE_RECTANGLE_ARB target. 148 // Shader program to draw GL_TEXTURE_EXTERNAL_OES target. 391 if (shader_2d_.program) 392 gles2_if_->DeleteProgram(graphics_3d, shader_2d_.program); 393 if (shader_rectangle_arb_.program) 394 gles2_if_->DeleteProgram(graphics_3d, shader_rectangle_arb_.program); 705 CreateShader(GLuint program, GLenum type, const char* source, int size) argument [all...] |
/external/chromium_org/ppapi/examples/video_decode/ |
H A D | video_decode.cc | 46 Shader() : program(0), texcoord_scale_location(0) {} 49 GLuint program; member in struct:__anon10068::Shader 118 void CreateShader(GLuint program, GLenum type, const char* source, int size); 145 // Shader program to draw GL_TEXTURE_2D target. 147 // Shader program to draw GL_TEXTURE_RECTANGLE_ARB target. 149 // Shader program to draw GL_TEXTURE_EXTERNAL_OES target. 392 if (shader_2d_.program) 393 gles2_if_->DeleteProgram(graphics_3d, shader_2d_.program); 394 if (shader_rectangle_arb_.program) 395 gles2_if_->DeleteProgram(graphics_3d, shader_rectangle_arb_.program); 706 CreateShader(GLuint program, GLenum type, const char* source, int size) argument [all...] |
/external/deqp/modules/gles3/functional/ |
H A D | es3fShaderFragDataTests.cpp | 150 const glu::ShaderProgram program (renderCtx, genSources(m_indexExprType)); 178 m_testCtx.getLog() << program; 180 if (!program.isOk()) 192 gl.useProgram (program.getProgram()); 193 gl.uniform1i (gl.getUniformLocation(program.getProgram(), "u_index"), 0); 195 glu::draw(renderCtx, program.getProgram(), DE_LENGTH_OF_ARRAY(vertexArrays), &vertexArrays[0], 231 const glu::ShaderProgram program (renderCtx, glu::ProgramSources() 251 const int indexLoc = program.isOk() ? gl.getUniformLocation(program.getProgram(), "u_index") : -1; 278 m_testCtx.getLog() << program; [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/ |
H A D | sources.mak | 251 $(SRCDIR)program/arbprogparse.c \ 252 $(SRCDIR)program/hash_table.c \ 253 $(SRCDIR)program/nvfragparse.c \ 254 $(SRCDIR)program/nvvertparse.c \ 255 $(SRCDIR)program/program.c \ 256 $(SRCDIR)program/program_parse_extra.c \ 257 $(SRCDIR)program/prog_cache.c \ 258 $(SRCDIR)program/prog_execute.c \ 259 $(SRCDIR)program/prog_instructio [all...] |
/external/deqp/framework/platform/null/ |
H A D | tcuNullRenderContextFuncs.inl | 742 GLW_APICALL void GLW_APIENTRY glAttachShader (GLuint program, GLuint shader) 744 DE_UNREF(program); 748 GLW_APICALL void GLW_APIENTRY glBindAttribLocation (GLuint program, GLuint index, const GLchar* name) 750 DE_UNREF(program); 760 GLW_APICALL void GLW_APIENTRY glDeleteProgram (GLuint program) 762 DE_UNREF(program); 770 GLW_APICALL void GLW_APIENTRY glDetachShader (GLuint program, GLuint shader) 772 DE_UNREF(program); 786 GLW_APICALL void GLW_APIENTRY glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufSize, GLsizei* length, GLint* size, GLenum* type, GLchar* name) 788 DE_UNREF(program); [all...] |
/external/mesa3d/src/mesa/ |
H A D | sources.mak | 251 $(SRCDIR)program/arbprogparse.c \ 252 $(SRCDIR)program/hash_table.c \ 253 $(SRCDIR)program/nvfragparse.c \ 254 $(SRCDIR)program/nvvertparse.c \ 255 $(SRCDIR)program/program.c \ 256 $(SRCDIR)program/program_parse_extra.c \ 257 $(SRCDIR)program/prog_cache.c \ 258 $(SRCDIR)program/prog_execute.c \ 259 $(SRCDIR)program/prog_instructio [all...] |
/external/chromium_org/third_party/mesa/src/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...] |
H A D | nvprogram.h | 56 _mesa_GetProgramStringNV(GLuint id, GLenum pname, GLubyte *program); 74 _mesa_LoadProgramNV(GLenum target, GLuint id, GLsizei len, const GLubyte *program); 113 _mesa_setup_nv_temporary_count(struct gl_program *program); 117 struct gl_program *program);
|
/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/chromium_org/mojo/public/c/gles2/ |
H A D | gles2_call_visitor_autogen.h | 14 (GLuint program, GLuint shader), 15 (program, shader)) 18 (GLuint program, GLuint index, const char* name), 19 (program, index, name)) 133 VISIT_GL_CALL(DeleteProgram, void, (GLuint program), (program)) 148 (GLuint program, GLuint shader), 149 (program, shader)) 193 (GLuint program, 200 (program, inde [all...] |
/external/ceres-solver/internal/ceres/ |
H A D | block_jacobian_writer.cc | 36 #include "ceres/program.h" 47 // per-parameter jacobian goes where in the overall program jacobian. 56 void BuildJacobianLayout(const Program& program, argument 60 const vector<ResidualBlock*>& residual_blocks = program.residual_blocks(); 90 jacobian_layout->resize(program.NumResidualBlocks()); 124 Program* program) 125 : program_(program) { 129 BuildJacobianLayout(*program, 123 BlockJacobianWriter(const Evaluator::Options& options, Program* program) argument
|
H A D | callbacks.h | 47 StateUpdatingCallback(Program* program, double* parameters);
|
H A D | program_test.cc | 31 #include "ceres/program.h" 96 .program() 120 .program() 147 .program() 176 .program() 203 .program() 225 ResidualBlock *expected_removed_block = problem.program().residual_blocks()[0]; 241 .program() 314 Program* program = problem.mutable_program(); local 315 program 381 Program* program = problem.mutable_program(); local [all...] |
/external/chromium_org/courgette/ |
H A D | disassembler_elf_32_x86_unittest.cc | 41 courgette::AssemblyProgram* program = local 44 EXPECT_TRUE(disassembler->Disassemble(program)); 78 delete program;
|
H A D | encode_decode_unittest.cc | 21 courgette::AssemblyProgram* program = NULL; local 25 &program); 30 const courgette::Status encode_status = Encode(program, &encoded); 33 DeleteAssemblyProgram(program);
|
/external/chromium_org/gpu/command_buffer/service/ |
H A D | program_cache.h | 50 // Loads the linked program from the cache. If the program is not found or 53 GLuint program, 61 // Saves the program into the cache. If successful, the implementation should 64 GLuint program, 72 virtual void LoadProgram(const std::string& program) = 0;
|
/external/chromium_org/gpu/command_buffer/tests/ |
H A D | gl_readback_unittest.cc | 193 GLuint program = glCreateProgram(); local 194 glAttachShader(program, vertex_shader); 196 glAttachShader(program, fragment_shader); 198 glLinkProgram(program); 201 glGetProgramiv(program, GL_LINK_STATUS, &link_status); 203 glDeleteProgram(program); 204 program = 0; 206 ASSERT_NE(program, GLuint(0)); 224 GLint position_location = glGetAttribLocation(program, "a_position"); 229 glUseProgram(program); [all...] |
/external/chromium_org/mojo/apps/js/bindings/gl/ |
H A D | context.h | 45 static GLint GetAttribLocation(GLuint program, const std::string& name); 46 static std::string GetProgramInfoLog(GLuint program); 48 static GLint GetUniformLocation(GLuint program, const std::string& name);
|
/external/chromium_org/sandbox/linux/seccomp-bpf/ |
H A D | codegen.h | 48 // SandboxBPF::Program program; 49 // gen.Compile(dag, program); 51 // static_cast<unsigned short>(program->size()), &program[0] }; 61 static void PrintProgram(const SandboxBPF::Program& program); 83 // Compiles the graph of instructions into a BPF program that can be passed 86 void Compile(Instruction* instructions, SandboxBPF::Program* program); 123 // This is a requirement for any well-formed BPF program. 134 // Concatenate instructions from all basic blocks into a BPF program that 136 void ConcatenateBasicBlocks(const BasicBlocks&, SandboxBPF::Program* program); [all...] |
/external/antlr/antlr-3.4/runtime/Python/tests/ |
H A D | t046rewrite.py | 27 parser.program()
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/common/ |
H A D | native_modeset.h | 82 boolean (*program)(struct native_display *ndpy, int crtc_idx, member in struct:native_display_modeset
|
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/ |
H A D | st_mesa_to_tgsi.h | 52 const struct gl_program *program,
|
/external/chromium_org/third_party/mesa/src/src/mesa/tnl/ |
H A D | t_vb_program.c | 40 #include "program/prog_instruction.h" 41 #include "program/prog_statevars.h" 42 #include "program/prog_execute.h" 62 * Private storage for the vertex program pipeline stage. 65 /** The results of running the vertex program go into these arrays. */ 209 * Called via ctx->Driver.ProgramStringNotify() after a new vertex program 213 _tnl_program_string(struct gl_context *ctx, GLenum target, struct gl_program *program) argument 216 * If we had derived anything from the program that was private to this 224 * Initialize virtual machine state prior to executing vertex program. 270 * Map the texture images which the vertex program wil 316 struct gl_vertex_program *program = ctx->VertexProgram._Current; local [all...] |