1/*------------------------------------------------------------------------- 2 * OpenGL Conformance Test Suite 3 * ----------------------------- 4 * 5 * Copyright (c) 2021 Google Inc. 6 * Copyright (c) 2021 The Khronos Group Inc. 7 * 8 * Licensed under the Apache License, Version 2.0 (the "License"); 9 * you may not use this file except in compliance with the License. 10 * You may obtain a copy of the License at 11 * 12 * http://www.apache.org/licenses/LICENSE-2.0 13 * 14 * Unless required by applicable law or agreed to in writing, software 15 * distributed under the License is distributed on an "AS IS" BASIS, 16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 * See the License for the specific language governing permissions and 18 * limitations under the License. 19 * 20 */ /*! 21 * \file glcCompressedFormatTests_data.inl 22 * \brief Tests for OpenGL ES 3.1 and 3.2 compressed image formats 23 */ /*-------------------------------------------------------------------*/ 24struct ImageData 25{ 26 GLsizei width; 27 GLsizei height; 28 string path; 29}; 30 31const map<GLenum, vector<ImageData>> imageData = 32{ 33 { 34 GL_COMPRESSED_R11_EAC, // GLenum target 35 { // vector<ImageData> images 36 { 37 240, // GLsizei width 38 240, // GLsizei height 39 "compressed_texture/etc_R_240x240.bin" // string path 40 }, 41 { 42 120, // GLsizei width 43 120, // GLsizei height 44 "compressed_texture/etc_R_120x120.bin" // string path 45 }, 46 { 47 240, // GLsizei width 48 240, // GLsizei height 49 "compressed_texture/etc_R_240x240_ref.bin" // string path 50 }, 51 }, 52 }, 53 { 54 GL_COMPRESSED_SIGNED_R11_EAC, // GLenum target 55 { // vector<ImageData> images 56 { 57 240, // GLsizei width 58 240, // GLsizei height 59 "compressed_texture/etc_R_signed_240x240.bin" // string path 60 }, 61 { 62 120, // GLsizei width 63 120, // GLsizei height 64 "compressed_texture/etc_R_signed_120x120.bin" // string path 65 }, 66 { 67 240, // GLsizei width 68 240, // GLsizei height 69 "compressed_texture/etc_R_signed_240x240_ref.bin" // string path 70 }, 71 }, 72 }, 73 { 74 GL_COMPRESSED_RG11_EAC, // GLenum target 75 { // vector<ImageData> images 76 { 77 240, // GLsizei width 78 240, // GLsizei height 79 "compressed_texture/etc_RG_240x240.bin" // string path 80 }, 81 { 82 120, // GLsizei width 83 120, // GLsizei height 84 "compressed_texture/etc_RG_120x120.bin" // string path 85 }, 86 { 87 240, // GLsizei width 88 240, // GLsizei height 89 "compressed_texture/etc_RG_240x240_ref.bin" // string path 90 }, 91 }, 92 }, 93 { 94 GL_COMPRESSED_SIGNED_RG11_EAC, // GLenum target 95 { // vector<ImageData> images 96 { 97 240, // GLsizei width 98 240, // GLsizei height 99 "compressed_texture/etc_RG_signed_240x240.bin" // string path 100 }, 101 { 102 120, // GLsizei width 103 120, // GLsizei height 104 "compressed_texture/etc_RG_signed_120x120.bin" // string path 105 }, 106 { 107 240, // GLsizei width 108 240, // GLsizei height 109 "compressed_texture/etc_RG_signed_240x240_ref.bin" // string path 110 }, 111 }, 112 }, 113 { 114 GL_COMPRESSED_RGB8_ETC2, // GLenum target 115 { // vector<ImageData> images 116 { 117 240, // GLsizei width 118 240, // GLsizei height 119 "compressed_texture/etc_RGB8_240x240.bin" // string path 120 }, 121 { 122 120, // GLsizei width 123 120, // GLsizei height 124 "compressed_texture/etc_RGB8_120x120.bin" // string path 125 }, 126 { 127 240, // GLsizei width 128 240, // GLsizei height 129 "compressed_texture/etc_RGB8_240x240_ref.bin" // string path 130 }, 131 }, 132 }, 133 { 134 GL_COMPRESSED_SRGB8_ETC2, // GLenum target 135 { // vector<ImageData> images 136 { 137 240, // GLsizei width 138 240, // GLsizei height 139 "compressed_texture/etc_sRGB8_240x240.bin" // string path 140 }, 141 { 142 120, // GLsizei width 143 120, // GLsizei height 144 "compressed_texture/etc_sRGB8_120x120.bin" // string path 145 }, 146 { 147 240, // GLsizei width 148 240, // GLsizei height 149 "compressed_texture/etc_sRGB8_240x240_ref.bin" // string path 150 }, 151 }, 152 }, 153 { 154 GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2, // GLenum target 155 { // vector<ImageData> images 156 { 157 240, // GLsizei width 158 240, // GLsizei height 159 "compressed_texture/etc_RGBA1_240x240.bin" // string path 160 }, 161 { 162 120, // GLsizei width 163 120, // GLsizei height 164 "compressed_texture/etc_RGBA1_120x120.bin" // string path 165 }, 166 { 167 240, // GLsizei width 168 240, // GLsizei height 169 "compressed_texture/etc_RGBA1_240x240_ref.bin" // string path 170 }, 171 }, 172 }, 173 { 174 GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2, // GLenum target 175 { // vector<ImageData> images 176 { 177 240, // GLsizei width 178 240, // GLsizei height 179 "compressed_texture/etc_sRGBA1_240x240.bin" // string path 180 }, 181 { 182 120, // GLsizei width 183 120, // GLsizei height 184 "compressed_texture/etc_sRGBA1_120x120.bin" // string path 185 }, 186 { 187 240, // GLsizei width 188 240, // GLsizei height 189 "compressed_texture/etc_sRGBA1_240x240_ref.bin" // string path 190 }, 191 }, 192 }, 193 { 194 GL_COMPRESSED_RGBA8_ETC2_EAC, // GLenum target 195 { // vector<ImageData> images 196 { 197 240, // GLsizei width 198 240, // GLsizei height 199 "compressed_texture/etc_RGBA8_240x240.bin" // string path 200 }, 201 { 202 120, // GLsizei width 203 120, // GLsizei height 204 "compressed_texture/etc_RGBA8_120x120.bin" // string path 205 }, 206 { 207 240, // GLsizei width 208 240, // GLsizei height 209 "compressed_texture/etc_RGBA8_240x240_ref.bin" // string path 210 }, 211 }, 212 }, 213 { 214 GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC, // GLenum target 215 { // vector<ImageData> images 216 { 217 240, // GLsizei width 218 240, // GLsizei height 219 "compressed_texture/etc_sRGBA8_240x240.bin" // string path 220 }, 221 { 222 120, // GLsizei width 223 120, // GLsizei height 224 "compressed_texture/etc_sRGBA8_120x120.bin" // string path 225 }, 226 { 227 240, // GLsizei width 228 240, // GLsizei height 229 "compressed_texture/etc_sRGBA8_240x240_ref.bin" // string path 230 }, 231 }, 232 }, 233 { 234 GL_COMPRESSED_RGBA_ASTC_4x4, // GLenum target 235 { // vector<ImageData> images 236 { 237 240, // GLsizei width 238 240, // GLsizei height 239 "compressed_texture/astc_RGBA_4x4_240x240.bin" // string path 240 }, 241 { 242 120, // GLsizei width 243 120, // GLsizei height 244 "compressed_texture/astc_RGBA_4x4_120x120.bin" // string path 245 }, 246 { 247 240, // GLsizei width 248 240, // GLsizei height 249 "compressed_texture/astc_RGBA_4x4_240x240_ref.bin" // string path 250 }, 251 }, 252 }, 253 { 254 GL_COMPRESSED_RGBA_ASTC_5x4, // GLenum target 255 { // vector<ImageData> images 256 { 257 240, // GLsizei width 258 240, // GLsizei height 259 "compressed_texture/astc_RGBA_5x4_240x240.bin" // string path 260 }, 261 { 262 120, // GLsizei width 263 120, // GLsizei height 264 "compressed_texture/astc_RGBA_5x4_120x120.bin" // string path 265 }, 266 { 267 240, // GLsizei width 268 240, // GLsizei height 269 "compressed_texture/astc_RGBA_5x4_240x240_ref.bin" // string path 270 }, 271 }, 272 }, 273 { 274 GL_COMPRESSED_RGBA_ASTC_5x5, // GLenum target 275 { // vector<ImageData> images 276 { 277 240, // GLsizei width 278 240, // GLsizei height 279 "compressed_texture/astc_RGBA_5x5_240x240.bin" // string path 280 }, 281 { 282 120, // GLsizei width 283 120, // GLsizei height 284 "compressed_texture/astc_RGBA_5x5_120x120.bin" // string path 285 }, 286 { 287 240, // GLsizei width 288 240, // GLsizei height 289 "compressed_texture/astc_RGBA_5x5_240x240_ref.bin" // string path 290 }, 291 }, 292 }, 293 { 294 GL_COMPRESSED_RGBA_ASTC_6x5, // GLenum target 295 { // vector<ImageData> images 296 { 297 240, // GLsizei width 298 240, // GLsizei height 299 "compressed_texture/astc_RGBA_6x5_240x240.bin" // string path 300 }, 301 { 302 120, // GLsizei width 303 120, // GLsizei height 304 "compressed_texture/astc_RGBA_6x5_120x120.bin" // string path 305 }, 306 { 307 240, // GLsizei width 308 240, // GLsizei height 309 "compressed_texture/astc_RGBA_6x5_240x240_ref.bin" // string path 310 }, 311 }, 312 }, 313 { 314 GL_COMPRESSED_RGBA_ASTC_6x6, // GLenum target 315 { // vector<ImageData> images 316 { 317 240, // GLsizei width 318 240, // GLsizei height 319 "compressed_texture/astc_RGBA_6x6_240x240.bin" // string path 320 }, 321 { 322 120, // GLsizei width 323 120, // GLsizei height 324 "compressed_texture/astc_RGBA_6x6_120x120.bin" // string path 325 }, 326 { 327 240, // GLsizei width 328 240, // GLsizei height 329 "compressed_texture/astc_RGBA_6x6_240x240_ref.bin" // string path 330 }, 331 }, 332 }, 333 { 334 GL_COMPRESSED_RGBA_ASTC_8x5, // GLenum target 335 { // vector<ImageData> images 336 { 337 240, // GLsizei width 338 240, // GLsizei height 339 "compressed_texture/astc_RGBA_8x5_240x240.bin" // string path 340 }, 341 { 342 120, // GLsizei width 343 120, // GLsizei height 344 "compressed_texture/astc_RGBA_8x5_120x120.bin" // string path 345 }, 346 { 347 240, // GLsizei width 348 240, // GLsizei height 349 "compressed_texture/astc_RGBA_8x5_240x240_ref.bin" // string path 350 }, 351 }, 352 }, 353 { 354 GL_COMPRESSED_RGBA_ASTC_8x6, // GLenum target 355 { // vector<ImageData> images 356 { 357 240, // GLsizei width 358 240, // GLsizei height 359 "compressed_texture/astc_RGBA_8x6_240x240.bin" // string path 360 }, 361 { 362 120, // GLsizei width 363 120, // GLsizei height 364 "compressed_texture/astc_RGBA_8x6_120x120.bin" // string path 365 }, 366 { 367 240, // GLsizei width 368 240, // GLsizei height 369 "compressed_texture/astc_RGBA_8x6_240x240_ref.bin" // string path 370 }, 371 }, 372 }, 373 { 374 GL_COMPRESSED_RGBA_ASTC_8x8, // GLenum target 375 { // vector<ImageData> images 376 { 377 240, // GLsizei width 378 240, // GLsizei height 379 "compressed_texture/astc_RGBA_8x8_240x240.bin" // string path 380 }, 381 { 382 120, // GLsizei width 383 120, // GLsizei height 384 "compressed_texture/astc_RGBA_8x8_120x120.bin" // string path 385 }, 386 { 387 240, // GLsizei width 388 240, // GLsizei height 389 "compressed_texture/astc_RGBA_8x8_240x240_ref.bin" // string path 390 }, 391 }, 392 }, 393 { 394 GL_COMPRESSED_RGBA_ASTC_10x5, // GLenum target 395 { // vector<ImageData> images 396 { 397 240, // GLsizei width 398 240, // GLsizei height 399 "compressed_texture/astc_RGBA_10x5_240x240.bin" // string path 400 }, 401 { 402 120, // GLsizei width 403 120, // GLsizei height 404 "compressed_texture/astc_RGBA_10x5_120x120.bin" // string path 405 }, 406 { 407 240, // GLsizei width 408 240, // GLsizei height 409 "compressed_texture/astc_RGBA_10x5_240x240_ref.bin" // string path 410 }, 411 }, 412 }, 413 { 414 GL_COMPRESSED_RGBA_ASTC_10x6, // GLenum target 415 { // vector<ImageData> images 416 { 417 240, // GLsizei width 418 240, // GLsizei height 419 "compressed_texture/astc_RGBA_10x6_240x240.bin" // string path 420 }, 421 { 422 120, // GLsizei width 423 120, // GLsizei height 424 "compressed_texture/astc_RGBA_10x6_120x120.bin" // string path 425 }, 426 { 427 240, // GLsizei width 428 240, // GLsizei height 429 "compressed_texture/astc_RGBA_10x6_240x240_ref.bin" // string path 430 }, 431 }, 432 }, 433 { 434 GL_COMPRESSED_RGBA_ASTC_10x8, // GLenum target 435 { // vector<ImageData> images 436 { 437 240, // GLsizei width 438 240, // GLsizei height 439 "compressed_texture/astc_RGBA_10x8_240x240.bin" // string path 440 }, 441 { 442 120, // GLsizei width 443 120, // GLsizei height 444 "compressed_texture/astc_RGBA_10x8_120x120.bin" // string path 445 }, 446 { 447 240, // GLsizei width 448 240, // GLsizei height 449 "compressed_texture/astc_RGBA_10x8_240x240_ref.bin" // string path 450 }, 451 }, 452 }, 453 { 454 GL_COMPRESSED_RGBA_ASTC_10x10, // GLenum target 455 { // vector<ImageData> images 456 { 457 240, // GLsizei width 458 240, // GLsizei height 459 "compressed_texture/astc_RGBA_10x10_240x240.bin" // string path 460 }, 461 { 462 120, // GLsizei width 463 120, // GLsizei height 464 "compressed_texture/astc_RGBA_10x10_120x120.bin" // string path 465 }, 466 { 467 240, // GLsizei width 468 240, // GLsizei height 469 "compressed_texture/astc_RGBA_10x10_240x240_ref.bin" // string path 470 }, 471 }, 472 }, 473 { 474 GL_COMPRESSED_RGBA_ASTC_12x10, // GLenum target 475 { // vector<ImageData> images 476 { 477 240, // GLsizei width 478 240, // GLsizei height 479 "compressed_texture/astc_RGBA_12x10_240x240.bin" // string path 480 }, 481 { 482 120, // GLsizei width 483 120, // GLsizei height 484 "compressed_texture/astc_RGBA_12x10_120x120.bin" // string path 485 }, 486 { 487 240, // GLsizei width 488 240, // GLsizei height 489 "compressed_texture/astc_RGBA_12x10_240x240_ref.bin" // string path 490 }, 491 }, 492 }, 493 { 494 GL_COMPRESSED_RGBA_ASTC_12x12, // GLenum target 495 { // vector<ImageData> images 496 { 497 240, // GLsizei width 498 240, // GLsizei height 499 "compressed_texture/astc_RGBA_12x12_240x240.bin" // string path 500 }, 501 { 502 120, // GLsizei width 503 120, // GLsizei height 504 "compressed_texture/astc_RGBA_12x12_120x120.bin" // string path 505 }, 506 { 507 240, // GLsizei width 508 240, // GLsizei height 509 "compressed_texture/astc_RGBA_12x12_240x240_ref.bin" // string path 510 }, 511 }, 512 }, 513 { 514 GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4, // GLenum target 515 { // vector<ImageData> images 516 { 517 240, // GLsizei width 518 240, // GLsizei height 519 "compressed_texture/astc_SRGBA_4x4_240x240.bin" // string path 520 }, 521 { 522 120, // GLsizei width 523 120, // GLsizei height 524 "compressed_texture/astc_SRGBA_4x4_120x120.bin" // string path 525 }, 526 { 527 240, // GLsizei width 528 240, // GLsizei height 529 "compressed_texture/astc_SRGBA_4x4_240x240_ref.bin" // string path 530 }, 531 }, 532 }, 533 { 534 GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4, // GLenum target 535 { // vector<ImageData> images 536 { 537 240, // GLsizei width 538 240, // GLsizei height 539 "compressed_texture/astc_SRGBA_5x4_240x240.bin" // string path 540 }, 541 { 542 120, // GLsizei width 543 120, // GLsizei height 544 "compressed_texture/astc_SRGBA_5x4_120x120.bin" // string path 545 }, 546 { 547 240, // GLsizei width 548 240, // GLsizei height 549 "compressed_texture/astc_SRGBA_5x4_240x240_ref.bin" // string path 550 }, 551 }, 552 }, 553 { 554 GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5, // GLenum target 555 { // vector<ImageData> images 556 { 557 240, // GLsizei width 558 240, // GLsizei height 559 "compressed_texture/astc_SRGBA_5x5_240x240.bin" // string path 560 }, 561 { 562 120, // GLsizei width 563 120, // GLsizei height 564 "compressed_texture/astc_SRGBA_5x5_120x120.bin" // string path 565 }, 566 { 567 240, // GLsizei width 568 240, // GLsizei height 569 "compressed_texture/astc_SRGBA_5x5_240x240_ref.bin" // string path 570 }, 571 }, 572 }, 573 { 574 GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5, // GLenum target 575 { // vector<ImageData> images 576 { 577 240, // GLsizei width 578 240, // GLsizei height 579 "compressed_texture/astc_SRGBA_6x5_240x240.bin" // string path 580 }, 581 { 582 120, // GLsizei width 583 120, // GLsizei height 584 "compressed_texture/astc_SRGBA_6x5_120x120.bin" // string path 585 }, 586 { 587 240, // GLsizei width 588 240, // GLsizei height 589 "compressed_texture/astc_SRGBA_6x5_240x240_ref.bin" // string path 590 }, 591 }, 592 }, 593 { 594 GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6, // GLenum target 595 { // vector<ImageData> images 596 { 597 240, // GLsizei width 598 240, // GLsizei height 599 "compressed_texture/astc_SRGBA_6x6_240x240.bin" // string path 600 }, 601 { 602 120, // GLsizei width 603 120, // GLsizei height 604 "compressed_texture/astc_SRGBA_6x6_120x120.bin" // string path 605 }, 606 { 607 240, // GLsizei width 608 240, // GLsizei height 609 "compressed_texture/astc_SRGBA_6x6_240x240_ref.bin" // string path 610 }, 611 }, 612 }, 613 { 614 GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5, // GLenum target 615 { // vector<ImageData> images 616 { 617 240, // GLsizei width 618 240, // GLsizei height 619 "compressed_texture/astc_SRGBA_8x5_240x240.bin" // string path 620 }, 621 { 622 120, // GLsizei width 623 120, // GLsizei height 624 "compressed_texture/astc_SRGBA_8x5_120x120.bin" // string path 625 }, 626 { 627 240, // GLsizei width 628 240, // GLsizei height 629 "compressed_texture/astc_SRGBA_8x5_240x240_ref.bin" // string path 630 }, 631 }, 632 }, 633 { 634 GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6, // GLenum target 635 { // vector<ImageData> images 636 { 637 240, // GLsizei width 638 240, // GLsizei height 639 "compressed_texture/astc_SRGBA_8x6_240x240.bin" // string path 640 }, 641 { 642 120, // GLsizei width 643 120, // GLsizei height 644 "compressed_texture/astc_SRGBA_8x6_120x120.bin" // string path 645 }, 646 { 647 240, // GLsizei width 648 240, // GLsizei height 649 "compressed_texture/astc_SRGBA_8x6_240x240_ref.bin" // string path 650 }, 651 }, 652 }, 653 { 654 GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8, // GLenum target 655 { // vector<ImageData> images 656 { 657 240, // GLsizei width 658 240, // GLsizei height 659 "compressed_texture/astc_SRGBA_8x8_240x240.bin" // string path 660 }, 661 { 662 120, // GLsizei width 663 120, // GLsizei height 664 "compressed_texture/astc_SRGBA_8x8_120x120.bin" // string path 665 }, 666 { 667 240, // GLsizei width 668 240, // GLsizei height 669 "compressed_texture/astc_SRGBA_8x8_240x240_ref.bin" // string path 670 }, 671 }, 672 }, 673 { 674 GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5, // GLenum target 675 { // vector<ImageData> images 676 { 677 240, // GLsizei width 678 240, // GLsizei height 679 "compressed_texture/astc_SRGBA_10x5_240x240.bin" // string path 680 }, 681 { 682 120, // GLsizei width 683 120, // GLsizei height 684 "compressed_texture/astc_SRGBA_10x5_120x120.bin" // string path 685 }, 686 { 687 240, // GLsizei width 688 240, // GLsizei height 689 "compressed_texture/astc_SRGBA_10x5_240x240_ref.bin" // string path 690 }, 691 }, 692 }, 693 { 694 GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6, // GLenum target 695 { // vector<ImageData> images 696 { 697 240, // GLsizei width 698 240, // GLsizei height 699 "compressed_texture/astc_SRGBA_10x6_240x240.bin" // string path 700 }, 701 { 702 120, // GLsizei width 703 120, // GLsizei height 704 "compressed_texture/astc_SRGBA_10x6_120x120.bin" // string path 705 }, 706 { 707 240, // GLsizei width 708 240, // GLsizei height 709 "compressed_texture/astc_SRGBA_10x6_240x240_ref.bin" // string path 710 }, 711 }, 712 }, 713 { 714 GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8, // GLenum target 715 { // vector<ImageData> images 716 { 717 240, // GLsizei width 718 240, // GLsizei height 719 "compressed_texture/astc_SRGBA_10x8_240x240.bin" // string path 720 }, 721 { 722 120, // GLsizei width 723 120, // GLsizei height 724 "compressed_texture/astc_SRGBA_10x8_120x120.bin" // string path 725 }, 726 { 727 240, // GLsizei width 728 240, // GLsizei height 729 "compressed_texture/astc_SRGBA_10x8_240x240_ref.bin" // string path 730 }, 731 }, 732 }, 733 { 734 GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10, // GLenum target 735 { // vector<ImageData> images 736 { 737 240, // GLsizei width 738 240, // GLsizei height 739 "compressed_texture/astc_SRGBA_10x10_240x240.bin" // string path 740 }, 741 { 742 120, // GLsizei width 743 120, // GLsizei height 744 "compressed_texture/astc_SRGBA_10x10_120x120.bin" // string path 745 }, 746 { 747 240, // GLsizei width 748 240, // GLsizei height 749 "compressed_texture/astc_SRGBA_10x10_240x240_ref.bin" // string path 750 }, 751 }, 752 }, 753 { 754 GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10, // GLenum target 755 { // vector<ImageData> images 756 { 757 240, // GLsizei width 758 240, // GLsizei height 759 "compressed_texture/astc_SRGBA_12x10_240x240.bin" // string path 760 }, 761 { 762 120, // GLsizei width 763 120, // GLsizei height 764 "compressed_texture/astc_SRGBA_12x10_120x120.bin" // string path 765 }, 766 { 767 240, // GLsizei width 768 240, // GLsizei height 769 "compressed_texture/astc_SRGBA_12x10_240x240_ref.bin" // string path 770 }, 771 }, 772 }, 773 { 774 GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12, // GLenum target 775 { // vector<ImageData> images 776 { 777 240, // GLsizei width 778 240, // GLsizei height 779 "compressed_texture/astc_SRGBA_12x12_240x240.bin" // string path 780 }, 781 { 782 120, // GLsizei width 783 120, // GLsizei height 784 "compressed_texture/astc_SRGBA_12x12_120x120.bin" // string path 785 }, 786 { 787 240, // GLsizei width 788 240, // GLsizei height 789 "compressed_texture/astc_SRGBA_12x12_240x240_ref.bin" // string path 790 }, 791 }, 792 }, 793 { 794 GL_COMPRESSED_R11_EAC, // GLenum target 795 { // vector<ImageData> images 796 { 797 240, // GLsizei width 798 240, // GLsizei height 799 "compressed_texture/etc_R_240x240.bin" // string path 800 }, 801 { 802 120, // GLsizei width 803 120, // GLsizei height 804 "compressed_texture/etc_R_120x120.bin" // string path 805 }, 806 { 807 240, // GLsizei width 808 240, // GLsizei height 809 "compressed_texture/etc_R_240x240_ref.bin" // string path 810 }, 811 }, 812 }, 813 { 814 GL_COMPRESSED_SIGNED_R11_EAC, // GLenum target 815 { // vector<ImageData> images 816 { 817 240, // GLsizei width 818 240, // GLsizei height 819 "compressed_texture/etc_R_signed_240x240.bin" // string path 820 }, 821 { 822 120, // GLsizei width 823 120, // GLsizei height 824 "compressed_texture/etc_R_signed_120x120.bin" // string path 825 }, 826 { 827 240, // GLsizei width 828 240, // GLsizei height 829 "compressed_texture/etc_R_signed_240x240_ref.bin" // string path 830 }, 831 }, 832 }, 833 { 834 GL_COMPRESSED_RG11_EAC, // GLenum target 835 { // vector<ImageData> images 836 { 837 240, // GLsizei width 838 240, // GLsizei height 839 "compressed_texture/etc_RG_240x240.bin" // string path 840 }, 841 { 842 120, // GLsizei width 843 120, // GLsizei height 844 "compressed_texture/etc_RG_120x120.bin" // string path 845 }, 846 { 847 240, // GLsizei width 848 240, // GLsizei height 849 "compressed_texture/etc_RG_240x240_ref.bin" // string path 850 }, 851 }, 852 }, 853 { 854 GL_COMPRESSED_SIGNED_RG11_EAC, // GLenum target 855 { // vector<ImageData> images 856 { 857 240, // GLsizei width 858 240, // GLsizei height 859 "compressed_texture/etc_RG_signed_240x240.bin" // string path 860 }, 861 { 862 120, // GLsizei width 863 120, // GLsizei height 864 "compressed_texture/etc_RG_signed_120x120.bin" // string path 865 }, 866 { 867 240, // GLsizei width 868 240, // GLsizei height 869 "compressed_texture/etc_RG_signed_240x240_ref.bin" // string path 870 }, 871 }, 872 }, 873 { 874 GL_COMPRESSED_RGB8_ETC2, // GLenum target 875 { // vector<ImageData> images 876 { 877 240, // GLsizei width 878 240, // GLsizei height 879 "compressed_texture/etc_RGB8_240x240.bin" // string path 880 }, 881 { 882 120, // GLsizei width 883 120, // GLsizei height 884 "compressed_texture/etc_RGB8_120x120.bin" // string path 885 }, 886 { 887 240, // GLsizei width 888 240, // GLsizei height 889 "compressed_texture/etc_RGB8_240x240_ref.bin" // string path 890 }, 891 }, 892 }, 893 { 894 GL_COMPRESSED_SRGB8_ETC2, // GLenum target 895 { // vector<ImageData> images 896 { 897 240, // GLsizei width 898 240, // GLsizei height 899 "compressed_texture/etc_sRGB8_240x240.bin" // string path 900 }, 901 { 902 120, // GLsizei width 903 120, // GLsizei height 904 "compressed_texture/etc_sRGB8_120x120.bin" // string path 905 }, 906 { 907 240, // GLsizei width 908 240, // GLsizei height 909 "compressed_texture/etc_sRGB8_240x240_ref.bin" // string path 910 }, 911 }, 912 }, 913 { 914 GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2, // GLenum target 915 { // vector<ImageData> images 916 { 917 240, // GLsizei width 918 240, // GLsizei height 919 "compressed_texture/etc_RGBA1_240x240.bin" // string path 920 }, 921 { 922 120, // GLsizei width 923 120, // GLsizei height 924 "compressed_texture/etc_RGBA1_120x120.bin" // string path 925 }, 926 { 927 240, // GLsizei width 928 240, // GLsizei height 929 "compressed_texture/etc_RGBA1_240x240_ref.bin" // string path 930 }, 931 }, 932 }, 933 { 934 GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2, // GLenum target 935 { // vector<ImageData> images 936 { 937 240, // GLsizei width 938 240, // GLsizei height 939 "compressed_texture/etc_sRGBA1_240x240.bin" // string path 940 }, 941 { 942 120, // GLsizei width 943 120, // GLsizei height 944 "compressed_texture/etc_sRGBA1_120x120.bin" // string path 945 }, 946 { 947 240, // GLsizei width 948 240, // GLsizei height 949 "compressed_texture/etc_sRGBA1_240x240_ref.bin" // string path 950 }, 951 }, 952 }, 953 { 954 GL_COMPRESSED_RGBA8_ETC2_EAC, // GLenum target 955 { // vector<ImageData> images 956 { 957 240, // GLsizei width 958 240, // GLsizei height 959 "compressed_texture/etc_RGBA8_240x240.bin" // string path 960 }, 961 { 962 120, // GLsizei width 963 120, // GLsizei height 964 "compressed_texture/etc_RGBA8_120x120.bin" // string path 965 }, 966 { 967 240, // GLsizei width 968 240, // GLsizei height 969 "compressed_texture/etc_RGBA8_240x240_ref.bin" // string path 970 }, 971 }, 972 }, 973 { 974 GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC, // GLenum target 975 { // vector<ImageData> images 976 { 977 240, // GLsizei width 978 240, // GLsizei height 979 "compressed_texture/etc_sRGBA8_240x240.bin" // string path 980 }, 981 { 982 120, // GLsizei width 983 120, // GLsizei height 984 "compressed_texture/etc_sRGBA8_120x120.bin" // string path 985 }, 986 { 987 240, // GLsizei width 988 240, // GLsizei height 989 "compressed_texture/etc_sRGBA8_240x240_ref.bin" // string path 990 }, 991 }, 992 }, 993}; 994