Searched refs:service_id (Results 1 - 25 of 105) sorted by relevance

12345

/external/chromium_org/gpu/command_buffer/service/
H A Dstream_texture_manager.h24 virtual uint32 CreateStreamTexture(uint32 service_id, uint32 client_id) = 0;
26 virtual void DestroyStreamTexture(uint32 service_id) = 0;
28 virtual StreamTexture* LookupStreamTexture(uint32 service_id) = 0;
H A Dcontext_state.cc54 GLuint service_id = texture_unit.bound_texture_2d.get() local
55 ? texture_unit.bound_texture_2d->service_id()
57 glBindTexture(GL_TEXTURE_2D, service_id);
58 service_id = texture_unit.bound_texture_cube_map.get()
59 ? texture_unit.bound_texture_cube_map->service_id()
61 glBindTexture(GL_TEXTURE_CUBE_MAP, service_id);
64 service_id = texture_unit.bound_texture_external_oes.get()
65 ? texture_unit.bound_texture_external_oes->service_id()
67 glBindTexture(GL_TEXTURE_EXTERNAL_OES, service_id);
71 service_id
[all...]
H A Did_manager_unittest.cc34 GLuint service_id = 0; local
35 EXPECT_TRUE(manager_.GetServiceId(kClientId1, &service_id));
36 EXPECT_EQ(kServiceId1, service_id);
41 service_id = 0;
43 EXPECT_FALSE(manager_.GetServiceId(kClientId2, &service_id));
45 EXPECT_EQ(0u, service_id);
50 service_id = 0;
51 EXPECT_TRUE(manager_.GetServiceId(kClientId1, &service_id));
52 EXPECT_EQ(kServiceId1, service_id);
53 EXPECT_TRUE(manager_.GetServiceId(kClientId2, &service_id));
[all...]
H A Dstream_texture_manager_mock.h22 uint32(uint32 service_id, uint32 client_id));
23 MOCK_METHOD1(DestroyStreamTexture, void(uint32 service_id));
24 MOCK_METHOD1(LookupStreamTexture, StreamTexture*(uint32 service_id));
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
23 if (iter != id_map_.end() && iter->second == service_id) {
30 bool IdManager::GetServiceId(GLuint client_id, GLuint* service_id) { argument
31 DCHECK(service_id);
34 *service_id = iter->second;
40 bool IdManager::GetClientId(GLuint service_id, GLuint* client_id) { argument
46 if (iter->second == service_id) {
H A Did_manager.h25 // Maps a client_id to a service_id. Return false if the client_id or
26 // service_id are already mapped to something else.
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.
33 // Returns false if there is no corresponding service_id.
34 bool GetServiceId(GLuint client_id, GLuint* service_id);
36 // Gets the corresponding client_id for the given service_id.
38 bool GetClientId(GLuint service_id, GLuint* client_id);
H A Dstream_texture_manager_in_process_android.cc15 uint32 service_id,
17 : surface_texture_(new gfx::SurfaceTexture(service_id)),
51 GLuint StreamTextureManagerInProcess::CreateStreamTexture(uint32 service_id, argument
56 new StreamTextureImpl(service_id, stream_id));
57 textures_[service_id] = texture;
65 void StreamTextureManagerInProcess::DestroyStreamTexture(uint32 service_id) { argument
67 textures_.erase(service_id);
71 uint32 service_id) {
73 TextureMap::const_iterator it = textures_.find(service_id);
14 StreamTextureImpl( uint32 service_id, uint32 stream_id) argument
70 LookupStreamTexture( uint32 service_id) argument
H A Dimage_manager.cc51 void ImageManager::AddImage(gfx::GLImage* image, int32 service_id) { argument
52 gl_images_[service_id] = image;
55 void ImageManager::RemoveImage(int32 service_id) { argument
56 gl_images_.erase(service_id);
59 gfx::GLImage* ImageManager::LookupImage(int32 service_id) { argument
60 GLImageMap::const_iterator iter = gl_images_.find(service_id);
H A Dvertex_array_manager.cc32 GLuint client_id, GLuint service_id, uint32 num_vertex_attribs) {
34 new VertexAttribManager(this, service_id, num_vertex_attribs));
67 GLuint service_id, GLuint* client_id) const {
72 if (it->second->service_id() == service_id) {
31 CreateVertexAttribManager( GLuint client_id, GLuint service_id, uint32 num_vertex_attribs) argument
66 GetClientId( GLuint service_id, GLuint* client_id) const argument
H A Dimage_manager.h36 void AddImage(gfx::GLImage* gl_image, int32 service_id);
37 void RemoveImage(int32 service_id);
38 gfx::GLImage* LookupImage(int32 service_id);
H A Dstream_texture_manager_in_process_android.h30 virtual uint32 CreateStreamTexture(uint32 service_id,
32 virtual void DestroyStreamTexture(uint32 service_id) OVERRIDE;
33 virtual gpu::StreamTexture* LookupStreamTexture(uint32 service_id) OVERRIDE;
40 StreamTextureImpl(uint32 service_id, uint32 stream_id);
H A Dvertex_array_manager.h32 void CreateVertexAttribManager(GLuint client_id, GLuint service_id,
42 bool GetClientId(GLuint service_id, GLuint* client_id) const;
H A Dgles2_cmd_decoder_unittest_base.h104 Buffer* GetBuffer(GLuint service_id) { argument
105 return group_->buffer_manager()->GetBuffer(service_id);
108 Framebuffer* GetFramebuffer(GLuint service_id) { argument
109 return group_->framebuffer_manager()->GetFramebuffer(service_id);
113 GLuint service_id) {
114 return group_->renderbuffer_manager()->GetRenderbuffer(service_id);
148 void DoCreateProgram(GLuint client_id, GLuint service_id);
149 void DoCreateShader(GLenum shader_type, GLuint client_id, GLuint service_id);
196 GLuint client_id, GLuint service_id,
219 void DoBindBuffer(GLenum target, GLuint client_id, GLuint service_id);
112 GetRenderbuffer( GLuint service_id) argument
[all...]
H A Dshader_manager.cc15 Shader::Shader(GLuint service_id, GLenum shader_type) argument
17 service_id_(service_id),
104 glDeleteShader(shader->service_id());
114 GLuint service_id,
119 new Shader(service_id, shader_type))));
129 bool ShaderManager::GetClientId(GLuint service_id, GLuint* client_id) const { argument
133 if (it->second->service_id() == service_id) {
112 CreateShader( GLuint client_id, GLuint service_id, GLenum shader_type) argument
H A Drenderbuffer_manager.cc58 GLuint service_id)
61 service_id_(service_id),
74 GLuint id = service_id();
128 GLuint client_id, GLuint service_id) {
130 new Renderbuffer(this, client_id, service_id));
56 Renderbuffer(RenderbufferManager* manager, GLuint client_id, GLuint service_id) argument
127 CreateRenderbuffer( GLuint client_id, GLuint service_id) argument
/external/chromium_org/ppapi/c/private/
H A Dppb_platform_verification_private.h70 * @param[in] service_id A <code>PP_Var</code> of type
71 * <code>PP_VARTYPE_STRING</code> containing the service_id for the challenge.
86 * certificate for the requested service_id.
95 struct PP_Var service_id,
/external/chromium_org/ppapi/thunk/
H A Dppb_platform_verification_api.h22 const PP_Var& service_id,
H A Dppb_platform_verification_private_thunk.cc38 struct PP_Var service_id,
49 service_id,
37 ChallengePlatform(PP_Resource instance, struct PP_Var service_id, struct PP_Var challenge, struct PP_Var* signed_data, struct PP_Var* signed_data_signature, struct PP_Var* platform_key_certificate, struct PP_CompletionCallback callback) argument
/external/chromium_org/content/common/gpu/
H A Dstream_texture_manager_android.cc18 GpuChannel* channel, int service_id)
19 : surface_texture_(new gfx::SurfaceTexture(service_id)),
68 GLuint StreamTextureManagerAndroid::CreateStreamTexture(uint32 service_id, argument
70 // service_id: the actual GL texture name
75 channel_, service_id);
76 textures_from_service_id_.AddWithID(texture, service_id);
80 void StreamTextureManagerAndroid::DestroyStreamTexture(uint32 service_id) { argument
81 gpu::StreamTexture* texture = textures_from_service_id_.Lookup(service_id);
83 textures_from_service_id_.Remove(service_id);
96 uint32 service_id) {
17 StreamTextureAndroid( GpuChannel* channel, int service_id) argument
95 LookupStreamTexture( uint32 service_id) argument
[all...]
H A Dstream_texture_manager_android.h33 virtual uint32 CreateStreamTexture(uint32 service_id,
35 virtual void DestroyStreamTexture(uint32 service_id) OVERRIDE;
36 virtual gpu::StreamTexture* LookupStreamTexture(uint32 service_id) OVERRIDE;
54 StreamTextureAndroid(GpuChannel* channel, int service_id);
/external/bluetooth/bluedroid/bta/gatt/
H A Dbta_gatts_utils.c133 tBTA_GATTS_SRVC_CB * bta_gatts_find_srvc_cb_by_srvc_id(tBTA_GATTS_CB *p_cb, UINT16 service_id) argument
136 APPL_TRACE_DEBUG1("bta_gatts_find_srvc_cb_by_srvc_id service_id=%d", service_id);
140 p_cb->srvc_cb[i].service_id == service_id)
167 attr_id >= p_cb->srvc_cb[i].service_id &&
168 attr_id < p_cb->srvc_cb[i + 1].service_id) ||
173 attr_id >= p_cb->srvc_cb[i].service_id) ||
176 attr_id >= p_cb->srvc_cb[i].service_id)
H A Dbta_gatts_api.c186 ** Parameters service_id: service ID to which this included service is to
193 void BTA_GATTS_AddIncludeService(UINT16 service_id, UINT16 included_service_id) argument
203 p_buf->hdr.layer_specific = service_id;
217 ** Parameters service_id: service ID to which this included service is to
226 void BTA_GATTS_AddCharacteristic (UINT16 service_id, tBT_UUID *p_char_uuid, argument
236 p_buf->hdr.layer_specific = service_id;
257 ** Parameters service_id: service ID to which this charatceristic descriptor is to
265 void BTA_GATTS_AddCharDescriptor (UINT16 service_id, argument
278 p_buf->hdr.layer_specific = service_id;
298 ** Parameters service_id
303 BTA_GATTS_DeleteService(UINT16 service_id) argument
331 BTA_GATTS_StartService(UINT16 service_id, tBTA_GATT_TRANSPORT sup_transport) argument
358 BTA_GATTS_StopService(UINT16 service_id) argument
[all...]
/external/chromium_org/ppapi/api/private/
H A Dppb_platform_verification_private.idl53 * @param[in] service_id A <code>PP_Var</code> of type
54 * <code>PP_VARTYPE_STRING</code> containing the service_id for the challenge.
69 * certificate for the requested service_id.
79 [in] PP_Var service_id,
/external/chromium_org/ppapi/cpp/private/
H A Dplatform_verification.cc40 const Var& service_id,
50 pp_resource(), service_id.pp_var(), challenge.pp_var(),
39 ChallengePlatform( const Var& service_id, const Var& challenge, Var* signed_data, Var* signed_data_signature, Var* platform_key_certificate, const CompletionCallback& callback) argument
H A Dplatform_verification.h21 int32_t ChallengePlatform(const Var& service_id,

Completed in 340 milliseconds

12345