發表文章

目前顯示的是 12月 7, 2018的文章

2014 American League Championship Series

圖片
2014 American League Championship Series Teams Team (Wins) Manager Season Kansas City Royals (4) Ned Yost 89–73, .549, 1 GB Baltimore Orioles (0) Buck Showalter 96–66, .593, 12 GA Dates October 10–15 MVP Lorenzo Cain (Kansas City) Umpires Joe West (crew chief), Tim Timmons (Games 1–2), Marvin Hudson, Ron Kulpa, Mark Wegner, Brian Gorman, Dan Iassogna (Games 3–4) ALDS Baltimore Orioles over Detroit Tigers (3–0) Kansas City Royals over Los Angeles Angels of Anaheim (3–0) Broadcast Television TBS (United States) MLB International (International) TV announcers Ernie Johnson Jr., Ron Darling, Cal Ripken Jr., Matt Winer, Steve Physioc, and Mike Bordick (TBS) Gary Thorne and Rick Sutcliffe (MLB International) Radio ESPN Radio announcers Jon Sciambi and Chris Singleton ← 2013 ALCS 2015 → 2014 World Series The 2014 American League Championship Series was a best-of-seven playoff pitting the Baltimore Orioles against the Kansas City...

Intergrating QML and Skia (gpu backend)

圖片
up vote 0 down vote favorite I am trying to use skia with qml. I am inheriting from QQuickPaintedItem. I have modified this exanple, http://doc.qt.io/qt-5/qtquick-customitems-painteditem-example.html to use QQuickPaintedItem::FramebufferObject as renderTarget. I am trying to create SkSurface from existing texture from QQuickPaintedItem. I am always getting null. Please let me know If it is possible to use existing texture from qml item and use it for skia rendering. main.cpp #include <QGuiApplication> #include <QQmlApplicationEngine> #include "textballoon.h" int main(int argc, char *argv) QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling); QGuiApplication app(argc, argv); QQmlApplicationEngine engine; qmlRegisterType<TextBalloon>("com.sanjay.check", 1, 0, "TextBalloon"); engine.load(QUrl(QStringLiteral("qrc:/main.qml"))); if (engine.rootObjects().isEmpty()) return -1; return app.exec(); project.pro f...