Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
third_party
skia
tools
window
WindowContext.cpp
Go to the documentation of this file.
1
/*
2
* Copyright 2023 Google LLC
3
*
4
* Use of this source code is governed by a BSD-style license that can be
5
* found in the LICENSE file.
6
*/
7
8
#include "
tools/window/WindowContext.h
"
9
10
#include "
include/gpu/GrDirectContext.h
"
11
#if defined(SK_GRAPHITE)
12
#include "
include/gpu/graphite/Context.h
"
13
#include "
include/gpu/graphite/Recorder.h
"
14
#endif
15
16
namespace
skwindow
{
17
18
WindowContext::WindowContext
(
const
DisplayParams
&
params
)
19
: fDisplayParams(
params
) {}
20
21
WindowContext::~WindowContext
() {}
22
23
void
WindowContext::swapBuffers
() {
24
this->
onSwapBuffers
();
25
}
26
27
}
// namespace skwindow
Context.h
GrDirectContext.h
Recorder.h
WindowContext.h
skwindow::WindowContext::~WindowContext
virtual ~WindowContext()
Definition
WindowContext.cpp:21
skwindow::WindowContext::WindowContext
WindowContext(const DisplayParams &)
Definition
WindowContext.cpp:18
skwindow::WindowContext::swapBuffers
void swapBuffers()
Definition
WindowContext.cpp:23
skwindow::WindowContext::onSwapBuffers
virtual void onSwapBuffers()=0
params
const EmbeddedViewParams * params
Definition
embedder_external_view_embedder.cc:138
skwindow
Definition
Window.h:34
skwindow::DisplayParams
Definition
DisplayParams.h:47
Generated on Fri Apr 26 2024 06:18:16 for Flutter Engine by
1.9.8