Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修复两个颜色相关 bug #12

Merged
merged 3 commits into from
Apr 12, 2020
Merged

Conversation

chirsz-ever
Copy link
Collaborator

#11 中:

putpixels和putpixels_f像素颜色赋值方式修正,由BGR改为RGB

clearviewport清除视口区域是直接用bar糊上去的,这样颜色实际是填充颜色,建议修正为用背景颜色填充。

请 @GWMforget1997 测试

统一为在外部使用 RGB 格式,在显存区中使用 BGR 格式
增加 `BGRTORGB` 宏,清晰语义
统一使用 ARGB 格式颜色:从低地址到高地址各字节分别表示 B G R A 分量
@yixy-only
Copy link
Collaborator

测试已经完成,可以merge了 @wysaid

@wysaid wysaid merged commit a9a6fe8 into wysaid:master Apr 12, 2020
@chirsz-ever chirsz-ever deleted the fix_bugs_2020_04 branch April 12, 2020 17:21
@FrankHB
Copy link

FrankHB commented Apr 14, 2020

早该修复了。不过,确定这里的修复是全的么。
都统一 BGRA8888 还行。

FrankHB added a commit to FrankHB/YEGE that referenced this pull request Apr 14, 2020
另见 wysaid/xege#12 。

Signed-off-by: FrankHB <frankhb1989@gmail.com>
FrankHB added a commit to FrankHB/YEGE that referenced this pull request Apr 14, 2020
参见 wysaid/xege#12 。

Signed-off-by: FrankHB <frankhb1989@gmail.com>
@wysaid
Copy link
Owner

wysaid commented Apr 27, 2020

妙啊

FrankHB added a commit to FrankHB/YEGE that referenced this pull request Jan 7, 2024
另见 wysaid/xege#12 。

Signed-off-by: FrankHB <frankhb1989@gmail.com>
FrankHB added a commit to FrankHB/YEGE that referenced this pull request Jan 7, 2024
参见 wysaid/xege#12 。

Signed-off-by: FrankHB <frankhb1989@gmail.com>
FrankHB added a commit to FrankHB/YEGE that referenced this pull request Jan 13, 2024
另见 wysaid/xege#12 。

Signed-off-by: FrankHB <frankhb1989@gmail.com>
FrankHB added a commit to FrankHB/YEGE that referenced this pull request Jan 13, 2024
参见 wysaid/xege#12 。

Signed-off-by: FrankHB <frankhb1989@gmail.com>
FrankHB added a commit to FrankHB/YEGE that referenced this pull request Jan 14, 2024
另见 wysaid/xege#12 。

Signed-off-by: FrankHB <frankhb1989@gmail.com>
FrankHB added a commit to FrankHB/YEGE that referenced this pull request Jan 14, 2024
参见 wysaid/xege#12 。

Signed-off-by: FrankHB <frankhb1989@gmail.com>
FrankHB added a commit to FrankHB/YEGE that referenced this pull request Jan 20, 2024
另见 wysaid/xege#12 。

Signed-off-by: FrankHB <frankhb1989@gmail.com>
FrankHB added a commit to FrankHB/YEGE that referenced this pull request Jan 20, 2024
参见 wysaid/xege#12 。

Signed-off-by: FrankHB <frankhb1989@gmail.com>
FrankHB added a commit to FrankHB/YEGE that referenced this pull request Jan 20, 2024
另见 wysaid/xege#12 。

Signed-off-by: FrankHB <frankhb1989@gmail.com>
FrankHB added a commit to FrankHB/YEGE that referenced this pull request Jan 20, 2024
参见 wysaid/xege#12 。

Signed-off-by: FrankHB <frankhb1989@gmail.com>
FrankHB added a commit to FrankHB/YEGE that referenced this pull request Jan 20, 2024
另见 wysaid/xege#12 。

Signed-off-by: FrankHB <frankhb1989@gmail.com>
FrankHB added a commit to FrankHB/YEGE that referenced this pull request Jan 20, 2024
参见 wysaid/xege#12 。

Signed-off-by: FrankHB <frankhb1989@gmail.com>
FrankHB added a commit to FrankHB/YEGE that referenced this pull request Jan 20, 2024
另见 wysaid/xege#12 。

Signed-off-by: FrankHB <frankhb1989@gmail.com>
FrankHB added a commit to FrankHB/YEGE that referenced this pull request Jan 20, 2024
参见 wysaid/xege#12 。

Signed-off-by: FrankHB <frankhb1989@gmail.com>
FrankHB added a commit to FrankHB/YEGE that referenced this pull request Jan 20, 2024
参见提交 9788fa0 。
另见 wysaid/xege#12 。

Signed-off-by: FrankHB <frankhb1989@gmail.com>
FrankHB added a commit to FrankHB/YEGE that referenced this pull request Jan 20, 2024
参见 wysaid/xege#12 。

Signed-off-by: FrankHB <frankhb1989@gmail.com>
FrankHB added a commit to FrankHB/YEGE that referenced this pull request Jan 20, 2024
参见提交 9788fa0 。
另见 wysaid/xege#12 。

