25 fSkiaAndroidApp = skiaAndroidApp;
26 fSkiaAndroidApp->
fWindow =
this;
39 fBackendType = attachType;
49 switch (fBackendType) {
51 case kNativeGL_BackendType:
62 case kVulkan_BackendType:
65#if defined(SK_GRAPHITE)
66 case kGraphiteVulkan_BackendType:
void onDisplayDestroyed()
void setTitle(const char *) override
bool init(SkiaAndroidApp *skiaAndroidApp)
bool attach(BackendType) override
void initDisplay(ANativeWindow *window)
void setUIState(const char *state) override
static Window * CreateNativeWindow(void *platformData)
void markInvalProcessed()
DisplayParams fRequestedDisplayParams
std::unique_ptr< skwindow::WindowContext > fWindowContext
std::unique_ptr< WindowContext > MakeGraphiteVulkanForAndroid(ANativeWindow *window, const DisplayParams ¶ms)
std::unique_ptr< WindowContext > MakeGLForAndroid(ANativeWindow *window, const DisplayParams ¶ms)
std::unique_ptr< WindowContext > MakeRasterForAndroid(ANativeWindow *window, const DisplayParams ¶ms)
std::unique_ptr< WindowContext > MakeVulkanForAndroid(ANativeWindow *window, const DisplayParams ¶ms)
void setUIState(const char *state) const
void setTitle(const char *title) const
void postMessage(const Message &message) const
struct ANativeWindow ANativeWindow