This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 5b369d50098db47eace62e76d86ac22f09d2f506 Mon Sep 17 00:00:00 2001 | |
From: Christoph Haag <christoph.haag@collabora.com> | |
Date: Mon, 19 Aug 2019 17:31:11 +0200 | |
Subject: [PATCH] Add constructor to GLTexture using GL_EXT_memory_object | |
Instead of allocating memory for the texture with OpenGL, import the memory from an FD. | |
--- | |
libkwineffects/kwingltexture.cpp | 31 +++++++++++++++++++++++++++++++ | |
libkwineffects/kwingltexture.h | 1 + | |
2 files changed, 32 insertions(+) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 060728102335dbdd5541a34fec5e70f0d9122b13 Mon Sep 17 00:00:00 2001 | |
From: Christoph Haag <christoph.haag@collabora.com> | |
Date: Mon, 19 Aug 2019 16:54:02 +0200 | |
Subject: [PATCH] Make it possible to create an uninitialized GLTexture | |
This can be useful if the caller wants to use already existing texture memory. | |
For example, memory might be imported with GL_EXT_memory_object. | |
--- | |
libkwineffects/kwingltexture.cpp | 20 +++++++++++++------- | |
libkwineffects/kwingltexture.h | 2 +- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"acc_bias": [ | |
0.1572, | |
-0.01115, | |
-0.1449 | |
], | |
"acc_scale": [ | |
0.9997, | |
0.9989, | |
0.998 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/openhmd.c b/src/openhmd.c | |
index e500be5..727d67a 100644 | |
--- a/src/openhmd.c | |
+++ b/src/openhmd.c | |
@@ -289,7 +289,7 @@ static int ohmd_device_getf_unp(ohmd_device* device, ohmd_float_value type, floa | |
mat4x4f orient, world_shift, result; | |
omat4x4f_init_look_at(&orient, &rot, &point); | |
omat4x4f_init_translate(&world_shift, -device->position.x +(device->properties.ipd / 2.0f), -device->position.y, -device->position.z); | |
- omat4x4f_mult(&orient, &world_shift, &result); | |
+ omat4x4f_mult(&world_shift, &orient, &result); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/drv_lgr100/lgr100.c b/src/drv_lgr100/lgr100.c | |
index ad64b30..0aa8526 100644 | |
--- a/src/drv_lgr100/lgr100.c | |
+++ b/src/drv_lgr100/lgr100.c | |
@@ -110,6 +110,7 @@ static void update_device(ohmd_device* device) | |
} | |
else if(buffer[0] == LGR100_IRQ_SENSORS) { | |
handle_tracker_sensor_msg(priv, buffer, size); | |
+ return; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// g++ submitTextureTime.cpp -o submitTextureTime $(pkg-config --cflags --libs gl sdl2) -lopenvr_api | |
#define GL_GLEXT_PROTOTYPES 1 | |
#define GL3_PROTOTYPES 1 | |
#include <GL/gl.h> | |
#include <chrono> | |
#include <iostream> | |
#include <SDL2/SDL.h> | |
#include <openvr.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"CalibrationInformation":{"Cameras":[{"Intrinsics":{"ModelParameterCount":15,"ModelParameters":[0.5056072473526001,0.51121383905410767,0.41733670234680176,0.55639612674713135,0.536751925945282,0.49938720464706421,0.0064958259463310242,0.79876220226287842,0.56841433048248291,0.07316143810749054,0.00090526352869346738,-0.00026460731169208884,4.882114808424376E-5,-0.00015969532250892371,2.7959318161010742],"ModelType":"CALIBRATION_LensDistortionModelRational6KT"},"Location":"CALIBRATION_CameraLocationHT0","Purpose":"CALIBRATION_CameraPurposeHeadTracking","MetricRadius":2.7959318161010742,"Rt":{"Rotation":[1,0,0,0,1,0,0,0,1],"Translation":[0,0,0]},"SensorHeight":480,"SensorWidth":640,"Shutter":"CALIBRATION_ShutterTypeUndefined","ThermalAdjustmentParams":{"Params":[0,0,0,0,0,0,0,0,0,0,0,0]}},{"Intrinsics":{"ModelParameterCount":15,"ModelParameters":[0.49853116273880005,0.49842718243598938,0.41769698262214661,0.55702918767929077,0.54305106401443481,0.81650543212890625,0.0025251691695302725,0.79530555009841919,0.92 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Christoph Haag <christoph.haag@collabora.co.uk> | |
pkgname=qtpdf-git | |
pkgver=r83.d4e9cbc | |
pkgrel=1 | |
pkgdesc='Qt wrapper around PDFium' | |
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h') | |
url='http://blog.qt.io/blog/2017/01/30/new-qtpdf-qtlabs-module/' | |
license=('GPL3') | |
depends=() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From c0ea63984dc12d8ab4af6952c406a72c51b0dad0 Mon Sep 17 00:00:00 2001 | |
From: Christoph Haag <haagch@frickel.club> | |
Date: Sun, 20 May 2018 13:21:13 +0200 | |
Subject: [PATCH] radv: fix VK_EXT_descriptor_indexing | |
GetPhysicalDeviceProperties2KHR() was crashing because features was null | |
--- | |
src/amd/vulkan/radv_device.c | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From fde076bac7c29104c204c871ea893e8649f70003 Mon Sep 17 00:00:00 2001 | |
From: Christoph Haag <haagch@frickel.club> | |
Date: Sun, 20 May 2018 12:04:54 +0200 | |
Subject: [PATCH] fix | |
--- | |
vulkanDeviceInfo.hpp | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
diff --git a/vulkanDeviceInfo.hpp b/vulkanDeviceInfo.hpp |