-
Notifications
You must be signed in to change notification settings - Fork 7.1k
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
Fix RenderTexture PMA setting #20143
Merged
Merged
Commits on May 29, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 30fb96e - Browse repository at this point
Copy the full SHA 30fb96eView commit details
Commits on May 30, 2019
-
Added RenderTexture::saveToFileAsNonPMA() to save images without PMA.
Set the PMA parameter to true when calling initWithRawData() inside RenderTexture::newImage(), since textures are PMA. Renamed Image::premultipliedAlpha() to Image::premultiplyAlpha() to better reflect it's action, and made it public. Added Image::reversePremultipliedAlpha() to allow the reversing of the PMA. Updated CCImage-ios.mm to set the correct bitmapInfo for PMA and non-PMA images before saving a file. Updated RenderTextureTest::RenderTextureSave() to cater for non-PMA file saving.
Configuration menu - View commit details
-
Copy full SHA for 67d2f79 - Browse repository at this point
Copy the full SHA 67d2f79View commit details
Commits on Jun 4, 2019
-
Configuration menu - View commit details
-
Copy full SHA for b5bdada - Browse repository at this point
Copy the full SHA b5bdadaView commit details
Commits on Jun 16, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 7065335 - Browse repository at this point
Copy the full SHA 7065335View commit details
Commits on Jun 22, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 94ec877 - Browse repository at this point
Copy the full SHA 94ec877View commit details
Commits on Jun 30, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 92dd2e5 - Browse repository at this point
Copy the full SHA 92dd2e5View commit details
Commits on Jul 20, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 628c758 - Browse repository at this point
Copy the full SHA 628c758View commit details
Commits on Jul 26, 2019
-
Configuration menu - View commit details
-
Copy full SHA for df5ef30 - Browse repository at this point
Copy the full SHA df5ef30View commit details
Commits on Sep 20, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 03c7479 - Browse repository at this point
Copy the full SHA 03c7479View commit details -
Corrects the PMA setting on the internal Texture2D instance created b…
…y RenderTexture.
Configuration menu - View commit details
-
Copy full SHA for 7858425 - Browse repository at this point
Copy the full SHA 7858425View commit details
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.