Skip to content

Instantly share code, notes, and snippets.

View gist:404e496c0b95cd516226cda0f5dacb9f
This file has been truncated, but you can view the full file.
<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet type='text/xsl' href='trace.xsl'?>
<trace version='0.1'>
<call no='1' class='' method='pipe_screen_create'>
<ret><ptr>0x024ebbd0</ptr></ret>
<time><int>3</int></time>
</call>
<call no='2' class='pipe_screen' method='get_param'>
<arg name='screen'><ptr>0x024ebbd0</ptr></arg>
View gist:5610a6e876b17bd12c1503146e1602f0
<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet type='text/xsl' href='trace.xsl'?>
<trace version='0.1'>
<call no='1' class='' method='pipe_screen_create'>
<ret><ptr>0x00639650</ptr></ret>
<time><int>4</int></time>
</call>
<call no='2' class='pipe_screen' method='get_shader_param'>
<arg name='screen'><ptr>0x00639650</ptr></arg>
<arg name='shader'><uint>1</uint></arg>
@zmike
zmike / WineReload.py
Last active Feb 11, 2021
WineReload.py
View WineReload.py
from __future__ import print_function
import gdb
import subprocess
import sys
import re
import os.path
class WineReload (gdb.Command):
@zmike
zmike / consecratedground.diff
Created Mar 6, 2019
wip on consecrated ground changes
View consecratedground.diff
diff --git a/Modules/CalcOffence-3_0.lua b/Modules/CalcOffence-3_0.lua
index 80dfc15..b6bc675 100644
--- a/Modules/CalcOffence-3_0.lua
+++ b/Modules/CalcOffence-3_0.lua
@@ -780,6 +780,7 @@ function calcs.offence(env, actor, activeSkill)
local inc = skillModList:Sum("INC", cfg, "CritChance")
local more = skillModList:More(cfg, "CritChance")
local enemyExtra = env.mode_effective and enemyDB:Sum("BASE", nil, "SelfExtraCritChance") or 0
+ local enemyInc = skillModList:Sum("INC", cfg, "SelfIncCritChance")
output.CritChance = (baseCrit + base) * (1 + inc / 100) * more
View gist:17a2b6a9eac36efe9da173100923b010
#2 0x00007fdf0dcf7096 in eina_log_print_unlocked (domain=84, level=EINA_LOG_LEVEL_CRITICAL, file=0x7fdefcc6f268 "modules/evas/engines/wayland_shm/evas_shm.c", fnc=0x7fdefcc6f490 <__FUNCTION__.29646> "_shm_leaf_create", line=358, fmt=0x7fdefcc6f398 "Failed to create leaf data", args=0x7ffe98f402e8) at lib/eina/eina_log.c:1306
#3 0x00007fdf0dcf8759 in eina_log_print (domain=84, level=EINA_LOG_LEVEL_CRITICAL, file=0x7fdefcc6f268 "modules/evas/engines/wayland_shm/evas_shm.c", fnc=0x7fdefcc6f490 <__FUNCTION__.29646> "_shm_leaf_create", line=358, fmt=0x7fdefcc6f398 "Failed to create leaf data") at lib/eina/eina_log.c:2101
#4 0x00007fdefcc6baf0 in _shm_leaf_create (surface=0x320fd60, leaf=0x320fd88, w=1, h=1) at modules/evas/engines/wayland_shm/evas_shm.c:358
#5 0x00007fdefcc6c46b in _evas_shm_surface_create (s=0x2fd71a0, w=1, h=1, num_buff=2) at modules/evas/engines/wayland_shm/evas_shm.c:593
#6 0x00007fdefcc6d852 in _evas_surface_init (s=0x2fd71a0, w=1, h=1, num_buf=2) at modules/evas/engines/wayland_shm/evas
View gist:fb5931de47024275a2d5199cb98c5994
[2643227.655] -> wl_display@1.get_registry(new id wl_registry@2)
[2643227.689] -> wl_display@1.sync(new id wl_callback@3)
[2643227.844] wl_display@1.delete_id(3)
[2643227.858] wl_registry@2.global(1, "wl_compositor", 4)
[2643227.871] -> wl_registry@2.bind(1, "wl_compositor", 3, new id [unknown]@4)
[2643227.887] wl_registry@2.global(2, "wl_subcompositor", 1)
[2643227.898] -> wl_registry@2.bind(2, "wl_subcompositor", 1, new id [unknown]@5)
[2643227.912] wl_registry@2.global(3, "zwp_e_session_recovery", 1)
[2643227.922] wl_registry@2.global(4, "screenshooter", 1)
[2643227.932] wl_registry@2.global(5, "www", 1)
View gist:3fe62e17f8774fc0a2c28799de03768f
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────
-- a/src/bin/e_comp_wl.c
++ b/src/bin/e_comp_wl.c
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────
@@ -450,6 +450,7 @@ _e_comp_wl_evas_cb_focus_in_timer(E_Client *ec)
ec->comp_data->on_focus_timer = NULL;
if (!e_comp_wl->kbd.focused) return EINA_FALSE;
if (e_comp_util_kbd_grabbed()) return EINA_FALSE;
View gist:a823326e562e080e54e2bcdbc0a12e17
ERR<1504>:ecore_con lib/ecore_con/ecore_con_local.c:382 ecore_con_local_listen() Local socket '/run/user/1000/.ecore/efreetd/0' bind failed: Address already in use
ERR<1504>:ecore_con lib/ecore_con/ecore_con_local.c:388 ecore_con_local_listen() Local socket '/run/user/1000/.ecore/efreetd/0' connect test failed: Connection refused
[2473194.851] -> wl_display@1.get_registry(new id wl_registry@2)
[2473194.878] -> wl_display@1.sync(new id wl_callback@3)
[2473194.948] wl_display@1.delete_id(3)
[2473194.960] wl_registry@2.global(1, "wl_compositor", 4)
[2473194.976] -> wl_registry@2.bind(1, "wl_compositor", 4, new id [unknown]@4)
[2473194.994] wl_registry@2.global(2, "wl_subcompositor", 1)
[2473195.005] -> wl_registry@2.bind(2, "wl_subcompositor", 1, new id [unknown]@5)
[2473195.019] wl_registry@2.global(3, "wl_scaler", 2)
View gist:152636ccd8f7529c9655
diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c
index 1f6b33b..e09895b 100644
--- a/src/bin/e_comp_object.c
+++ b/src/bin/e_comp_object.c
@@ -350,11 +350,17 @@ _e_comp_object_cb_signal_bind(void *data, Evas_Object *obj EINA_UNUSED, const ch
/* handle evas mouse-in events on client object */
static void
-_e_comp_object_cb_mouse_in(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
+_e_comp_object_cb_mouse_in(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info)
View gist:22028c683ba6b4c201a9
[2488933.012] -> wl_surface@12.frame(new id wl_callback@18)
[2488934.631] -> wl_surface@12.attach(wl_buffer@22, 0, 0)
[2488934.654] -> wl_surface@12.damage(0, 0, 806, 491)
[2488934.659] -> wl_surface@12.commit()
[2488934.700] wl_surface@12.frame(new id wl_callback@18)
[2488934.718] wl_surface@12.attach(wl_buffer@22, 0, 0)
[2488934.726] wl_surface@12.damage(0, 0, 806, 491)
[2488934.732] wl_surface@12.commit()
INF<27146>:e src/bin/e_comp_object.c:3350 e_comp_object_damage() DAMAGE(0,0 806x491) CLIP(806x491)
INF<27146>:e src/bin/e_comp_object.c:3367 e_comp_object_damage() DAMAGE FULL: 0x24e4180