2019-12-19 16:19:16 +00:00
|
|
|
/*
|
|
|
|
* Copyright 2019 Google Inc.
|
|
|
|
*
|
|
|
|
* Use of this source code is governed by a BSD-style license that can be
|
|
|
|
* found in the LICENSE file.
|
|
|
|
*/
|
|
|
|
|
2020-04-06 17:57:30 +00:00
|
|
|
#include "include/core/SkCanvas.h"
|
2022-04-05 16:56:01 +00:00
|
|
|
#include "include/core/SkColorSpace.h"
|
2020-07-06 14:56:46 +00:00
|
|
|
#include "include/gpu/GrDirectContext.h"
|
2020-07-20 14:56:01 +00:00
|
|
|
#include "include/gpu/GrRecordingContext.h"
|
2019-12-19 16:19:16 +00:00
|
|
|
#include "src/core/SkAutoPixmapStorage.h"
|
2020-01-27 21:11:57 +00:00
|
|
|
#include "src/core/SkCompressedDataUtils.h"
|
2020-07-14 21:16:32 +00:00
|
|
|
#include "src/core/SkMipmap.h"
|
2020-12-23 16:18:24 +00:00
|
|
|
#include "src/core/SkPaintPriv.h"
|
2022-04-07 15:20:24 +00:00
|
|
|
#include "src/gpu/ganesh/GrBackendUtils.h"
|
|
|
|
#include "src/gpu/ganesh/GrDirectContextPriv.h"
|
2019-12-19 16:19:16 +00:00
|
|
|
#include "src/image/SkImage_Base.h"
|
|
|
|
#include "tests/Test.h"
|
|
|
|
#include "tests/TestUtils.h"
|
|
|
|
#include "tools/ToolUtils.h"
|
|
|
|
|
2020-01-17 20:20:00 +00:00
|
|
|
// Just verify that 'actual' is entirely 'expected'
|
2019-12-19 16:19:16 +00:00
|
|
|
static void check_solid_pixmap(skiatest::Reporter* reporter,
|
|
|
|
const SkColor4f& expected, const SkPixmap& actual,
|
|
|
|
const char* label0, const char* label1, const char* label2) {
|
|
|
|
const float tols[4] = { 0.01f, 0.01f, 0.01f, 0.01f };
|
|
|
|
|
|
|
|
auto error = std::function<ComparePixmapsErrorReporter>(
|
|
|
|
[reporter, label0, label1, label2](int x, int y, const float diffs[4]) {
|
|
|
|
SkASSERT(x >= 0 && y >= 0);
|
|
|
|
ERRORF(reporter, "%s %s %s - mismatch at %d, %d (%f, %f, %f %f)",
|
|
|
|
label0, label1, label2, x, y,
|
|
|
|
diffs[0], diffs[1], diffs[2], diffs[3]);
|
|
|
|
});
|
|
|
|
|
|
|
|
CheckSolidPixels(expected, actual, tols, error);
|
|
|
|
}
|
|
|
|
|
2020-01-17 20:20:00 +00:00
|
|
|
// Create an SkImage to wrap 'backendTex'
|
2020-08-11 15:48:49 +00:00
|
|
|
sk_sp<SkImage> create_image(GrDirectContext* dContext, const GrBackendTexture& backendTex) {
|
2020-06-12 20:58:17 +00:00
|
|
|
SkImage::CompressionType compression =
|
|
|
|
GrBackendFormatToCompressionType(backendTex.getBackendFormat());
|
2019-12-19 16:19:16 +00:00
|
|
|
|
2020-01-27 21:11:57 +00:00
|
|
|
SkAlphaType at = SkCompressionTypeIsOpaque(compression) ? kOpaque_SkAlphaType
|
2020-01-15 17:56:52 +00:00
|
|
|
: kPremul_SkAlphaType;
|
2019-12-19 16:19:16 +00:00
|
|
|
|
2020-08-11 15:48:49 +00:00
|
|
|
return SkImage::MakeFromCompressedTexture(dContext,
|
2020-01-17 20:20:00 +00:00
|
|
|
backendTex,
|
|
|
|
kTopLeft_GrSurfaceOrigin,
|
|
|
|
at,
|
|
|
|
nullptr);
|
|
|
|
}
|
|
|
|
|
|
|
|
// Draw the compressed backend texture (wrapped in an SkImage) into an RGBA surface, attempting
|
|
|
|
// to access all the mipMap levels.
|
2020-07-20 14:56:01 +00:00
|
|
|
static void check_compressed_mipmaps(GrRecordingContext* rContext, sk_sp<SkImage> img,
|
2020-01-17 20:20:00 +00:00
|
|
|
SkImage::CompressionType compressionType,
|
|
|
|
const SkColor4f expectedColors[6],
|
2020-07-21 13:27:25 +00:00
|
|
|
GrMipmapped mipMapped,
|
2020-01-17 20:20:00 +00:00
|
|
|
skiatest::Reporter* reporter, const char* label) {
|
2019-12-19 16:19:16 +00:00
|
|
|
|
|
|
|
SkImageInfo readbackSurfaceII = SkImageInfo::Make(32, 32, kRGBA_8888_SkColorType,
|
|
|
|
kPremul_SkAlphaType);
|
|
|
|
|
2020-07-20 14:56:01 +00:00
|
|
|
sk_sp<SkSurface> surf = SkSurface::MakeRenderTarget(rContext,
|
2019-12-19 16:19:16 +00:00
|
|
|
SkBudgeted::kNo,
|
|
|
|
readbackSurfaceII, 1,
|
|
|
|
kTopLeft_GrSurfaceOrigin,
|
|
|
|
nullptr);
|
|
|
|
if (!surf) {
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
SkCanvas* canvas = surf->getCanvas();
|
|
|
|
|
2022-04-01 15:26:15 +00:00
|
|
|
// Given that we bias LOD selection with MIP maps, hitting a level exactly using
|
|
|
|
// SkMipmap::kLinear is difficult so we use kNearest.
|
2021-01-22 20:26:41 +00:00
|
|
|
const SkSamplingOptions sampling(SkFilterMode::kLinear,
|
2022-04-01 15:26:15 +00:00
|
|
|
SkMipmapMode::kNearest);
|
2019-12-19 16:19:16 +00:00
|
|
|
SkPaint p;
|
2020-01-15 17:56:52 +00:00
|
|
|
p.setBlendMode(SkBlendMode::kSrc);
|
2019-12-19 16:19:16 +00:00
|
|
|
|
|
|
|
int numMipLevels = 1;
|
2020-07-21 13:27:25 +00:00
|
|
|
if (mipMapped == GrMipmapped::kYes) {
|
2020-07-14 21:16:32 +00:00
|
|
|
numMipLevels = SkMipmap::ComputeLevelCount(32, 32)+1;
|
2019-12-19 16:19:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
for (int i = 0, rectSize = 32; i < numMipLevels; ++i, rectSize /= 2) {
|
|
|
|
SkASSERT(rectSize >= 1);
|
|
|
|
|
|
|
|
canvas->clear(SK_ColorTRANSPARENT);
|
|
|
|
|
|
|
|
SkRect r = SkRect::MakeWH(rectSize, rectSize);
|
2021-01-22 20:26:41 +00:00
|
|
|
canvas->drawImageRect(img, r, sampling, &p);
|
2019-12-19 16:19:16 +00:00
|
|
|
|
|
|
|
SkImageInfo readbackII = SkImageInfo::Make(rectSize, rectSize,
|
|
|
|
kRGBA_8888_SkColorType,
|
|
|
|
kUnpremul_SkAlphaType);
|
|
|
|
SkAutoPixmapStorage actual2;
|
|
|
|
SkAssertResult(actual2.tryAlloc(readbackII));
|
|
|
|
actual2.erase(SkColors::kTransparent);
|
|
|
|
|
|
|
|
bool result = surf->readPixels(actual2, 0, 0);
|
|
|
|
REPORTER_ASSERT(reporter, result);
|
|
|
|
|
|
|
|
SkString str;
|
|
|
|
str.appendf("mip-level %d", i);
|
|
|
|
|
|
|
|
check_solid_pixmap(reporter, expectedColors[i], actual2,
|
2020-01-17 20:20:00 +00:00
|
|
|
GrCompressionTypeToStr(compressionType), label, str.c_str());
|
2019-12-19 16:19:16 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-01-17 20:20:00 +00:00
|
|
|
// Verify that we can readback from a compressed texture
|
2020-07-20 14:56:01 +00:00
|
|
|
static void check_readback(GrDirectContext* dContext, sk_sp<SkImage> img,
|
2020-01-17 20:20:00 +00:00
|
|
|
SkImage::CompressionType compressionType,
|
|
|
|
const SkColor4f& expectedColor,
|
|
|
|
skiatest::Reporter* reporter, const char* label) {
|
2020-01-30 13:38:40 +00:00
|
|
|
#ifdef SK_BUILD_FOR_IOS
|
|
|
|
// reading back ETC2 is broken on Metal/iOS (skbug.com/9839)
|
2020-07-20 14:56:01 +00:00
|
|
|
if (dContext->backend() == GrBackendApi::kMetal) {
|
2020-01-30 13:38:40 +00:00
|
|
|
return;
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2020-01-17 20:20:00 +00:00
|
|
|
SkAutoPixmapStorage actual;
|
|
|
|
|
|
|
|
SkImageInfo readBackII = SkImageInfo::Make(img->width(), img->height(),
|
|
|
|
kRGBA_8888_SkColorType,
|
|
|
|
kUnpremul_SkAlphaType);
|
|
|
|
|
|
|
|
SkAssertResult(actual.tryAlloc(readBackII));
|
|
|
|
actual.erase(SkColors::kTransparent);
|
|
|
|
|
2020-08-27 16:44:07 +00:00
|
|
|
bool result = img->readPixels(dContext, actual, 0, 0);
|
2020-01-17 20:20:00 +00:00
|
|
|
REPORTER_ASSERT(reporter, result);
|
|
|
|
|
|
|
|
check_solid_pixmap(reporter, expectedColor, actual,
|
|
|
|
GrCompressionTypeToStr(compressionType), label, "");
|
|
|
|
}
|
|
|
|
|
|
|
|
// Test initialization of compressed GrBackendTextures to a specific color
|
2020-07-20 14:56:01 +00:00
|
|
|
static void test_compressed_color_init(GrDirectContext* dContext,
|
2020-01-17 20:20:00 +00:00
|
|
|
skiatest::Reporter* reporter,
|
2020-07-20 14:56:01 +00:00
|
|
|
std::function<GrBackendTexture (GrDirectContext*,
|
2019-12-19 16:19:16 +00:00
|
|
|
const SkColor4f&,
|
2020-07-21 13:27:25 +00:00
|
|
|
GrMipmapped)> create,
|
2020-01-17 20:20:00 +00:00
|
|
|
const SkColor4f& color,
|
|
|
|
SkImage::CompressionType compression,
|
2020-07-21 13:27:25 +00:00
|
|
|
GrMipmapped mipMapped) {
|
2020-07-20 14:56:01 +00:00
|
|
|
GrBackendTexture backendTex = create(dContext, color, mipMapped);
|
2019-12-19 16:19:16 +00:00
|
|
|
if (!backendTex.isValid()) {
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
2020-07-20 14:56:01 +00:00
|
|
|
sk_sp<SkImage> img = create_image(dContext, backendTex);
|
2020-01-17 20:20:00 +00:00
|
|
|
if (!img) {
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
2019-12-19 16:19:16 +00:00
|
|
|
SkColor4f expectedColors[6] = { color, color, color, color, color, color };
|
|
|
|
|
2020-07-20 14:56:01 +00:00
|
|
|
check_compressed_mipmaps(dContext, img, compression, expectedColors, mipMapped,
|
2020-01-17 20:20:00 +00:00
|
|
|
reporter, "colorinit");
|
2020-07-22 16:09:26 +00:00
|
|
|
check_readback(dContext, img, compression, color, reporter, "solid readback");
|
|
|
|
|
|
|
|
SkColor4f newColor;
|
|
|
|
newColor.fR = color.fB;
|
|
|
|
newColor.fG = color.fR;
|
|
|
|
newColor.fB = color.fG;
|
|
|
|
newColor.fA = color.fA;
|
|
|
|
|
|
|
|
bool result = dContext->updateCompressedBackendTexture(backendTex, newColor, nullptr, nullptr);
|
|
|
|
// Since we were able to create the compressed texture we should be able to update it.
|
|
|
|
REPORTER_ASSERT(reporter, result);
|
|
|
|
|
|
|
|
SkColor4f expectedNewColors[6] = {newColor, newColor, newColor, newColor, newColor, newColor};
|
|
|
|
|
|
|
|
check_compressed_mipmaps(dContext, img, compression, expectedNewColors, mipMapped, reporter,
|
|
|
|
"colorinit");
|
|
|
|
check_readback(dContext, std::move(img), compression, newColor, reporter, "solid readback");
|
2019-12-19 16:19:16 +00:00
|
|
|
|
2020-07-20 14:56:01 +00:00
|
|
|
dContext->deleteBackendTexture(backendTex);
|
2019-12-19 16:19:16 +00:00
|
|
|
}
|
|
|
|
|
2020-01-17 20:20:00 +00:00
|
|
|
// Create compressed data pulling the color for each mipmap level from 'levelColors'.
|
2019-12-20 14:57:41 +00:00
|
|
|
static std::unique_ptr<const char[]> make_compressed_data(SkImage::CompressionType compression,
|
|
|
|
SkColor4f levelColors[6],
|
2020-07-21 13:27:25 +00:00
|
|
|
GrMipmapped mipMapped) {
|
2019-12-19 16:19:16 +00:00
|
|
|
SkISize dimensions { 32, 32 };
|
|
|
|
|
|
|
|
int numMipLevels = 1;
|
2020-07-21 13:27:25 +00:00
|
|
|
if (mipMapped == GrMipmapped::kYes) {
|
2020-07-14 21:16:32 +00:00
|
|
|
numMipLevels = SkMipmap::ComputeLevelCount(dimensions.width(), dimensions.height()) + 1;
|
2019-12-19 16:19:16 +00:00
|
|
|
}
|
|
|
|
|
2019-12-20 14:57:41 +00:00
|
|
|
SkTArray<size_t> mipMapOffsets(numMipLevels);
|
2019-12-19 16:19:16 +00:00
|
|
|
|
2020-01-27 21:11:57 +00:00
|
|
|
size_t dataSize = SkCompressedDataSize(compression, dimensions, &mipMapOffsets,
|
2020-07-21 13:27:25 +00:00
|
|
|
mipMapped == GrMipmapped::kYes);
|
2019-12-20 14:57:41 +00:00
|
|
|
char* data = new char[dataSize];
|
|
|
|
|
|
|
|
for (int level = 0; level < numMipLevels; ++level) {
|
|
|
|
// We have to do this a level at a time bc we might have a different color for
|
|
|
|
// each level
|
|
|
|
GrFillInCompressedData(compression, dimensions,
|
2020-07-21 13:27:25 +00:00
|
|
|
GrMipmapped::kNo, &data[mipMapOffsets[level]], levelColors[level]);
|
2019-12-19 16:19:16 +00:00
|
|
|
|
2020-02-07 15:36:46 +00:00
|
|
|
dimensions = {std::max(1, dimensions.width() /2), std::max(1, dimensions.height()/2)};
|
2019-12-19 16:19:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
return std::unique_ptr<const char[]>(data);
|
|
|
|
}
|
|
|
|
|
2020-01-17 20:20:00 +00:00
|
|
|
// Verify that we can initialize a compressed backend texture with data (esp.
|
|
|
|
// the mipmap levels).
|
2020-07-20 14:56:01 +00:00
|
|
|
static void test_compressed_data_init(GrDirectContext* dContext,
|
2019-12-19 16:19:16 +00:00
|
|
|
skiatest::Reporter* reporter,
|
2020-07-20 14:56:01 +00:00
|
|
|
std::function<GrBackendTexture (GrDirectContext*,
|
2019-12-19 16:19:16 +00:00
|
|
|
const char* data,
|
|
|
|
size_t dataSize,
|
2020-07-21 13:27:25 +00:00
|
|
|
GrMipmapped)> create,
|
2019-12-20 14:57:41 +00:00
|
|
|
SkImage::CompressionType compression,
|
2020-07-21 13:27:25 +00:00
|
|
|
GrMipmapped mipMapped) {
|
2019-12-19 16:19:16 +00:00
|
|
|
|
|
|
|
SkColor4f expectedColors[6] = {
|
|
|
|
{ 1.0f, 0.0f, 0.0f, 1.0f }, // R
|
|
|
|
{ 0.0f, 1.0f, 0.0f, 1.0f }, // G
|
|
|
|
{ 0.0f, 0.0f, 1.0f, 1.0f }, // B
|
|
|
|
{ 0.0f, 1.0f, 1.0f, 1.0f }, // C
|
|
|
|
{ 1.0f, 0.0f, 1.0f, 1.0f }, // M
|
|
|
|
{ 1.0f, 1.0f, 0.0f, 1.0f }, // Y
|
|
|
|
};
|
|
|
|
|
2019-12-20 14:57:41 +00:00
|
|
|
std::unique_ptr<const char[]> data(make_compressed_data(compression, expectedColors,
|
|
|
|
mipMapped));
|
2020-01-27 21:11:57 +00:00
|
|
|
size_t dataSize = SkCompressedDataSize(compression, { 32, 32 }, nullptr,
|
2020-07-21 13:27:25 +00:00
|
|
|
mipMapped == GrMipmapped::kYes);
|
2019-12-19 16:19:16 +00:00
|
|
|
|
2020-07-20 14:56:01 +00:00
|
|
|
GrBackendTexture backendTex = create(dContext, data.get(), dataSize, mipMapped);
|
2019-12-19 16:19:16 +00:00
|
|
|
if (!backendTex.isValid()) {
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
2020-07-20 14:56:01 +00:00
|
|
|
sk_sp<SkImage> img = create_image(dContext, backendTex);
|
2020-01-17 20:20:00 +00:00
|
|
|
if (!img) {
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
2020-07-20 14:56:01 +00:00
|
|
|
check_compressed_mipmaps(dContext, img, compression, expectedColors,
|
2020-01-17 20:20:00 +00:00
|
|
|
mipMapped, reporter, "pixmap");
|
2020-07-22 16:09:26 +00:00
|
|
|
check_readback(dContext, img, compression, expectedColors[0], reporter, "data readback");
|
|
|
|
|
|
|
|
SkColor4f expectedColorsNew[6] = {
|
|
|
|
{1.0f, 1.0f, 0.0f, 1.0f}, // Y
|
|
|
|
{1.0f, 0.0f, 0.0f, 1.0f}, // R
|
|
|
|
{0.0f, 1.0f, 0.0f, 1.0f}, // G
|
|
|
|
{0.0f, 0.0f, 1.0f, 1.0f}, // B
|
|
|
|
{0.0f, 1.0f, 1.0f, 1.0f}, // C
|
|
|
|
{1.0f, 0.0f, 1.0f, 1.0f}, // M
|
|
|
|
};
|
|
|
|
|
|
|
|
std::unique_ptr<const char[]> dataNew(
|
|
|
|
make_compressed_data(compression, expectedColorsNew, mipMapped));
|
|
|
|
size_t dataNewSize =
|
|
|
|
SkCompressedDataSize(compression, {32, 32}, nullptr, mipMapped == GrMipMapped::kYes);
|
|
|
|
|
|
|
|
bool result = dContext->updateCompressedBackendTexture(backendTex, dataNew.get(), dataNewSize,
|
|
|
|
nullptr, nullptr);
|
|
|
|
// Since we were able to create the compressed texture we should be able to update it.
|
|
|
|
REPORTER_ASSERT(reporter, result);
|
|
|
|
|
|
|
|
check_compressed_mipmaps(dContext, img, compression, expectedColorsNew, mipMapped, reporter,
|
|
|
|
"pixmap");
|
|
|
|
check_readback(dContext, std::move(img), compression, expectedColorsNew[0], reporter,
|
2020-01-17 20:20:00 +00:00
|
|
|
"data readback");
|
2019-12-19 16:19:16 +00:00
|
|
|
|
2020-07-20 14:56:01 +00:00
|
|
|
dContext->deleteBackendTexture(backendTex);
|
2019-12-19 16:19:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
DEF_GPUTEST_FOR_RENDERING_CONTEXTS(CompressedBackendAllocationTest, reporter, ctxInfo) {
|
2020-07-20 14:56:01 +00:00
|
|
|
auto dContext = ctxInfo.directContext();
|
|
|
|
const GrCaps* caps = dContext->priv().caps();
|
2019-12-19 16:19:16 +00:00
|
|
|
|
|
|
|
struct {
|
|
|
|
SkImage::CompressionType fCompression;
|
|
|
|
SkColor4f fColor;
|
|
|
|
} combinations[] = {
|
2020-01-13 18:02:26 +00:00
|
|
|
{ SkImage::CompressionType::kETC2_RGB8_UNORM, SkColors::kRed },
|
2020-01-17 20:20:00 +00:00
|
|
|
{ SkImage::CompressionType::kBC1_RGB8_UNORM, SkColors::kBlue },
|
2020-01-15 17:56:52 +00:00
|
|
|
{ SkImage::CompressionType::kBC1_RGBA8_UNORM, SkColors::kTransparent },
|
2019-12-19 16:19:16 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
for (auto combo : combinations) {
|
2020-07-20 14:56:01 +00:00
|
|
|
GrBackendFormat format = dContext->compressedBackendFormat(combo.fCompression);
|
2019-12-19 16:19:16 +00:00
|
|
|
if (!format.isValid()) {
|
|
|
|
continue;
|
|
|
|
}
|
|
|
|
|
2021-08-13 20:20:18 +00:00
|
|
|
if (!caps->isFormatTexturable(format, GrTextureType::k2D)) {
|
2019-12-19 16:19:16 +00:00
|
|
|
continue;
|
|
|
|
}
|
|
|
|
|
2020-07-21 13:27:25 +00:00
|
|
|
for (auto mipMapped : { GrMipmapped::kNo, GrMipmapped::kYes }) {
|
2020-07-21 14:49:25 +00:00
|
|
|
if (GrMipmapped::kYes == mipMapped && !caps->mipmapSupport()) {
|
2019-12-19 16:19:16 +00:00
|
|
|
continue;
|
|
|
|
}
|
|
|
|
|
|
|
|
// color initialized
|
|
|
|
{
|
2020-07-20 14:56:01 +00:00
|
|
|
auto createWithColorMtd = [format](GrDirectContext* dContext,
|
2019-12-19 16:19:16 +00:00
|
|
|
const SkColor4f& color,
|
2020-07-21 13:27:25 +00:00
|
|
|
GrMipmapped mipMapped) {
|
2020-07-20 14:56:01 +00:00
|
|
|
return dContext->createCompressedBackendTexture(32, 32, format, color,
|
|
|
|
mipMapped, GrProtected::kNo);
|
2019-12-19 16:19:16 +00:00
|
|
|
};
|
|
|
|
|
2020-07-20 14:56:01 +00:00
|
|
|
test_compressed_color_init(dContext, reporter, createWithColorMtd,
|
2020-01-17 20:20:00 +00:00
|
|
|
combo.fColor, combo.fCompression, mipMapped);
|
2019-12-19 16:19:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// data initialized
|
|
|
|
{
|
2020-07-20 14:56:01 +00:00
|
|
|
auto createWithDataMtd = [format](GrDirectContext* dContext,
|
2019-12-19 16:19:16 +00:00
|
|
|
const char* data, size_t dataSize,
|
2020-07-21 13:27:25 +00:00
|
|
|
GrMipmapped mipMapped) {
|
2020-07-20 14:56:01 +00:00
|
|
|
return dContext->createCompressedBackendTexture(32, 32, format, data, dataSize,
|
|
|
|
mipMapped, GrProtected::kNo);
|
2019-12-19 16:19:16 +00:00
|
|
|
};
|
|
|
|
|
2020-07-20 14:56:01 +00:00
|
|
|
test_compressed_data_init(dContext, reporter, createWithDataMtd,
|
2019-12-20 14:57:41 +00:00
|
|
|
combo.fCompression, mipMapped);
|
2019-12-19 16:19:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|