Home
last modified time | relevance | path

Searched refs:surface_info (Results 1 – 5 of 5) sorted by relevance

/external/mesa3d/src/gallium/state_trackers/xvmc/tests/
Dtestlib.c72 …XvMCSurfaceInfo *surface_info = XvMCListSurfaceTypes(display, adaptor_info[i].base_id, &num_types); in GetPort() local
74 if (surface_info) in GetPort()
80 surface_info[j].chroma_format == chroma_format && in GetPort()
81 surface_info[j].max_width >= width && in GetPort()
82 surface_info[j].max_height >= height in GetPort()
87 if (surface_info[j].mc_type == mc_types[k]) in GetPort()
94 *surface_type_id = surface_info[j].surface_type_id; in GetPort()
95 *is_overlay = surface_info[j].flags & XVMC_OVERLAID_SURFACE; in GetPort()
96 *intra_unsigned = surface_info[j].flags & XVMC_INTRA_UNSIGNED; in GetPort()
105 XFree(surface_info); in GetPort()
/external/mesa3d/src/gallium/state_trackers/xvmc/
Dcontext.c77 XvMCSurfaceInfo *surface_info; in Validate() local
84 surface_info = XvMCListSurfaceTypes(dpy, adaptor_info[j].base_id, &num_types); in Validate()
85 if (!surface_info) { in Validate()
91 if (surface_info[l].surface_type_id != surface_type_id) in Validate()
95 max_width = surface_info[l].max_width; in Validate()
96 max_height = surface_info[l].max_height; in Validate()
97 *chroma_format = surface_info[l].chroma_format; in Validate()
98 *mc_type = surface_info[l].mc_type; in Validate()
99 *surface_flags = surface_info[l].flags; in Validate()
100 *subpic_max_w = surface_info[l].subpicture_max_width; in Validate()
[all …]
/external/vulkan-validation-layers/demos/smoke/
DShellWin32.cpp148 VkWin32SurfaceCreateInfoKHR surface_info = {}; in create_surface() local
149 surface_info.sType = VK_STRUCTURE_TYPE_WIN32_SURFACE_CREATE_INFO_KHR; in create_surface()
150 surface_info.hinstance = hinstance_; in create_surface()
151 surface_info.hwnd = hwnd_; in create_surface()
154 vk::assert_success(vk::CreateWin32SurfaceKHR(instance, &surface_info, nullptr, &surface)); in create_surface()
DShellAndroid.cpp139 VkAndroidSurfaceCreateInfoKHR surface_info = {}; in create_surface() local
140 surface_info.sType = VK_STRUCTURE_TYPE_ANDROID_SURFACE_CREATE_INFO_KHR; in create_surface()
141 surface_info.window = app_.window; in create_surface()
144 vk::assert_success(vk::CreateAndroidSurfaceKHR(instance, &surface_info, nullptr, &surface)); in create_surface()
DShellXcb.cpp199 VkXcbSurfaceCreateInfoKHR surface_info = {}; in create_surface() local
200 surface_info.sType = VK_STRUCTURE_TYPE_XCB_SURFACE_CREATE_INFO_KHR; in create_surface()
201 surface_info.connection = c_; in create_surface()
202 surface_info.window = win_; in create_surface()
205 vk::assert_success(vk::CreateXcbSurfaceKHR(instance, &surface_info, nullptr, &surface)); in create_surface()