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

Depth buffer support and some refactoring #24

Merged
merged 6 commits into from
Mar 23, 2017
Merged

Conversation

digetx
Copy link
Member

@digetx digetx commented Mar 23, 2017

Support and use depth buffer.

Change it to GRATE_3D_CTX_ to better reflect its attribution to 3d context state.
For easier navigation through the code.
This will clear a texture pixbuf with a specified hex pattern (color in case of RGB texture).
Basic depth buffer support, exposed via 3d context API.
Overlapped flying cubes are drawn in the correct order now.
Copy link
Member

@kusma kusma left a comment

Choose a reason for hiding this comment

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

Looks great!

@kusma kusma merged commit 7e642a9 into grate-driver:master Mar 23, 2017
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