Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1108)

Unified Diff: platform_tools/android/apps/sample_app/src/main/jni/com_skia_SkiaSampleRenderer.cpp

Issue 1919993002: Added --deepColor option to SampleApp, triggers creation of a ten-bit/channel buffer on Windows. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Rebase Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: platform_tools/android/apps/sample_app/src/main/jni/com_skia_SkiaSampleRenderer.cpp
diff --git a/platform_tools/android/apps/sample_app/src/main/jni/com_skia_SkiaSampleRenderer.cpp b/platform_tools/android/apps/sample_app/src/main/jni/com_skia_SkiaSampleRenderer.cpp
index e5c6660921c8f8d27c2f59725b30a3ff29a3888e..f233a2fc394a6f1f5258990f60403ebb8a33d745 100644
--- a/platform_tools/android/apps/sample_app/src/main/jni/com_skia_SkiaSampleRenderer.cpp
+++ b/platform_tools/android/apps/sample_app/src/main/jni/com_skia_SkiaSampleRenderer.cpp
@@ -61,7 +61,8 @@ SkOSWindow::SkOSWindow(void*) : fDestroyRequested(false) {
SkOSWindow::~SkOSWindow() {
}
-bool SkOSWindow::attach(SkBackEndTypes /* attachType */, int /*msaaSampleCount*/, AttachmentInfo* info)
+bool SkOSWindow::attach(SkBackEndTypes /* attachType */, int /*msaaSampleCount*/,
+ bool /*deepColor*/, AttachmentInfo* info)
{
JNIEnv* env = gActivityGlue.m_env;
if (!env || !gWindowGlue.m_getMSAASampleCount || !gWindowGlue.m_obj) {
« no previous file with comments | « include/views/SkWindow.h ('k') | platform_tools/android/apps/visualbench/src/main/jni/SkOSWindow_AndroidNative.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698