Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - AeroShark333

Pages: 1 ... 16 17 [18] 19 20 ... 22
256
Support / Re: TextureInfo multi-texture question
« on: April 07, 2016, 02:06:52 am »
Eh, of course I did set Config.setMaxTextureLayers = 4; and before the framebuffer was initialized too.

Hmm but even with 2 texture layers the app crashes (but usually it would not crash) with that same error as when I use more than 2 layers.
Keep in mind, this does not ALWAYS happen... but when it happens, it is usually right after the compiling the shader...
Here is the full error log:

04-07 01:55:42.547: I/jPCT-AE(26001): Compiling shader program!
04-07 01:55:42.567: I/jPCT-AE(26001): Handles of 18: 2/12/1
Code: [Select]
04-07 01:55:42.657: A/google-breakpad(27128): -----BEGIN BREAKPAD MICRODUMP-----
04-07 01:55:42.657: A/google-breakpad(27128): V WebView:49.0.2623.105
04-07 01:55:42.657: A/google-breakpad(27128): O A arm64 08 aarch64 htc/a52dtul_htc_asia_hk/htc_a52dtul:5.0.2/LRX22G/583966.7:user/release-keys
04-07 01:55:42.657: A/google-breakpad(27128): G OpenGL ES 3.0 V@100.0 AU@05.00.02.028.191 (GIT@)|Qualcomm|Adreno (TM) 405
04-07 01:55:42.657: A/google-breakpad(27128): S 0 0000007F715EEF40 0000007F715EE000 0000000000002000
04-07 01:55:42.657: A/google-breakpad(27128): S 0000007F715EE000 03000000030000000000000000000000000000850000000053000000000000000020D36F7F00000010E65E717F00000050E05E717F000000A44CD36F7F00000060E05E717F00000078E3D86F7F00000098E35E717F000000206D84855500000090E05E717F0000002CE7D86F7F00000090E05E717F00000078E3D86F7F00000098E35E717F000000F075848555000000C0E05E717F0000002CE7D86F7F00000098E35E717F0000002876848555000000C0E05E717F00000058E7D86F7F000000E0E05E717F00000078E3D86F7F00000098E35E717F000000387A84855500000010E15E717F0000002CE7D86F7F00000098E35E717F000000787A84855500000010E15E717F00000058E7D86F7F00000030E15E717F00000078E3D86F7F00000098E35E717F000000587B84855500000060E15E717F000000C0E4D86F7F00000098E35E717F000000987B84855500000060E15E717F00000084E4D86F7F00000080E15E717F000000D8E4D86F7F00000080E15E717F00000084E4D86F7F000000
04-07 01:55:42.657: A/google-breakpad(27128): S 0000007F715EE180 A0E15E717F000000D8E4D86F7F000000A0E15E717F00000084E4D86F7F000000C0E15E717F000000D8E4D86F7F000000C0E15E717F00000084E4D86F7F000000E0E15E717F000000D8E4D86F7F00000030E25E717F000000A8DFBF8B7F00000070640E855500000000F0C58B7F00000080640E8555000000405E0E85550000000000000000000000F0E184855500000000C06D707F00000078E3D86F7F00000080E25E717F000000A8DFBF8B7F0000007054A2855500000000F0C58B7F0000008054A28555000000404EA28555000000A0680E855500000000EB7F855500000000C06D707F000000F0E1848555000000D0E25E717F000000A8DFBF8B7F000000E029A0855500000000F0C58B7F000000F029A08555000000B023A08555000000109E6A8555000000D0AB85855500000000C06D707F00000000EB7F855500000020E35E717F000000A8DFBF8B7F000000F0E25E717F000000B407DA6F7F000000882DA78555000000B8E0A0855500000010E35E717F000000B407DA6F7F000000
04-07 01:55:42.657: A/google-breakpad(27128): S 0000007F715EE300 9857A18555000000B8E0A0855500000030E35E717F000000B407DA6F7F0000007850A78555000000B8E0A0855500000050E35E717F000000B407DA6F7F000000E842A78555000000B8E0A08555000000B0E35E717F000000543A788B7F000000180000000000000030B87A8B7F000000C0E35E717F0000002490D96F7F00000018656E707F000000109E6A8555000000010000000000000000C06D707F000000109E6A8555000000D0AB858555000000E0E35E717F000000ACB7D96F7F000000E0E35E717F000000ACB7D96F7F00000000800000000000000000000000000000E0E85E717F0000005858DC6F7F000000000000000000000090EA5E717F000000F0E95E717F000000FFFFFFFF00000000202BB5855500000048E95E717F000000C038748555000000109E6A855500000000000000000000000000000000000000202BB5855500000000040000000000000800000008000000FF03000000000000A51D003C00000000000000000000000000000000550000000000000000000000
04-07 01:55:42.657: A/google-breakpad(27128): S 0000007F715EE480 0000000000000000A85EA1855500000000000000000000000000000000000000FCE45E717F000000F8E45E717F00000008087F8555000000A8E55E717F00000000000000000000000000000000000000000000000000000000087F855500000020A56A8555000000402C6885550000003C00000000000000D0E95E717F00000070159885550000007015988555000000B015988555000000000B42855500000080FFFFFF00000000C80D516F0000000010B0477E00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000800000008000003000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008010000F800000002000000020000000200000002000000000000000000000003000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008010000F80000000200000002000000
04-07 01:55:42.657: A/google-breakpad(27128): S 0000007F715EE600 0200000002000000000000000000000060046B707F00000020A56A85550000000100000000000000010000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000030000000300000003000000000000000000000078E95E717F00000001000000000000005023000000000000A0E65E717F000000605E2E817F000000C0E65E717F000000F0116E8555000000D0AB85855500000030AD6E8555000000B89A848555000000D080A78555000000E0E45E717F000000F0E45E717F00000020A56A8555000000010000007F00000003000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008010000F8000000020000000200000002000000020000000000000000000000010000855500000018656E707F00000000E75E717F000000000000000000000050E75E717F00000050E75E717F000000A0E75E717F000000B8ECBB797F000000
04-07 01:55:42.657: A/google-breakpad(27128): S 0000007F715EE780 806F5D8555000000744EAA85550000006CE85E717F000000883C788B7F00000070E85E717F000000F466B4797F000000FFFFFFFF0000000010ED5E717F00000090ED5E717F00000050367C8555000000F0E75E717F000000A846A3887F000000020000000000000090D7848555000000A0E6556F7F000000B861A3887F000000020000000000000010F15E717F00000000B0BC887F00000008000800000000000059A38555000000A8E95E717F000000A0E6556F000000001C8F80887F000000000000003024F91210EB5E717F00000080E85E717F000000E0D49D887F000000A8E95E717F000000D4D846700000000080E85E717F0000007058A3855500000020E95E717F000000AC5FA3887F000000020000000000000010F15E717F0000000100000000000000A00B42855500000080FFFFFF00000000A0E6556F00000000E0FFFFFF0000000010F15E717F000000B0E95E717F00000010F15E717F00000030F95E717F0000000000000000000000B0F15E717F0000000000000000000000
04-07 01:55:42.657: A/google-breakpad(27128): S 0000007F715EE900 20E95E717F000000945EA3887F000000D0EA5E717F000000C456AE89E3102F6310EA5E717F000000402698887F00000010EA5E717F0000004C2698887F000000C8EF5E717F00000060BBB1887F000000A00B4285550000007058A3855500000010EB5E717F000000E0F05E717F000000D8FFFFFF80FFFFFF10408682000000000000000000000000C07EE71200000000A0E6556F0000000099D91BC80000000052B8DE40000000000000000000000000D4D84670000000000200000004000000C8E95E717F0000003024F9125500000001000000000000000000000000000000F0E95E717F0000001CB5DC6F7F000000A0EF5E717F000000E0BCB1797F0000000000000000000000C456AE89E3102F6360EF5E717F000000981383887F000000C8EF5E717F00000060BBB1887F000000A00B428555000000A0E6556F00000000860310000000000020F05E717F000000A8F15E717F000000A0F15E717F0000000000000000000000C07EE7120000000099D91BC80000000099D91BC800000000
04-07 01:55:42.667: A/google-breakpad(27128): S 0000007F715EEA80 52B8DE4000000000000000000000000085EB914000000000A51D003C000000000000803F00000000C0377B8555000000C050B6855500000001000000000000001031AA8555000000000000000000000010F15E717F00000010F15E717F000000E0F05E717F000000D8FFFFFF80FFFFFF00000000000000000000000000000000000000000000000000000000000000007058A38555000000A00B428555000000105D2184550000007058A3855500000043000000430000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0EB5E717F000000B4E4BB797F000000B0EB5E717F0000004CF0BB797F00000030EC5E717F0000002800000000000000C050B6855500000094E4BB797F00000000EC5E717F0000002401BC797F0000000100000000000000C050B68555000000C0630E855500000030EC5E717F00000080A820BD00000000830100000000000060EC5E717F000000806B82887F000000
04-07 01:55:42.667: A/google-breakpad(27128): S 0000007F715EEC00 80ED5E717F00000030ED5E717F00000080EC5E717F000000D06A82887F000000A0ED5E717F00000050ED5E717F000000E0FFFFFF00000000A9BAB1887F0000008603100000000000C8EF5E717F00000080EC5E717F000000EC6A82887F000000A0ED5E717F00000050ED5E717F000000E0FFFFFF00000000A9BAB1887F00000060EF5E717F000000481383887F000000C8EF5E717F00000060BBB1887F000000A00B428555000000A0E6556F00000000860310000000000020F05E717F000000A8F15E717F000000A0F15E717F0000000000000000000000C07EE7120000000099D91BC80000000099D91BC80000000052B8DE4000000000000000000000000085EB914000000000A00B428555000000C0BF546F00000000D4F05E717F0000000800000000000000000000000000000060EF5E717F000000241383887F000000C8EF5E717F00000000B0B1887F00000060EF5E717F00000060EF5E717F00000030EF5E717F000000F0FFFFFF80FFFFFFA8F15E717F000000A0F15E717F000000
04-07 01:55:42.667: A/google-breakpad(27128): S 0000007F715EED80 0000000000000000C07EE7120000000099D91BC80000000099D91BC80000000052B8DE4000000000000000000000000010EE5E717F0000003C622E817F00000010EE5E717F0000009C622E817F000000A06A7B8555000000003031817F0000000900000000000000E050B68555000000C050B68555000000A0E6556F0000000020EE5E717F000000CCF82D817F00000030EE5E717F00000040F92D817F000000A06A7B8555000000000000000000000050EE5E717F00000040BB2C817F000000A06A7B855500000034BB2C817F00000080EE5E717F0000007CBB2C817F00000040010000000000004D000000000000000200000000000000ACEE5E717F000000B0EE5E717F000000D846B6797F000000C050B685550000004D00000000000000C050B68555000000E050B6855E010000C0EE5E717F0000005047B6797F000000F0EE5E717F00000024BEB4797F000000710000000000000071000000000000007200000000000000602A7A855500000070EF5E717F000000B852B6797F000000
04-07 01:55:42.667: A/google-breakpad(27128): S 0000007F715EEF00 0300000000000000702A7A855500000010287D85550000000800000000000000C024A78555000000C050B68555000000080000000000000000000000000000000100000000000000010000000000000070EF5E717F000000F852B6797F00000003000000000000000082000000000000F0EF5E717F00000094C4AF797F000000070000000000000010287D8555000000010000000000000004000000000000000000000000000000702A7A855500000010287D8555000000040000000000000050EB7C855500000050B57C855500000050B57C855500000010287D855500000040100000000000000100000000000000A0F05E717F000000B029B0797F00000050B57C855500000001000000000000001040868200000000031400000000000010408682000000000400000000000000B0C37C855500000050EB7C85550000001065178555000000000000000000000099D91BC80000000099D91BC80000000052B8DE4000000000000000000000000085EB9140000000000000000000000000
04-07 01:55:42.667: A/google-breakpad(27128): S 0000007F715EF080 1040868200000000401000000000000054EB7C855500000060EB7C855500000030F15E717F000000EC58AE797F00000010408682000000000314000000000000C05D00000000000004000000000000000400000000000000D055A77500000000040000000000000000261A13000000000000000000000000C07EE71200000000C05D00000000000004000000C05D0000C05FA38555000000D055A7750000000030F15E717F000000D058AE797F00000060F15E717F000000A47FA58B7F000000A00B4285550000001040868200000000C05D000000000000031400000000000000261A1300000000485580730000000054010000000000003C7FA58B7F0000007058A3855500000003140000000000003024F9120000000000005500E3102F630000000080BB00000000000000000000800AA46F00000000000000000200000040F3A36F3024F912000000000000000000000000000000000400000000000000C05D00000000000003140000000000003024F91200000000D055A77500000000
04-07 01:55:42.667: A/google-breakpad(27128): S 0000007F715EF200 040000000000000000261A13000000000000000000000000C07EE7120000000000261A130000000010FF32727F000000D055A77504000000C05D0000031400003024F91200000000031400000000000090E7A7750000000001000000000000000400000000000000C05D0000000000000314000000000000986716727F00000090E7A77500261A130500000000000000080000009027F9126058D61200000000000000003024F91204000000000000003018E61200000000343917720000000010729B7500000000000000007F000000700CA6750100000080BFC312900AFB12E0749B75010000006058D612C07EE712030000000000000000000000000000000000000000AD131303000000000000000000000000000000000000000000000080EA411300000000C05D0000031400003024F91200000000000000000000000000000000000000008584043E000000008180803B00000000A51D003C00000000A51D003C000000000000803F0000000000000000000000000300000000000000
04-07 01:55:42.667: A/google-breakpad(27128): S 0000007F715EF380 0400000000000000609DD21200000000009DD2120000000080EA4113000000006058D6120000000000000000000000004034A77500000000C07EE71200000000502D1A1300000000240118727F0000004034A775502D1A13050000006058D6124050D5126050D51200000000508BE812600AFB12000000003059A675000000000E00000000000000307DE7123F1F00003F1F000000000000050000006058D6124050D5126050D51200000000508BE812600AFB1200000000000000000000000030E0A67508000000000000000000000080F45E717F3E00007F3E0000C07EE7126032A7755500000000000000000000000000000000000000B60DD742000000005B8298380000000080EA4113000000007046A6750000000080EA411300000000804FDA12000000006058D612000000006011E812000000006011E81200000000A0B66E1300000000F00600000000000038040000000000005CB91F727F0000007046A67500000000804FDA12000000000E0000006011E81280EA411300000000
04-07 01:55:42.667: A/google-breakpad(27128): S 0000007F715EF500 0E0000000000000096000000000000000000000000000000106B1F72000000000E0000000000000080EA4113010000000000000000000000000000000000000080EA411300000000307DE712000000000000A84100000000A58A1A3C00000000B60DD7420000000080EA4113000000006011E8120000000080EA4113000000006011E81200000000D04FA675000000001F00000000000000B074D11200000000A0B66E1300000000807EEE12000000000014881300000000C0E71F727F000000D04FA67538040000A58A1A3C0000000000000000000000000000000000000000B074D11200000000D0EFA5750000000000000000000000000000000000000000B074D11200000000B074D11200000000D0EFA5750000000080EA4113000000006011E8120000000048070C727F000000D0EFA5757F000000309D9F887F0000007058A38555000000807EEE120000000020FB5E717F000000C456AE89E3102F63C0F65E717F0000009CF6AD887F0000001A01000000000000C0B69B7500000000
04-07 01:55:42.667: A/google-breakpad(27128): S 0000007F715EF680 7058A38555000000F805267000000000F8052670000000000000000000000000000000000000000001000000E0B66E1340C6FF12550000000100000000B66E130014881360B76E13409280887F00000020FB5E717F00000090232CD67F00000010FB5E717F00000058A3B1887F000000F0AFB1887F00000080A3B1887F0000000400000000000000C0B69B75000000000000000000000000B074D11200000000F80526700000000000000000000000000000000000000000B074D11200000000807EEE1200000000807EEE120000000000148813000000003006B67300000000C0B69B75F805267080EEC41202000000807EEE128000A91300000000000000000E00000000000000000000000000000000000000000000000100000080EEC412F006000000000000000000000000000000000000003000000CFB5E717F00000038040000000000000000000055000000000000007F000000D0BA9B75000000008000A91300000000807EEE1200000000503E7B6F00000000FF2F000000000000
04-07 01:55:42.667: A/google-breakpad(27128): S 0000007F715EF800 559EF570000000000CFB5E717F00000040000000000000000000000055000000A0F85E717F0000009420B67300000000D0BA9B7500000000C456AE89E3102F6370F95E717F000000145EA3887F000000807EEE1200000000000000000000000000B0BC887F00000001000800000000000059A38555000000D8F95E717F00000020FB5E717F000000888C80887F00000000000000807EEE120000000055000000D0F85E717F00000038D59D887F000000D8F95E717F000000559EF57000000000D0F85E717F0000007058A3855500000070F95E717F0000008C5CA3887F000000807EEE12000000000000000000000000A00B428555000000D0BA9B7500000000010000000000000020FB5E717F000000559EF57000000000200C42855500000030F95E717F00000008F3A2887F000000000000000000000000000000000000000000000000000000000000000000000070F95E717F000000B05BA3887F000000807EEE1200000000C456AE89E3102F6340FA5E717F000000386CA5887F000000
04-07 01:55:42.667: A/google-breakpad(27128): S 0000007F715EF980 7058A3855500000051FB5E717F00000008FB5E717F00000000B0BC887F00000000B0BC887F0000000000000000000000BC8B526F00000000C456AE89E3102F63E0F95E717F000000F8F95E717F00000040FA5E71010000000000000000000000559EF570000000000100000004000000F8F95E717F000000807EEE127F0000007058A3855500000051FB5E717F00000008FB5E717F00000000B0BC887F00000040FA5E717F0000001C6CA5887F0000007058A38555000000000000000000000070FB5E717F000000145ABD8B7F000000D0487C855500000050497C8555000000E0487C8555000000A0FB5E717F0000007058A38555000000B0162CD67F0000006069A5887F00000050497C85550000007058A3855500000000B0BC887F000000000000000000000090232CD67F000000000000000000000058A3B1887F000000F0AFB1887F00000080A3B1887F0000000400000000000000000000000000000000000000000000000000000000000000000000000000000018FB5E717F000000
04-07 01:55:42.667: A/google-breakpad(27128): S 0000007F715EFB00 00000000000000000000550000000000000055007F000000000043007F0000007058A38555000000A00B428555000000105D2184550000007058A38555000000430000005500000000FB5E717F000000185468726561642D31323238370000000000000055000000C456AE89E3102F6390FB5E717F000000341EBD8B7F000000916500000000000030E1C98B7F00000000000000000000000000000000000000A0FB5E717F000000D0487C85550000001600000000000000E8919A8B7F0000000000000000000000C456AE89E3102F63000000000000000000000000000000000000000000000000FFFFFFFFFFFFFFFF00000000000000000000000000000000000000000000000000000000000000007058A3855500000000000000000000000000000000000000001B228555000000000000000000000000000000000000000000000000000000000000000000000050D37D855500000090C84D85550000000000000000000000000000000000000000000000000000000000000000000000
04-07 01:55:42.667: A/google-breakpad(27128): S 0000007F715EFC80 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
04-07 01:55:42.667: A/google-breakpad(27128): S 0000007F715EFE00 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
04-07 01:55:42.667: A/google-breakpad(27128): S 0000007F715EFF80 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
04-07 01:55:42.677: A/google-breakpad(27128): C 060000800000000000809CBD00000000D0BFAC7500000000000400000000000000809CBD0000000000000000000000002042AC750000000070FD9CBD00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000900000000000000C82C31817F0000008007BD8B7F000000903631817F0000000000000000000000702A7A85550000002042AC75000000000800000000000000C024A78555000000C050B6855500000008000000000000000825A785550000000100000000000000010000000000000050EF5E717F000000FC4C2E817F00000040EF5E717F000000A808BD8B7F0000000000002012000000000000002E2E2E2E2E2E2E2E2E2E2E2E2E2E2E2E206A73697A653A202564000000000000424349535A62666D70457600000000000000000000000000000020800208208000000000000000000000008002082080000000000000000000000000000000000000000000000000000000000000000002082080020820800208208002082080802A7A8555000000000000000000000004000000000000000000000000000000000000000000000000000000000000004010000000000000000000000000000001000000000000000000000000000000A51D003C0000000000000000000000000000803F00000000000000000000000000000000000000000000000000000000010410400104104001041040010410400000A0AA000080AA0000000000800AA0000000000000000000000080020820800000000000000000000000000000000000000000000000000000000000000000000080BF000000000000000000000000000080BF00000000000000000000000057573BC2000000000000000000000000BC0F3D10BD0FBD0F3D103E10BD0F3E10000000000000000000000000000000003B103D103A103C103D103E103C103E103E100000000000000000000000000000000000000000000000000000000000007E900D3E00000000000000000000000078E62F4200000000000000000000000057573BC2000000000000000000000000
04-07 01:55:42.677: A/google-breakpad(27128): M 0000005555B3F000 0000000000000000 0000000000004000 4D35CDEAA9A6ADCCDDA9A25DE042E0B10 app_process64_original
04-07 01:55:42.677: A/google-breakpad(27128): M 0000007F6B9C4000 0000000000000000 000000000004B000 41260D56216993BC77210AD4B9F3A2940 libRSDriver.so
04-07 01:55:42.677: A/google-breakpad(27128): M 0000007F6D6DD000 0000000000000000 0000000000044000 7669104351D01A4365D421C4988288FC0 libRSCpuRef.so
04-07 01:55:42.677: A/google-breakpad(27128): M 0000007F6EB09000 0000000000000000 0000000000012000 9C993621A6EF60834C83FBE3ED243F150 libqdMetaData.so
04-07 01:55:42.677: A/google-breakpad(27128): M 0000007F6EB1C000 0000000000000000 0000000000018000 40614F97EDCA4E74CA2858433FB9130B0 gralloc.msm8916.so
04-07 01:55:42.677: A/google-breakpad(27128): M 0000007F6FB7E000 0000000000000000 0000000000B62000 E56EB4A5B5AB26743CA568B4762468D10 libsc-a3xx.so
04-07 01:55:42.677: A/google-breakpad(27128): M 0000007F71808000 0000000000000000 000000000001C000 7600D8B35D7631F30C2DC3DF4A8DD68B0 eglsubAndroid.so
04-07 01:55:42.677: A/google-breakpad(27128): M 0000007F718BE000 0000000000000000 0000000000016000 04592B133FE9317DEF48A7E36B860A230 libwebviewchromium_plat_support.so
04-07 01:55:42.677: A/google-breakpad(27128): M 0000007F7338B000 0000000000000000 00000000030A0000 8D0CEF0580F43861E46BB5DB5DD680770 libwebviewchromium.so
04-07 01:55:42.677: A/google-breakpad(27128): M 0000007F79A3B000 0000000000000000 0000000000013000 E40E05ECA5BB90736D8FB5753CC350B10 libwebviewchromium_loader.so
04-07 01:55:42.687: A/google-breakpad(27128): M 0000007F79A4E000 0000000000000000 000000000001C000 FF498DBEBE045101677AD3F810D7EC4C0 libcompiler_rt.so
04-07 01:55:42.687: A/google-breakpad(27128): M 0000007F79A6A000 0000000000000000 0000000000246000 4165BBD45E0105C6A891BD387AF4F5320 libGLESv2_adreno.so
04-07 01:55:42.687: A/google-breakpad(27128): M 0000007F79CB2000 0000000000000000 0000000000021000 D83FE18F9D71FC4905DEAAC2A095EA3C0 libstagefright_amrnb_common.so
04-07 01:55:42.687: A/google-breakpad(27128): M 0000007F79F83000 0000000000000000 000000000002D000 E1C6123C0B31D775B998C8DDAFFFE40B0 libvorbisidec.so
04-07 01:55:42.687: A/google-breakpad(27128): M 0000007F79FE3000 0000000000000000 0000000000015000 9625050505BBE2D1DF2142F7E32AE20A0 libstagefright_yuv.so
04-07 01:55:42.687: A/google-breakpad(27128): M 0000007F7A055000 0000000000000000 000000000003C000 6B55F892A0E705481763E0AD4C710DA30 libstagefright_omx.so
04-07 01:55:42.687: A/google-breakpad(27128): M 0000007F7A091000 0000000000000000 0000000000012000 9083F46AF4A54271C0883F015A5763EF0 libstagefright_enc_common.so
04-07 01:55:42.687: A/google-breakpad(27128): M 0000007F7A0C9000 0000000000000000 000000000001B000 159D899A5B980CA26061F246AA6152E70 libstagefright_avc_common.so
04-07 01:55:42.687: A/google-breakpad(27128): M 0000007F7A0F7000 0000000000000000 0000000000015000 82870859E4754C2407C0E31AF85CC99D0 libpowermanager.so
04-07 01:55:42.697: A/google-breakpad(27128): M 0000007F7A10C000 0000000000000000 000000000005A000 FE1643C507024FCF9577E84D5BF61B860 libopus.so
04-07 01:55:42.697: A/google-breakpad(27128): M 0000007F7A18E000 0000000000000000 000000000001C000 50A40B351B0C5916173CBC032B58218E0 libqservice.so
04-07 01:55:42.697: A/google-breakpad(27128): M 0000007F7A1AA000 0000000000000000 000000000001C000 9AE79798514914FCC2580DB80E861D440 libqdutils.so
04-07 01:55:42.697: A/google-breakpad(27128): M 0000007F7A1C6000 0000000000000000 0000000000037000 CF6F1D81EB2836A14F6346BC51DAE3A90 libdrmframework.so
04-07 01:55:42.697: A/google-breakpad(27128): M 0000007F7A1FD000 0000000000000000 0000000000225000 2BA2E0489F1AD9A1F0FDC5C12B8B97740 libstagefright.so
04-07 01:55:42.697: A/google-breakpad(27128): M 0000007F7A425000 0000000000000000 0000000000036000 B10CCD4A15C12DD0B5B87B51F51CADCB0 libmtp.so
04-07 01:55:42.697: A/google-breakpad(27128): M 0000007F7A833000 0000000000000000 000000000001E000 B2B9D1B81B6DF975AE2C79DE3F2C64910 librs_jni.so
04-07 01:55:42.697: A/google-breakpad(27128): M 0000007F81222000 0000000000000000 0000000000012000 A17923E28194CCACBCB1A802F16B19BD0 libjnigraphics.so
04-07 01:55:42.697: A/google-breakpad(27128): M 0000007F81234000 0000000000000000 0000000000028000 1F4929FCFFDB61C4AD6C0B57C21112B40 libandroid.so
04-07 01:55:42.707: A/google-breakpad(27128): M 0000007F8125C000 0000000000000000 0000000000067000 6BA3D4CF767CFFD5C4FDE9FE113ACADA0 libGLESv1_CM_adreno.so
04-07 01:55:42.707: A/google-breakpad(27128): M 0000007F812C4000 0000000000000000 0000000000050000 83E065271073B0602FA880345B3F62490 libgsl.so
04-07 01:55:42.707: A/google-breakpad(27128): M 0000007F81315000 0000000000000000 0000000000015000 47464101CB75AB44F0C254E6BDB0D9A00 libadreno_utils.so
04-07 01:55:42.707: A/google-breakpad(27128): M 0000007F8132C000 0000000000000000 0000000000017000 F6329F845D9AB4FBCCC13FC6768A7BED0 libmemalloc.so
04-07 01:55:42.707: A/google-breakpad(27128): M 0000007F81343000 0000000000000000 0000000000020000 E36CEE8ABD7E7B7D77F5752977547FC00 libjhead.so
04-07 01:55:42.707: A/google-breakpad(27128): M 0000007F81364000 0000000000000000 0000000000051000 C987C4D10C7F15A768721D53709FB7120 libexif.so
04-07 01:55:42.707: A/google-breakpad(27128): M 0000007F813B5000 0000000000000000 000000000007A000 CFDE0DFDD3C50C9F193D85D37098E3250 libmedia_jni.so
04-07 01:55:42.707: A/google-breakpad(27128): M 0000007F81438000 0000000000000000 000000000003F000 50BC184EF0BFFA6F6A54B5DE8AD1C82C0 libEGL_adreno.so
04-07 01:55:42.707: A/google-breakpad(27128): M 0000007F81507000 0000000000000000 0000000000018000 FBE982D412AE959C0E6DC984744334A90 libaudioeffect_jni.so
04-07 01:55:42.707: A/google-breakpad(27128): M 0000007F8151F000 0000000000000000 0000000000014000 1950970BDAA293B0A33E911974189E770 libsoundpool.so
04-07 01:55:42.707: A/google-breakpad(27128): M 0000007F816BA000 0000000000000000 000000000003B000 DCBABA186FE953296D28F38D10CC225E0 libjavacrypto.so
04-07 01:55:42.707: A/google-breakpad(27128): M 0000007F81742000 0000000000000000 0000000000013000 EE5B7EEA4F01318D1232EE8C07922F8A0 memtrack.msm8916.so
04-07 01:55:42.707: A/google-breakpad(27128): M 0000007F81755000 0000000000000000 0000000000013000 554266C88EB3357BB7338F5EAE4BE5A90 libhtcflag-jni.so
04-07 01:55:42.707: A/google-breakpad(27128): M 0000007F840E0000 0000000000000000 0000000000072000 2BF87A25AF69C0D0029D821D516537280 libjavacore.so
04-07 01:55:42.717: A/google-breakpad(27128): M 0000007F8872B000 0000000000000000 000000000001B000 29563EAB1DA1945DE8344A9A611B279A0 libbacktrace_libc++.so
04-07 01:55:42.717: A/google-breakpad(27128): M 0000007F88747000 0000000000000000 0000000000487000 59746848D55464FC9D271A4047EDF4930 libart.so
04-07 01:55:42.717: A/google-breakpad(27128): M 0000007F88BD3000 0000000000000000 0000000000013000 9229703DA0F84657DE7AF030D83FD3320 libcnefeatureconfig.so
04-07 01:55:42.717: A/google-breakpad(27128): M 0000007F88BE7000 0000000000000000 0000000000017000 EE0A0BDA460DC2EC75335FBD22425A490 libvendorconn.so
04-07 01:55:42.717: A/google-breakpad(27128): M 0000007F88C1F000 0000000000000000 0000000000015000 5F76D67DE14FF4A3D3541B9339315CA60 libusbhost.so
04-07 01:55:42.717: A/google-breakpad(27128): M 0000007F88C34000 0000000000000000 000000000006C000 4788881B36CDF5EAA71D34EB747651940 libssl.so
04-07 01:55:42.717: A/google-breakpad(27128): M 0000007F88CA1000 0000000000000000 00000000000CB000 9FCCB27ADDEAB3B98F5EC9F5B6DC3C570 libsqlite.so
04-07 01:55:42.717: A/google-breakpad(27128): M 0000007F88D6D000 0000000000000000 0000000000022000 1DE7B1D9C165AEDED419F1C0A69AD2480 libsoundtrigger.so
04-07 01:55:42.717: A/google-breakpad(27128): M 0000007F88D8F000 0000000000000000 0000000000026000 231B91965FE7348F796C8090154AA3B40 libselinux.so
04-07 01:55:42.717: A/google-breakpad(27128): M 0000007F88DB6000 0000000000000000 0000000000013000 11B797252B4CA0FE9645EE7FAD3FD2050 libprocessgroup.so
04-07 01:55:42.717: A/google-breakpad(27128): M 0000007F88DC9000 0000000000000000 00000000004A9000 4AB90DE09FDA268BB3CBE27DBA1A3E080 libpdfium.so
04-07 01:55:42.717: A/google-breakpad(27128): M 0000007F89284000 0000000000000000 0000000000013000 5418E65F9A90DA1114B96FDDD7EE11070 libnetd_client.so
04-07 01:55:42.717: A/google-breakpad(27128): M 0000007F89297000 0000000000000000 0000000000018000 547ABDBAE7C960C0FAC3F49D658467800 libnativehelper.so
04-07 01:55:42.717: A/google-breakpad(27128): M 0000007F892AF000 0000000000000000 0000000000014000 4B0E1183F9DD9B004A833C29243782930 libnativebridge.so
04-07 01:55:42.717: A/google-breakpad(27128): M 0000007F892C3000 0000000000000000 0000000000023000 092A081B407DF21A666B716C412A08910 libminikin.so
04-07 01:55:42.717: A/google-breakpad(27128): M 0000007F892E6000 0000000000000000 0000000000013000 AC4992AA18192459FCF5ECCDA10778990 libmemtrack.so
04-07 01:55:42.727: A/google-breakpad(27128): M 0000007F892F9000 0000000000000000 000000000002E000 0862F4AFFA584EC58CD6A28CA8BB21FE0 libstagefright_foundation.so
04-07 01:55:42.727: A/google-breakpad(27128): M 0000007F89327000 0000000000000000 0000000000069000 04EF260C2F7D6D2260F361843FFAC58A0 libsonivox.so
04-07 01:55:42.727: A/google-breakpad(27128): M 0000007F89391000 0000000000000000 0000000000024000 1FF848F9B7E8CB3423B9D9C454E383360 libcommon_time_client.so
04-07 01:55:42.727: A/google-breakpad(27128): M 0000007F893B5000 0000000000000000 000000000001E000 4429E4CB22F777E39941D6F8C31AFC450 libnbaio.so
04-07 01:55:42.727: A/google-breakpad(27128): M 0000007F893D3000 0000000000000000 00000000000FF000 D203DBD049DF231C9C1FCA04FFEE5EE10 libmedia.so
04-07 01:55:42.727: A/google-breakpad(27128): M 0000007F894D2000 0000000000000000 000000000006C000 5ECBC42E4047BD654F1D61CDECE777870 libinputflinger.so
04-07 01:55:42.727: A/google-breakpad(27128): M 0000007F8953E000 0000000000000000 000000000003C000 4176CF236C560ABE26CB6B09F07A35500 libinput.so
04-07 01:55:42.727: A/google-breakpad(27128): M 0000007F8957A000 0000000000000000 0000000000026000 2B4538CB19823409420FDFD21BB514EA0 libimg_utils.so
04-07 01:55:42.737: A/google-breakpad(27128): M 0000007F895A0000 0000000000000000 0000000000043000 319D4208B2551D9D376AE9A61C715BB60 libjpeg.so
04-07 01:55:42.737: A/google-breakpad(27128): M 0000007F895E3000 0000000000000000 000000000045C000 392CA8150B477FE4A2DFDC337F77883C0 libskia.so
04-07 01:55:42.737: A/google-breakpad(27128): M 0000007F89A49000 0000000000000000 0000000000038000 5BD1D9FC670F3A9EF994D058EDE1DA4F0 libRScpp.so
04-07 01:55:42.737: A/google-breakpad(27128): M 0000007F89A82000 0000000000000000 0000000000044000 BF1433798044590143B391B9BF4E937F0 libpng.so
04-07 01:55:42.737: A/google-breakpad(27128): M 0000007F89AC7000 0000000000000000 000000000007A000 7F98F241F474171FAB6CB0175DB6FB530 libft2.so
04-07 01:55:42.737: A/google-breakpad(27128): M 0000007F89B41000 0000000000000000 000000000005B000 AD4A18D36720ED59D203D2D9D42F8FC20 libbcinfo.so
04-07 01:55:42.737: A/google-breakpad(27128): M 0000007F89B9C000 0000000000000000 0000000000042000 39088A0F1BF9CEAAB3070BF36ECFA3080 libbcc.so
04-07 01:55:42.737: A/google-breakpad(27128): M 0000007F89C0E000 0000000000000000 0000000000114000 D22B70F3268A21F7479DAF8521EDDF840 libc++.so
04-07 01:55:42.737: A/google-breakpad(27128): M 0000007F89D8F000 0000000000000000 0000000000E18000 F2C2D5785ACBF8F2894B21FACE3592250 libLLVM.so
04-07 01:55:42.737: A/google-breakpad(27128): M 0000007F8ABB5000 0000000000000000 0000000000062000 A8576C6AF1BCFA3ED2DBAF6B7AD3AE6F0 libRS.so
04-07 01:55:42.737: A/google-breakpad(27128): M 0000007F8AC17000 0000000000000000 00000000000A2000 F93829CF741BB4FE1079E1AFAF976D560 libhwui.so
04-07 01:55:42.737: A/google-breakpad(27128): M 0000007F8ACB9000 0000000000000000 0000000000014000 BF077F3B9FB5B89322C599203ADDA7B80 libhtc_framework.so
04-07 01:55:42.737: A/google-breakpad(27128): M 0000007F8ACCD000 0000000000000000 00000000001A0000 4464BCB818EAC5930C53EE02BEFA23180 libicuuc.so
04-07 01:55:42.737: A/google-breakpad(27128): M 0000007F8AE71000 0000000000000000 0000000000018000 04EAB0D7C7D592F7711974C1CE95FF200 libgabi++.so
04-07 01:55:42.747: A/google-breakpad(27128): M 0000007F8AE89000 0000000000000000 0000000000227000 E2C83704C13D5608DE65AA586CF0913C0 libicui18n.so
04-07 01:55:42.747: A/google-breakpad(27128): M 0000007F8B0B0000 0000000000000000 000000000007E000 D690076C1C970227D86DC042E15404CF0 libharfbuzz_ng.so
04-07 01:55:42.747: A/google-breakpad(27128): M 0000007F8B12E000 0000000000000000 0000000000016000 51DE62D3CF2D152F926C5546A4573BCA0 libwpa_client.so
04-07 01:55:42.747: A/google-breakpad(27128): M 0000007F8B144000 0000000000000000 0000000000019000 FB8DFF189C006B4E99895E8862E4D5AA0 libnetutils.so
04-07 01:55:42.747: A/google-breakpad(27128): M 0000007F8B15D000 0000000000000000 000000000001C000 5254A2BF187E57E2E34039DC298BC9AF0 libhostapd_client.so
04-07 01:55:42.747: A/google-breakpad(27128): M 0000007F8B179000 0000000000000000 000000000001D000 9C43550822C8059D6CFDAD1F547F239F0 libhardware_legacy.so
04-07 01:55:42.747: A/google-breakpad(27128): M 0000007F8B197000 0000000000000000 0000000000034000 3AAA713DFAAC0545544482D71A776B6E0 libexpat.so
04-07 01:55:42.747: A/google-breakpad(27128): M 0000007F8B1CB000 0000000000000000 0000000000196000 FFD88AA33D47CF7B619473654FB8E01C0 libcrypto.so
04-07 01:55:42.747: A/google-breakpad(27128): M 0000007F8B363000 0000000000000000 0000000000013000 46D79AEE6365CD5EFF14F553B4DE22300 libhardware.so
04-07 01:55:42.747: A/google-breakpad(27128): M 0000007F8B376000 0000000000000000 0000000000022000 7869258E66703A44A3EB0FCE10A906BC0 libui.so
04-07 01:55:42.747: A/google-breakpad(27128): M 0000007F8B398000 0000000000000000 0000000000012000 B21C35BB2A82038E2A2322C2603336920 libsync.so
04-07 01:55:42.747: A/google-breakpad(27128): M 0000007F8B3AA000 0000000000000000 0000000000091000 B4C290B3B04AE639F8CBD4EB4D4F89B50 libgui.so
04-07 01:55:42.757: A/google-breakpad(27128): M 0000007F8B43B000 0000000000000000 000000000001A000 85BE4207EBA372D588C9687B2D83EDC00 libcamera_metadata.so
04-07 01:55:42.757: A/google-breakpad(27128): M 0000007F8B455000 0000000000000000 0000000000070000 919E27DAECBB81EED2AD3B1209DC71010 libcamera_client.so
04-07 01:55:42.757: A/google-breakpad(27128): M 0000007F8B4C5000 0000000000000000 0000000000014000 9DDDFBB0F9782EC7AC90B2BFF52515950 libspeexresampler.so
04-07 01:55:42.757: A/google-breakpad(27128): M 0000007F8B4D9000 0000000000000000 000000000001A000 E60C92EBAB2B08C21CDFD2CF8C1736EA0 libaudioutils.so
04-07 01:55:42.757: A/google-breakpad(27128): M 0000007F8B4F3000 0000000000000000 000000000002C000 77AB38A6C2609C5124B622F966FE7F1B0 libz.so
04-07 01:55:42.757: A/google-breakpad(27128): M 0000007F8B51F000 0000000000000000 0000000000057000 24E616905E9E4F4AAF3F452E9EBD892E0 libbinder.so
04-07 01:55:42.757: A/google-breakpad(27128): M 0000007F8B576000 0000000000000000 0000000000050000 36193F4375CFF88005875F6B327EC9D40 libandroidfw.so
04-07 01:55:42.757: A/google-breakpad(27128): M 0000007F8B5C6000 0000000000000000 0000000000020000 F1BCE07D17EDC8A2739C3BE36242A4940 libGLESv2.so
04-07 01:55:42.757: A/google-breakpad(27128): M 0000007F8B5E6000 0000000000000000 000000000001A000 5A788E6D3C5DAAC1332A45CF726AF9BB0 libGLESv1_CM.so
04-07 01:55:42.757: A/google-breakpad(27128): M 0000007F8B600000 0000000000000000 0000000000014000 0E74EB601416B18784F157859CB3623D0 libETC1.so
04-07 01:55:42.757: A/google-breakpad(27128): M 0000007F8B614000 0000000000000000 0000000000013000 4D6517856A57F654A621A2181339EFB70 libunwind-ptrace.so
04-07 01:55:42.757: A/google-breakpad(27128): M 0000007F8B627000 0000000000000000 0000000000027000 F1F520632586F2545AA9216C027F0B3D0 libunwind.so
04-07 01:55:42.767: A/google-breakpad(27128): M 0000007F8B6B7000 0000000000000000 000000000001F000 E1A5ABF9BD80D7190C0DF8E745B00AE90 libgccdemangle.so
04-07 01:55:42.767: A/google-breakpad(27128): M 0000007F8B6D6000 0000000000000000 000000000001C000 508077836CBF928D586FE8755BDF502F0 libbacktrace.so
04-07 01:55:42.767: A/google-breakpad(27128): M 0000007F8B6F2000 0000000000000000 000000000003B000 73A55916266F29910D509FBE8CD9D3DB0 libutils.so
04-07 01:55:42.767: A/google-breakpad(27128): M 0000007F8B72D000 0000000000000000 000000000007F000 B9A1D0E53C6E520AAC8840CBB17B313E0 libstlport.so
04-07 01:55:42.767: A/google-breakpad(27128): M 0000007F8B7AC000 0000000000000000 0000000000025000 75799AC45201E72F41D16F7C336580F20 libcutils.so
04-07 01:55:42.767: A/google-breakpad(27128): M 0000007F8B7D1000 0000000000000000 00000000000E6000 3F493F1D34F10DD6FB535A3212A57A490 libGLES_trace.so
04-07 01:55:42.767: A/google-breakpad(27128): M 0000007F8B8B7000 0000000000000000 00000000000F1000 F4D6831A3A58886707158C48B035CA0E0 libEGL.so
04-07 01:55:42.767: A/google-breakpad(27128): M 0000007F8B9AE000 0000000000000000 00000000001A4000 FA073C2678E9A6668BF45E4B6011BF1F0 libandroid_runtime.so
04-07 01:55:42.767: A/google-breakpad(27128): M 0000007F8BB54000 0000000000000000 0000000000014000 ADE8FBE45C68373D6776D6B7801507D70 libstdc++.so
04-07 01:55:42.767: A/google-breakpad(27128): M 0000007F8BB68000 0000000000000000 000000000003C000 76A75B2C3CF37F88B5DAB243AFFA0F2D0 libm.so
04-07 01:55:42.767: A/google-breakpad(27128): M 0000007F8BBA4000 0000000000000000 0000000000019000 D03FA57732A82D04E69C54E42F1AF5A40 liblog.so
04-07 01:55:42.767: A/google-breakpad(27128): M 0000007F8BBBD000 0000000000000000 000000000009F000 61A22D22E5905FE3C94D227699B4017B0 libc.so
04-07 01:55:42.767: A/google-breakpad(27128): M 0000007F8BC69000 0000000000000000 0000000000013000 E01D8AE3BBB703302376B2A97064C7A40 libsigchain.so
04-07 01:55:42.767: A/google-breakpad(27128): M 0000007F8BC7C000 0000000000000000 0000000000010000 ED18B6ACEE12696BF7CB02B52A9FD07D0 linker64
04-07 01:55:42.777: A/google-breakpad(27128): M 0000007F8BC99000 0000000000000000 0000000000002000 672B2CD6CF8AF6C43BD70F2AB02B3D0C0 linux-gate.so
04-07 01:55:42.777: A/google-breakpad(27128): -----END BREAKPAD MICRODUMP-----
04-07 01:55:42.807: W/google-breakpad(26001): ### ### ### ### ### ### ### ### ### ### ### ### ###
04-07 01:55:42.807: W/google-breakpad(26001): Chrome build fingerprint:
04-07 01:55:42.807: W/google-breakpad(26001): 3.6
04-07 01:55:42.807: W/google-breakpad(26001): 14
04-07 01:55:42.807: W/google-breakpad(26001): 3667b129-cfef-4249-a5ea-64d26fb9c0a5
04-07 01:55:42.807: W/google-breakpad(26001): ### ### ### ### ### ### ### ### ### ### ### ### ###
04-07 01:55:42.807: A/libc(26001): Fatal signal 11 (SIGSEGV), code 2, fault addr 0x75acc000 in tid 27105 (GLThread 12287)
04-07 01:55:42.807: W/libc(26001): Security Level: (1), Debug inforamtion is controlled by the DUMPABLE flag.
Code: [Select]
04-07 01:55:42.867: I/DEBUG(401): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
04-07 01:55:42.867: I/DEBUG(401): Build fingerprint: 'htc/a52dtul_htc_asia_hk/htc_a52dtul:5.0.2/LRX22G/583966.7:user/release-keys'
04-07 01:55:42.867: I/DEBUG(401): Revision: '0'
04-07 01:55:42.867: I/DEBUG(401): ABI: 'arm64'
04-07 01:55:42.867: I/DEBUG(401): pid: 26001, tid: 27105, name: GLThread 12287  >>> com.aeroshark333.earthify3d <<<
04-07 01:55:42.867: I/DEBUG(401): signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x75acc000
04-07 01:55:42.907: I/DEBUG(401):     x0   00000000bd9c8000  x1   0000000075acbfd0  x2   0000000000000400  x3   00000000bd9c8000
04-07 01:55:42.907: I/DEBUG(401):     x4   0000000000000000  x5   0000000075ac4220  x6   00000000bd9cfd70  x7   0000000000000000
04-07 01:55:42.907: I/DEBUG(401):     x8   0000000000000000  x9   0000000000000000  x10  0000000000000000  x11  0000000000000000
04-07 01:55:42.907: I/DEBUG(401):     x12  0000000000000000  x13  0000000000000000  x14  0000000000000000  x15  0000000000000009
04-07 01:55:42.907: I/DEBUG(401):     x16  0000007f81312cc8  x17  0000007f8bbd0780  x18  0000007f81313690  x19  0000000000000000
04-07 01:55:42.907: I/DEBUG(401):     x20  00000055857a2a70  x21  0000000075ac4220  x22  0000000000000008  x23  0000005585a724c0
04-07 01:55:42.907: I/DEBUG(401):     x24  0000005585b650c0  x25  0000000000000008  x26  0000005585a72508  x27  0000000000000001
04-07 01:55:42.907: I/DEBUG(401):     x28  0000000000000001  x29  0000007f715eef50  x30  0000007f812e4cfc
04-07 01:55:42.907: I/DEBUG(401):     sp   0000007f715eef40  pc   0000007f8bbd08a8  pstate 0000000020000000
04-07 01:55:42.907: I/DEBUG(401): backtrace:
04-07 01:55:42.907: I/DEBUG(401):     #00 pc 00000000000138a8  /system/lib64/libc.so (memcpy+296)
04-07 01:55:42.907: I/DEBUG(401):     #01 pc 0000000000020cf8  /system/vendor/lib64/libgsl.so (ioctl_kgsl_sharedmem_write+80)
04-07 01:55:42.907: I/DEBUG(401):     #02 pc 00000000000fb2f4  /system/vendor/lib64/egl/libGLESv2_adreno.so (rb_vbo_cache_vertex_attrib+388)
04-07 01:55:42.907: I/DEBUG(401):     #03 pc 0000000000092490  /system/vendor/lib64/egl/libGLESv2_adreno.so (cache_vertex_array+544)
04-07 01:55:42.907: I/DEBUG(401):     #04 pc 00000000000989ac  /system/vendor/lib64/egl/libGLESv2_adreno.so (core_glDrawElementsInstancedXXX+452)
04-07 01:55:42.907: I/DEBUG(401):     #05 pc 000000000007b8e8  /system/vendor/lib64/egl/libGLESv2_adreno.so (glDrawElements+60)
04-07 01:55:42.907: I/DEBUG(401):     #06 pc 00000000000a9fa0  /system/lib64/libandroid_runtime.so
04-07 01:55:42.907: I/DEBUG(401):     #07 pc 0000000000da1544  /data/dalvik-cache/arm64/system@framework@boot.oat

