Skip to content

Commit

Permalink
- Disable power-of-two by passing --disablePOT to command line
Browse files Browse the repository at this point in the history
  • Loading branch information
CrazyFlasher committed Jan 28, 2020
1 parent b7d232d commit b0dfb87
Show file tree
Hide file tree
Showing 8 changed files with 92 additions and 78 deletions.
Binary file modified bin/exporter/Flump.exe
Binary file not shown.
2 changes: 1 addition & 1 deletion bin/exporter/META-INF/AIR/hash
Original file line number Diff line number Diff line change
@@ -1 +1 @@
 ��W䌱�V��~�3��I��S$�h.b�$
4'���_��“���� 6�m�?���Ӆ,�
142 changes: 71 additions & 71 deletions bin/exporter/META-INF/signatures.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
<Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
</Transforms>
<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
<DigestValue>GEOGCrSr43axvz0xgzMamNfEdu8pI79syZW2ZxuAvhI=</DigestValue>
<DigestValue>SuwY7D45VUcfNFxmp7mcvOzfhX8NW4UMXj+nz6a7J50=</DigestValue>
</Reference>
</SignedInfo>
<SignatureValue Id="PackageSignatureValue">NFK//NYOcnaI/EH9qs1e1NRULntpjTgOCY9SrBbYZMvd6ZOdH2j40rRbRNMsaTmSg8xWhXsHXqRC
mHOOlmEW2dPRrkWnXKP8+Z9TsiQ2iwi7fhKRShC5g69XEYv7am26ShndzctWoDL3HnTzMm7+HTY2
4wBkj5nTl5hfTHkvENSjvs05ZX1uQ2FwyWaI/vaDPbDRYo7jFk6e1841+gVivDY7WAOl+RskdeLF
UGIdZOBvHcj0gO8ArKrU2ecVpmEm7hiwrpnLZgb9xvXNjP0PsFxb/A22+eW/rr/Bcx4Kg4Io9O4e
3yUVRVXdzPy3gqTzvD5dgMvxw5s6qiEJo4qEWQ==</SignatureValue>
<SignatureValue Id="PackageSignatureValue">FdNMS2Fsd5IWwBWEFiOli3KzbVqMbpmLe+U+SGLuhSzqehp3VJAJNHh+5p+MeSOPQ9g8tejp71FE
Teng+NRZBc/T2vosyIQ+dn7BPOFTMl1oJZQA+OF5ZVbx0rPA3b8T3BRpdJhXSuxgj3h/eviHhEaK
hKhkzzcXjyUd7TVoB9LfH8kBHXKMD+x7vEgfeYH1L/GRVq0SW5ZjVqCrXfWkDGxbJfmZpt7D2DHA
ZHASyf082DtvUBfbe0CxUmjhpvpzw5ugZENmY8/O9py1bieP+mSYcedgw/vCMrplOSxpT/3iB84B
RellIwIZeN/dyFPETW6UC9XbkMUFKJkNSGRQoA==</SignatureValue>
<KeyInfo>
<X509Data>
<X509Certificate>MIIDBDCCAeygAwIBAgIbLTY4OTgxNWUyOjE2MTRjYTUwOThiOi04MDAwMA0GCSqGSIb3DQEBBQUA
Expand All @@ -36,7 +36,7 @@ Z/JcNgXxTYUSxaWCztjiXTdMmXYPs0M6w88jocsY6eA8rJI=</X509Certificate>
</KeyInfo>
<Object>
<Manifest Id="PackageContents">
<Reference URI="mimetype"><DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod><DigestValue>0/oCb84THKMagtI0Dy0KogEu92TegdesqRr/clXct1c=</DigestValue></Reference><Reference URI="META-INF/AIR/application.xml"><DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod><DigestValue>JUY7VaF6/710+DuwesbqX+BUxv5n8tQ9gO8lmh8oBI4=</DigestValue></Reference><Reference URI="flump-exporter.swf"><DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod><DigestValue>CHA5Q/kRfB7O/ZN28XTJ6iAB4Qlx1jJDwQu5A+kNYUY=</DigestValue></Reference><Reference URI="icons/icon_128.png"><DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod><DigestValue>YZHHPJZTG65mU6hb9S4736zXEdfMBiFwAwja8j6Rbo4=</DigestValue></Reference><Reference URI="icons/icon_16.png"><DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod><DigestValue>eQig8S6obnixVAoh//61364OXEiap0cmE1yTnmrqu3w=</DigestValue></Reference><Reference URI="icons/icon_32.png"><DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod><DigestValue>HACoZNxq6Bwq4o9IFpSIjDFQtsKQ6SA+rEDD/nhcCJs=</DigestValue></Reference><Reference URI="icons/icon_48.png"><DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod><DigestValue>AOYIvGEDJOY3kQbiZUUA3dsicQ21iGBprPy2aKP0cXQ=</DigestValue></Reference>
<Reference URI="mimetype"><DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod><DigestValue>0/oCb84THKMagtI0Dy0KogEu92TegdesqRr/clXct1c=</DigestValue></Reference><Reference URI="META-INF/AIR/application.xml"><DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod><DigestValue>JUY7VaF6/710+DuwesbqX+BUxv5n8tQ9gO8lmh8oBI4=</DigestValue></Reference><Reference URI="flump-exporter.swf"><DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod><DigestValue>sa2a9aQrpvHKQ1Swd+DdyafqGXBjzD1pqPfFiimVqbY=</DigestValue></Reference><Reference URI="icons/icon_128.png"><DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod><DigestValue>YZHHPJZTG65mU6hb9S4736zXEdfMBiFwAwja8j6Rbo4=</DigestValue></Reference><Reference URI="icons/icon_16.png"><DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod><DigestValue>eQig8S6obnixVAoh//61364OXEiap0cmE1yTnmrqu3w=</DigestValue></Reference><Reference URI="icons/icon_32.png"><DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod><DigestValue>HACoZNxq6Bwq4o9IFpSIjDFQtsKQ6SA+rEDD/nhcCJs=</DigestValue></Reference><Reference URI="icons/icon_48.png"><DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod><DigestValue>AOYIvGEDJOY3kQbiZUUA3dsicQ21iGBprPy2aKP0cXQ=</DigestValue></Reference>
</Manifest>
</Object>
<Object xmlns:xades="http://uri.etsi.org/01903/v1.1.1#" >
Expand All @@ -49,70 +49,70 @@ Z/JcNgXxTYUSxaWCztjiXTdMmXYPs0M6w88jocsY6eA8rJI=</X509Certificate>
<Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
</Transforms>
<xades:EncapsulatedTimeStamp>
MIIOFAYJKoZIhvcNAQcCoIIOBTCCDgECAQMxDTALBglghkgBZQMEAgEwgf8GCyqGSIb3DQEJEAEE
oIHvBIHsMIHpAgEBBgtghkgBhvhFAQcXAzAhMAkGBSsOAwIaBQAEFAV72CDWNqLdFGESKJ0O83mx
XDe5AhUAjWjH4eaNhrcaUZoiFtwynL3dYs8YDzIwMjAwMTI3MjI1MjUzWjADAgEeoIGGpIGDMIGA
MQswCQYDVQQGEwJVUzEdMBsGA1UEChMUU3ltYW50ZWMgQ29ycG9yYXRpb24xHzAdBgNVBAsTFlN5
bWFudGVjIFRydXN0IE5ldHdvcmsxMTAvBgNVBAMTKFN5bWFudGVjIFNIQTI1NiBUaW1lU3RhbXBp
bmcgU2lnbmVyIC0gRzOgggqLMIIFODCCBCCgAwIBAgIQewWx1EloUUT3yYnSnBmdEjANBgkqhkiG
9w0BAQsFADCBvTELMAkGA1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQL
ExZWZXJpU2lnbiBUcnVzdCBOZXR3b3JrMTowOAYDVQQLEzEoYykgMjAwOCBWZXJpU2lnbiwgSW5j
LiAtIEZvciBhdXRob3JpemVkIHVzZSBvbmx5MTgwNgYDVQQDEy9WZXJpU2lnbiBVbml2ZXJzYWwg
Um9vdCBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTAeFw0xNjAxMTIwMDAwMDBaFw0zMTAxMTE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qMTA3BgsqhkiG9w0BCRACLzEoMCYwJDAiBCDEdM52
AH0COU4NpeTefBTGgPniggE8/vZT7123H99h+DALBgkqhkiG9w0BAQEEggEANxZgidhF1KPJbf9K
4SHd0uFV4uP5Vny+pQe9GzbX1ejb2OPkZRYMzoejKuPq9mfDMM8KWd2H6url98514Z2lK4ergYDk
soFRaKZWPtYwJ6dRG0oi9mqWm/p9JCXQZxiK3izZzM43kH5kxE96joEE5r1ZKCVGqc32rvXSmi+5
+C5VNyqlHRFFMibkGXtUb2Wsa5FOfxMAAGqMmwAMOVuwxkDN8esYnX/LWLMAG9rTLyxeVBeWBScq
rIH5+v/G5OTPbgnTg3WdlUjNPgW/1q+RJOdQnRCmY8JwlDBgEgbd65UBDdki1/AR/JX3uUlSoa1y
bRPQzZlH63tJZOdDs64N4w==
</xades:EncapsulatedTimeStamp>
</xades:HashDataInfo>
</xades:SignatureTimeStamp>
Expand Down
Binary file modified bin/exporter/flump-exporter.swf
Binary file not shown.
20 changes: 16 additions & 4 deletions exporter/src/main/as/flump/export/AtlasImpl.as
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ import flash.geom.Rectangle;

