Searched refs:uniform_map (Results 1 – 11 of 11) sorted by relevance
/external/chromium_org/gpu/command_buffer/service/ |
D | shader_translator_unittest.cc | 41 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 …]
|
D | shader_manager_unittest.cc | 163 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()
|
D | shader_manager.h | 96 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()
|
D | memory_program_cache_unittest.cc | 272 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()
|
D | shader_translator.h | 87 virtual const VariableMap& uniform_map() const = 0; 134 virtual const VariableMap& uniform_map() const OVERRIDE;
|
D | program_manager_unittest.cc | 333 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 …]
|
D | memory_program_cache.cc | 87 StoreShaderInfo(UNIFORM_MAP, proto, shader->uniform_map()); in FillShaderProto() 258 shader_a->uniform_map(), in SaveLinkedProgram() 262 shader_b->uniform_map(), in SaveLinkedProgram()
|
D | program_manager.cc | 1010 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()
|
D | mocks.h | 92 MOCK_CONST_METHOD0(uniform_map, const VariableMap&());
|
D | shader_manager.cc | 45 uniform_map_ = translator->uniform_map(); in SetStatus()
|
D | shader_translator.cc | 276 ShaderTranslator::uniform_map() const { in uniform_map() function in gpu::gles2::ShaderTranslator
|