Reproduced error: (looks like the same error to me):
(uploaded to pastebin because of max character limit hit in post)
http://pastebin.com/6W25eBDB

Reproduced error: (on default shaders)
http://pastebin.com/DS2u0FuK

Some notes:
- Using single layered textured Object3D's will not cause this crash, never.
- Using low-poly spheres does decrease the probability that this crash will occur.
- Using low-res textures does not help to prevent this crash.

257
Support / Re: TextureInfo multi-texture question
« on: April 05, 2016, 12:08:08 am »
Ah I see...
Another thing, what is the maximum amount of texture layers that is supported by all OpenGL2.0 Android devices?
I hope it is higher than just one, two would be fine.
Apparently my device cannot support more than 3 texture stages on one Object3D while it's not an old phone really. (HTC Desire 826)
3 or more would give me this error: A/libc(21927): Fatal signal 11 (SIGSEGV), code 2

In the documentation it says TextureInfo.MAX_PHYSICAL_TEXTURE_STAGES is 4...
However, here http://www.jpct.net/jpct-ae/doc/com/threed/jpct/Config.html#maxTextureLayers Config.maxTextureLayers is 2...
So why is that?
Is there a way to find out the maximum amount of texture layers?

258
Support / Re: TextureInfo multi-texture question
« on: April 04, 2016, 03:06:45 pm »
Ahhh, hmm interesting.
But it wouldn't be possible to rotate 2 texture stages when you have 3 stages in total, right?
Would it be possible to have a method like this: Object3D.setTextureMatrix(Matrix mat, int stage);

Nevermind this, I see how this can be done by using a shader

One thing I noticed, the default shader doesn't seem to apply lighting (and perhaps other things too) correctly (it doesn't at all?) to higher texture stages...
I won't really be using the default shaders anyway... but maybe it is worth mentioning it.
I guess I know what the problem is: the colors in the texturestages aren't processed with '* vertexColor'.

259
Support / TextureInfo multi-texture question
« on: April 04, 2016, 03:45:41 am »
Hello,

So I have a little problem...

Let's say I have an Object3D and I need to apply one texture with transparent parts on it.
Object3D.setTexture("textureName"); would apply the texture correctly.
The Object3D is a sphere.

But now I want to apply the same texture on a new texturelayer using TextureInfo.
Well okay, that works fine using TextureInfo.add(textureId, MODE);

But I would like to have the texture on stage 1 and I would like the same texture to have a rotation  (of let's say 90, 180 or 270 degrees) compared to the texture of stage 1 on stage 2.
The textures are squared (width=height) so a 90, 180, 270 degrees rotation should still give a squared texture...
If these rotations are possible, then I wonder if rotations like 30 degrees would work too...
And is it possible to 'translate' the texture for the new/second stage. So when you translate the texture with a certain amount of x, the texture will be shifted to the right (and what was on the right side will replace the 'empty' space  (caused by the translation) on the left)...
Sorry for the bad explanation, I can draw pictures to clarify it if needed...

Current solutions I have:
- I could also upload the rotated/translated texture and use that for the second stage... but the texture I use is rather big... I don't really want to waste memory if it is not needed... And I don't want OutOfMemoryError's obviously...
- (currently using this solution) I create another Object3D (and re-use the mesh of the original) and apply these 'texture rotations' I want by rotating the new Object3D in both the x-axis and the y-axis. And I can get these so called 'texture translations' by rotating the Object3D around the z-axis. Because both Object3D's are basically overlapping each other, it looks like one sphere. So okay, this solution seems fine but I noticed that using multiple texturelayers is much faster than having multiple Object3D's. The World.draw(FrameBuffer); method seems to execute faster when having one multitextured object instead of having multiple single-textured Object3D's.

Cheers,
Abiram

260
Bugs / Re: Textures and the virtualizer
« on: November 24, 2015, 12:29:52 am »
Hmm, I see. Thanks for the reply.

What will the Virtualizer do when the SD card is (almost) full?

261
Bugs / Re: Textures and the virtualizer
« on: November 18, 2015, 06:58:26 pm »
So... I have had two users of my app saying that their phone broke thanks to my application.
And I was utterly confused how that could happen.
My app barely uses any permission.

So the only thing I could think of that could have caused this, was the Virtualizer.
Is it possible? Since I think the Virtualizer is basically the same thing as swap.
And I do know that swap can degrade the lifetime of a sd-card.

My app is a live wallpaper.
Both users were using a Galaxy Y.

262
Bugs / Re: Textures and the virtualizer
« on: November 07, 2015, 09:07:53 pm »
I guess it was a mistake on my side...

This solved my problem:
Code: [Select]
if (textureManager.getVirtualizer() == null) {
final Virtualizer vz = new Virtualizer();
vz.setContext(getApplicationContext());
textureManager.setVirtualizer(vz);
System.out.println("New Virtualizer set!");
}else{
System.out.println("Virtualizer has already been set!");
}

263
Bugs / Textures and the virtualizer
« on: November 07, 2015, 08:06:37 pm »
Hello,

But when I virtualize textures, then the textures shown on my Object3Ds are just black sometimes.

I use the virtualizer for my live wallpaper.
And it seems that when the textures do load properly for the actual live wallpaper of the homescreen, it does not work for the live wallpaper preview/apply screen.
And when it does work for the live wallpaper preview/apply screen, it does not work for the actual live wallpaper.
This is not always the case... but it is hard to reproduce this...

Is there some conflict perhaps between two different activities/services trying to virtualize?

Can this be fixed or am I doing something wrong?

Cheers,
AeroShark333

264
Support / Re: Inversed lighting
« on: October 29, 2015, 02:20:30 am »
Thanks!
Code: [Select]
obj.getMesh().setVertexController(
new GenericVertexController() {

@Override
public void apply() {
for (int c = 0; c < this.getSourceNormals().length; c++) {
final SimpleVector temp = this
.getSourceNormals()[c];
temp.scalarMul(-1f);
this.getDestinationNormals()[c] = temp;
}
}

}, false);
obj.getMesh().applyVertexController();
obj.getMesh().removeVertexController();
worked.

265
Support / Inversed lighting
« on: October 26, 2015, 05:39:23 pm »
Hello,

Is it possible for an Object3D to have inversed lighting?
Basically the part that is lit by an light source becomes a shadow and the rest of the Object3D looks lit.

Cheers,
Abiram

266
Support / Re: Color bug
« on: October 20, 2015, 01:28:12 am »
Not sure, but could my EGLConfig be an issue?:
Code: [Select]
public class CustomEGLConfig implements EGLConfigChooser {
final private static int EGL_OPENGL_ES1_BIT = 0x01;
final private static int EGL_OPENGL_ES2_BIT = 0x04;

private static int[] mMinimumSpec2 = {
EGL10.EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT,

EGL10.EGL_SURFACE_TYPE, EGL10.EGL_WINDOW_BIT,

EGL10.EGL_TRANSPARENT_TYPE, EGL10.EGL_NONE,

EGL10.EGL_NONE };
private static int[] mMinimumSpec1 = {
EGL10.EGL_RENDERABLE_TYPE, EGL_OPENGL_ES1_BIT,

EGL10.EGL_SURFACE_TYPE, EGL10.EGL_WINDOW_BIT,

EGL10.EGL_TRANSPARENT_TYPE, EGL10.EGL_NONE,

EGL10.EGL_NONE };

private int[] mValue = new int[1];
protected int mAlphaSize;
protected int mBlueSize;
protected int mDepthSize;
protected int mGreenSize;
protected int mRedSize;
protected int mStencilSize;
protected boolean openGL2;

@SuppressWarnings("deprecation")
public CustomEGLConfig(int depth, int stencil, boolean useOpenGl2,
Display display) {
int pixelFormatVal;
try {
pixelFormatVal = display.getPixelFormat();
} catch (NullPointerException e) {
e.printStackTrace();
pixelFormatVal = PixelFormat.RGBA_8888;
}
final int aBits, rBits, gBits, bBits;

if (pixelFormatVal > 0) {

PixelFormat info = new PixelFormat();
PixelFormat.getPixelFormatInfo(pixelFormatVal, info);

if (PixelFormat.formatHasAlpha(pixelFormatVal)) {

if (info.bitsPerPixel >= 24) {
aBits = 8;
} else {
aBits = 6; // total guess
}

} else {
aBits = 0;
}

if (info.bitsPerPixel >= 24) {
rBits = 8;
gBits = 8;
bBits = 8;
} else if (info.bitsPerPixel >= 16) {
rBits = 5;
gBits = 6;
bBits = 5;
} else {
rBits = 4;
gBits = 4;
bBits = 4;
}

} else {
rBits = 8;
gBits = 8;
bBits = 8;
aBits = 8;
}

mRedSize = rBits;
mGreenSize = gBits;
mBlueSize = bBits;
mAlphaSize = aBits;

mDepthSize = depth;
mStencilSize = stencil;
openGL2 = useOpenGl2;
}

@Override
public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display) {
int[] arg = new int[1];
if (openGL2) {
egl.eglChooseConfig(display, mMinimumSpec2, null, 0, arg);
} else {
egl.eglChooseConfig(display, mMinimumSpec1, null, 0, arg);
}
int numConfigs = arg[0];

if (numConfigs <= 0) {
int[] attributes = new int[] { EGL10.EGL_DEPTH_SIZE, 16,
EGL10.EGL_NONE };
EGLConfig[] configs = new EGLConfig[1];
int[] result = new int[1];
egl.eglChooseConfig(display, attributes, configs, 1, result);
return configs[0];

}

EGLConfig[] configs = new EGLConfig[numConfigs];
if (openGL2) {
egl.eglChooseConfig(display, mMinimumSpec2, configs, numConfigs,
arg);
} else {
egl.eglChooseConfig(display, mMinimumSpec1, configs, numConfigs,
arg);
}

EGLConfig chosen = chooseConfig(egl, display, configs);

if (chosen == null) {
throw new RuntimeException(
"Could not find a matching configuration out of "
+ configs.length + " available.");
}

return chosen;
}

public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display,
EGLConfig[] configs) {
EGLConfig bestMatch = null;
int bestR = Integer.MAX_VALUE, bestG = Integer.MAX_VALUE, bestB = Integer.MAX_VALUE, bestA = Integer.MAX_VALUE, bestD = Integer.MAX_VALUE, bestS = Integer.MAX_VALUE;

for (EGLConfig config : configs) {
int r = findConfigAttrib(egl, display, config, EGL10.EGL_RED_SIZE,
0);
int g = findConfigAttrib(egl, display, config,
EGL10.EGL_GREEN_SIZE, 0);
int b = findConfigAttrib(egl, display, config, EGL10.EGL_BLUE_SIZE,
0);
int a = findConfigAttrib(egl, display, config,
EGL10.EGL_ALPHA_SIZE, 0);
int d = findConfigAttrib(egl, display, config,
EGL10.EGL_DEPTH_SIZE, 0);
int s = findConfigAttrib(egl, display, config,
EGL10.EGL_STENCIL_SIZE, 0);

if (r <= bestR && g <= bestG && b <= bestB && a <= bestA
&& d <= bestD && s <= bestS && r >= mRedSize
&& g >= mGreenSize && b >= mBlueSize && a >= mAlphaSize
&& d >= mDepthSize && s >= mStencilSize) {
bestR = r;
bestG = g;
bestB = b;
bestA = a;
bestD = d;
bestS = s;
bestMatch = config;
}
}

return bestMatch;
}

