Skip to content

Conversation

@liulex
Copy link

@liulex liulex commented Oct 16, 2025

Great work!

我希望能在 Snipaste 集成 bitblr-hdr,为此简单封装了下,对功能无任何改动。
另外根据您的代码风格,加了个 .clang-format 以方便格式化 :)

bool create_shader_from_source_file(LPCWSTR file_name);
bool create_shader_from_resource(HINSTANCE instance, WORD res_id);
bool is_ready() const;
bool bitblt(HDC hdc, int x, int y, int cx, int cy, HDC hdcSrc, int x1, int y1, DWORD rop);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

要拆的话我建议这个就留在我的dllmain, 因为他是个hook, 你就调下面的capture_frame就行了。还省得调一次bitblt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants