Home
last modified time | relevance | path

Searched refs:attrib_map (Results 1 – 12 of 12) 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
62 &attrib_map, in TEST_F()
71 EXPECT_TRUE(attrib_map.empty()); in TEST_F()
87 ShaderTranslatorInterface::VariableMap attrib_map, uniform_map, varying_map; in TEST_F() local
92 &attrib_map, in TEST_F()
101 EXPECT_TRUE(attrib_map.empty()); in TEST_F()
111 &attrib_map, in TEST_F()
127 ShaderTranslatorInterface::VariableMap attrib_map, uniform_map, varying_map; in TEST_F() local
132 &attrib_map, in TEST_F()
141 EXPECT_TRUE(attrib_map.empty()); in TEST_F()
[all …]
Dshader_manager_unittest.cc134 EXPECT_EQ(0u, shader1->attrib_map().size()); in TEST_F()
148 ShaderTranslator::VariableMap attrib_map; in TEST_F() local
149 attrib_map[kAttrib1Name] = ShaderTranslatorInterface::VariableInfo( in TEST_F()
152 attrib_map[kAttrib2Name] = ShaderTranslatorInterface::VariableInfo( in TEST_F()
169 &attrib_map, &uniform_map, &varying_map, NULL); in TEST_F()
177 EXPECT_EQ(attrib_map.size(), shader1->attrib_map().size()); in TEST_F()
178 for (ShaderTranslator::VariableMap::const_iterator it = attrib_map.begin(); in TEST_F()
179 it != attrib_map.end(); ++it) { in TEST_F()
219 &attrib_map, &uniform_map, &varying_map, NULL); in TEST_F()
223 EXPECT_TRUE(shader1->attrib_map().empty()); in TEST_F()
Dshader_manager.h91 const ShaderTranslator::VariableMap& attrib_map() const { in attrib_map() function
106 void set_attrib_map(const ShaderTranslator::VariableMap& attrib_map) { in set_attrib_map() argument
108 attrib_map_ = ShaderTranslator::VariableMap(attrib_map); in set_attrib_map()
Dmemory_program_cache_unittest.cc264 VariableMap vertex_attrib_map = vertex_shader_->attrib_map(); in TEST_F()
267 VariableMap fragment_attrib_map = fragment_shader_->attrib_map(); in TEST_F()
293 EXPECT_EQ(vertex_attrib_map, vertex_shader_->attrib_map()); in TEST_F()
296 EXPECT_EQ(fragment_attrib_map, fragment_shader_->attrib_map()); in TEST_F()
319 VariableMap vertex_attrib_map = vertex_shader_->attrib_map(); in TEST_F()
322 VariableMap fragment_attrib_map = fragment_shader_->attrib_map(); in TEST_F()
351 EXPECT_EQ(vertex_attrib_map, vertex_shader_->attrib_map()); in TEST_F()
354 EXPECT_EQ(fragment_attrib_map, fragment_shader_->attrib_map()); in TEST_F()
Dshader_translator.h83 VariableMap* attrib_map,
126 VariableMap* attrib_map,
Dprogram_manager_unittest.cc775 ShaderTranslator::VariableMap attrib_map; in TEST_F() local
778 attrib_map[kAttrib1Name] = ShaderTranslatorInterface::VariableInfo( in TEST_F()
781 attrib_map[kAttrib2Name] = ShaderTranslatorInterface::VariableInfo( in TEST_F()
784 attrib_map[kAttrib3Name] = 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()
862 ShaderTranslator::VariableMap::const_iterator it = attrib_map.find( in TEST_F()
864 ASSERT_TRUE(it != attrib_map.end()); in TEST_F()
1089 ShaderTranslator::VariableMap attrib_map; in TEST_F() local
1091 attrib_map[kAttribs[ii].name] = ShaderTranslatorInterface::VariableInfo( in TEST_F()
[all …]
Dshader_translator.cc170 VariableMap* attrib_map, in Translate() argument
197 GetVariableInfo(compiler_, SH_ACTIVE_ATTRIBUTES, attrib_map); in Translate()
Dmemory_program_cache.cc86 StoreShaderInfo(ATTRIB_MAP, proto, shader->attrib_map()); in FillShaderProto()
257 shader_a->attrib_map(), in SaveLinkedProgram()
261 shader_b->attrib_map(), in SaveLinkedProgram()
Dprogram_cache_unittest.cc45 std::map<std::string, GLint>* attrib_map) { in SaySuccessfullyCached() argument
54 attrib_map, in SaySuccessfullyCached()
Dmocks.h103 VariableMap* attrib_map,
Dtest_helper.cc663 const ShaderTranslatorInterface::VariableMap* attrib_map = in SetShaderStates() local
689 SetArgumentPointee<3>(*attrib_map), in SetShaderStates()
Dprogram_manager.cc1089 &(attached_shaders_[0]->attrib_map()); in DetectGlobalNameConflicts()