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

Add support for GPU generated raster ops to have texture atlas border edges. #173

Merged
merged 1 commit into from Feb 5, 2016

Conversation

@glennw
Copy link
Member

glennw commented Feb 5, 2016

Raster ops are now generated to a single render target (per format) allocated at start up.

After a raster batch is rendered, it is then blitted into the atlas, along with border edges if requested.

This is necessary since it's not possible to read from a texture bound as a render target.

This fixes several artifacts that are often noticeable with box-shadow etc.

Also fix a couple of warnings.

… edges.

Raster ops are now generated to a single render target (per format) allocated at start up.

After a raster batch is rendered, it is then blitted into the atlas, along with border edges if requested.

This is necessary since it's not possible to read from a texture bound as a render target.

This fixes several artifacts that are often noticeable with box-shadow etc.

Also fix a couple of warnings.
@glennw
Copy link
Member Author

glennw commented Feb 5, 2016

@pcwalton
Copy link
Collaborator

pcwalton commented Feb 5, 2016

Looks good.

glennw added a commit that referenced this pull request Feb 5, 2016
Add support for GPU generated raster ops to have texture atlas border edges.
@glennw glennw merged commit 0638a4f into master Feb 5, 2016
@glennw glennw deleted the raster-atlas branch Feb 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.