Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/src/Main/
DFrameBufferDD.cpp99 DDSURFACEDESC ddsd = {0}; in createSurfaces() local
100 ddsd.dwSize = sizeof(ddsd); in createSurfaces()
101 ddsd.dwFlags = DDSD_CAPS; in createSurfaces()
102 ddsd.ddsCaps.dwCaps = DDSCAPS_PRIMARYSURFACE; in createSurfaces()
104 long result = directDraw->CreateSurface(&ddsd, &frontBuffer, 0); in createSurfaces()
105 directDraw->GetDisplayMode(&ddsd); in createSurfaces()
107 switch(ddsd.ddpfPixelFormat.dwRGBBitCount) in createSurfaces()
121 ddsd.dwFlags = DDSD_CAPS | DDSD_WIDTH | DDSD_HEIGHT; in createSurfaces()
122 ddsd.ddsCaps.dwCaps = DDSCAPS_OFFSCREENPLAIN; in createSurfaces()
123 ddsd.dwWidth = width; in createSurfaces()
[all …]