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.cc57 ShaderTranslatorInterface::VariableMap attrib_map, uniform_map, varying_map; in TEST_F() local
63 &uniform_map, in TEST_F()
72 EXPECT_TRUE(uniform_map.empty()); in TEST_F()
87 ShaderTranslatorInterface::VariableMap attrib_map, uniform_map, varying_map; in TEST_F() local
93 &uniform_map, in TEST_F()
102 EXPECT_TRUE(uniform_map.empty()); in TEST_F()
112 &uniform_map, in TEST_F()
127 ShaderTranslatorInterface::VariableMap attrib_map, uniform_map, varying_map; in TEST_F() local
133 &uniform_map, in TEST_F()
142 EXPECT_TRUE(uniform_map.empty()); in TEST_F()
[all …]
Dshader_manager_unittest.cc135 EXPECT_EQ(0u, shader1->uniform_map().size()); in TEST_F()
155 ShaderTranslator::VariableMap uniform_map; in TEST_F() local
156 uniform_map[kUniform1Name] = ShaderTranslatorInterface::VariableInfo( in TEST_F()
159 uniform_map[kUniform2Name] = ShaderTranslatorInterface::VariableInfo( in TEST_F()
169 &attrib_map, &uniform_map, &varying_map, NULL); in TEST_F()
190 EXPECT_EQ(uniform_map.size(), shader1->uniform_map().size()); in TEST_F()
191 for (ShaderTranslator::VariableMap::const_iterator it = uniform_map.begin(); in TEST_F()
192 it != uniform_map.end(); ++it) { in TEST_F()
219 &attrib_map, &uniform_map, &varying_map, NULL); in TEST_F()
224 EXPECT_TRUE(shader1->uniform_map().empty()); 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.cc265 VariableMap vertex_uniform_map = vertex_shader_->uniform_map(); in TEST_F()
268 VariableMap fragment_uniform_map = fragment_shader_->uniform_map(); in TEST_F()
294 EXPECT_EQ(vertex_uniform_map, vertex_shader_->uniform_map()); in TEST_F()
297 EXPECT_EQ(fragment_uniform_map, fragment_shader_->uniform_map()); in TEST_F()
320 VariableMap vertex_uniform_map = vertex_shader_->uniform_map(); in TEST_F()
323 VariableMap fragment_uniform_map = fragment_shader_->uniform_map(); in TEST_F()
352 EXPECT_EQ(vertex_uniform_map, vertex_shader_->uniform_map()); in TEST_F()
355 EXPECT_EQ(fragment_uniform_map, fragment_shader_->uniform_map()); in TEST_F()
Dshader_translator.h84 VariableMap* uniform_map,
127 VariableMap* uniform_map,
Dshader_translator.cc171 VariableMap* uniform_map, in Translate() argument
198 GetVariableInfo(compiler_, SH_ACTIVE_UNIFORMS, uniform_map); in Translate()
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.cc1018 UniformMap uniform_map; in DetectUniformsMismatch() local
1021 attached_shaders_[ii]->uniform_map(); in DetectUniformsMismatch()
1027 UniformMap::iterator map_entry = uniform_map.find(name); in DetectUniformsMismatch()
1028 if (map_entry == uniform_map.end()) { in DetectUniformsMismatch()
1029 uniform_map[name] = type; in DetectUniformsMismatch()
1086 uniforms[0] = &(attached_shaders_[0]->uniform_map()); in DetectGlobalNameConflicts()
1087 uniforms[1] = &(attached_shaders_[1]->uniform_map()); in DetectGlobalNameConflicts()
Dmocks.h104 VariableMap* uniform_map,
Dprogram_manager_unittest.cc776 ShaderTranslator::VariableMap uniform_map; in TEST_F() local
787 uniform_map[kUniform1Name] = ShaderTranslatorInterface::VariableInfo( in TEST_F()
790 uniform_map[kUniform2Name] = ShaderTranslatorInterface::VariableInfo( in TEST_F()
793 uniform_map[kUniform3GoodName] = ShaderTranslatorInterface::VariableInfo( in TEST_F()
805 &attrib_map, &uniform_map, &varying_map, NULL); in TEST_F()
811 &attrib_map, &uniform_map, &varying_map, NULL); in TEST_F()
875 ShaderTranslator::VariableMap::const_iterator it = uniform_map.find( in TEST_F()
877 ASSERT_TRUE(it != uniform_map.end()); in TEST_F()
Dtest_helper.cc667 const ShaderTranslatorInterface::VariableMap* uniform_map = in SetShaderStates() local
690 SetArgumentPointee<4>(*uniform_map), in SetShaderStates()