/vbox/src/VBox/Frontends/VBoxFB/ |
H A D | Framebuffer.h | 60 IDirectFBSurface *surface; member in class:VBoxDirectFB
|
H A D | VBoxFB.cpp | 249 IDirectFBSurface *surface = NULL; local 302 DFBCHECK(dfb->CreateSurface(dfb, &dsc, &surface)); 303 DFBCHECK(surface->Clear(surface, 0, 0, 0, 0)); 304 DFBCHECK(surface->GetSize(surface, &screen_width, &screen_height)); 328 frameBuffer = new VBoxDirectFB(dfb, surface);
|
/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/wined3d/ |
H A D | palette.c | 149 struct wined3d_surface *surface = surface_from_resource(resource); local 150 if (surface->palette == palette) 151 surface->surface_ops->surface_realize_palette(surface);
|
H A D | texture.c | 689 struct wined3d_surface *surface = surface_from_resource(texture->sub_resources[i]); local 690 surface_set_texture_name(surface, gl_tex->name, srgb_tex); 795 struct wined3d_surface *surface = surface_from_resource(sub_resource); local 797 /* Clean out the texture name we gave to the surface so that the 798 * surface doesn't try and release it. */ 799 surface_set_texture_name(surface, 0, TRUE); 800 surface_set_texture_name(surface, 0, FALSE); 801 surface_set_texture_target(surface, 0, 0); 802 surface_set_container(surface, NULL); 803 wined3d_surface_decref(surface); 818 struct wined3d_surface *surface = surface_from_resource(sub_resource); local 950 struct wined3d_surface *surface; local 1007 struct wined3d_surface *surface = surface_from_resource(texture->sub_resources[idx]); local 1047 struct wined3d_surface *surface = surface_from_resource(texture->sub_resources[idx]); local 1241 struct wined3d_surface *surface; local 1289 struct wined3d_surface *surface = surface_from_resource(texture->sub_resources[i]); local 1333 struct wined3d_surface *surface = surface_from_resource(texture->sub_resources[i]); local [all...] |
H A D | context.c | 217 GLenum fbo_target, DWORD idx, struct wined3d_surface *surface, DWORD location) 221 TRACE("Attach surface %p to %u\n", surface, idx); 223 if (surface && surface->resource.format->id != WINED3DFMT_NULL) 232 surface_prepare_texture(surface, context, srgb); 234 surface->texture_target, surface_get_texture_name(surface, gl_info, srgb), 235 surface->texture_level); 240 surface_prepare_rb(surface, gl_inf 216 context_attach_surface_fbo(struct wined3d_context *context, GLenum fbo_target, DWORD idx, struct wined3d_surface *surface, DWORD location) argument 632 context_enum_surface_fbo_entries(const struct wined3d_device *device, const struct wined3d_surface *surface, context_fbo_entry_func_t *callback) argument 710 context_surface_update(struct wined3d_context *context, const struct wined3d_surface *surface) argument [all...] |
H A D | utils.c | 321 /* This makes the gl surface bigger(24 bit instead of 16), but it works with 322 * fixed function and shaders without further conversion once the surface is 404 * without further modification after converting the surface. 1763 * are converted at surface loading time, but they do not need any modification in 2978 DWORD wined3d_format_convert_from_float(const struct wined3d_surface *surface, const struct wined3d_color *color) argument 3009 const struct wined3d_format *format = surface->resource.format; 3036 if (!surface->palette) 3047 e = &surface->palette->palents[a]; 3055 e = &surface->palette->palents[i];
|
/vbox/src/VBox/Devices/Graphics/ |
H A D | DevVGA-SVGA3d-shared.h | 175 VMSVGA3DSURFACE surface; local 177 /* Fetch the surface structure first. */ 178 rc = SSMR3GetStructEx(pSSM, &surface, sizeof(surface), 0, g_aVMSVGA3DSURFACEFields, NULL); 182 uint32_t cMipLevels = surface.faces[0].numMipLevels * surface.cFaces; 189 for (uint32_t face=0; face < surface.cFaces; face++) 191 for (uint32_t j = 0; j < surface.faces[0].numMipLevels; j++) 193 uint32_t idx = j + face * surface.faces[0].numMipLevels; 202 rc = vmsvga3dSurfaceDefine(pThis, sid, surface [all...] |
/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/d3d8/ |
H A D | surface.c | 61 struct d3d8_surface *surface = impl_from_IDirect3DSurface8(iface); local 65 if (surface->forwardReference) 68 TRACE("Forwarding to %p.\n", surface->forwardReference); 69 return IUnknown_AddRef(surface->forwardReference); 74 ULONG ref = InterlockedIncrement(&surface->refcount); 80 if (surface->parent_device) 81 IDirect3DDevice8_AddRef(surface->parent_device); 83 wined3d_surface_incref(surface->wined3d_surface); 93 struct d3d8_surface *surface = impl_from_IDirect3DSurface8(iface); local 97 if (surface 129 struct d3d8_surface *surface = impl_from_IDirect3DSurface8(iface); local 161 struct d3d8_surface *surface = impl_from_IDirect3DSurface8(iface); local 179 struct d3d8_surface *surface = impl_from_IDirect3DSurface8(iface); local 196 struct d3d8_surface *surface = impl_from_IDirect3DSurface8(iface); local 212 struct d3d8_surface *surface = impl_from_IDirect3DSurface8(iface); local 229 struct d3d8_surface *surface = impl_from_IDirect3DSurface8(iface); local 255 struct d3d8_surface *surface = impl_from_IDirect3DSurface8(iface); local 301 struct d3d8_surface *surface = impl_from_IDirect3DSurface8(iface); local 345 surface_init(struct d3d8_surface *surface, struct d3d8_device *device, UINT width, UINT height, D3DFORMAT format, DWORD flags, DWORD usage, D3DPOOL pool, D3DMULTISAMPLE_TYPE multisample_type, DWORD multisample_quality) argument [all...] |
H A D | texture.c | 292 UINT level, IDirect3DSurface8 **surface) 298 TRACE("iface %p, level %u, surface %p.\n", iface, level, surface); 308 *surface = &surface_impl->IDirect3DSurface8_iface; 309 IDirect3DSurface8_AddRef(*surface); 668 D3DCUBEMAP_FACES face, UINT level, IDirect3DSurface8 **surface) 676 TRACE("iface %p, face %#x, level %u, surface %p.\n", iface, face, level, surface); 694 *surface = &surface_impl->IDirect3DSurface8_iface; 695 IDirect3DSurface8_AddRef(*surface); 291 d3d8_texture_2d_GetSurfaceLevel(IDirect3DTexture8 *iface, UINT level, IDirect3DSurface8 **surface) argument 667 d3d8_texture_cube_GetCubeMapSurface(IDirect3DCubeTexture8 *iface, D3DCUBEMAP_FACES face, UINT level, IDirect3DSurface8 **surface) argument [all...] |
H A D | device.c | 581 struct d3d8_surface *surface; local 604 surface = wined3d_resource_get_parent(resource); 605 if (surface->refcount) 607 WARN("Surface %p (resource %p) in pool D3DPOOL_DEFAULT blocks the Reset call.\n", surface, resource); 611 WARN("Surface %p (resource %p) is an implicit resource with ref 0.\n", surface, resource); 880 D3DFORMAT format, DWORD flags, IDirect3DSurface8 **surface, UINT usage, D3DPOOL pool, 886 TRACE("device %p, width %u, height %u, format %#x, flags %#x, surface %p,\n" 888 device, width, height, format, flags, surface, 893 FIXME("Failed to allocate surface memory.\n"); 900 WARN("Failed to initialize surface, h 879 d3d8_device_create_surface(struct d3d8_device *device, UINT width, UINT height, D3DFORMAT format, DWORD flags, IDirect3DSurface8 **surface, UINT usage, D3DPOOL pool, D3DMULTISAMPLE_TYPE multisample_type, DWORD multisample_quality) argument 911 d3d8_device_CreateRenderTarget(IDirect3DDevice8 *iface, UINT width, UINT height, D3DFORMAT format, D3DMULTISAMPLE_TYPE multisample_type, BOOL lockable, IDirect3DSurface8 **surface) argument 928 d3d8_device_CreateDepthStencilSurface(IDirect3DDevice8 *iface, UINT width, UINT height, D3DFORMAT format, D3DMULTISAMPLE_TYPE multisample_type, IDirect3DSurface8 **surface) argument 943 d3d8_device_CreateImageSurface(IDirect3DDevice8 *iface, UINT width, UINT height, D3DFORMAT format, IDirect3DSurface8 **surface) argument 2908 device_parent_create_texture_surface(struct wined3d_device_parent *device_parent, void *container_parent, const struct wined3d_resource_desc *desc, UINT sub_resource_idx, DWORD flags, struct wined3d_surface **surface) argument 2940 device_parent_create_swapchain_surface(struct wined3d_device_parent *device_parent, void *container_parent, const struct wined3d_resource_desc *desc, struct wined3d_surface **surface) argument [all...] |
/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/d3d9/ |
H A D | surface.c | 62 struct d3d9_surface *surface = impl_from_IDirect3DSurface9(iface); local 67 if (surface->forwardReference) 69 TRACE("Forwarding to %p.\n", surface->forwardReference); 70 return IUnknown_AddRef(surface->forwardReference); 73 refcount = InterlockedIncrement(&surface->refcount); 78 if (surface->parent_device) 79 IDirect3DDevice9Ex_AddRef(surface->parent_device); 81 wined3d_surface_incref(surface->wined3d_surface); 90 struct d3d9_surface *surface = impl_from_IDirect3DSurface9(iface); local 95 if (surface 122 struct d3d9_surface *surface = impl_from_IDirect3DSurface9(iface); local 154 struct d3d9_surface *surface = impl_from_IDirect3DSurface9(iface); local 172 struct d3d9_surface *surface = impl_from_IDirect3DSurface9(iface); local 189 struct d3d9_surface *surface = impl_from_IDirect3DSurface9(iface); local 205 struct d3d9_surface *surface = impl_from_IDirect3DSurface9(iface); local 219 struct d3d9_surface *surface = impl_from_IDirect3DSurface9(iface); local 233 struct d3d9_surface *surface = impl_from_IDirect3DSurface9(iface); local 251 struct d3d9_surface *surface = impl_from_IDirect3DSurface9(iface); local 268 struct d3d9_surface *surface = impl_from_IDirect3DSurface9(iface); local 294 struct d3d9_surface *surface = impl_from_IDirect3DSurface9(iface); local 316 struct d3d9_surface *surface = impl_from_IDirect3DSurface9(iface); local 334 struct d3d9_surface *surface = impl_from_IDirect3DSurface9(iface); local 355 struct d3d9_surface *surface = impl_from_IDirect3DSurface9(iface); local 405 surface_init(struct d3d9_surface *surface, struct d3d9_device *device, UINT width, UINT height, D3DFORMAT format, DWORD flags, DWORD usage, D3DPOOL pool, D3DMULTISAMPLE_TYPE multisample_type, DWORD multisample_quality , HANDLE *shared_handle , void *pvClientMem ) argument 476 struct d3d9_surface *surface = impl_from_IDirect3DSurface9(iface); local 486 struct d3d9_surface *surface = impl_from_IDirect3DSurface9(iface); local [all...] |
H A D | swapchain.c | 141 static HRESULT WINAPI d3d9_swapchain_GetFrontBufferData(IDirect3DSwapChain9Ex *iface, IDirect3DSurface9 *surface) argument 144 struct d3d9_surface *dst = unsafe_impl_from_IDirect3DSurface9(surface); 147 TRACE("iface %p, surface %p.\n", iface, surface); 382 IDirect3DSurface9 *surf) /* use the given surface as a frontbuffer content source */
|
H A D | texture.c | 334 UINT level, IDirect3DSurface9 **surface) 340 TRACE("iface %p, level %u, surface %p.\n", iface, level, surface); 350 *surface = &surface_impl->IDirect3DSurface9_iface; 351 IDirect3DSurface9_AddRef(*surface); 756 D3DCUBEMAP_FACES face, UINT level, IDirect3DSurface9 **surface) 764 TRACE("iface %p, face %#x, level %u, surface %p.\n", iface, face, level, surface); 782 *surface = &surface_impl->IDirect3DSurface9_iface; 783 IDirect3DSurface9_AddRef(*surface); 333 d3d9_texture_2d_GetSurfaceLevel(IDirect3DTexture9 *iface, UINT level, IDirect3DSurface9 **surface) argument 755 d3d9_texture_cube_GetCubeMapSurface(IDirect3DCubeTexture9 *iface, D3DCUBEMAP_FACES face, UINT level, IDirect3DSurface9 **surface) argument [all...] |
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/d3d8/ |
H A D | surface.c | 300 HRESULT surface_init(IDirect3DSurface8Impl *surface, IDirect3DDevice8Impl *device, argument 306 surface->lpVtbl = &Direct3DSurface8_Vtbl; 307 surface->ref = 1; 318 lockable, discard, level, &surface->wineD3DSurface, usage & WINED3DUSAGE_MASK, (WINED3DPOOL)pool, 319 multisample_type, multisample_quality, SURFACE_OPENGL, (IUnknown *)surface, 324 WARN("Failed to create wined3d surface, hr %#x.\n", hr); 328 surface->parentDevice = (IDirect3DDevice8 *)device; 329 IUnknown_AddRef(surface->parentDevice);
|
H A D | device.c | 819 TRACE("iface %p, width %u, height %u, format %#x, lockable %#x, discard %#x, level %u, surface %p,\n" 827 FIXME("Failed to allocate surface memory.\n"); 835 WARN("Failed to initialize surface, hr %#x.\n", hr); 840 TRACE("Created surface %p.\n", object); 849 TRACE("iface %p, width %u, height %u, format %#x, multisample_type %#x, lockable %#x, surface %p.\n", 861 TRACE("iface %p, width %u, height %u, format %#x, multisample_type %#x, surface %p.\n", 871 /* IDirect3DDevice8Impl::CreateImageSurface returns surface with pool type SYSTEMMEM */ 875 TRACE("iface %p, width %u, height %u, format %#x, surface %p.\n", 912 TRACE("(%p) : Converting destination surface from WINED3DFMT_UNKNOWN to the source format\n", iface); 2568 WINED3DPOOL pool, UINT level, WINED3DCUBEMAP_FACES face, IWineD3DSurface **surface) 2566 device_parent_CreateSurface(IWineD3DDeviceParent *iface, IUnknown *superior, UINT width, UINT height, WINED3DFORMAT format, DWORD usage, WINED3DPOOL pool, UINT level, WINED3DCUBEMAP_FACES face, IWineD3DSurface **surface) argument 2604 device_parent_CreateRenderTarget(IWineD3DDeviceParent *iface, IUnknown *superior, UINT width, UINT height, WINED3DFORMAT format, WINED3DMULTISAMPLE_TYPE multisample_type, DWORD multisample_quality, BOOL lockable, IWineD3DSurface **surface) argument 2634 device_parent_CreateDepthStencilSurface(IWineD3DDeviceParent *iface, IUnknown *superior, UINT width, UINT height, WINED3DFORMAT format, WINED3DMULTISAMPLE_TYPE multisample_type, DWORD multisample_quality, BOOL discard, IWineD3DSurface **surface) argument [all...] |
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/d3d9/ |
H A D | surface.c | 381 HRESULT surface_init(IDirect3DSurface9Impl *surface, IDirect3DDevice9Impl *device, argument 392 surface->lpVtbl = &Direct3DSurface9_Vtbl; 393 surface->ref = 1; 403 surface->getdc_supported = TRUE; 407 surface->getdc_supported = FALSE; 421 lockable, discard, level, &surface->wineD3DSurface, usage & WINED3DUSAGE_MASK, (WINED3DPOOL)pool, 422 multisample_type, multisample_quality, SURFACE_OPENGL, (IUnknown *)surface, 429 lockable, discard, level, &surface->wineD3DSurface, usage & WINED3DUSAGE_MASK, (WINED3DPOOL)pool, 430 multisample_type, multisample_quality, SURFACE_OPENGL, (IUnknown *)surface, 436 WARN("Failed to create wined3d surface, h [all...] |
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.16.0/ |
H A D | xwayland.h | 101 struct wl_surface *surface; member in struct:xwl_window
|
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.17.1/ |
H A D | xwayland.h | 100 struct wl_surface *surface; member in struct:xwl_window
|
/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/vbox/ |
H A D | VBoxDbgGl.c | 343 struct wined3d_surface *surface = (struct wined3d_surface *)pTexture->sub_resources[iLevel]; local 344 Assert(surface); 346 Assert(surface->flags & SFLAG_INTEXTURE); 348 Assert(surface->texture_target == pTexture->target); 349 Assert(surface->texture_name == (pTexture->flags & WINED3D_TEXTURE_IS_SRGB) ? pTexture->texture_srgb.name : pTexture->texture_rgb.name);
|
/vbox/src/VBox/Additions/WINNT/Graphics/Video/disp/xpdm/ |
H A D | VBoxDisp.h | 59 HSURF hSurface; /* GDI's handle to framebuffer device-managed surface */ 91 /* DirectDraw surface lock information */ 115 VBOXDISPSURF surface; /* Device surface */ member in struct:_VBOXDISPDEV 131 VBOXDDLOCKINFO ddpsLock; /* Primary surface DirectDraw lock information */ 212 if (pDev && pDev->surface.psoBitmap && pso->hsurf == pDev->surface.hSurface) 215 pso = pDev->surface.psoBitmap;
|
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/ |
H A D | cubetexture.c | 90 TRACE("Reloading surface because the d3d8/9 palette was changed.\n"); 134 IWineD3DSurface *surface = This->surfaces[j][i]; local 136 if (surface) 138 /* Clean out the texture name we gave to the surface so that the 139 * surface doesn't try and release it. */ 140 surface_set_texture_name(surface, 0, TRUE); 141 surface_set_texture_name(surface, 0, FALSE); 142 surface_set_texture_target(surface, 0); 143 IWineD3DSurface_SetContainer(surface, NULL); 144 IWineD3DSurface_Release(surface); [all...] |
H A D | swapchain.c | 296 /* Set up the texture. The surface is not in a IWineD3D*Texture container, 310 * Note that CTXUSAGE_BLIT set up viewport and ortho to match the surface 386 TRACE("Rendering the cursor. Creating fake surface at %p\n", &cursor); 387 /* Build a fake surface to call the Blitting code. It is not possible to use the interface passed by 388 * the application because we are only supposed to copy the information out. Using a fake surface 406 /* The surface is in the texture */ 617 /* Tell the front buffer surface that is has been modified. However, 743 IWineD3DSurfaceImpl *surface = (IWineD3DSurfaceImpl *)surf; local 749 if (surface->presentSwapchain) 752 Assert(surface 1307 IWineD3DSurfaceImpl *surface = (IWineD3DSurfaceImpl *)context->current_rt; local [all...] |
H A D | context.c | 131 static void context_apply_attachment_filter_states(IWineD3DSurfaceImpl *surface) argument 136 if (SUCCEEDED(IWineD3DSurface_GetContainer((IWineD3DSurface *)surface, 139 IWineD3DDeviceImpl *device = surface->resource.device; 170 target = surface->texture_target; 187 glBindTexture(bind_target, surface->texture_name); 271 GLenum fbo_target, DWORD idx, IWineD3DSurfaceImpl *surface) 275 TRACE("Attach surface %p to %u\n", surface, idx); 277 if (surface) 279 surface_prepare_texture(surface, gl_inf 270 context_attach_surface_fbo(const struct wined3d_context *context, GLenum fbo_target, DWORD idx, IWineD3DSurfaceImpl *surface) argument 675 context_surface_update(struct wined3d_context *context, IWineD3DSurfaceImpl *surface) argument [all...] |
H A D | surface.c | 387 HRESULT surface_init(IWineD3DSurfaceImpl *surface, WINED3DSURFTYPE surface_type, UINT alignment, argument 417 surface->lpVtbl = &IWineD3DSurface_Vtbl; 422 surface->lpVtbl = &IWineGDISurface_Vtbl; 427 ERR("Requested unknown surface implementation %#x.\n", surface_type); 431 hr = resource_init((IWineD3DResource *)surface, WINED3DRTYPE_SURFACE, 446 * for the shared resource this will ensure the surface is initialized properly */ 447 surface_shrc_lock(surface); 450 /* "Standalone" surface. */ 451 IWineD3DSurface_SetContainer((IWineD3DSurface *)surface, NULL); 453 surface 1800 surface_prepare_texture(IWineD3DSurfaceImpl *surface, const struct wined3d_gl_info *gl_info, BOOL srgb) argument 5444 ffp_blit_p8_upload_palette(IWineD3DSurfaceImpl *surface, const struct wined3d_gl_info *gl_info) argument 5458 ffp_blit_set(IWineD3DDevice *iface, IWineD3DSurfaceImpl *surface) argument 5580 cpu_blit_set(IWineD3DDevice *iface, IWineD3DSurfaceImpl *surface) argument [all...] |
/vbox/src/VBox/Additions/common/crOpenGL/ |
H A D | stub.h | 180 CGSSurfaceID surface; member in struct:window_info_t
|