Index: platform_tools/android/app/jni/com_skia_SkiaSampleRenderer.cpp |
diff --git a/platform_tools/android/app/jni/com_skia_SkiaSampleRenderer.cpp b/platform_tools/android/app/jni/com_skia_SkiaSampleRenderer.cpp |
index 7eb1c0938878cf2ab085b35d9616906d9a69440b..d66221a01c57cf7d0528106c19e320ab23d400c7 100644 |
--- a/platform_tools/android/app/jni/com_skia_SkiaSampleRenderer.cpp |
+++ b/platform_tools/android/app/jni/com_skia_SkiaSampleRenderer.cpp |
@@ -58,6 +58,12 @@ SampleWindow* gWindow; |
///////////// SkOSWindow impl ///////////// |
/////////////////////////////////////////// |
+SkOSWindow::SkOSWindow(void*) : fDestroyRequested(false) { |
+} |
+ |
+SkOSWindow::~SkOSWindow() { |
+} |
+ |
bool SkOSWindow::attach(SkBackEndTypes /* attachType */, int /*msaaSampleCount*/, AttachmentInfo* info) |
{ |
JNIEnv* env = gActivityGlue.m_env; |
@@ -75,6 +81,18 @@ bool SkOSWindow::attach(SkBackEndTypes /* attachType */, int /*msaaSampleCount*/ |
return true; |
} |
+void SkOSWindow::detach() { |
+} |
+ |
+void SkOSWindow::present() { |
+} |
+ |
+void SkOSWindow::closeWindow() { |
+} |
+ |
+void SkOSWindow::setVsync(bool) { |
+} |
+ |
void SkOSWindow::onSetTitle(const char title[]) |
{ |
JNIEnv* env = gActivityGlue.m_env; |