Lines Matching defs:SkOSWindow
20 static SkOSWindow* gCurrentWindow;
28 SkOSWindow::SkOSWindow(void*)
39 SkOSWindow::~SkOSWindow() {
44 SkOSWindow* SkOSWindow::GetInstanceForWindowID(Uint32 windowID) {
53 void SkOSWindow::detach() {
60 bool SkOSWindow::attach(SkBackEndTypes attachType, int msaaSampleCount, AttachmentInfo* info) {
90 void SkOSWindow::present() {
97 bool SkOSWindow::makeFullscreen() {
105 void SkOSWindow::setVsync(bool vsync) {
112 void SkOSWindow::closeWindow() {
164 void SkOSWindow::createWindow(int msaaSampleCount) {
221 void SkOSWindow::destroyWindow() {
230 bool SkOSWindow::HasDirtyWindows() {
237 void SkOSWindow::UpdateDirtyWindows() {
246 void SkOSWindow::HandleEvent(const SDL_Event& event) {
249 if (SkOSWindow* window = GetInstanceForWindowID(event.motion.windowID)) {
258 if (SkOSWindow* window = GetInstanceForWindowID(event.button.windowID)) {
266 if (SkOSWindow* window = GetInstanceForWindowID(event.key.windowID)) {
281 if (SkOSWindow* window = GetInstanceForWindowID(event.text.windowID)) {
294 if (SkOSWindow* window = GetInstanceForWindowID(event.window.windowID)) {
317 void SkOSWindow::RunEventLoop() {
330 // If there is no SDL events, SkOSWindow updates or SkEvents
349 void SkOSWindow::onSetTitle(const char title[]) {
356 void SkOSWindow::updateWindowTitle() {
387 SkOSWindow* window = create_sk_window(nullptr, argc, argv);
392 SkOSWindow::RunEventLoop();