Lines Matching defs:surface
381 HRESULT surface_init(IDirect3DSurface9Impl *surface, IDirect3DDevice9Impl *device,
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, hr %#x.\n", hr);
440 surface->parentDevice = (IDirect3DDevice9Ex *)device;
441 IDirect3DDevice9Ex_AddRef(surface->parentDevice);