import flump.SwfTexture;
import flump.Util;
import flump.export.AtlasUtil;

import flump.mold.AtlasMold;
import flump.mold.AtlasMold;
import flump.mold.AtlasTextureMold;

public class AtlasImpl implements Atlas
Expand Down Expand Up @@ -73,15 +74,20 @@ public class AtlasImpl implements Atlas
collapsedBounds = collapsedBounds.union(node.paddedBounds);
});
_bitmapData = Util.renderToBitmapData(constructed,
Util.nextPowerOfTwo(collapsedBounds.x + collapsedBounds.width),
Util.nextPowerOfTwo(collapsedBounds.y + collapsedBounds.height),
AtlasUtil.disablePOT ? totalWidth : Util.nextPowerOfTwo(collapsedBounds.x + collapsedBounds.width),
AtlasUtil.disablePOT ? totalHeight : Util.nextPowerOfTwo(collapsedBounds.y + collapsedBounds.height),
quailty);

trace("AtlasUtil.disablePOT " + AtlasUtil.disablePOT, totalWidth, totalHeight);
}

return _bitmapData;
}


private var hasSingleTexture:Boolean;
private var totalWidth:int;
private var totalHeight:int;
private var hasSingleTexture:Boolean;
// Try to place a texture in this atlas
public function place (tex :SwfTexture, xx :uint, yy :uint) :void {
hasSingleTexture = tex.isSingle;
Expand All @@ -100,6 +106,12 @@ public class AtlasImpl implements Atlas
var node :Node = new Node(xx, yy, padX, padY, tex);
_nodes.push(node);
setMasked(node.paddedBounds.x, node.paddedBounds.y, node.paddedBounds.width, node.paddedBounds.height);

var newWidth:int = xx + tex.w + padX;
var newHeight:int = yy + tex.h + padY;

if (newWidth > totalWidth) totalWidth = newWidth;
if (newHeight > totalHeight) totalHeight = newHeight;
}

