8#ifndef Window_unix_DEFINED
9#define Window_unix_DEFINED
32 , fVisualInfo(nullptr)
33 , fMSAASampleCount(1) {}
64 fPendingPaint =
false;
70 fPendingResize =
true;
71 fPendingWidth =
width;
77 this->
onResize(fPendingWidth, fPendingHeight);
78 fPendingResize =
false;
90 GLXFBConfig* fFBConfig;
91 XVisualInfo* fVisualInfo;
94 Atom fWmDeleteMessage;
101 BackendType fBackend = BackendType::kRaster_BackendType;
103 std::string fClipboardText;
bool handleEvent(const XEvent &event)
void setTitle(const char *) override
const char * getClipboardText() override
static uint32_t Hash(const XWindow &w)
bool attach(BackendType) override
static SkTDynamicHash< Window_unix, XWindow > gWindowMap
void markPendingResize(int width, int height)
bool initWindow(Display *display)
void setClipboardText(const char *) override
void setRequestedDisplayParams(const DisplayParams &, bool allowReattach) override
static const XWindow & GetKey(const Window_unix &w)
void onResize(int width, int height)
static uint32_t Mix(uint32_t hash)