private int findConfigAttrib(EGL10 egl, EGLDisplay display,
EGLConfig config, int attribute, int defaultValue) {

if (egl.eglGetConfigAttrib(display, config, attribute, mValue)) {
return mValue[0];
}

return defaultValue;
}
}

Called like:
Code: [Select]
gLView.setEGLConfigChooser(new CustomEGLConfig(16, 0, true, this
.getWindowManager().getDefaultDisplay()));
'this' -> Activity context

267
Support / Re: Color bug
« on: October 19, 2015, 10:53:40 pm »
This is another device with the same bug: http://www.phonearena.com/phones/Lenovo-Tab-S8-50_id8885
Again it is a device with Intel HD Graphics.

I assume the user does use the latest version of the application where I did give all Bitmaps a ARGB_8888 config.

268
Support / Re: Color bug
« on: October 04, 2015, 01:35:59 am »
I'm using the latest version of jPCT-AE.

Texture loading code:
Code: [Select]
         public void addOrReplaceTexture(final TextureManager textureManager,
final String textureName, final Texture texture) {
texture.setClamping(true);
texture.setFiltering(false);
texture.setMipmap(true);
if (textureManager.containsTexture(textureName)) {
textureManager.replaceTexture(textureName, texture);
} else {
textureManager.addTexture(textureName, texture);
}

}

