Skip to content

Instantly share code, notes, and snippets.

💭
Deplanarizing

Konstantin Tokarev annulen

  • SmartLabs LLC
  • Moscow, Russia
View GitHub Profile
View qtwebkit-5.212.0_alpha2.ebuild
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
CMAKE_MAKEFILE_GENERATOR="ninja"
PYTHON_COMPAT=( python2_7 )
USE_RUBY="ruby20 ruby21 ruby22 ruby23 ruby24"
inherit check-reqs cmake-utils eutils flag-o-matic python-any-r1 ruby-single toolchain-funcs versionator
View select.html
<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>
View drawLine.outline.cpp
void GraphicsContext::drawLine(const FloatPoint& point1, const FloatPoint& point2)
{
if (paintingDisabled())
return;
if (strokeStyle() == NoStroke)
return;
if (isRecording()) {
m_displayListRecorder->drawLine(point1, point2);
View fix_sg.diff
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
View hello.cpp
#include <stdio.h>
int main() {
printf("Hello world!\n");
return 0;
}
View RunLoopQt.diff
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>
View lockless.cpp
class VideoRenderRequestScheduler {
public:
VideoRenderRequestScheduler()
: m_weakPtrFactory(this)
{
}
void start()
{
m_unlocked = false;
View pch.patch
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)
View qrc.patch
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
View Coordinated_WK1_graphics.patch
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
You can’t perform that action at this time.