/external/chromium_org/gpu/command_buffer/service/ |
id_manager.cc | 15 bool IdManager::AddMapping(GLuint client_id, GLuint service_id) { 17 std::make_pair(client_id, service_id)); 21 bool IdManager::RemoveMapping(GLuint client_id, GLuint service_id) { 23 if (iter != id_map_.end() && iter->second == service_id) { 30 bool IdManager::GetServiceId(GLuint client_id, GLuint* service_id) { 31 DCHECK(service_id); 34 *service_id = iter->second; 40 bool IdManager::GetClientId(GLuint service_id, GLuint* client_id) { 46 if (iter->second == service_id) {
|
id_manager.h | 25 // 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);
|
id_manager_unittest.cc | 34 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...] |
stream_texture_manager.h | 24 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;
|
stream_texture_manager_mock.h | 22 uint32(uint32 service_id, uint32 client_id)); 23 MOCK_METHOD1(DestroyStreamTexture, void(uint32 service_id)); 24 MOCK_METHOD1(LookupStreamTexture, StreamTexture*(uint32 service_id));
|
context_state.cc | 54 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 = texture_unit.bound_texture_rectangle_arb.get( [all...] |
image_manager.cc | 51 void ImageManager::AddImage(gfx::GLImage* image, int32 service_id) { 52 gl_images_[service_id] = image; 55 void ImageManager::RemoveImage(int32 service_id) { 56 gl_images_.erase(service_id); 59 gfx::GLImage* ImageManager::LookupImage(int32 service_id) { 60 GLImageMap::const_iterator iter = gl_images_.find(service_id);
|
stream_texture_manager_in_process_android.cc | 15 uint32 service_id, 17 : surface_texture_(new gfx::SurfaceTexture(service_id)), 51 GLuint StreamTextureManagerInProcess::CreateStreamTexture(uint32 service_id, 56 new StreamTextureImpl(service_id, stream_id)); 57 textures_[service_id] = texture; 65 void StreamTextureManagerInProcess::DestroyStreamTexture(uint32 service_id) { 67 textures_.erase(service_id); 71 uint32 service_id) { 73 TextureMap::const_iterator it = textures_.find(service_id);
|
stream_texture_manager_in_process_android.h | 30 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);
|
vertex_array_manager.cc | 32 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) {
|
image_manager.h | 36 void AddImage(gfx::GLImage* gl_image, int32 service_id); 37 void RemoveImage(int32 service_id); 38 gfx::GLImage* LookupImage(int32 service_id);
|
gles2_cmd_decoder_unittest_base.h | 104 Buffer* GetBuffer(GLuint service_id) { 105 return group_->buffer_manager()->GetBuffer(service_id); 108 Framebuffer* GetFramebuffer(GLuint service_id) { 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); [all...] |
shader_manager.cc | 15 Shader::Shader(GLuint service_id, GLenum shader_type) 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 { 133 if (it->second->service_id() == service_id) {
|
vertex_array_manager.h | 32 void CreateVertexAttribManager(GLuint client_id, GLuint service_id, 42 bool GetClientId(GLuint service_id, GLuint* client_id) const;
|
renderbuffer_manager.cc | 58 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));
|
/external/chromium_org/content/common/gpu/ |
stream_texture_manager_android.cc | 18 GpuChannel* channel, int service_id) 19 : surface_texture_(new gfx::SurfaceTexture(service_id)), 68 GLuint StreamTextureManagerAndroid::CreateStreamTexture(uint32 service_id, 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) { 81 gpu::StreamTexture* texture = textures_from_service_id_.Lookup(service_id); 83 textures_from_service_id_.Remove(service_id); 96 uint32 service_id) { [all...] |
stream_texture_manager_android.h | 33 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/ |
bta_gatts_api.c | 186 ** Parameters service_id: service ID to which this included service is to 193 void BTA_GATTS_AddIncludeService(UINT16 service_id, UINT16 included_service_id) 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, 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, 278 p_buf->hdr.layer_specific = service_id; 298 ** Parameters service_id: service_id to be deleted [all...] |
bta_gatts_utils.c | 133 tBTA_GATTS_SRVC_CB * bta_gatts_find_srvc_cb_by_srvc_id(tBTA_GATTS_CB *p_cb, UINT16 service_id) 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)
|
/external/chromium_org/ppapi/api/private/ |
ppb_platform_verification_private.idl | 53 * @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/ |
platform_verification.h | 21 int32_t ChallengePlatform(const Var& service_id,
|
platform_verification.cc | 40 const Var& service_id, 50 pp_resource(), service_id.pp_var(), challenge.pp_var(),
|
/external/chromium_org/ppapi/thunk/ |
ppb_platform_verification_api.h | 22 const PP_Var& service_id,
|
ppb_platform_verification_private_thunk.cc | 38 struct PP_Var service_id, 49 service_id,
|
/external/chromium_org/ppapi/c/private/ |
ppb_platform_verification_private.h | 70 * @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,
|