-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[feat] get waymirror-egl dmabuf MVP demo working
- Loading branch information
1 parent
e934677
commit 8d410d7
Showing
7 changed files
with
201 additions
and
94 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
#version 300 es | ||
layout (location = 0) in vec3 aPos; | ||
layout (location = 1) in vec2 aTexCoord; | ||
|
||
layout(location = 0) in vec3 aPos; | ||
out vec2 vTexCoord; | ||
|
||
void main() { | ||
gl_Position = vec4(aPos.x, aPos.y, aPos.z, 1.0); | ||
} | ||
void main() | ||
{ | ||
gl_Position = vec4(aPos, 1.0); | ||
vTexCoord = vec2(aTexCoord.x, aTexCoord.y); | ||
} |
Oops, something went wrong.