1/* 2 * Copyright (C) 2018 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17{ 18global: 19 # virglrenderer API 20 virgl_renderer_init; 21 virgl_renderer_poll; 22 virgl_renderer_get_cursor_data; 23 virgl_renderer_resource_create; 24 virgl_renderer_resource_unref; 25 virgl_renderer_context_create; 26 virgl_renderer_context_destroy; 27 virgl_renderer_submit_cmd; 28 virgl_renderer_transfer_read_iov; 29 virgl_renderer_transfer_write_iov; 30 virgl_renderer_get_cap_set; 31 virgl_renderer_fill_caps; 32 virgl_renderer_resource_attach_iov; 33 virgl_renderer_resource_detach_iov; 34 virgl_renderer_create_fence; 35 virgl_renderer_force_ctx_0; 36 virgl_renderer_ctx_attach_resource; 37 virgl_renderer_ctx_detach_resource; 38 virgl_renderer_resource_get_info; 39 40 # fake gralloc1 implementation 41 hw_get_module; 42 43 # fake libsync implementation 44 sync_wait; 45 46 # Type-strings and type-infos required by sanitizers 47 _ZTS*; 48 _ZTI*; 49 50local: 51 *; 52}; 53