This repository was archived by the owner on Apr 15, 2025. It is now read-only.
Exercise compositing of two GL views#7
Open
epennerAtGoogle wants to merge 1 commit intogoogle:masterfrom
Open
Conversation
This creates a new activity with two SurfaceViews, both driven by GL. This represents a typical Game/HUD. The game can be scaled, while the HUD remains at full resolution. SimpleGlScene.java just reuses the GL content from the HardwareScalerActivity.
Contributor
|
A few thoughts... (1) SimpleGlScene.java should be in the main package, not gles; the idea was to have gles be a library of code from which other things could be built. (2) Don't forget to update the README when adding a new activity. (3) As I'm no longer employed by Google, I shouldn't be the one to handle this; someone else from the graphics team should review / merge.
|
This file contains hidden or 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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This creates a new activity with two SurfaceViews, both
driven by GL. This represents a typical Game/HUD. The game
can be scaled, while the HUD remains at full resolution.
SimpleGlScene.java just reuses the GL content from the
HardwareScalerActivity at the moment.