Home
last modified time | relevance | path

Searched refs:uniform_map (Results 1 – 11 of 11) sorted by relevance

/external/chromium_org/gpu/command_buffer/service/
Dshader_translator_unittest.cc41 EXPECT_TRUE(vertex_translator_->uniform_map().empty()); in SetUp()
46 EXPECT_TRUE(fragment_translator_->uniform_map().empty()); in SetUp()
72 EXPECT_TRUE(vertex_translator_->uniform_map().empty()); in TEST_F()
91 EXPECT_TRUE(vertex_translator_->uniform_map().empty()); in TEST_F()
115 EXPECT_TRUE(fragment_translator_->uniform_map().empty()); in TEST_F()
130 EXPECT_TRUE(fragment_translator_->uniform_map().empty()); in TEST_F()
147 EXPECT_TRUE(vertex_translator_->uniform_map().empty()); in TEST_F()
186 const ShaderTranslator::VariableMap& uniform_map = in TEST_F() local
187 fragment_translator_->uniform_map(); in TEST_F()
188 EXPECT_EQ(2u, uniform_map.size()); in TEST_F()
[all …]
Dshader_manager_unittest.cc163 ShaderTranslator::VariableMap uniform_map; in TEST_F() local
164 uniform_map[kUniform1Name] = ShaderTranslatorInterface::VariableInfo( in TEST_F()
167 uniform_map[kUniform2Name] = ShaderTranslatorInterface::VariableInfo( in TEST_F()
172 EXPECT_CALL(shader_translator, uniform_map()) in TEST_F()
173 .WillRepeatedly(ReturnRef(uniform_map)); in TEST_F()
199 for (ShaderTranslator::VariableMap::const_iterator it = uniform_map.begin(); in TEST_F()
200 it != uniform_map.end(); ++it) { in TEST_F()
219 for (ShaderTranslator::VariableMap::const_iterator it = uniform_map.begin(); in TEST_F()
220 it != uniform_map.end(); ++it) { in TEST_F()
Dshader_manager.h96 const ShaderTranslator::VariableMap& uniform_map() const { in uniform_map() function
112 void set_uniform_map(const ShaderTranslator::VariableMap& uniform_map) { in set_uniform_map() argument
114 uniform_map_ = ShaderTranslator::VariableMap(uniform_map); in set_uniform_map()
Dmemory_program_cache_unittest.cc272 VariableMap vertex_uniform_map = vertex_shader_->uniform_map(); in TEST_F()
275 VariableMap fragment_uniform_map = fragment_shader_->uniform_map(); in TEST_F()
301 EXPECT_EQ(vertex_uniform_map, vertex_shader_->uniform_map()); in TEST_F()
304 EXPECT_EQ(fragment_uniform_map, fragment_shader_->uniform_map()); in TEST_F()
327 VariableMap vertex_uniform_map = vertex_shader_->uniform_map(); in TEST_F()
330 VariableMap fragment_uniform_map = fragment_shader_->uniform_map(); in TEST_F()
359 EXPECT_EQ(vertex_uniform_map, vertex_shader_->uniform_map()); in TEST_F()
362 EXPECT_EQ(fragment_uniform_map, fragment_shader_->uniform_map()); in TEST_F()
Dshader_translator.h87 virtual const VariableMap& uniform_map() const = 0;
134 virtual const VariableMap& uniform_map() const OVERRIDE;
Dprogram_manager_unittest.cc333 EXPECT_CALL(vertex_shader_translator, uniform_map()) in SetupShaderVariableTest()
369 EXPECT_CALL(frag_shader_translator, uniform_map()) in SetupShaderVariableTest()
813 ShaderTranslator::VariableMap uniform_map; in TEST_F() local
824 uniform_map[kUniform1Name] = ShaderTranslatorInterface::VariableInfo( in TEST_F()
827 uniform_map[kUniform2Name] = ShaderTranslatorInterface::VariableInfo( in TEST_F()
830 uniform_map[kUniform3GoodName] = ShaderTranslatorInterface::VariableInfo( in TEST_F()
835 EXPECT_CALL(shader_translator, uniform_map()) in TEST_F()
836 .WillRepeatedly(ReturnRef(uniform_map)); in TEST_F()
917 ShaderTranslator::VariableMap::const_iterator it = uniform_map.find( in TEST_F()
919 ASSERT_TRUE(it != uniform_map.end()); in TEST_F()
[all …]
Dmemory_program_cache.cc87 StoreShaderInfo(UNIFORM_MAP, proto, shader->uniform_map()); in FillShaderProto()
258 shader_a->uniform_map(), in SaveLinkedProgram()
262 shader_b->uniform_map(), in SaveLinkedProgram()
Dprogram_manager.cc1010 UniformMap uniform_map; in DetectUniformsMismatch() local
1013 attached_shaders_[ii]->uniform_map(); in DetectUniformsMismatch()
1019 UniformMap::iterator map_entry = uniform_map.find(name); in DetectUniformsMismatch()
1020 if (map_entry == uniform_map.end()) { in DetectUniformsMismatch()
1021 uniform_map[name] = type; in DetectUniformsMismatch()
1073 uniforms[0] = &(attached_shaders_[0]->uniform_map()); in DetectGlobalNameConflicts()
1074 uniforms[1] = &(attached_shaders_[1]->uniform_map()); in DetectGlobalNameConflicts()
Dmocks.h92 MOCK_CONST_METHOD0(uniform_map, const VariableMap&());
Dshader_manager.cc45 uniform_map_ = translator->uniform_map(); in SetStatus()
Dshader_translator.cc276 ShaderTranslator::uniform_map() const { in uniform_map() function in gpu::gles2::ShaderTranslator