Searched refs:client_id (Results 176 - 200 of 264) sorted by path

1234567891011

/external/chromium_org/gpu/command_buffer/service/
H A Dgles2_cmd_decoder_unittest_base.cc469 GLenum shader_type, GLuint client_id, GLuint service_id) {
475 cmd.Init(shader_type, client_id);
479 bool GLES2DecoderTestBase::DoIsShader(GLuint client_id) { argument
480 return IsObjectHelper<cmds::IsShader, cmds::IsShader::Result>(client_id);
484 GLuint client_id, GLuint service_id) {
489 cmd.Init(client_id);
494 GLuint client_id, GLuint service_id) {
500 cmd.Init(client_id);
504 bool GLES2DecoderTestBase::DoIsProgram(GLuint client_id) { argument
505 return IsObjectHelper<cmds::IsProgram, cmds::IsProgram::Result>(client_id);
468 DoCreateShader( GLenum shader_type, GLuint client_id, GLuint service_id) argument
483 DoDeleteShader( GLuint client_id, GLuint service_id) argument
493 DoCreateProgram( GLuint client_id, GLuint service_id) argument
508 DoDeleteProgram( GLuint client_id, GLuint ) argument
693 DoBindBuffer( GLenum target, GLuint client_id, GLuint service_id) argument
703 DoIsBuffer(GLuint client_id) argument
707 DoDeleteBuffer( GLuint client_id, GLuint service_id) argument
875 DoBindFramebuffer( GLenum target, GLuint client_id, GLuint service_id) argument
885 DoIsFramebuffer(GLuint client_id) argument
890 DoDeleteFramebuffer( GLuint client_id, GLuint service_id, bool reset_draw, GLenum draw_target, GLuint draw_id, bool reset_read, GLenum read_target, GLuint read_id) argument
910 DoBindRenderbuffer( GLenum target, GLuint client_id, GLuint service_id) argument
965 DoIsRenderbuffer(GLuint client_id) argument
970 DoDeleteRenderbuffer( GLuint client_id, GLuint service_id) argument
978 DoBindTexture( GLenum target, GLuint client_id, GLuint service_id) argument
988 DoIsTexture(GLuint client_id) argument
992 DoDeleteTexture( GLuint client_id, GLuint service_id) argument
[all...]
H A Dgles2_cmd_decoder_unittest_base.h44 void GenHelper(GLuint client_id) { argument
45 int8 buffer[sizeof(T) + sizeof(client_id)];
47 cmd.Init(1, &client_id);
49 ExecuteImmediateCmd(cmd, sizeof(client_id)));
117 TextureRef* GetTexture(GLuint client_id) { argument
118 return group_->texture_manager()->GetTexture(client_id);
121 Shader* GetShader(GLuint client_id) { argument
122 return group_->shader_manager()->GetShader(client_id);
125 Program* GetProgram(GLuint client_id) { argument
126 return group_->program_manager()->GetProgram(client_id);
129 GetQueryInfo(GLuint client_id) argument
135 GetVertexArrayInfo(GLuint client_id) argument
382 IsObjectHelper(GLuint client_id) argument
[all...]
H A Did_manager.cc15 bool IdManager::AddMapping(GLuint client_id, GLuint service_id) { argument
17 std::make_pair(client_id, service_id));
21 bool IdManager::RemoveMapping(GLuint client_id, GLuint service_id) { argument
22 MapType::iterator iter = id_map_.find(client_id);
30 bool IdManager::GetServiceId(GLuint client_id, GLuint* service_id) { argument
32 MapType::iterator iter = id_map_.find(client_id);
40 bool IdManager::GetClientId(GLuint service_id, GLuint* client_id) { argument
41 DCHECK(client_id);
47 *client_id = iter->first;
H A Did_manager.h25 // Maps a client_id to a service_id. Return false if the client_id or
27 bool AddMapping(GLuint client_id, GLuint service_id);
30 bool RemoveMapping(GLuint client_id, GLuint service_id);
32 // Gets the corresponding service_id for the given client_id.
34 bool GetServiceId(GLuint client_id, GLuint* service_id);
36 // Gets the corresponding client_id for the given service_id.
37 // Returns false if there is no corresponding client_id.
38 bool GetClientId(GLuint service_id, GLuint* client_id);
H A Did_manager_unittest.cc37 GLuint client_id = 0; local
38 EXPECT_TRUE(manager_.GetClientId(kServiceId1, &client_id));
39 EXPECT_EQ(kClientId1, client_id);
42 client_id = 0;
44 EXPECT_FALSE(manager_.GetClientId(kServiceId2, &client_id));
46 EXPECT_EQ(0u, client_id);
55 client_id = 0;
56 EXPECT_TRUE(manager_.GetClientId(kServiceId1, &client_id));
57 EXPECT_EQ(kClientId1, client_id);
58 EXPECT_TRUE(manager_.GetClientId(kServiceId2, &client_id));
[all...]
H A Dprogram_manager.cc1279 GLuint client_id, GLuint service_id) {
1282 std::make_pair(client_id,
1289 Program* ProgramManager::GetProgram(GLuint client_id) { argument
1290 ProgramMap::iterator it = programs_.find(client_id);
1294 bool ProgramManager::GetClientId(GLuint service_id, GLuint* client_id) const {
1299 *client_id = it->first;
1278 CreateProgram( GLuint client_id, GLuint service_id) argument
H A Dprogram_manager.h367 Program* CreateProgram(GLuint client_id, GLuint service_id);
370 Program* GetProgram(GLuint client_id);
373 bool GetClientId(GLuint service_id, GLuint* client_id) const;
H A Dprogram_manager_unittest.cc63 GLuint client_id = 0; local
64 EXPECT_TRUE(manager_.GetClientId(program1->service_id(), &client_id));
65 EXPECT_EQ(kClient1Id, client_id);
H A Dquery_manager.cc476 GLenum target, GLuint client_id, int32 shm_id, uint32 shm_offset) {
510 queries_.insert(std::make_pair(client_id, query));
528 GLuint client_id) {
529 QueryMap::iterator it = queries_.find(client_id);
533 void QueryManager::RemoveQuery(GLuint client_id) { argument
534 QueryMap::iterator it = queries_.find(client_id);
541 generated_query_ids_.erase(client_id);
475 CreateQuery( GLenum target, GLuint client_id, int32 shm_id, uint32 shm_offset) argument
527 GetQuery( GLuint client_id) argument
H A Dquery_manager.h158 GLenum target, GLuint client_id, int32 shm_id, uint32 shm_offset);
161 Query* GetQuery(GLuint client_id);
164 void RemoveQuery(GLuint client_id);
H A Dquery_manager_unittest.cc63 GLenum target, GLuint client_id, int32 shm_id, uint32 shm_offset,
68 return manager_->CreateQuery(target, client_id, shm_id, shm_offset);
62 CreateQuery( GLenum target, GLuint client_id, int32 shm_id, uint32 shm_offset, GLuint service_id) argument
H A Drenderbuffer_manager.cc57 GLuint client_id,
60 client_id_(client_id),
128 GLuint client_id, GLuint service_id) {
130 new Renderbuffer(this, client_id, service_id));
132 renderbuffers_.insert(std::make_pair(client_id, renderbuffer));
140 GLuint client_id) {
141 RenderbufferMap::iterator it = renderbuffers_.find(client_id);
145 void RenderbufferManager::RemoveRenderbuffer(GLuint client_id) { argument
146 RenderbufferMap::iterator it = renderbuffers_.find(client_id);
56 Renderbuffer(RenderbufferManager* manager, GLuint client_id, GLuint service_id) argument
127 CreateRenderbuffer( GLuint client_id, GLuint service_id) argument
139 GetRenderbuffer( GLuint client_id) argument
H A Drenderbuffer_manager.h27 GLuint client_id,
34 GLuint client_id() const { function in class:gpu::gles2::Renderbuffer
155 void CreateRenderbuffer(GLuint client_id, GLuint service_id);
158 Renderbuffer* GetRenderbuffer(GLuint client_id);
161 void RemoveRenderbuffer(GLuint client_id);
H A Drenderbuffer_manager_unittest.cc86 EXPECT_EQ(kClient1Id, renderbuffer1->client_id());
99 EXPECT_EQ(0u, renderbuffer1->client_id());
H A Dshader_manager.cc155 GLuint client_id,
160 client_id, scoped_refptr<Shader>(
166 Shader* ShaderManager::GetShader(GLuint client_id) { argument
167 ShaderMap::iterator it = shaders_.find(client_id);
171 bool ShaderManager::GetClientId(GLuint service_id, GLuint* client_id) const {
176 *client_id = it->first;
154 CreateShader( GLuint client_id, GLuint service_id, GLenum shader_type) argument
H A Dshader_manager.h182 GLuint client_id,
188 Shader* GetShader(GLuint client_id);
191 bool GetClientId(GLuint service_id, GLuint* client_id) const;
H A Dtexture_manager.cc842 GLuint client_id,
846 client_id_(client_id),
855 GLuint client_id,
857 return new TextureRef(manager, client_id, new Texture(service_id));
1092 GLuint client_id,
1094 DCHECK(client_id);
1095 scoped_refptr<TextureRef> ref(new TextureRef(this, client_id, texture));
1096 bool result = textures_.insert(std::make_pair(client_id, ref)).second;
1159 GLuint client_id, GLuint service_id) {
1162 this, client_id, service_i
841 TextureRef(TextureManager* manager, GLuint client_id, Texture* texture) argument
854 Create(TextureManager* manager, GLuint client_id, GLuint service_id) argument
1091 Consume( GLuint client_id, Texture* texture) argument
1158 CreateTexture( GLuint client_id, GLuint service_id) argument
1175 RemoveTexture(GLuint client_id) argument
[all...]
H A Dtexture_manager.h402 TextureRef(TextureManager* manager, GLuint client_id, Texture* texture);
404 GLuint client_id,
412 GLuint client_id() const { return client_id_; } function in class:gpu::gles2::TextureRef
583 TextureRef* Consume(GLuint client_id, Texture* texture);
611 TextureRef* CreateTexture(GLuint client_id, GLuint service_id);
614 TextureRef* GetTexture(GLuint client_id) const;
617 void RemoveTexture(GLuint client_id);
H A Dtexture_manager_unittest.cc116 EXPECT_EQ(kClient1Id, texture->client_id());
130 EXPECT_EQ(0u, texture->client_id());
429 if (!texture_ref_->client_id()) {
1887 if (!texture2_->client_id()) {
1981 void Consume(GLuint client_id, Texture* texture) { argument
1982 EXPECT_TRUE(manager_->Consume(client_id, texture));
2021 GLuint client_id = texture2_->client_id(); local
2022 manager_->RemoveTexture(client_id);
2023 Consume(client_id, produced_textur
2052 GLuint client_id = texture2_->client_id(); local
2078 GLuint client_id = texture2_->client_id(); local
2108 GLuint client_id = texture2_->client_id(); local
2150 GLuint client_id = texture2_->client_id(); local
[all...]
H A Dvertex_array_manager.cc32 VertexArrayManager::CreateVertexAttribManager(GLuint client_id, argument
42 std::make_pair(client_id, vertex_attrib_manager));
50 GLuint client_id) {
51 VertexAttribManagerMap::iterator it = vertex_attrib_managers_.find(client_id);
55 void VertexArrayManager::RemoveVertexAttribManager(GLuint client_id) { argument
56 VertexAttribManagerMap::iterator it = vertex_attrib_managers_.find(client_id);
75 GLuint service_id, GLuint* client_id) const {
81 *client_id = it->first;
49 GetVertexAttribManager( GLuint client_id) argument
H A Dvertex_array_manager.h32 // maps it to the client_id.
34 GLuint client_id,
40 VertexAttribManager* GetVertexAttribManager(GLuint client_id);
43 void RemoveVertexAttribManager(GLuint client_id);
46 bool GetClientId(GLuint service_id, GLuint* client_id) const;
H A Dvertex_array_manager_unittest.cc62 GLuint client_id = 0; local
63 EXPECT_TRUE(manager_->GetClientId(info1->service_id(), &client_id));
64 EXPECT_EQ(kClient1Id, client_id);
/external/chromium_org/ios/public/provider/components/signin/browser/
H A Dprofile_oauth2_token_service_ios_provider.h63 const std::string& client_id,
/external/chromium_org/ios/public/test/
H A Dfake_profile_oauth2_token_service_ios_provider.h28 const std::string& client_id,
/external/chromium_org/media/midi/
H A Dmidi_manager.cc29 void MidiManager::StartSession(MidiManagerClient* client, int client_id) { argument
46 pending_clients_.insert(std::make_pair(client, client_id));
61 client->CompleteStartSession(client_id, MIDI_INITIALIZATION_ERROR);
78 client->CompleteStartSession(client_id, result);

Completed in 503 milliseconds

1234567891011