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

【Final】【igl nanovg part-5】iglu | nanovg #213

Closed
wants to merge 213 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
213 commits
Select commit Hold shift + click to select a range
4211acc
igl | shell | iOS | Add "Default-568h@2x.png" to make the iOS app dis…
vinsentli Sep 4, 2024
d5ee73f
igl | shell | iOS | Add "Default-xxx@3x.png" to make the iOS app disp…
vinsentli Sep 4, 2024
7dcafb1
add nanovg session
vinsentli Nov 18, 2024
dcc80d4
编译通过
vinsentli Nov 18, 2024
28e72bb
运行起来
vinsentli Nov 18, 2024
1b857fb
metalView.colorPixelFormat = MTLPixelFormatBGRA8Unorm;
vinsentli Nov 18, 2024
8418e70
调整窗口大小
vinsentli Nov 18, 2024
6bb4483
Metal替换成igl,编译通过。
vinsentli Nov 19, 2024
20704cc
修复一些问题
vinsentli Nov 19, 2024
e6f5767
igl | metal | Add debug Name for DepthStencilStateDesc.
vinsentli Nov 19, 2024
de16cdf
igl | metal | Add debug Name for DepthStencilStateDesc.
vinsentli Nov 20, 2024
efa1264
igl | metal | Add debug Name for SamplerState.
vinsentli Nov 20, 2024
8f41f67
add samplerDescriptor.debugName
vinsentli Nov 20, 2024
93884fb
将buffer数据推送到GPU,可以显示部分图形了。
vinsentli Nov 20, 2024
3c286fa
修复扣洞失败问题
vinsentli Nov 20, 2024
96a3366
修复纹理上传大小不对问题
vinsentli Nov 20, 2024
c6735ab
修复字模纹理上传不对问题
vinsentli Nov 20, 2024
edb5196
update demo
vinsentli Nov 20, 2024
c33a7a7
修复stroke绘制
vinsentli Nov 20, 2024
7fb387d
绘制FPS
vinsentli Nov 20, 2024
d738b94
opengl能跑起来
vinsentli Nov 20, 2024
d7089a9
ios metal可以显示
vinsentli Nov 20, 2024
08d49a3
add nanovg resources to project.
vinsentli Nov 20, 2024
9536dc5
opengles 能画单个图形。多个图形会崩溃。
vinsentli Nov 21, 2024
0bb80d5
iOS模拟器能显示,但是有闪烁。
vinsentli Nov 21, 2024
1ac6b7a
fragment ubo 采用256大小进行统一字节对齐。
vinsentli Nov 21, 2024
86837e2
opengl shader先给es 300使用。
vinsentli Nov 21, 2024
557ae29
update demo
vinsentli Nov 21, 2024
990b739
android 编译通过
vinsentli Nov 21, 2024
bc483a9
Merge branch 'main' into igl_nanovg
vinsentli Nov 21, 2024
a7bd73b
android编译通过。
vinsentli Nov 21, 2024
b18a74e
android opengl 拷贝asssert相关资源到app files目录下,可以显示,有闪烁问题。
vinsentli Nov 21, 2024
afcfc21
shader兼容
vinsentli Nov 21, 2024
81758bc
opengl shader区分不同平台。android vulkan能跑起来了,有闪烁问题。
vinsentli Nov 21, 2024
6bc8a68
nanovg只需要command encoder
vinsentli Nov 21, 2024
0eb6cab
nvgCreateMTL先不添加NVG_ANTIALIAS | NVG_STENCIL_STROKES效果
vinsentli Nov 22, 2024
5240453
opengl : bindRenderPipelineState必须在每个draw call的最开始设置,因为bindRenderPipe…
vinsentli Nov 22, 2024
779301b
android opengles 添加 stencil buffer
vinsentli Nov 22, 2024
94b8cee
nanovg session add clearAction.
vinsentli Nov 22, 2024
df0a4ce
Merge branch 'main' into igl_nanovg
vinsentli Nov 22, 2024
9efd944
mac opengl add stencil buffer
vinsentli Nov 22, 2024
0a038b5
use triple buffer
vinsentli Nov 22, 2024
51e1c17
Typo fixed
vinsentli Nov 24, 2024
6291cd2
Merge branch 'iOS_FullScreen' into igl_nanovg
vinsentli Nov 24, 2024
f590219
Update ViewController.mm
vinsentli Nov 24, 2024
7ed7121
删除无用代码
vinsentli Nov 24, 2024
c317f69
删除无用文件
vinsentli Nov 24, 2024
73b2655
文件rename
vinsentli Nov 24, 2024
6e51621
add MIT license
vinsentli Nov 24, 2024
bfa403b
mac compile issuse
vinsentli Nov 24, 2024
5c7c453
nanovg依赖下载源码
vinsentli Nov 24, 2024
2afd6fb
demo目录调整
vinsentli Nov 24, 2024
9ec0b17
MIT license
vinsentli Nov 24, 2024
e7070cd
删除NanovgSession中的无用代码
vinsentli Nov 24, 2024
ca586a6
clang-format
vinsentli Nov 24, 2024
a86be40
clang-format off
vinsentli Nov 24, 2024
5eabb6e
revert
vinsentli Nov 24, 2024
8add237
revert
vinsentli Nov 24, 2024
e312e73
remove default.png
vinsentli Nov 24, 2024
d95db99
Fix android compile
vinsentli Nov 24, 2024
e325ca1
remove unused file
vinsentli Nov 24, 2024
f988b31
删除nanovg中的资源,采用cmake引入
vinsentli Nov 24, 2024
537e355
CMake引用third-party目录下的nanovg资源。
vinsentli Nov 24, 2024
45b0eab
CMake引用third-party目录下的nanovg资源
vinsentli Nov 24, 2024
bddffdb
删除nanovg中的资源,采用cmake引入
vinsentli Nov 24, 2024
c28d8a7
删除nanovg demo的源码,改成CMake引用
vinsentli Nov 24, 2024
ce2f7dc
use vinsentli nanovg : only demo.c perf.c change
vinsentli Nov 24, 2024
5702fd4
update license
vinsentli Nov 24, 2024
a4ba388
fix windows compile
vinsentli Nov 24, 2024
174aea7
fix windows compile
vinsentli Nov 24, 2024
de5584c
fix windows compile
vinsentli Nov 24, 2024
f4019cd
add namespace iglu::nanovg
vinsentli Nov 25, 2024
bea57c6
remove unused code
vinsentli Nov 25, 2024
207102e
rename API
vinsentli Nov 25, 2024
3af9445
android : add assert files from nanovg example dir.
vinsentli Nov 25, 2024
1a4b507
split opengl shader header and body.
vinsentli Nov 25, 2024
e9591e2
fix windows compile
vinsentli Nov 25, 2024
4836809
矩阵拷贝适配
vinsentli Nov 25, 2024
ef41948
code format
vinsentli Nov 25, 2024
3663761
NanovgSession重构
vinsentli Nov 25, 2024
6bcfa06
opengl 在macos上动态效果有问题,只展示静态效果
vinsentli Nov 25, 2024
35707dd
code format
vinsentli Nov 25, 2024
dc9fb28
revert
vinsentli Nov 25, 2024
fb8fe97
remove unused code
vinsentli Nov 25, 2024
2baddbf
fix windows compile
vinsentli Nov 25, 2024
05e8ee8
fix ubuntu compile
vinsentli Nov 25, 2024
ffe4fd7
fix ubuntu compile
vinsentli Nov 25, 2024
a0e85fb
vertex shader add matrix uniform
vinsentli Nov 25, 2024
5dfdae2
变量规范命名
vinsentli Nov 25, 2024
b968933
support vulkan rotate
vinsentli Nov 25, 2024
62f8a62
update CMakeLists.txt
vinsentli Nov 25, 2024
06db71f
SetRenderCommandEncoder采用指针
vinsentli Nov 25, 2024
ac2721a
变量规范命名
vinsentli Nov 25, 2024
b72f6fb
SetRenderCommandEncoder采用指针
vinsentli Nov 25, 2024
6fb2dda
变量规范命名
vinsentli Nov 25, 2024
1eba6f0
add mouse move event
vinsentli Nov 25, 2024
e731d6d
add opengl AntiAliasing shader
vinsentli Nov 25, 2024
7312ef7
remove .gitignore
vinsentli Nov 25, 2024
6a9b01d
revert IGLU/CMakeList.txt
vinsentli Nov 26, 2024
d638990
android : only copy assets once.
vinsentli Nov 26, 2024
c5f739f
Merge branch 'main' into igl_nanovg
vinsentli Nov 26, 2024
045634b
android opengles 添加 stencil buffer
vinsentli Nov 22, 2024
8e10fb7
add .gitignore
vinsentli Nov 26, 2024
c2c76ce
code review
vinsentli Nov 26, 2024
fbf9af5
rename function
vinsentli Nov 26, 2024
f3df662
rename function
vinsentli Nov 26, 2024
40d1353
ios | add stencil buffer
vinsentli Nov 26, 2024
92d3637
android | opengles add stencil buffer
vinsentli Nov 26, 2024
0393d39
add param needStencilBuffer for create native egl::Context
vinsentli Nov 26, 2024
2e16311
android | opengles add stencil buffer
vinsentli Nov 26, 2024
88ffd2d
add param needStencilBuffer for create native egl::Context
vinsentli Nov 26, 2024
5544597
变量规范命名
vinsentli Nov 26, 2024
5bc061f
rename variable
vinsentli Nov 27, 2024
83bb06d
rename variable
vinsentli Nov 27, 2024
fdcd916
rename function
vinsentli Nov 27, 2024
f958291
make mac opengl stencil size configurable.
vinsentli Nov 27, 2024
4944651
android : copy assets file to '/data/data/com.facebook.igl.shell/file…
vinsentli Nov 27, 2024
e2ebb4e
const
vinsentli Nov 27, 2024
4966168
Merge branch 'main' into igl_nanovg
vinsentli Nov 27, 2024
e43c2e1
deps.json add nanovg download
vinsentli Nov 28, 2024
b303258
Use nanovgContext only as the NanovgSession's member.
vinsentli Nov 28, 2024
7ba1336
set depth texture format in RenderSession internal.
vinsentli Nov 28, 2024
32c2cf5
set NanovgSession depth texture format is TextureFormat::S_UInt8.
vinsentli Nov 28, 2024
74fee9c
iOS : set depth texture format in RenderSession internal.
vinsentli Nov 28, 2024
a16fd99
Android & iOS : Create Nanovg Context in RenderSession internal.
vinsentli Nov 28, 2024
13ffca7
S_UInt8 is not valid on Vulkan, use S8_UInt_Z24_UNorm .
vinsentli Nov 28, 2024
2b9b580
NanovgSession use S_UInt8 again.
vinsentli Nov 28, 2024
2b0297b
use upstream https://github.com/memononen/nanovg to download nanovg.
vinsentli Nov 28, 2024
7a8d8d7
fix Buffer do not upload to gpu on mac opengl
vinsentli Nov 29, 2024
7274474
use S8_UInt_Z24_UNorm
vinsentli Nov 29, 2024
5f7292a
mac opengl 可以显示动态效果了
vinsentli Nov 29, 2024
7b15437
mac opengl 可以显示动态效果了,删除无用代码
vinsentli Nov 29, 2024
ca760f9
revert : mac metalView.colorPixelFormat
vinsentli Nov 29, 2024
062c2b3
Merge branch 'igl_nanovg_part1_deps_json_add_nanovg_download' into ig…
vinsentli Nov 29, 2024
7d43ea6
update nanovg.patch
vinsentli Nov 30, 2024
44c2675
兼容windows平台的UBO字节对齐。
vinsentli Nov 30, 2024
b8e8bcc
windows平台添加新的资源加载目录。
vinsentli Nov 30, 2024
255f09a
Linux use es300 shader
vinsentli Dec 1, 2024
4795e13
IGLUnanovg只被NanovgSession依赖
vinsentli Dec 2, 2024
67ab188
Merge branch 'main' into igl_nanovg
vinsentli Dec 3, 2024
7fcf3c3
Add CMake option : IGLU_WITH_NANOVG
vinsentli Dec 3, 2024
27d64eb
删除无用依赖
vinsentli Dec 3, 2024
abd57d3
android/TinyRender.cpp : 删除无用依赖
vinsentli Dec 3, 2024
4b9ffa3
nanovg实现:删除无用代码
vinsentli Dec 4, 2024
b15ef78
nanovg实现:代码规范
vinsentli Dec 4, 2024
905fb39
code format
vinsentli Dec 4, 2024
6b66c00
Add NanovgSession.
vinsentli Dec 4, 2024
aac07ce
Code Format
vinsentli Dec 4, 2024
d41f494
Code Format
vinsentli Dec 4, 2024
dcf1288
NanovgSession : CodeReview
vinsentli Dec 5, 2024
8387a6b
NanovgSession : CodeReview
vinsentli Dec 5, 2024
dbd56c1
Revert "set depth texture format in RenderSession internal."
vinsentli Dec 10, 2024
4a90adb
Revert "iOS : set depth texture format in RenderSession internal."
vinsentli Dec 10, 2024
a26d64a
remove unused code.
vinsentli Dec 10, 2024
0e7e5ea
remove unused code.
vinsentli Dec 10, 2024
56a0ae7
Merge branch 'main' into igl_nanovg
vinsentli Dec 18, 2024
ce9222a
NanovgSession : Fix compile
vinsentli Dec 18, 2024
4429db6
NanovgSession : Fix compile
vinsentli Dec 18, 2024
4fc2852
narrow i scope.
vinsentli Dec 18, 2024
4c410e2
narrow i scope.
vinsentli Dec 18, 2024
f6a8c7d
drawNanovg : rename param
vinsentli Dec 18, 2024
cfe5a7e
drawNanovg : rename param
vinsentli Dec 18, 2024
22bd942
NanovgSession : use IGL_DEBUG_VERIFY() replace IGL_DEBUG_ASSERT().
vinsentli Dec 18, 2024
80e7f90
NanovgSession : use IGL_DEBUG_VERIFY() replace IGL_DEBUG_ASSERT().
vinsentli Dec 18, 2024
1816768
use nullptr.
vinsentli Dec 18, 2024
fa5c584
code format
vinsentli Dec 18, 2024
d3e43b9
use nullptr.
vinsentli Dec 18, 2024
64f15de
code format
vinsentli Dec 18, 2024
1cab233
remove unused code.
vinsentli Dec 18, 2024
7a3c0b3
Merge branch 'igl_nanovg_part3_NanovgSession' into igl_nanovg
vinsentli Dec 18, 2024
7c5ce8c
ImageLoader : remove unused code
vinsentli Dec 18, 2024
65cd2c5
igl | third-party | Fix nanovg.py
vinsentli Dec 19, 2024
3fe6071
Merge branch 'main' into igl_nanovg
vinsentli Dec 19, 2024
5c682a9
revert opengl/egl/Context
vinsentli Dec 22, 2024
c97d27e
revert android TinyRender.cpp
vinsentli Dec 22, 2024
fd05374
revert opengl/egl/Context
vinsentli Dec 22, 2024
d47579e
revert android TinyRender.cpp
vinsentli Dec 22, 2024
1260306
disable stencil buffer on Android OpenGLES.
vinsentli Dec 22, 2024
f14372c
update comment.
vinsentli Dec 22, 2024
b9f4efb
update comment.
vinsentli Dec 22, 2024
342f1ef
Merge branch 'igl_nanovg_part1_android_add_stencil_buffer' into igl_n…
vinsentli Dec 22, 2024
51e08cf
Merge branch 'main' into igl_nanovg
vinsentli Dec 22, 2024
5aa456d
dupplicate SampleView
vinsentli Dec 22, 2024
f764761
Merge branch 'igl_nanovg_part1_android_add_stencil_buffer' into igl_n…
vinsentli Dec 22, 2024
8d3f8a1
add android nanovg project
vinsentli Dec 22, 2024
9df0b29
Revert SampleActivity
vinsentli Dec 22, 2024
983ab60
android : Add NanovgSampleActivity.
vinsentli Dec 22, 2024
23e12c1
Revert SampleActivity
vinsentli Dec 22, 2024
5a7eaf2
add android nanovg project
vinsentli Dec 22, 2024
8e85c44
android : Add NanovgSampleActivity.
vinsentli Dec 22, 2024
114db58
Revert : build/android/app/build.gradle
vinsentli Dec 22, 2024
66d19e8
NanovgSampleActivity: remove unused import.
vinsentli Dec 22, 2024
7d40595
NanovgSampleActivity: remove unused import.
vinsentli Dec 22, 2024
f9fc402
move NanovgSampleActivity to nanovg dir.
vinsentli Dec 23, 2024
ef08da5
move nanovg/AndroidManifest.xml
vinsentli Dec 23, 2024
2196d1b
update nanovg/build.gradle
vinsentli Dec 23, 2024
16eac97
move NanovgSampleActivity to nanovg dir.
vinsentli Dec 23, 2024
3dcba5e
move nanovg/AndroidManifest.xml
vinsentli Dec 23, 2024
0715fd7
update nanovg/build.gradle
vinsentli Dec 23, 2024
dc6e282
move change about SampleActivity.java into another PR.
vinsentli Dec 23, 2024
c36b089
android nanovg : add proguard-rules.pro
vinsentli Dec 23, 2024
6a0055b
nanovg build.gradle : update minSdk=33
vinsentli Dec 23, 2024
64390c1
NanovgSampleActivity.java : remove unused import.
vinsentli Dec 23, 2024
4c80a3c
Merge branch 'igl_nanovg_part2_android_copy_assert_file_to_sdcard' in…
vinsentli Dec 23, 2024
dd1e23e
remove demo.c perf.c from IGLU/nanovg library.
vinsentli Dec 23, 2024
4608c4c
add nanovg/example.c to NanovgSesseion Project.
vinsentli Dec 23, 2024
b8234db
Implement a uniform buffer pool to address the limitation in Vulkan w…
vinsentli Jan 2, 2025
345add0
remove unused code : nuniforms
vinsentli Jan 2, 2025
9db6fee
remove the prefix from class name
vinsentli Jan 5, 2025
9aeeb29
fix memory leak.
vinsentli Jan 5, 2025
b6c0fc0
NanovgSessoin : implement teardown()
vinsentli Jan 5, 2025
c002396
fix memory leak in UniformBufferPool.
vinsentli Jan 5, 2025
88b7bdc
Merge branch 'main' into igl_nanovg
vinsentli Jan 7, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
删除无用代码
  • Loading branch information
vinsentli committed Nov 24, 2024
commit 7ed7121f6405c52488b09946340201289633c3e7
Loading