Home
last modified time | relevance | path

Searched refs:program_ (Results 1 – 24 of 24) sorted by relevance

/external/chromium_org/cc/output/
Dprogram_binding.cc17 : program_(0), in ProgramBindingBase()
24 DCHECK(!program_); in ~ProgramBindingBase()
46 program_ = in Init()
48 return !!program_; in Init()
52 context->LinkProgram(program_); in Link()
54 if (!program_) in Link()
58 context->GetProgramiv(program_, GL_LINK_STATUS, &linked); in Link()
67 if (!program_) in Cleanup()
71 context->DeleteProgram(program_); in Cleanup()
72 program_ = 0; in Cleanup()
Dprogram_binding.h33 unsigned program() const { return program_; } in program()
45 unsigned program_; variable
78 program_, &base_uniform_index); in Initialize()
80 program_, &base_uniform_index); in Initialize()
/external/ceres-solver/internal/ceres/
Ddense_jacobian_writer.h51 : program_(program) { in DenseJacobianWriter()
60 return ScratchEvaluatePreparer::Create(*program_, num_threads); in CreateEvaluatePreparers()
64 return new DenseSparseMatrix(program_->NumResiduals(), in CreateJacobian()
65 program_->NumEffectiveParameters(), in CreateJacobian()
78 program_->residual_blocks()[residual_id]; in Write()
105 Program* program_;
Dprogram_evaluator.h105 program_(program), in ProgramEvaluator()
138 if (!program_->StateVectorToParameterBlocks(state)) { in Evaluate()
143 VectorRef(residuals, program_->NumResiduals()).setZero(); in Evaluate()
155 program_->NumEffectiveParameters()).setZero(); in Evaluate()
163 int num_residual_blocks = program_->NumResidualBlocks(); in Evaluate()
181 const ResidualBlock* residual_block = program_->residual_blocks()[i]; in Evaluate()
249 int num_parameters = program_->NumEffectiveParameters(); in Evaluate()
267 return program_->Plus(state, delta, state_plus_delta); in Plus()
271 return program_->NumParameters(); in NumParameters()
274 return program_->NumEffectiveParameters(); in NumEffectiveParameters()
[all …]
Dproblem_impl.cc141 new ParameterBlock(values, size, program_->parameter_blocks_.size()); in InternalAddParameterBlock()
149 program_->parameter_blocks_.push_back(new_parameter_block); in InternalAddParameterBlock()
190 ProblemImpl::ProblemImpl() : program_(new internal::Program) {} in ProblemImpl()
193 program_(new internal::Program) {} in ProblemImpl()
197 const int num_residual_blocks = program_->residual_blocks_.size(); in ~ProblemImpl()
200 for (int i = 0; i < program_->residual_blocks_.size(); ++i) { in ~ProblemImpl()
201 DeleteBlock(program_->residual_blocks_[i]); in ~ProblemImpl()
205 for (int i = 0; i < program_->parameter_blocks_.size(); ++i) { in ~ProblemImpl()
206 DeleteBlock(program_->parameter_blocks_[i]); in ~ProblemImpl()
278 program_->residual_blocks_.size()); in AddResidualBlock()
[all …]
Dcompressed_row_jacobian_writer.cc45 program_->residual_blocks(); in CreateJacobian()
47 int total_num_residuals = program_->NumResiduals(); in CreateJacobian()
48 int total_num_effective_parameters = program_->NumEffectiveParameters(); in CreateJacobian()
117 program_->parameter_blocks()[parameter_indices[j]]; in CreateJacobian()
139 program_->parameter_blocks(); in CreateJacobian()
166 program_->residual_blocks()[residual_id]; in Write()
194 program_->parameter_blocks()[evaluated_jacobian_blocks[i].first]; in Write()
Dcompressed_row_jacobian_writer.h49 : program_(program) { in CompressedRowJacobianWriter()
58 return ScratchEvaluatePreparer::Create(*program_, num_threads); in CreateEvaluatePreparers()
69 Program* program_;
Dblock_jacobian_writer.cc125 : program_(program) { in BlockJacobianWriter()
140 program_->MaxDerivativesPerResidualBlock(); in CreateEvaluatePreparers()
153 program_->parameter_blocks(); in CreateJacobian()
167 program_->residual_blocks(); in CreateJacobian()
Dproblem_impl.h146 const Program& program() const { return *program_; } in program()
147 Program* mutable_program() { return program_.get(); } in mutable_program()
175 internal::scoped_ptr<internal::Program> program_; variable
Dblock_jacobian_writer.h75 Program* program_;
Dsolver_impl.cc68 : program_(program), parameters_(parameters) {} in StateUpdatingCallback()
72 program_->StateVectorToParameterBlocks(parameters_); in operator ()()
73 program_->CopyParameterBlockStateToUserState(); in operator ()()
79 Program* program_; member in ceres::internal::__anon5ceb34b10111::StateUpdatingCallback
/external/chromium_org/native_client_sdk/src/examples/api/graphics_3d/
Dgraphics_3d.cc236 program_(0), in Graphics3DInstance()
354 program_ = LinkProgram(frag_shader_, vertex_shader_); in InitShaders()
355 if (!program_) in InitShaders()
358 texture_loc_ = glGetUniformLocation(program_, "u_texture"); in InitShaders()
359 position_loc_ = glGetAttribLocation(program_, "a_position"); in InitShaders()
360 texcoord_loc_ = glGetAttribLocation(program_, "a_texcoord"); in InitShaders()
361 color_loc_ = glGetAttribLocation(program_, "a_color"); in InitShaders()
362 mvp_loc_ = glGetUniformLocation(program_, "u_mvp"); in InitShaders()
417 glUseProgram(program_); in Render()
478 GLuint program_; member in Graphics3DInstance
/external/chromium_org/content/common/gpu/media/
Drendering_helper.cc356 program_ = glCreateProgram(); in Initialize()
358 program_, GL_VERTEX_SHADER, kVertexShader, arraysize(kVertexShader)); in Initialize()
359 CreateShader(program_, in Initialize()
363 glLinkProgram(program_); in Initialize()
365 glGetProgramiv(program_, GL_LINK_STATUS, &result); in Initialize()
368 glGetShaderInfoLog(program_, arraysize(log), NULL, log); in Initialize()
371 glUseProgram(program_); in Initialize()
372 glDeleteProgram(program_); in Initialize()
374 glUniform1i(glGetUniformLocation(program_, "tex_flip"), 0); in Initialize()
375 glUniform1i(glGetUniformLocation(program_, "tex"), 0); in Initialize()
[all …]
Drendering_helper.h124 GLuint program_; variable
/external/chromium_org/content/common/gpu/client/
Dgl_helper_scaling.cc50 program_(context, context->createProgram()) { in ShaderProgram()
75 ScopedProgram program_; member in content::ShaderProgram
882 context_->attachShader(program_, vertex_shader); in Setup()
888 context_->attachShader(program_, fragment_shader); in Setup()
889 context_->linkProgram(program_); in Setup()
892 context_->getProgramiv(program_, GL_LINK_STATUS, &link_status); in Setup()
894 LOG(ERROR) << std::string(context_->getProgramInfoLog(program_).utf8()); in Setup()
897 position_location_ = context_->getAttribLocation(program_, "a_position"); in Setup()
898 texcoord_location_ = context_->getAttribLocation(program_, "a_texcoord"); in Setup()
899 texture_location_ = context_->getUniformLocation(program_, "s_texture"); in Setup()
[all …]
/external/chromium_org/native_client_sdk/src/gonacl_appengine/src/cube/
Dcube.cc237 program_(0), in CubeInstance()
357 program_ = LinkProgram(frag_shader_, vertex_shader_); in InitShaders()
358 if (!program_) in InitShaders()
361 texture_loc_ = glGetUniformLocation(program_, "u_texture"); in InitShaders()
362 position_loc_ = glGetAttribLocation(program_, "a_position"); in InitShaders()
363 texcoord_loc_ = glGetAttribLocation(program_, "a_texcoord"); in InitShaders()
364 color_loc_ = glGetAttribLocation(program_, "a_color"); in InitShaders()
365 mvp_loc_ = glGetUniformLocation(program_, "u_mvp"); in InitShaders()
420 glUseProgram(program_); in Render()
489 GLuint program_; member in CubeInstance
/external/chromium_org/chrome/browser/profile_resetter/
Djtl_interpreter.cc460 : program_(program), in Parser()
466 while (next_instruction_index_ < program_.size() && !sentence_ended) { in ParseNextSentence()
624 return next_instruction_index_ < program_.size(); in HasNextSentence()
631 if (next_instruction_index_ + 1u > program_.size()) in ReadUint8()
633 *out = static_cast<uint8>(program_[next_instruction_index_]); in ReadUint8()
641 if (next_instruction_index_ + 4u > program_.size()) in ReadUint32()
646 *out |= static_cast<uint8>(program_[next_instruction_index_]) << 24; in ReadUint32()
658 program_.size()) in ReadHash()
660 *out = program_.substr(next_instruction_index_, in ReadHash()
681 std::string program_; member in __anonf2dd75130111::Parser
[all …]
Dautomatic_profile_resetter.cc393 if (!GetProgramAndHashSeedOverridesFromExperiment(&program_, &hash_seed_)) { in Initialize()
396 program_ = resources.GetRawDataResource( in Initialize()
401 program_ = resources.GetRawDataResource( in Initialize()
422 if (!program_.empty()) { in Activate()
525 program_ = program; in SetProgramForTesting()
599 DCHECK(!program_.empty()); in BeginEvaluationFlow()
628 program_, in ContinueWithEvaluationFlow()
Djtl_interpreter.h48 std::string program_; variable
Dautomatic_profile_resetter.h254 std::string program_; variable
/external/chromium/base/
Dcommand_line.cc140 program_ = program.value(); in CommandLine()
239 return FilePath(program_); in GetProgram()
397 program_ = other.program_; in AppendArguments()
430 program_ = wrapper_and_args[0]; in PrependWrapper()
451 TrimWhitespace(args[0], TRIM_ALL, &program_); in ParseFromString()
Dcommand_line.h165 StringType program_; variable
/external/chromium_org/gpu/command_buffer/service/
Dprogram_manager_unittest.cc144 : manager_(NULL, kMaxVaryingVectors), program_(NULL) { in ProgramManagerWithShaderTest()
247 program_ = manager_.CreateProgram( in SetUp()
249 ASSERT_TRUE(program_ != NULL); in SetUp()
251 program_->AttachShader(&shader_manager_, vertex_shader); in SetUp()
252 program_->AttachShader(&shader_manager_, fragment_shader); in SetUp()
253 program_->Link(NULL, NULL, NULL, Program::kCountOnlyStaticallyUsed, in SetUp()
404 Program* program_; member in gpu::gles2::ProgramManagerWithShaderTest
1565 program_(NULL) { in ProgramManagerWithCacheTest()
1586 program_ = manager_.CreateProgram( in SetUp()
1588 ASSERT_TRUE(program_ != NULL); in SetUp()
[all …]
/external/chromium_org/courgette/
Ddescription.md135 **Assemble**: Convert an _assembly program_ back into an object file
144 program_.
146 **Encode**: Convert an _assembly program_ into an _encoded program_ by