Signed-off-by: FrankHB <frankhb1989@gmail.com>
FrankHB added a commit to FrankHB/YEGE that referenced this pull request Jan 20, 2024
参见 wysaid/xege#12 。

Signed-off-by: FrankHB <frankhb1989@gmail.com>
FrankHB added a commit to FrankHB/YEGE that referenced this pull request Jan 20, 2024
参见提交 bbc890f 。
另见 wysaid/xege#12 。

Signed-off-by: FrankHB <frankhb1989@gmail.com>
FrankHB added a commit to FrankHB/YEGE that referenced this pull request Jan 20, 2024
参见 wysaid/xege#12 。

Signed-off-by: FrankHB <frankhb1989@gmail.com>
FrankHB added a commit to FrankHB/YEGE that referenced this pull request Jan 20, 2024
参见提交 bbc890f 。
另见 wysaid/xege#12 。

Signed-off-by: FrankHB <frankhb1989@gmail.com>
FrankHB added a commit to FrankHB/YEGE that referenced this pull request Jan 20, 2024
参见 wysaid/xege#12 。

Signed-off-by: FrankHB <frankhb1989@gmail.com>
FrankHB added a commit to FrankHB/YEGE that referenced this pull request Jan 21, 2024
参见提交 bbc890f 。
另见 wysaid/xege#12 。

Signed-off-by: FrankHB <frankhb1989@gmail.com>
FrankHB added a commit to FrankHB/YEGE that referenced this pull request Jan 21, 2024
参见 wysaid/xege#12 。

Signed-off-by: FrankHB <frankhb1989@gmail.com>
FrankHB added a commit to FrankHB/YEGE that referenced this pull request Jan 21, 2024
参见提交 bbc890f 。
另见 wysaid/xege#12 。

Signed-off-by: FrankHB <frankhb1989@gmail.com>
FrankHB added a commit to FrankHB/YEGE that referenced this pull request Jan 21, 2024
参见 wysaid/xege#12 。

Signed-off-by: FrankHB <frankhb1989@gmail.com>
FrankHB added a commit to FrankHB/YEGE that referenced this pull request Jan 21, 2024
参见提交 0243835 。
另见 wysaid/xege#12 。

Signed-off-by: FrankHB <frankhb1989@gmail.com>
FrankHB added a commit to FrankHB/YEGE that referenced this pull request Jan 21, 2024
参见 wysaid/xege#12 。

Signed-off-by: FrankHB <frankhb1989@gmail.com>
FrankHB added a commit to FrankHB/YEGE that referenced this pull request Jan 21, 2024
参见提交 0243835 。
另见 wysaid/xege#12 。

Signed-off-by: FrankHB <frankhb1989@gmail.com>
FrankHB added a commit to FrankHB/YEGE that referenced this pull request Jan 21, 2024
参见 wysaid/xege#12 。

Signed-off-by: FrankHB <frankhb1989@gmail.com>
FrankHB added a commit to FrankHB/YEGE that referenced this pull request Jan 21, 2024
参见提交 fa73c87 。
另见 wysaid/xege#12 。

Signed-off-by: FrankHB <frankhb1989@gmail.com>
FrankHB added a commit to FrankHB/YEGE that referenced this pull request Jan 21, 2024
参见 wysaid/xege#12 。

Signed-off-by: FrankHB <frankhb1989@gmail.com>
FrankHB added a commit to FrankHB/YEGE that referenced this pull request Jan 21, 2024
参见提交 fa73c87 。
另见 wysaid/xege#12 。

Signed-off-by: FrankHB <frankhb1989@gmail.com>
FrankHB added a commit to FrankHB/YEGE that referenced this pull request Jan 21, 2024
参见 wysaid/xege#12 。

Signed-off-by: FrankHB <frankhb1989@gmail.com>
FrankHB added a commit to FrankHB/YEGE that referenced this pull request Jan 21, 2024
参见提交 fa73c87 。
另见 wysaid/xege#12 。

Signed-off-by: FrankHB <frankhb1989@gmail.com>
FrankHB added a commit to FrankHB/YEGE that referenced this pull request Jan 21, 2024
参见 wysaid/xege#12 。

Signed-off-by: FrankHB <frankhb1989@gmail.com>
FrankHB added a commit to FrankHB/YEGE that referenced this pull request Jan 21, 2024
参见提交 fa73c87 。
另见 wysaid/xege#12 。

Signed-off-by: FrankHB <frankhb1989@gmail.com>
FrankHB added a commit to FrankHB/YEGE that referenced this pull request Jan 21, 2024
参见 wysaid/xege#12 。

Signed-off-by: FrankHB <frankhb1989@gmail.com>
FrankHB added a commit to FrankHB/YEGE that referenced this pull request Jan 21, 2024
参见提交 1f90cd7 。
另见 wysaid/xege#12 。

Signed-off-by: FrankHB <frankhb1989@gmail.com>
FrankHB added a commit to FrankHB/YEGE that referenced this pull request Jan 21, 2024
参见 wysaid/xege#12 。

Signed-off-by: FrankHB <frankhb1989@gmail.com>
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.

4 participants