Home
last modified time | relevance | path

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

/external/swiftshader/src/WSI/
DFrameBufferX11.cpp57 XVisualInfo x_visual; in FrameBufferX11() local
58 Status status = libX11->XMatchVisualInfo(x_display, screen, 32, TrueColor, &x_visual); in FrameBufferX11()
59 bool match = (status != 0 && x_visual.blue_mask == 0xFF); // Prefer X8R8G8B8 in FrameBufferX11()
60 Visual *visual = match ? x_visual.visual : libX11->XDefaultVisual(x_display, screen); in FrameBufferX11()
/external/swiftshader/src/Main/
DFrameBufferX11.cpp57 XVisualInfo x_visual; in FrameBufferX11() local
58 Status status = libX11->XMatchVisualInfo(x_display, screen, 32, TrueColor, &x_visual); in FrameBufferX11()
59 bool match = (status != 0 && x_visual.blue_mask == 0xFF); // Prefer X8R8G8B8 in FrameBufferX11()
60 Visual *visual = match ? x_visual.visual : libX11->XDefaultVisual(x_display, screen); in FrameBufferX11()