/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...] |
image_manager.cc | 50 void ImageManager::AddImage(gfx::GLImage* image, int32 service_id) { 51 gl_images_[service_id] = image; 54 void ImageManager::RemoveImage(int32 service_id) { 55 gl_images_.erase(service_id); 58 gfx::GLImage* ImageManager::LookupImage(int32 service_id) { 59 GLImageMap::const_iterator iter = gl_images_.find(service_id);
|
vertex_array_manager.cc | 33 GLuint service_id, 37 new VertexAttribManager(this, service_id, num_vertex_attribs)); 75 GLuint service_id, GLuint* client_id) const { 80 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);
|
context_state.cc | 31 ? unit.bound_texture_2d->service_id() : 0; 36 ? unit.bound_texture_cube_map->service_id() : 0; 41 ? unit.bound_texture_external_oes->service_id() : 0; 46 ? unit.bound_texture_rectangle_arb->service_id() : 0; 155 element_array_buffer ? element_array_buffer->service_id() : 0); 158 bound_array_buffer.get() ? bound_array_buffer->service_id() : 0); 165 bound_renderbuffer.get() ? bound_renderbuffer->service_id() : 0); 169 glUseProgram(current_program.get() ? current_program->service_id() : 0); 201 // This is expected to be called only for VAO with service_id 0, 202 // either to restore the default VAO or a virtual VAO with service_id 0 [all...] |
gles2_cmd_decoder_unittest_base.h | 106 Buffer* GetBuffer(GLuint service_id) { 107 return group_->buffer_manager()->GetBuffer(service_id); 110 Framebuffer* GetFramebuffer(GLuint service_id) { 111 return group_->framebuffer_manager()->GetFramebuffer(service_id); 115 GLuint service_id) { 116 return group_->renderbuffer_manager()->GetRenderbuffer(service_id); 145 void DoCreateProgram(GLuint client_id, GLuint service_id); 146 void DoCreateShader(GLenum shader_type, GLuint client_id, GLuint service_id); 194 GLuint client_id, GLuint service_id, 217 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 | 35 GLuint service_id, 46 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));
|
test_helper.cc | 478 GLuint service_id) { 480 GetProgramiv(service_id, GL_LINK_STATUS, _)) 484 GetProgramiv(service_id, GL_INFO_LOG_LENGTH, _)) 488 GetProgramiv(service_id, GL_ACTIVE_ATTRIBUTES, _)) 497 GetProgramiv(service_id, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, _)) 504 GetActiveAttrib(service_id, ii, 514 EXPECT_CALL(*gl, GetAttribLocation(service_id, StrEq(info.name))) 520 GetProgramiv(service_id, GL_ACTIVE_UNIFORMS, _)) 530 GetProgramiv(service_id, GL_ACTIVE_UNIFORM_MAX_LENGTH, _)) 536 GetActiveUniform(service_id, ii [all...] |
renderbuffer_manager.h | 28 GLuint service_id); 30 GLuint service_id() const { function in class:gpu::gles2::Renderbuffer 155 void CreateRenderbuffer(GLuint client_id, GLuint service_id);
|
buffer_manager.cc | 44 void BufferManager::CreateBuffer(GLuint client_id, GLuint service_id) { 45 scoped_refptr<Buffer> buffer(new Buffer(this, service_id)); 75 Buffer::Buffer(BufferManager* manager, GLuint service_id) 81 service_id_(service_id), 90 GLuint id = service_id(); 228 bool BufferManager::GetClientId(GLuint service_id, GLuint* client_id) const { 232 if (it->second->service_id() == service_id) {
|
gles2_cmd_decoder_mock.h | 69 MOCK_CONST_METHOD1(RestoreTextureState, void(unsigned service_id)); 93 unsigned service_id,
|
/external/bluetooth/bluedroid/bta/gatt/ |
bta_gatts_api.c | 184 ** Parameters service_id: service ID to which this included service is to 191 void BTA_GATTS_AddIncludeService(UINT16 service_id, UINT16 included_service_id) 201 p_buf->hdr.layer_specific = service_id; 215 ** Parameters service_id: service ID to which this included service is to 224 void BTA_GATTS_AddCharacteristic (UINT16 service_id, tBT_UUID *p_char_uuid, 234 p_buf->hdr.layer_specific = service_id; 255 ** Parameters service_id: service ID to which this charatceristic descriptor is to 263 void BTA_GATTS_AddCharDescriptor (UINT16 service_id, 276 p_buf->hdr.layer_specific = service_id; 296 ** 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_DEBUG("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)
|
bta_gatts_act.c | 350 UINT16 service_id = 0; local 363 service_id = GATTS_CreateService (p_cb->rcb[rcb_idx].gatt_if, 369 if (service_id != 0) 373 p_cb->srvc_cb[srvc_idx].service_id = service_id; 378 cb_data.create.service_id = service_id; 422 cb_data.add_result.service_id = p_msg->api_add_incl_srvc.hdr.layer_specific; 457 cb_data.add_result.service_id = p_msg->api_add_incl_srvc.hdr.layer_specific; 495 cb_data.add_result.service_id = p_msg->api_add_incl_srvc.hdr.layer_specific [all...] |
/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 | 36 struct PP_Var service_id, 47 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,
|
/external/chromium_org/sandbox/win/src/ |
service_resolver_32.cc | 45 ULONG service_id; member in struct:__anon14615::ServiceEntry 65 ULONG service_id; member in struct:__anon14615::ServiceEntryW8 96 ULONG service_id; member in struct:__anon14615::Wow64Entry 115 ULONG service_id; member in struct:__anon14615::Wow64EntryW8 278 intercepted_code.service_id = full_local_thunk->original.service_id; 286 intercepted_code.service_id = relative_jump_; 333 ULONG relative = function_code.service_id; 338 function_code.service_id = relative;
|