-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
IGLU: Fix issues with texture accessor
Summary: This diff fixes an issue with IGLU texture_accessor: when using the async path, the code is not handling the case where the data is available in the first call to getRequestStatus. In the current code, if this happens, the data is never actually read from the PBO. This diff adds a new flag to track whether the data has been read or not, and ensure that the data is always read before returning from getBytes. Reviewed By: rameshviswanathan Differential Revision: D49943435 fbshipit-source-id: 10b123f214550bc930ac673a8fcfeeb26999c352
- Loading branch information
1 parent
24b2108
commit abedd0f
Showing
5 changed files
with
86 additions
and
16 deletions.
There are no files selected for viewing
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
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