Home
last modified time | relevance | path

Searched refs:varying_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
64 &varying_map, in TEST_F()
73 EXPECT_TRUE(varying_map.empty()); in TEST_F()
87 ShaderTranslatorInterface::VariableMap attrib_map, uniform_map, varying_map; in TEST_F() local
94 &varying_map, in TEST_F()
103 EXPECT_TRUE(varying_map.empty()); in TEST_F()
113 &varying_map, in TEST_F()
127 ShaderTranslatorInterface::VariableMap attrib_map, uniform_map, varying_map; in TEST_F() local
134 &varying_map, in TEST_F()
143 EXPECT_TRUE(varying_map.empty()); in TEST_F()
[all …]
Dshader_manager_unittest.cc136 EXPECT_EQ(0u, shader1->varying_map().size()); in TEST_F()
162 ShaderTranslator::VariableMap varying_map; in TEST_F() local
163 varying_map[kVarying1Name] = ShaderTranslatorInterface::VariableInfo( in TEST_F()
169 &attrib_map, &uniform_map, &varying_map, NULL); in TEST_F()
203 EXPECT_EQ(varying_map.size(), shader1->varying_map().size()); in TEST_F()
204 for (ShaderTranslator::VariableMap::const_iterator it = varying_map.begin(); in TEST_F()
205 it != varying_map.end(); ++it) { in TEST_F()
219 &attrib_map, &uniform_map, &varying_map, NULL); in TEST_F()
225 EXPECT_TRUE(shader1->varying_map().empty()); in TEST_F()
Dshader_manager.h101 const ShaderTranslator::VariableMap& varying_map() const { in varying_map() function
118 void set_varying_map(const ShaderTranslator::VariableMap& varying_map) { in set_varying_map() argument
120 varying_map_ = ShaderTranslator::VariableMap(varying_map); in set_varying_map()
Dmemory_program_cache_unittest.cc266 VariableMap vertex_varying_map = vertex_shader_->varying_map(); in TEST_F()
269 VariableMap fragment_varying_map = fragment_shader_->varying_map(); in TEST_F()
295 EXPECT_EQ(vertex_varying_map, vertex_shader_->varying_map()); in TEST_F()
298 EXPECT_EQ(fragment_varying_map, fragment_shader_->varying_map()); in TEST_F()
321 VariableMap vertex_varying_map = vertex_shader_->varying_map(); in TEST_F()
324 VariableMap fragment_varying_map = fragment_shader_->varying_map(); in TEST_F()
353 EXPECT_EQ(vertex_varying_map, vertex_shader_->varying_map()); in TEST_F()
356 EXPECT_EQ(fragment_varying_map, fragment_shader_->varying_map()); in TEST_F()
Dshader_translator.h85 VariableMap* varying_map,
128 VariableMap* varying_map,
Dshader_translator.cc172 VariableMap* varying_map, in Translate() argument
199 GetVariableInfo(compiler_, SH_VARYINGS, varying_map); in Translate()
Dmemory_program_cache.cc88 StoreShaderInfo(VARYING_MAP, proto, shader->varying_map()); in FillShaderProto()
259 shader_a->varying_map(), in SaveLinkedProgram()
263 shader_b->varying_map(), in SaveLinkedProgram()
Dmocks.h105 VariableMap* varying_map,
Dprogram_manager.cc1049 &(attached_shaders_[0]->varying_map()); in DetectVaryingsMismatch()
1051 &(attached_shaders_[1]->varying_map()); in DetectVaryingsMismatch()
1110 &(attached_shaders_[0]->varying_map()); in CheckVaryingsPacking()
1112 &(attached_shaders_[1]->varying_map()); in CheckVaryingsPacking()
Dtest_helper.cc671 const ShaderTranslatorInterface::VariableMap* varying_map = in SetShaderStates() local
691 SetArgumentPointee<5>(*varying_map), in SetShaderStates()
Dprogram_manager_unittest.cc777 ShaderTranslator::VariableMap varying_map; in TEST_F() local
805 &attrib_map, &uniform_map, &varying_map, NULL); in TEST_F()
811 &attrib_map, &uniform_map, &varying_map, NULL); in TEST_F()