protected static var _isMaskedPoint:Point = new Point();
Expand Down
1 change: 1 addition & 0 deletions exporter/src/main/as/flump/export/AtlasUtil.as
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import starling.textures.Texture;
public class AtlasUtil
{
public static var jpgQuality:int = 70;
public static var disablePOT:Boolean;

public static function writePNG (atlas :Atlas, bytes :IDataOutput) :void {
bytes.writeBytes(atlas.jpg ? new JPEGEncoder(jpgQuality).encode(atlas.toBitmap()) : PNGEncoder.encode(atlas.toBitmap()));
Expand Down
1 change: 1 addition & 0 deletions exporter/src/main/as/flump/export/FlumpApp.as
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public class FlumpApp
if (hasValueArgument(event.arguments, "--export")) {
var projectName :String = popValueArgument(event.arguments, "--export");
var exportUnmodified :Boolean = popFlagArgument(event.arguments, "--unmodified");
AtlasUtil.disablePOT = popFlagArgument(event.arguments, "--disablePOT");

var jpgQualityIndex:int = event.arguments.indexOf("--jpgQuality");
if (jpgQualityIndex != -1)
Expand Down
4 changes: 2 additions & 2 deletions haxelib.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"tags": [
],
"description": "Flump",
"version": "1.0.8",
"releasenote": "Fixed single jpg image atlas",
"version": "1.0.9",
"releasenote": "Disable power-of-two by passing --disablePOT to command line",
"contributors": [
"CrazyFlasher",
"tconkling"
Expand Down

0 comments on commit b0dfb87

Please sign in to comment.