Skip to content

Instantly share code, notes, and snippets.

View annulen's full-sized avatar

Konstantin Tokarev annulen

  • Department of Chemistry, Moscow State University
  • Moscow, Russia
  • 18:58 (UTC +03:00)
View GitHub Profile
commit 2423ed5689c3ba8423d63548c5905e73e1133fa0
Author: Konstantin Tokarev <annulen@yandex.ru>
Date: Fri Apr 1 18:32:56 2016 +0300
Prevented destruction of QPixmap in ImageBuffer::sinkIntoImage().
ImageBuffer::sinkIntoImage() should transfer ownership of QPixmap
to new StillImage. Use move semantics to avoid uneeded reference
counting of QPixmap.
commit 763ebd68f7c51ce3162adf845e91b0d94fe8cd1b
Author: Allan Sandfeld Jensen <allan.jensen@digia.com>
Date: Fri May 23 15:09:51 2014 +0200
Coordinated WK1 graphics
Change-Id: Id171200839bd6d1664852c5025a27db353e919f6
diff --git a/Source/WebCore/platform/graphics/texmap/coordinated/CompositingCoordinator.cpp b/Source/WebCore/platform/graphics/texmap/coordinated/CompositingCoordinator.cpp
index 74cd528..377287a 100644
diff --git a/Source/WebCore/PlatformQt.cmake b/Source/WebCore/PlatformQt.cmake
index fc04f46..e380b94 100644
--- a/Source/WebCore/PlatformQt.cmake
+++ b/Source/WebCore/PlatformQt.cmake
@@ -169,15 +169,19 @@ if (USE_QT_MULTIMEDIA)
)
endif ()
-qt5_add_resources(WebCore_SOURCES
- WebCore.qrc
diff --git a/Source/JavaScriptCore/CMakeLists.txt b/Source/JavaScriptCore/CMakeLists.txt
index ee67f89..913162d 100644
--- a/Source/JavaScriptCore/CMakeLists.txt
+++ b/Source/JavaScriptCore/CMakeLists.txt
@@ -1327,7 +1327,9 @@ WEBKIT_CREATE_FORWARDING_HEADERS(JavaScriptCore DIRECTORIES ${JavaScriptCore_FOR
add_subdirectory(shell)
WEBKIT_WRAP_SOURCELIST(${JavaScriptCore_SOURCES})
+#ADD_PRECOMPILED_HEADER(JavaScriptCorePrefix.h JavaScriptCorePrefix.cpp JavaScriptCore_SOURCES)
WEBKIT_FRAMEWORK(JavaScriptCore)
class VideoRenderRequestScheduler {
public:
VideoRenderRequestScheduler()
: m_weakPtrFactory(this)
{
}
void start()
{
m_unlocked = false;
diff --git a/Source/WTF/wtf/qt/RunLoopQt.cpp b/Source/WTF/wtf/qt/RunLoopQt.cpp
index c728d0f..c13b1a2 100644
--- a/Source/WTF/wtf/qt/RunLoopQt.cpp
+++ b/Source/WTF/wtf/qt/RunLoopQt.cpp
@@ -32,6 +32,7 @@
#include <QMetaMethod>
#include <QMetaObject>
#include <QObject>
+#include <QThread>
#include <QTimerEvent>
#include <stdio.h>
int main() {
printf("Hello world!\n");
return 0;
}
commit eb3965c6d4ec916b897da4e4c5e6b80ba77bd5cf
Author: Konstantin Tokarev <annulen@yandex.ru>
Date: Thu Jun 16 12:58:34 2016 +0300
Restored compatibility with QSGRenderNode API from Qt < 5.8.
Change-Id: If41869580556fbe9b79fa9c3b162cefb23c74d25
diff --git a/Source/WebKit2/UIProcess/qt/QtWebPageSGNode.cpp b/Source/WebKit2/UIProcess/qt/QtWebPageSGNode.cpp
index d6a694a..fea2ad4 100644
void GraphicsContext::drawLine(const FloatPoint& point1, const FloatPoint& point2)
{
if (paintingDisabled())
return;
if (strokeStyle() == NoStroke)
return;
if (isRecording()) {
m_displayListRecorder->drawLine(point1, point2);
<style>
select { color: transparent; }
</style>
<select class="scope-radio-button-item-select">
<option value="computed">Styles Computed</option>
<option value="rules">Styles Rules</option>
<option value="visual">Styles Visual</option>
</select>