/external/chromium_org/gpu/command_buffer/service/ |
D | shader_translator_unittest.cc | 57 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 …]
|
D | shader_manager_unittest.cc | 135 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()
|
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 | 265 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()
|
D | shader_translator.h | 84 VariableMap* uniform_map, 127 VariableMap* uniform_map,
|
D | shader_translator.cc | 171 VariableMap* uniform_map, in Translate() argument 198 GetVariableInfo(compiler_, SH_ACTIVE_UNIFORMS, uniform_map); in Translate()
|
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 | 1018 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()
|
D | mocks.h | 104 VariableMap* uniform_map,
|
D | program_manager_unittest.cc | 776 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()
|
D | test_helper.cc | 667 const ShaderTranslatorInterface::VariableMap* uniform_map = in SetShaderStates() local 690 SetArgumentPointee<4>(*uniform_map), in SetShaderStates()
|