@SuppressWarnings("deprecation")
public void loadTextures() {
System.gc();
toaster("Loading...", Toast.LENGTH_LONG);

com.threed.jpct.Config.unloadImmediately = false;

Texture.defaultTo4bpp(true);
// Texture.defaultToMipmapping(true);

final TextureManager textureManager = TextureManager.getInstance();

// For flipping the bitmap from left to right
final Matrix mHor = new Matrix();
mHor.preScale(-1, 1);
// For flipping the bitmap upside-down
final Matrix mVer = new Matrix();
mVer.preScale(1, -1);
// load background (moved down!)

Texture bg = null;

final Bitmap tempSkin = this.gLkinScaledBitmap(skin);

this.addOrReplaceTexture(
textureManager,
"snow",
new Texture(((BitmapDrawable) this.getResources().getDrawable(
R.drawable.snow)).getBitmap(), false));
this.addOrReplaceTexture(
textureManager,
"rain",
new Texture(((BitmapDrawable) this.getResources().getDrawable(
R.drawable.rain)).getBitmap(), false));

this.addOrReplaceTexture(
textureManager,
"hamburger",
new Texture(((BitmapDrawable) this.getResources().getDrawable(
R.drawable.hamburger)).getBitmap(), false));

// (tex, coordX, coordY, sizeX, sizeY)
if (hasOldSkinDimensions(tempSkin)) {
final int height = tempSkin.getHeight();
final int width = tempSkin.getWidth();

// HEAD
final Bitmap headFront1 = Bitmap.createBitmap(tempSkin, width / 8,
height / 4, width / 8, height / 4); // x,y,x,y (64,32,64,32)
final Bitmap headTop1 = Bitmap.createBitmap(tempSkin, width / 8, 0,
width / 8, height / 4);
final Bitmap headBack1 = Bitmap.createBitmap(tempSkin,
width / 8 * 3, height / 4, width / 8, height / 4);
final Bitmap headRight1 = Bitmap.createBitmap(tempSkin, 0,
height / 4, width / 8, height / 4, mHor, false);
final Bitmap headLeft1 = Bitmap.createBitmap(tempSkin, width / 4,
height / 4, width / 8, height / 4);
final Bitmap headBottom1 = Bitmap.createBitmap(tempSkin, width / 4,
0, width / 8, height / 4);

final Texture headFront2 = new Texture(headFront1, true);
final Texture headTop2 = new Texture(headTop1, true);
final Texture headBack2 = new Texture(headBack1, true);
final Texture headRight2 = new Texture(headRight1, true);
final Texture headLeft2 = new Texture(headLeft1, true);
final Texture headBottom2 = new Texture(headBottom1, true);

// HAT
final Bitmap hatFront1 = Bitmap.createBitmap(tempSkin,
width / 8 * 5, height / 4, width / 8, height / 4);
final Bitmap hatTop1 = Bitmap.createBitmap(tempSkin, width / 8 * 5,
0, width / 8, height / 4);
final Bitmap hatBack1 = Bitmap.createBitmap(tempSkin,
width / 8 * 7, height / 4, width / 8, height / 4);
final Bitmap hatRight1 = Bitmap.createBitmap(tempSkin, width / 2,
height / 4, width / 8, height / 4, mHor, false);
final Bitmap hatLeft1 = Bitmap.createBitmap(tempSkin,
width / 4 * 3, height / 4, width / 8, height / 4);
final Bitmap hatBottom1 = Bitmap.createBitmap(tempSkin,
width / 4 * 3, 0, width / 8, height / 4);

final Texture hatFront2 = new Texture(hatFront1, true);
final Texture hatTop2 = new Texture(hatTop1, true);
final Texture hatBack2 = new Texture(hatBack1, true);
final Texture hatRight2 = new Texture(hatRight1, true);
final Texture hatLeft2 = new Texture(hatLeft1, true);
final Texture hatBottom2 = new Texture(hatBottom1, true);

// BODY
final Bitmap bodyFront1 = Bitmap.createScaledBitmap(Bitmap
.createBitmap(tempSkin, width / 16 * 5, height / 8 * 5,
width / 8, height / 8 * 3), 64, 64, false);
final Bitmap bodyTop1 = Bitmap.createBitmap(tempSkin,
width / 16 * 5, 16, width / 8, height / 4);
final Bitmap bodyBack1 = Bitmap.createScaledBitmap(Bitmap
.createBitmap(tempSkin, width / 2, height / 8 * 5,
width / 8, height / 8 * 3, mHor, false), 64, 64,
false);
final Bitmap bodyRight1 = Bitmap.createScaledBitmap(Bitmap
.createBitmap(tempSkin, width / 4, height / 8 * 5,
width / 16, height / 8 * 3, mHor, false), 64, 64,
false);
final Bitmap bodyLeft1 = Bitmap.createScaledBitmap(Bitmap
.createBitmap(tempSkin, width / 16 * 7, height / 8 * 5,
width / 16, height / 8 * 3), 64, 64, false);
final Bitmap bodyBottom1 = Bitmap.createBitmap(tempSkin,
width / 16 * 7, height / 2, width / 8, height / 4);

final Texture bodyFront2 = new Texture(bodyFront1, true);
final Texture bodyTop2 = new Texture(bodyTop1, true);
final Texture bodyBack2 = new Texture(bodyBack1, true);
final Texture bodyRight2 = new Texture(bodyRight1, true);
final Texture bodyLeft2 = new Texture(bodyLeft1, true);
final Texture bodyBottom2 = new Texture(bodyBottom1, true);

// ARM
final Bitmap armFront1 = Bitmap.createScaledBitmap(Bitmap
.createBitmap(tempSkin, width / 16 * 11, height / 8 * 5,
width / 16, height / 8 * 3), 64, 64, false);
final Bitmap armTop1 = Bitmap.createBitmap(tempSkin,
width / 16 * 11, height / 2, width / 16, height / 8);
final Bitmap armBack1 = Bitmap.createScaledBitmap(Bitmap
.createBitmap(tempSkin, width / 16 * 13, height / 8 * 5,
width / 16, height / 8 * 3), 64, 64, false);
final Bitmap armRight1 = Bitmap.createScaledBitmap(Bitmap
.createBitmap(tempSkin, width / 8 * 5, height / 8 * 5,
width / 16, height / 8 * 3, mHor, false), 64, 64,
false);
final Bitmap armLeft1 = Bitmap.createScaledBitmap(Bitmap
.createBitmap(tempSkin, width / 4 * 3, height / 8 * 5,
width / 16, height / 8 * 3), 64, 64, false);
final Bitmap armBottom1 = Bitmap.createBitmap(tempSkin,
width / 4 * 3, height / 2, width / 16, height / 8);

final Texture armFront2 = new Texture(armFront1, true);
final Texture armTop2 = new Texture(armTop1, true);
final Texture armBack2 = new Texture(armBack1, true);
final Texture armRight2 = new Texture(armRight1, true);
final Texture armLeft2 = new Texture(armLeft1, true);
final Texture armBottom2 = new Texture(armBottom1, true);

// LEG
final Bitmap legFront1 = Bitmap.createScaledBitmap(Bitmap
.createBitmap(tempSkin, width / 16, height / 8 * 5,
width / 16, height / 8 * 3), 64, 64, false);
final Bitmap legTop1 = Bitmap.createBitmap(tempSkin, width / 16,
height / 2, width / 16, height / 8);
final Bitmap legBack1 = Bitmap.createScaledBitmap(Bitmap
.createBitmap(tempSkin, width / 16 * 3, height / 8 * 5,
width / 16, height / 8 * 3), 64, 64, false);
final Bitmap legRight1 = Bitmap.createScaledBitmap(Bitmap
.createBitmap(tempSkin, 0, height / 8 * 5, width / 16,
height / 8 * 3, mHor, false), 64, 64, false);
final Bitmap legLeft1 = Bitmap.createScaledBitmap(Bitmap
.createBitmap(tempSkin, 8, height / 8 * 5, width / 16,
height / 8 * 3), 64, 64, false);
final Bitmap legBottom1 = Bitmap.createBitmap(tempSkin, width / 8,
height / 2, width / 16, height / 8);

final Texture legFront2 = new Texture(legFront1, true);
final Texture legTop2 = new Texture(legTop1, true);
final Texture legBack2 = new Texture(legBack1, true);
final Texture legRight2 = new Texture(legRight1, true);
final Texture legLeft2 = new Texture(legLeft1, true);
final Texture legBottom2 = new Texture(legBottom1, true);

final Bitmap rightLegFront1 = Bitmap.createBitmap(legFront1, 0, 0,
legFront1.getWidth(), legFront1.getHeight(), mHor, false);
final Texture leftLegFront2 = new Texture(rightLegFront1, true);

final Bitmap rightArmFront1 = Bitmap.createBitmap(armFront1, 0, 0,
legFront1.getWidth(), legFront1.getHeight(), mHor, false);
final Texture leftArmFront2 = new Texture(rightArmFront1, true);

final int maxDimension;
if (Build.VERSION.SDK_INT > 12) {
// Prevents OOM's
Display display = getWindowManager().getDefaultDisplay();
Point size = new Point();
display.getSize(size);
maxDimension = Math.max(size.x, size.y);
} else {
Display display = getWindowManager().getDefaultDisplay();
maxDimension = Math
.max(display.getWidth(), display.getHeight());
}

if (maxDimension <= 512) {
// minimum
bg = new Texture(Bitmap.createScaledBitmap(Bitmap.createBitmap(
background, 0, 0, background.getWidth(),
background.getHeight(), mVer, false), 256, 256, false));
} else if (maxDimension <= 1024) {
// default
try {
bg = new Texture(Bitmap.createScaledBitmap(
Bitmap.createBitmap(background, 0, 0,
background.getWidth(),
background.getHeight(), mVer, false), 512,
512, false));
} catch (final OutOfMemoryError e1) {
e1.printStackTrace();
System.gc();
bg = new Texture(Bitmap.createScaledBitmap(
Bitmap.createBitmap(background, 0, 0,
background.getWidth(),
background.getHeight(), mVer, false), 256,
256, false));
}
} else if (maxDimension <= 1536) {
// big
try {
bg = new Texture(Bitmap.createScaledBitmap(
Bitmap.createBitmap(background, 0, 0,
background.getWidth(),
background.getHeight(), mVer, false), 1024,
1024, false));
} catch (final OutOfMemoryError e2) {
e2.printStackTrace();
System.gc();
try {
bg = new Texture(Bitmap.createScaledBitmap(Bitmap
.createBitmap(background, 0, 0,
background.getWidth(),
background.getHeight(), mVer, false),
512, 512, false));
} catch (final OutOfMemoryError e1) {
e1.printStackTrace();
System.gc();
bg = new Texture(Bitmap.createScaledBitmap(Bitmap
.createBitmap(background, 0, 0,
background.getWidth(),
background.getHeight(), mVer, false),
256, 256, false));
}

}
} else {
// maximum
try {
bg = new Texture(Bitmap.createScaledBitmap(
Bitmap.createBitmap(background, 0, 0,
background.getWidth(),
background.getHeight(), mVer, false), 2048,
2048, false));
} catch (final OutOfMemoryError e3) {
e3.printStackTrace();
System.gc();
try {
bg = new Texture(Bitmap.createScaledBitmap(Bitmap
.createBitmap(background, 0, 0,
background.getWidth(),
background.getHeight(), mVer, false),
1024, 1024, false));
} catch (final OutOfMemoryError e2) {
e2.printStackTrace();
System.gc();
try {
bg = new Texture(
Bitmap.createScaledBitmap(Bitmap
.createBitmap(background, 0, 0,
background.getWidth(),
background.getHeight(),
mVer, false), 512, 512,
false));
} catch (final OutOfMemoryError e1) {
e1.printStackTrace();
System.gc();
bg = new Texture(
Bitmap.createScaledBitmap(Bitmap
.createBitmap(background, 0, 0,
background.getWidth(),
background.getHeight(),
mVer, false), 256, 256,
false));
}

}
}
}

// BACKGROUND
addOrReplaceTexture(textureManager, "bg", bg);
// HEAD
addOrReplaceTexture(textureManager, "headfront", headFront2);
addOrReplaceTexture(textureManager, "headtop", headTop2);
addOrReplaceTexture(textureManager, "headback", headBack2);
addOrReplaceTexture(textureManager, "headright", headRight2);
addOrReplaceTexture(textureManager, "headleft", headLeft2);
addOrReplaceTexture(textureManager, "headbottom", headBottom2);
// HAT
addOrReplaceTexture(textureManager, "hatfront", hatFront2);
addOrReplaceTexture(textureManager, "hattop", hatTop2);
addOrReplaceTexture(textureManager, "hatback", hatBack2);
addOrReplaceTexture(textureManager, "hatright", hatRight2);
addOrReplaceTexture(textureManager, "hatleft", hatLeft2);
addOrReplaceTexture(textureManager, "hatbottom", hatBottom2);
// BODY
addOrReplaceTexture(textureManager, "bodyfront", bodyFront2);
addOrReplaceTexture(textureManager, "bodytop", bodyTop2);
addOrReplaceTexture(textureManager, "bodyback", bodyBack2);
addOrReplaceTexture(textureManager, "bodyright", bodyRight2);
addOrReplaceTexture(textureManager, "bodyleft", bodyLeft2);
addOrReplaceTexture(textureManager, "bodybottom", bodyBottom2);
// RIGHTARM
addOrReplaceTexture(textureManager, "outerrightarmfront", armFront2);
addOrReplaceTexture(textureManager, "outerrightarmtop", armTop2);
addOrReplaceTexture(textureManager, "outerrightarmback", armBack2);
addOrReplaceTexture(textureManager, "outerrightarmright", armRight2);
addOrReplaceTexture(textureManager, "outerrightarmleft", armLeft2);
addOrReplaceTexture(textureManager, "outerrightarmbottom",
armBottom2);
// LEFTARM
addOrReplaceTexture(textureManager, "outerleftarmfront",
leftArmFront2);
addOrReplaceTexture(textureManager, "outerleftarmtop", armTop2);
addOrReplaceTexture(textureManager, "outerleftarmback", armBack2);
addOrReplaceTexture(textureManager, "outerleftarmright", armRight2);
addOrReplaceTexture(textureManager, "outerleftarmleft", armLeft2);
addOrReplaceTexture(textureManager, "outerleftarmbottom",
armBottom2);
// RIGHTLEG
addOrReplaceTexture(textureManager, "outerrightlegfront", legFront2);
addOrReplaceTexture(textureManager, "outerrightlegtop", legTop2);
addOrReplaceTexture(textureManager, "outerrightlegback", legBack2);
addOrReplaceTexture(textureManager, "outerrightlegright", legRight2);
addOrReplaceTexture(textureManager, "outerrightlegleft", legLeft2);
addOrReplaceTexture(textureManager, "outerrightlegbottom",
legBottom2);
// LEFTLEG
addOrReplaceTexture(textureManager, "outerleftlegfront",
leftLegFront2);
addOrReplaceTexture(textureManager, "outerleftlegtop", legTop2);
addOrReplaceTexture(textureManager, "outerleftlegback", legBack2);
addOrReplaceTexture(textureManager, "outerleftlegright", legRight2);
addOrReplaceTexture(textureManager, "outerleftlegleft", legLeft2);
addOrReplaceTexture(textureManager, "outerleftlegbottom",
legBottom2);

} else {
// NEW SKIN TEMPLATE!
final int dimen = tempSkin.getHeight(); // default = 64

// HEAD
final Bitmap headFront1 = Bitmap.createBitmap(tempSkin, dimen / 8,
dimen / 8, dimen / 8, dimen / 8);
final Bitmap headTop1 = Bitmap.createBitmap(tempSkin, dimen / 8, 0,
dimen / 8, dimen / 8);
final Bitmap headBack1 = Bitmap.createBitmap(tempSkin,
dimen / 8 * 3, dimen / 8, dimen / 8, dimen / 8);
final Bitmap headRight1 = Bitmap.createBitmap(tempSkin, 0,
dimen / 8, dimen / 8, dimen / 8, mHor, false);
final Bitmap headLeft1 = Bitmap.createBitmap(tempSkin, dimen / 4,
dimen / 8, dimen / 8, dimen / 8);
final Bitmap headBottom1 = Bitmap.createBitmap(tempSkin, dimen / 4,
0, dimen / 8, dimen / 8);

final Texture headFront2 = new Texture(headFront1, true);
final Texture headTop2 = new Texture(headTop1, true);
final Texture headBack2 = new Texture(headBack1, true);
final Texture headRight2 = new Texture(headRight1, true);
final Texture headLeft2 = new Texture(headLeft1, true);
final Texture headBottom2 = new Texture(headBottom1, true);

// HAT
final Bitmap hatFront1 = Bitmap.createBitmap(tempSkin,
dimen / 8 * 5, dimen / 8, dimen / 8, dimen / 8);
final Bitmap hatTop1 = Bitmap.createBitmap(tempSkin, dimen / 8 * 5,
0, dimen / 8, dimen / 8);
final Bitmap hatBack1 = Bitmap.createBitmap(tempSkin,
dimen / 8 * 7, dimen / 8, dimen / 8, dimen / 8);
final Bitmap hatRight1 = Bitmap.createBitmap(tempSkin, dimen / 2,
dimen / 8, dimen / 8, dimen / 8, mHor, false);
final Bitmap hatLeft1 = Bitmap.createBitmap(tempSkin,
dimen / 4 * 3, dimen / 8, dimen / 8, dimen / 8);
final Bitmap hatBottom1 = Bitmap.createBitmap(tempSkin,
dimen / 4 * 3, 0, dimen / 8, dimen / 8);

final Texture hatFront2 = new Texture(hatFront1, true);
final Texture hatTop2 = new Texture(hatTop1, true);
final Texture hatBack2 = new Texture(hatBack1, true);
final Texture hatRight2 = new Texture(hatRight1, true);
final Texture hatLeft2 = new Texture(hatLeft1, true);
final Texture hatBottom2 = new Texture(hatBottom1, true);

// BODY
final Bitmap bodyFront1 = Bitmap.createScaledBitmap(Bitmap
.createBitmap(tempSkin, dimen / 16 * 5, dimen / 16 * 5,
dimen / 8, dimen / 16 * 3), 64, 64, false);
final Bitmap bodyTop1 = Bitmap.createBitmap(tempSkin,
dimen / 16 * 5, dimen / 4, dimen / 8, dimen / 8);
final Bitmap bodyBack1 = Bitmap.createScaledBitmap(Bitmap
.createBitmap(tempSkin, dimen / 2, dimen / 16 * 5,
dimen / 8, dimen / 16 * 3, mHor, false), 64, 64,
false);
final Bitmap bodyRight1 = Bitmap.createScaledBitmap(Bitmap
.createBitmap(tempSkin, dimen / 4, dimen / 16 * 5,
dimen / 16, dimen / 16 * 3, mHor, false), 64, 64,
false);
final Bitmap bodyLeft1 = Bitmap.createScaledBitmap(Bitmap
.createBitmap(tempSkin, dimen / 16 * 7, dimen / 16 * 5,
dimen / 16, dimen / 16 * 3), 64, 64, false);
final Bitmap bodyBottom1 = Bitmap.createBitmap(tempSkin,
dimen / 16 * 7, dimen / 4, dimen / 8, dimen / 8);

final Texture bodyFront2 = new Texture(bodyFront1, true);
final Texture bodyTop2 = new Texture(bodyTop1, true);
final Texture bodyBack2 = new Texture(bodyBack1, true);
final Texture bodyRight2 = new Texture(bodyRight1, true);
final Texture bodyLeft2 = new Texture(bodyLeft1, true);
final Texture bodyBottom2 = new Texture(bodyBottom1, true);

// OUTERBODY
final Bitmap outerBodyFront1 = Bitmap.createScaledBitmap(Bitmap
.createBitmap(tempSkin, dimen / 16 * 5, dimen / 16 * 9,
dimen / 8, dimen / 16 * 3), 64, 64, false);
final Bitmap outerBodyTop1 = Bitmap.createBitmap(tempSkin,
dimen / 16 * 5, dimen / 2, dimen / 8, dimen / 8);
final Bitmap outerBodyBack1 = Bitmap.createScaledBitmap(Bitmap
.createBitmap(tempSkin, dimen / 2, dimen / 16 * 9,
dimen / 8, dimen / 16 * 3, mHor, false), 64, 64,
false);
final Bitmap outerBodyRight1 = Bitmap.createScaledBitmap(Bitmap
.createBitmap(tempSkin, dimen / 4, dimen / 16 * 9,
dimen / 16, dimen / 16 * 3, mHor, false), 64, 64,
false);
final Bitmap outerBodyLeft1 = Bitmap.createScaledBitmap(Bitmap
.createBitmap(tempSkin, dimen / 16 * 7, dimen / 16 * 9,
dimen / 16, dimen / 16 * 3), 64, 64, false);
final Bitmap outerBodyBottom1 = Bitmap.createBitmap(tempSkin,
dimen / 16 * 7, dimen / 2, dimen / 8, dimen / 8);

final Texture outerBodyFront2 = new Texture(outerBodyFront1, true);
final Texture outerBodyTop2 = new Texture(outerBodyTop1, true);
final Texture outerBodyBack2 = new Texture(outerBodyBack1, true);
final Texture outerBodyRight2 = new Texture(outerBodyRight1, true);
final Texture outerBodyLeft2 = new Texture(outerBodyLeft1, true);
final Texture outerBodyBottom2 = new Texture(outerBodyBottom1, true);

// INNERRIGHTARM
final Bitmap innerRightArmFront1 = Bitmap.createScaledBitmap(Bitmap
.createBitmap(tempSkin, dimen / 16 * 11, dimen / 16 * 5,
dimen / 16, dimen / 16 * 3), 64, 64, false);
final Bitmap innerRightArmTop1 = Bitmap.createBitmap(tempSkin,
dimen / 16 * 11, dimen / 4, dimen / 16, dimen / 16);
final Bitmap innerRightArmBack1 = Bitmap.createScaledBitmap(Bitmap
.createBitmap(tempSkin, dimen / 16 * 13, dimen / 16 * 5,
dimen / 16, dimen / 16 * 3), 64, 64, false);
final Bitmap innerRightArmRight1 = Bitmap.createScaledBitmap(Bitmap
.createBitmap(tempSkin, dimen / 8 * 5, dimen / 16 * 5,
dimen / 16, dimen / 16 * 3, mHor, false), 64, 64,
false);
final Bitmap innerRightArmLeft1 = Bitmap.createScaledBitmap(Bitmap
.createBitmap(tempSkin, dimen / 4 * 3, dimen / 16 * 5,
dimen / 16, dimen / 16 * 3), 64, 64, false);
final Bitmap innerRightArmBottom1 = Bitmap.createBitmap(tempSkin,
dimen / 4 * 3, dimen / 4, dimen / 16, dimen / 16);

final Texture innerRightArmFront2 = new Texture(
innerRightArmFront1, true);
final Texture innerRightArmTop2 = new Texture(innerRightArmTop1,
true);
final Texture innerRightArmBack2 = new Texture(innerRightArmBack1,
true);
final Texture innerRightArmRight2 = new Texture(
innerRightArmRight1, true);
final Texture innerRightArmLeft2 = new Texture(innerRightArmLeft1,
true);
final Texture innerRightArmBottom2 = new Texture(
innerRightArmBottom1, true);

// OUTERRIGHTARM
final Bitmap outerRightArmFront1 = Bitmap.createScaledBitmap(Bitmap
.createBitmap(tempSkin, dimen / 16 * 11, dimen / 16 * 9,
dimen / 16, dimen / 16 * 3), 64, 64, false);
final Bitmap outerRightArmTop1 = Bitmap.createBitmap(tempSkin,
dimen / 16 * 11, dimen / 2, dimen / 16, dimen / 16);
final Bitmap outerRightArmBack1 = Bitmap.createScaledBitmap(Bitmap
.createBitmap(tempSkin, dimen / 16 * 13, dimen / 16 * 9,
dimen / 16, dimen / 16 * 3), 64, 64, false);
final Bitmap outerRightArmRight1 = Bitmap.createScaledBitmap(Bitmap
.createBitmap(tempSkin, dimen / 8 * 5, dimen / 16 * 9,
dimen / 16, dimen / 16 * 3, mHor, false), 64, 64,
false);
final Bitmap outerRightArmLeft1 = Bitmap.createScaledBitmap(Bitmap
.createBitmap(tempSkin, dimen / 4 * 3, dimen / 16 * 9,
dimen / 16, dimen / 16 * 3), 64, 64, false);
final Bitmap outerRightArmBottom1 = Bitmap.createBitmap(tempSkin,
dimen / 4 * 3, dimen / 2, dimen / 16, dimen / 16);

final Texture outerRightArmFront2 = new Texture(
outerRightArmFront1, true);
final Texture outerRightArmTop2 = new Texture(outerRightArmTop1,
true);
final Texture outerRightArmBack2 = new Texture(outerRightArmBack1,
true);
final Texture outerRightArmRight2 = new Texture(
outerRightArmRight1, true);
final Texture outerRightArmLeft2 = new Texture(outerRightArmLeft1,
true);
final Texture outerRightArmBottom2 = new Texture(
outerRightArmBottom1, true);

// INNERRIGHTLEG
final Bitmap innerRightLegFront1 = Bitmap.createScaledBitmap(Bitmap
.createBitmap(tempSkin, dimen / 16, dimen / 16 * 5,
dimen / 16, dimen / 16 * 3), 64, 64, false);
final Bitmap innerRightLegTop1 = Bitmap.createBitmap(tempSkin,
dimen / 16, dimen / 4, dimen / 16, dimen / 16);
final Bitmap innerRightLegBack1 = Bitmap.createScaledBitmap(Bitmap
.createBitmap(tempSkin, dimen / 16 * 3, dimen / 16 * 5,
dimen / 16, dimen / 16 * 3), 64, 64, false);
final Bitmap innerRightLegRight1 = Bitmap.createScaledBitmap(Bitmap
.createBitmap(tempSkin, 0, dimen / 16 * 5, dimen / 16,
dimen / 16 * 3, mHor, false), 64, 64, false);
final Bitmap innerRightLegLeft1 = Bitmap.createScaledBitmap(Bitmap
.createBitmap(tempSkin, dimen / 8, dimen / 16 * 5,
dimen / 16, dimen / 16 * 3), 64, 64, false);
final Bitmap innerRightLegBottom1 = Bitmap.createBitmap(tempSkin,
dimen / 8, dimen / 4, dimen / 16, dimen / 16);

final Texture innerRightLegFront2 = new Texture(
innerRightLegFront1, true);
final Texture innerRightLegTop2 = new Texture(innerRightLegTop1,
true);
final Texture innerRightLegBack2 = new Texture(innerRightLegBack1,
true);
final Texture innerRightLegRight2 = new Texture(
innerRightLegRight1, true);
final Texture innerRightLegLeft2 = new Texture(innerRightLegLeft1,
true);
final Texture innerRightLegBottom2 = new Texture(
innerRightLegBottom1, true);

// OUTERRIGHTLEG
final Bitmap outerRightLegFront1 = Bitmap.createScaledBitmap(Bitmap
.createBitmap(tempSkin, dimen / 16, dimen / 16 * 9,
dimen / 16, dimen / 16 * 3), 64, 64, false);
final Bitmap outerRightLegTop1 = Bitmap.createBitmap(tempSkin,
dimen / 16, dimen / 2, dimen / 16, dimen / 16);
final Bitmap outerRightLegBack1 = Bitmap.createScaledBitmap(Bitmap
.createBitmap(tempSkin, dimen / 16 * 3, dimen / 16 * 9,
dimen / 16, dimen / 16 * 3), 64, 64, false);
final Bitmap outerRightLegRight1 = Bitmap.createScaledBitmap(Bitmap
.createBitmap(tempSkin, 0, dimen / 16 * 9, dimen / 16,
dimen / 16 * 3, mHor, false), 64, 64, false);
final Bitmap outerRightLegLeft1 = Bitmap.createScaledBitmap(Bitmap
.createBitmap(tempSkin, dimen / 8, dimen / 16 * 9,
dimen / 16, dimen / 16 * 3), 64, 64, false);
final Bitmap outerRightLegBottom1 = Bitmap.createBitmap(tempSkin,
dimen / 8, dimen / 2, dimen / 16, dimen / 16);

final Texture outerRightLegFront2 = new Texture(
outerRightLegFront1, true);
final Texture outerRightLegTop2 = new Texture(outerRightLegTop1,
true);
final Texture outerRightLegBack2 = new Texture(outerRightLegBack1,
true);
final Texture outerRightLegRight2 = new Texture(
outerRightLegRight1, true);
final Texture outerRightLegLeft2 = new Texture(outerRightLegLeft1,
true);
final Texture outerRightLegBottom2 = new Texture(
outerRightLegBottom1, true);

// OUTERLEFTLEG
final Bitmap outerLeftLegFront1 = Bitmap.createScaledBitmap(Bitmap
.createBitmap(tempSkin, dimen / 16, dimen / 16 * 13,
dimen / 16, dimen / 16 * 3), 64, 64, false);
final Bitmap outerLeftLegTop1 = Bitmap.createBitmap(tempSkin,
dimen / 16, dimen / 4 * 3, dimen / 16, dimen / 16);
final Bitmap outerLeftLegBack1 = Bitmap.createScaledBitmap(Bitmap
.createBitmap(tempSkin, dimen / 16 * 3, dimen / 16 * 13,
dimen / 16, dimen / 16 * 3), 64, 64, false);
final Bitmap outerLeftLegRight1 = Bitmap.createScaledBitmap(Bitmap
.createBitmap(tempSkin, 0, dimen / 16 * 13, dimen / 16,
dimen / 16 * 3, mHor, false), 64, 64, false);
final Bitmap outerLeftLegLeft1 = Bitmap.createScaledBitmap(Bitmap
.createBitmap(tempSkin, dimen / 8, dimen / 16 * 13,
dimen / 16, dimen / 16 * 3), 64, 64, false);
final Bitmap outerLeftLegBottom1 = Bitmap.createBitmap(tempSkin,
dimen / 8, dimen / 4 * 3, dimen / 16, dimen / 16);

final Texture outerLeftLegFront2 = new Texture(outerLeftLegFront1,
true);
final Texture outerLeftLegTop2 = new Texture(outerLeftLegTop1, true);
final Texture outerLeftLegBack2 = new Texture(outerLeftLegBack1,
true);
final Texture outerLeftLegRight2 = new Texture(outerLeftLegRight1,
true);
final Texture outerLeftLegLeft2 = new Texture(outerLeftLegLeft1,
true);
final Texture outerLeftLegBottom2 = new Texture(
outerLeftLegBottom1, true);

// INNERLEFTLEG
final Bitmap innerLeftLegFront1 = Bitmap.createScaledBitmap(Bitmap
.createBitmap(tempSkin, dimen / 16 * 5, dimen / 16 * 13,
dimen / 16, dimen / 16 * 3), 64, 64, false);
final Bitmap innerLeftLegTop1 = Bitmap.createBitmap(tempSkin,
dimen / 16 * 5, dimen / 4 * 3, dimen / 16, dimen / 16);
final Bitmap innerLeftLegBack1 = Bitmap.createScaledBitmap(Bitmap
.createBitmap(tempSkin, dimen / 16 * 7, dimen / 16 * 13,
dimen / 16, dimen / 16 * 3), 64, 64, false);
final Bitmap innerLeftLegRight1 = Bitmap.createScaledBitmap(Bitmap
.createBitmap(tempSkin, dimen / 4, dimen / 16 * 13,
dimen / 16, dimen / 16 * 3, mHor, false), 64, 64,
false);
final Bitmap innerLeftLegLeft1 = Bitmap.createScaledBitmap(Bitmap
.createBitmap(tempSkin, dimen / 8 * 3, dimen / 16 * 13,
dimen / 16, dimen / 16 * 3), 64, 64, false);
final Bitmap innerLeftLegBottom1 = Bitmap.createBitmap(tempSkin,
dimen / 8 * 3, dimen / 4 * 3, dimen / 16, dimen / 16);

final Texture innerLeftLegFront2 = new Texture(innerLeftLegFront1,
true);
final Texture innerLeftLegTop2 = new Texture(innerLeftLegTop1, true);
final Texture innerLeftLegBack2 = new Texture(innerLeftLegBack1,
true);
final Texture innerLeftLegRight2 = new Texture(innerLeftLegRight1,
true);
final Texture innerLeftLegLeft2 = new Texture(innerLeftLegLeft1,
true);
final Texture innerLeftLegBottom2 = new Texture(
innerLeftLegBottom1, true);

// INNERLEFTARM
final Bitmap innerLeftArmFront1 = Bitmap.createScaledBitmap(Bitmap
.createBitmap(tempSkin, dimen / 16 * 9, dimen / 16 * 13,
dimen / 16, dimen / 16 * 3), 64, 64, false);
final Bitmap innerLeftArmTop1 = Bitmap.createBitmap(tempSkin,
dimen / 16 * 9, dimen / 4 * 3, dimen / 16, dimen / 16);
final Bitmap innerLeftArmBack1 = Bitmap.createScaledBitmap(Bitmap
.createBitmap(tempSkin, dimen / 16 * 11, dimen / 16 * 13,
dimen / 16, dimen / 16 * 3), 64, 64, false);
final Bitmap innerLeftArmRight1 = Bitmap.createScaledBitmap(Bitmap
.createBitmap(tempSkin, dimen / 2, dimen / 16 * 13,
dimen / 16, dimen / 16 * 3, mHor, false), 64, 64,
false);
final Bitmap innerLeftArmLeft1 = Bitmap.createScaledBitmap(Bitmap
.createBitmap(tempSkin, dimen / 8 * 5, dimen / 16 * 13,
dimen / 16, dimen / 16 * 3), 64, 64, false);
final Bitmap innerLeftArmBottom1 = Bitmap.createBitmap(tempSkin,
dimen / 8 * 5, dimen / 4 * 3, dimen / 16, dimen / 16);

final Texture innerLeftArmFront2 = new Texture(innerLeftArmFront1,
true);
final Texture innerLeftArmTop2 = new Texture(innerLeftArmTop1, true);
final Texture innerLeftArmBack2 = new Texture(innerLeftArmBack1,
true);
final Texture innerLeftArmRight2 = new Texture(innerLeftArmRight1,
true);
final Texture innerLeftArmLeft2 = new Texture(innerLeftArmLeft1,
true);
final Texture innerLeftArmBottom2 = new Texture(
innerLeftArmBottom1, true);

// OUTERLEFTARM
final Bitmap outerLeftArmFront1 = Bitmap.createScaledBitmap(Bitmap
.createBitmap(tempSkin, dimen / 16 * 13, dimen / 16 * 13,
dimen / 16, dimen / 16 * 3), 64, 64, false);
final Bitmap outerLeftArmTop1 = Bitmap.createBitmap(tempSkin,
dimen / 16 * 13, dimen / 4 * 3, dimen / 16, dimen / 16);
final Bitmap outerLeftArmBack1 = Bitmap.createScaledBitmap(Bitmap
.createBitmap(tempSkin, dimen / 16 * 15, dimen / 16 * 13,
dimen / 16, dimen / 16 * 3), 64, 64, false);
// /
final Bitmap outerLeftArmRight1 = Bitmap.createScaledBitmap(Bitmap
.createBitmap(tempSkin, dimen / 4 * 3, dimen / 16 * 13,
dimen / 16, dimen / 16 * 3, mHor, false), 64, 64,
false);
final Bitmap outerLeftArmLeft1 = Bitmap.createScaledBitmap(Bitmap
.createBitmap(tempSkin, dimen / 8 * 7, dimen / 16 * 13,
dimen / 16, dimen / 16 * 3), 64, 64, false);
final Bitmap outerLeftArmBottom1 = Bitmap.createBitmap(tempSkin,
dimen / 8 * 7, dimen / 4 * 3, dimen / 16, dimen / 16);

final Texture outerLeftArmFront2 = new Texture(outerLeftArmFront1,
true);
final Texture outerLeftArmTop2 = new Texture(outerLeftArmTop1, true);
final Texture outerLeftArmBack2 = new Texture(outerLeftArmBack1,
true);
final Texture outerLeftArmRight2 = new Texture(outerLeftArmRight1,
true);
final Texture outerLeftArmLeft2 = new Texture(outerLeftArmLeft1,
true);
final Texture outerLeftArmBottom2 = new Texture(
outerLeftArmBottom1, true);

final int maxDimension;
if (Build.VERSION.SDK_INT > 12) {
// Prevents OOM's
Display display = getWindowManager().getDefaultDisplay();
Point size = new Point();
display.getSize(size);
maxDimension = Math.max(size.x, size.y);
} else {
Display display = getWindowManager().getDefaultDisplay();
maxDimension = Math
.max(display.getWidth(), display.getHeight());
}

if (maxDimension <= 512) {
// minimum
bg = new Texture(Bitmap.createScaledBitmap(Bitmap.createBitmap(
background, 0, 0, background.getWidth(),
background.getHeight(), mVer, false), 256, 256, false));
} else if (maxDimension <= 1024) {
// default
try {
bg = new Texture(Bitmap.createScaledBitmap(
Bitmap.createBitmap(background, 0, 0,
background.getWidth(),
background.getHeight(), mVer, false), 512,
512, false));
} catch (final OutOfMemoryError e1) {
e1.printStackTrace();
System.gc();
bg = new Texture(Bitmap.createScaledBitmap(
Bitmap.createBitmap(background, 0, 0,
background.getWidth(),
background.getHeight(), mVer, false), 256,
256, false));
}
} else if (maxDimension <= 1536) {
// big
try {
bg = new Texture(Bitmap.createScaledBitmap(
Bitmap.createBitmap(background, 0, 0,
background.getWidth(),
background.getHeight(), mVer, false), 1024,
1024, false));
} catch (final OutOfMemoryError e2) {
e2.printStackTrace();
System.gc();
try {
bg = new Texture(Bitmap.createScaledBitmap(Bitmap
.createBitmap(background, 0, 0,
background.getWidth(),
background.getHeight(), mVer, false),
512, 512, false));
} catch (final OutOfMemoryError e1) {
e1.printStackTrace();
System.gc();
bg = new Texture(Bitmap.createScaledBitmap(Bitmap
.createBitmap(background, 0, 0,
background.getWidth(),
background.getHeight(), mVer, false),
256, 256, false));
}

}
} else {
// maximum
try {
bg = new Texture(Bitmap.createScaledBitmap(
Bitmap.createBitmap(background, 0, 0,
background.getWidth(),
background.getHeight(), mVer, false), 2048,
2048, false));
} catch (final OutOfMemoryError e3) {
e3.printStackTrace();
System.gc();
try {
bg = new Texture(Bitmap.createScaledBitmap(Bitmap
.createBitmap(background, 0, 0,
background.getWidth(),
background.getHeight(), mVer, false),
1024, 1024, false));
} catch (final OutOfMemoryError e2) {
e2.printStackTrace();
System.gc();
try {
bg = new Texture(
Bitmap.createScaledBitmap(Bitmap
.createBitmap(background, 0, 0,
background.getWidth(),
background.getHeight(),
mVer, false), 512, 512,
false));
} catch (final OutOfMemoryError e1) {
e1.printStackTrace();
System.gc();
bg = new Texture(
Bitmap.createScaledBitmap(Bitmap
.createBitmap(background, 0, 0,
background.getWidth(),
background.getHeight(),
mVer, false), 256, 256,
false));
}

}
}
}

// BACKGROUND
addOrReplaceTexture(textureManager, "bg", bg);
// HEAD
addOrReplaceTexture(textureManager, "headfront", headFront2);
addOrReplaceTexture(textureManager, "headtop", headTop2);
addOrReplaceTexture(textureManager, "headback", headBack2);
addOrReplaceTexture(textureManager, "headright", headRight2);
addOrReplaceTexture(textureManager, "headleft", headLeft2);
addOrReplaceTexture(textureManager, "headbottom", headBottom2);
// HAT
addOrReplaceTexture(textureManager, "hatfront", hatFront2);
addOrReplaceTexture(textureManager, "hattop", hatTop2);
addOrReplaceTexture(textureManager, "hatback", hatBack2);
addOrReplaceTexture(textureManager, "hatright", hatRight2);
addOrReplaceTexture(textureManager, "hatleft", hatLeft2);
addOrReplaceTexture(textureManager, "hatbottom", hatBottom2);
// BODY
addOrReplaceTexture(textureManager, "innerbodyfront", bodyFront2);
addOrReplaceTexture(textureManager, "innerbodytop", bodyTop2);
addOrReplaceTexture(textureManager, "innerbodyback", bodyBack2);
addOrReplaceTexture(textureManager, "innerbodyright", bodyRight2);
addOrReplaceTexture(textureManager, "innerbodyleft", bodyLeft2);
addOrReplaceTexture(textureManager, "innerbodybottom", bodyBottom2);
// OUTERBODY
addOrReplaceTexture(textureManager, "bodyfront", outerBodyFront2);
addOrReplaceTexture(textureManager, "bodytop", outerBodyTop2);
addOrReplaceTexture(textureManager, "bodyback", outerBodyBack2);
addOrReplaceTexture(textureManager, "bodyright", outerBodyRight2);
addOrReplaceTexture(textureManager, "bodyleft", outerBodyLeft2);
addOrReplaceTexture(textureManager, "bodybottom", outerBodyBottom2);
// INNERRIGHTARM
addOrReplaceTexture(textureManager, "innerrightarmfront",
innerRightArmFront2);
addOrReplaceTexture(textureManager, "innerrightarmtop",
innerRightArmTop2);
addOrReplaceTexture(textureManager, "innerrightarmback",
innerRightArmBack2);
addOrReplaceTexture(textureManager, "innerrightarmright",
innerRightArmRight2);
addOrReplaceTexture(textureManager, "innerrightarmleft",
innerRightArmLeft2);
addOrReplaceTexture(textureManager, "innerrightarmbottom",
innerRightArmBottom2);

// OUTERRIGHTARM
addOrReplaceTexture(textureManager, "outerrightarmfront",
outerRightArmFront2);
addOrReplaceTexture(textureManager, "outerrightarmtop",
outerRightArmTop2);
addOrReplaceTexture(textureManager, "outerrightarmback",
outerRightArmBack2);
addOrReplaceTexture(textureManager, "outerrightarmright",
outerRightArmRight2);
addOrReplaceTexture(textureManager, "outerrightarmleft",
outerRightArmLeft2);
addOrReplaceTexture(textureManager, "outerrightarmbottom",
outerRightArmBottom2);

// INNERRIGHTLEG
addOrReplaceTexture(textureManager, "innerrightlegfront",
innerRightLegFront2);
addOrReplaceTexture(textureManager, "innerrightlegtop",
innerRightLegTop2);
addOrReplaceTexture(textureManager, "innerrightlegback",
innerRightLegBack2);
addOrReplaceTexture(textureManager, "innerrightlegright",
innerRightLegRight2);
addOrReplaceTexture(textureManager, "innerrightlegleft",
innerRightLegLeft2);
addOrReplaceTexture(textureManager, "innerrightlegbottom",
innerRightLegBottom2);

// OUTERRIGHTLEG
addOrReplaceTexture(textureManager, "outerrightlegfront",
outerRightLegFront2);
addOrReplaceTexture(textureManager, "outerrightlegtop",
outerRightLegTop2);
addOrReplaceTexture(textureManager, "outerrightlegback",
outerRightLegBack2);
addOrReplaceTexture(textureManager, "outerrightlegright",
outerRightLegRight2);
addOrReplaceTexture(textureManager, "outerrightlegleft",
outerRightLegLeft2);
addOrReplaceTexture(textureManager, "outerrightlegbottom",
outerRightLegBottom2);

// OUTERLEFTLEG
addOrReplaceTexture(textureManager, "outerleftlegfront",
outerLeftLegFront2);
addOrReplaceTexture(textureManager, "outerleftlegtop",
outerLeftLegTop2);
addOrReplaceTexture(textureManager, "outerleftlegback",
outerLeftLegBack2);
addOrReplaceTexture(textureManager, "outerleftlegright",
outerLeftLegRight2);
addOrReplaceTexture(textureManager, "outerleftlegleft",
outerLeftLegLeft2);
addOrReplaceTexture(textureManager, "outerleftlegbottom",
outerLeftLegBottom2);

// INNERLEFTLEG
addOrReplaceTexture(textureManager, "innerleftlegfront",
innerLeftLegFront2);
addOrReplaceTexture(textureManager, "innerleftlegtop",
innerLeftLegTop2);
addOrReplaceTexture(textureManager, "innerleftlegback",
innerLeftLegBack2);
addOrReplaceTexture(textureManager, "innerleftlegright",
innerLeftLegRight2);
addOrReplaceTexture(textureManager, "innerleftlegleft",
innerLeftLegLeft2);
addOrReplaceTexture(textureManager, "innerleftlegbottom",
innerLeftLegBottom2);

// OUTERLEFTARM
addOrReplaceTexture(textureManager, "outerleftarmfront",
outerLeftArmFront2);
addOrReplaceTexture(textureManager, "outerleftarmtop",
outerLeftArmTop2);
addOrReplaceTexture(textureManager, "outerleftarmback",
outerLeftArmBack2);
addOrReplaceTexture(textureManager, "outerleftarmright",
outerLeftArmRight2);
addOrReplaceTexture(textureManager, "outerleftarmleft",
outerLeftArmLeft2);
addOrReplaceTexture(textureManager, "outerleftarmbottom",
outerLeftArmBottom2);

// INNERLEFTARM
addOrReplaceTexture(textureManager, "innerleftarmfront",
innerLeftArmFront2);
addOrReplaceTexture(textureManager, "innerleftarmtop",
innerLeftArmTop2);
addOrReplaceTexture(textureManager, "innerleftarmback",
innerLeftArmBack2);
addOrReplaceTexture(textureManager, "innerleftarmright",
innerLeftArmRight2);
addOrReplaceTexture(textureManager, "innerleftarmleft",
innerLeftArmLeft2);
addOrReplaceTexture(textureManager, "innerleftarmbottom",
innerLeftArmBottom2);

}
if (this.armor != null) {
// Load armor
if (hasArmorDimensions()) {

final Bitmap bodyArmorTop1 = Bitmap.createScaledBitmap(
Bitmap.createBitmap(armor, 6, 33, 8, 6), 32, 32, false);
final Bitmap bodyArmorFront1 = Bitmap
.createScaledBitmap(
Bitmap.createBitmap(armor, 6, 39, 8, 13), 32,
32, false);
final Bitmap bodyArmorBack1 = Bitmap.createScaledBitmap(
Bitmap.createBitmap(armor, 20, 39, 8, 13), 32, 32,
false);
final Bitmap bodyArmorRight1 = Bitmap.createScaledBitmap(
Bitmap.createBitmap(armor, 14, 39, 6, 13), 32, 32,
false);
final Bitmap bodyArmorLeft1 = Bitmap
.createScaledBitmap(
Bitmap.createBitmap(armor, 0, 39, 6, 13), 32,
32, false);

final Bitmap headArmorTop1 = Bitmap.createScaledBitmap(
Bitmap.createBitmap(armor, 40, 54, 10, 10), 32, 32,
false);
final Bitmap headArmorFront1 = Bitmap.createScaledBitmap(
Bitmap.createBitmap(armor, 10, 54, 10, 10), 32, 32,
false);
final Bitmap headArmorBack1 = Bitmap.createScaledBitmap(
Bitmap.createBitmap(armor, 30, 54, 10, 10), 32, 32,
false);
final Bitmap headArmorRight1 = Bitmap.createScaledBitmap(
Bitmap.createBitmap(armor, 20, 54, 10, 10), 32, 32,
false);
final Bitmap headArmorLeft1 = Bitmap.createScaledBitmap(
Bitmap.createBitmap(armor, 0, 54, 10, 10), 32, 32,
false);

final Bitmap footArmorTop1 = Bitmap.createScaledBitmap(
Bitmap.createBitmap(armor, 8, 8, 6, 6), 32, 32, false);
final Bitmap footArmorFront1 = Bitmap
.createScaledBitmap(
Bitmap.createBitmap(armor, 34, 49, 6, 4), 32,
32, false);
final Bitmap footArmorBack1 = Bitmap
.createScaledBitmap(
Bitmap.createBitmap(armor, 45, 49, 6, 4), 32,
32, false);
final Bitmap footArmorRight1 = Bitmap
.createScaledBitmap(
Bitmap.createBitmap(armor, 40, 49, 5, 4), 32,
32, false);
final Bitmap footArmorLeft1 = Bitmap
.createScaledBitmap(
Bitmap.createBitmap(armor, 29, 49, 5, 4), 32,
32, false);

final Bitmap legArmorFront1 = Bitmap
.createScaledBitmap(
Bitmap.createBitmap(armor, 29, 33, 4, 9), 32,
32, false);
final Bitmap legArmorBack1 = Bitmap
.createScaledBitmap(
Bitmap.createBitmap(armor, 33, 33, 4, 9), 32,
32, false);
final Bitmap legArmorRight1 = Bitmap
.createScaledBitmap(
Bitmap.createBitmap(armor, 37, 33, 4, 9), 32,
32, false);
final Bitmap legArmorLeft1 = Bitmap
.createScaledBitmap(
Bitmap.createBitmap(armor, 41, 33, 4, 9), 32,
32, false);

final Bitmap shoulderArmorTop1 = Bitmap
.createScaledBitmap(
Bitmap.createBitmap(armor, 53, 51, 6, 6), 32,
32, false);
final Bitmap shoulderArmorFront1 = Bitmap
.createScaledBitmap(
Bitmap.createBitmap(armor, 53, 33, 6, 6), 32,
32, false);
final Bitmap shoulderArmorBack1 = Bitmap
.createScaledBitmap(
Bitmap.createBitmap(armor, 53, 45, 6, 6), 32,
32, false);
final Bitmap shoulderArmorRight1 = Bitmap
.createScaledBitmap(
Bitmap.createBitmap(armor, 53, 57, 6, 6), 32,
32, false);
final Bitmap shoulderArmorLeft1 = Bitmap
.createScaledBitmap(
Bitmap.createBitmap(armor, 53, 39, 6, 6), 32,
32, false);

final Drawable transparent = getResources().getDrawable(
R.drawable.transparent);

final Texture bodyArmorTop2 = new Texture(bodyArmorTop1, true);
final Texture bodyArmorFront2 = new Texture(bodyArmorFront1,
true);
final Texture bodyArmorLeft2 = new Texture(bodyArmorLeft1, true);
final Texture bodyArmorRight2 = new Texture(bodyArmorRight1,
true);
final Texture bodyArmorBack2 = new Texture(bodyArmorBack1, true);
final Texture bodyArmorBottom2 = new Texture(transparent, true);

final Texture headArmorTop2 = new Texture(headArmorTop1, true);
final Texture headArmorFront2 = new Texture(headArmorFront1,
true);
final Texture headArmorLeft2 = new Texture(headArmorLeft1, true);
final Texture headArmorRight2 = new Texture(headArmorRight1,
true);
final Texture headArmorBack2 = new Texture(headArmorBack1, true);
final Texture headArmorBottom2 = new Texture(transparent, true);

final Texture footArmorTop2 = new Texture(footArmorTop1, true);
final Texture footArmorFront2 = new Texture(footArmorFront1,
true);
final Texture footArmorLeft2 = new Texture(footArmorLeft1, true);
final Texture footArmorRight2 = new Texture(footArmorRight1,
true);
final Texture footArmorBack2 = new Texture(footArmorBack1, true);
final Texture footArmorBottom2 = new Texture(transparent, true);

final Texture legArmorTop2 = new Texture(transparent, true);
final Texture legArmorFront2 = new Texture(legArmorFront1, true);
final Texture legArmorLeft2 = new Texture(legArmorLeft1, true);
final Texture legArmorRight2 = new Texture(legArmorRight1, true);
final Texture legArmorBack2 = new Texture(legArmorBack1, true);
final Texture legArmorBottom2 = new Texture(transparent, true);

final Texture shoulderArmorTop2 = new Texture(
shoulderArmorTop1, true);
final Texture shoulderArmorFront2 = new Texture(
shoulderArmorFront1, true);
final Texture shoulderArmorLeft2 = new Texture(
shoulderArmorLeft1, true);
final Texture shoulderArmorRight2 = new Texture(
shoulderArmorRight1, true);
final Texture shoulderArmorBack2 = new Texture(
shoulderArmorBack1, true);
final Texture shoulderArmorBottom2 = new Texture(transparent,
true);

bodyArmorTop2.setFiltering(false);
bodyArmorFront2.setFiltering(false);
bodyArmorLeft2.setFiltering(false);
bodyArmorRight2.setFiltering(false);
bodyArmorBack2.setFiltering(false);
bodyArmorBottom2.setFiltering(false);

headArmorTop2.setFiltering(false);
headArmorFront2.setFiltering(false);
headArmorLeft2.setFiltering(false);
headArmorRight2.setFiltering(false);
headArmorBack2.setFiltering(false);
headArmorBottom2.setFiltering(false);

footArmorTop2.setFiltering(false);
footArmorFront2.setFiltering(false);
footArmorLeft2.setFiltering(false);
footArmorRight2.setFiltering(false);
footArmorBack2.setFiltering(false);
footArmorBottom2.setFiltering(false);

legArmorTop2.setFiltering(false);
legArmorFront2.setFiltering(false);
legArmorLeft2.setFiltering(false);
legArmorRight2.setFiltering(false);
legArmorBack2.setFiltering(false);
legArmorBottom2.setFiltering(false);

shoulderArmorTop2.setFiltering(false);
shoulderArmorFront2.setFiltering(false);
shoulderArmorLeft2.setFiltering(false);
shoulderArmorRight2.setFiltering(false);
shoulderArmorBack2.setFiltering(false);
shoulderArmorBottom2.setFiltering(false);

addOrReplaceTexture(textureManager, "armorbodytop",
bodyArmorTop2);
addOrReplaceTexture(textureManager, "armorbodyfront",
bodyArmorFront2);
addOrReplaceTexture(textureManager, "armorbodyleft",
bodyArmorLeft2);
addOrReplaceTexture(textureManager, "armorbodyright",
bodyArmorRight2);
addOrReplaceTexture(textureManager, "armorbodyback",
bodyArmorBack2);
addOrReplaceTexture(textureManager, "armorbodybottom",
bodyArmorBottom2);

addOrReplaceTexture(textureManager, "armorheadtop",
headArmorTop2);
addOrReplaceTexture(textureManager, "armorheadfront",
headArmorFront2);
addOrReplaceTexture(textureManager, "armorheadleft",
headArmorLeft2);
addOrReplaceTexture(textureManager, "armorheadright",
headArmorRight2);
addOrReplaceTexture(textureManager, "armorheadback",
headArmorBack2);
addOrReplaceTexture(textureManager, "armorheadbottom",
headArmorBottom2);

addOrReplaceTexture(textureManager, "armorfootbottom",
footArmorTop2);
addOrReplaceTexture(textureManager, "armorfootfront",
footArmorFront2);
addOrReplaceTexture(textureManager, "armorfootleft",
footArmorLeft2);
addOrReplaceTexture(textureManager, "armorfootright",
footArmorRight2);
addOrReplaceTexture(textureManager, "armorfootback",
footArmorBack2);
addOrReplaceTexture(textureManager, "armorfoottop",
footArmorBottom2);

addOrReplaceTexture(textureManager, "armorlegtop", legArmorTop2);
addOrReplaceTexture(textureManager, "armorlegfront",
legArmorFront2);
addOrReplaceTexture(textureManager, "armorlegleft",
legArmorLeft2);
addOrReplaceTexture(textureManager, "armorlegright",
legArmorRight2);
addOrReplaceTexture(textureManager, "armorlegback",
legArmorBack2);
addOrReplaceTexture(textureManager, "armorlegbottom",
legArmorBottom2);

addOrReplaceTexture(textureManager, "armorshouldertop",
shoulderArmorTop2);
addOrReplaceTexture(textureManager, "armorshoulderfront",
shoulderArmorFront2);
addOrReplaceTexture(textureManager, "armorshoulderleft",
shoulderArmorLeft2);
addOrReplaceTexture(textureManager, "armorshoulderright",
shoulderArmorRight2);
addOrReplaceTexture(textureManager, "armorshoulderback",
shoulderArmorBack2);
addOrReplaceTexture(textureManager, "armorshoulderbottom",
shoulderArmorBottom2);
}
}
for (final String name : textureManager.getNames()) {
textureManager.getTexture(name).setFiltering(false);
}
textureManager.compress();
}

I might have to clean up the code a bit sometime...

269
Support / Re: Color bug
« on: September 30, 2015, 12:32:10 pm »
No, I never call that method.
I do call other texture methods:
Texture.setClamping(true);
Texture.setFiltering(false);
Texture.setMipmap(true):

270
Support / Re: Color bug
« on: September 29, 2015, 11:30:27 pm »
Yes I am, I think I can disable it though

I am using TextureManager.compress()
I suppose that does the same thing?

Pages: 1 ... 16 17 [18] 19 20 ... 22