HomeSort by relevance Sort by last modified time
    Searched refs:mipLevelCount (Results 1 - 25 of 42) sorted by null

1 2

  /external/skia/src/gpu/mtl/
GrMtlGpu.mm 110 const GrMipLevel texels[], int mipLevelCount) {
111 int mipLevels = !mipLevelCount ? 1 : mipLevelCount;
138 if (mipLevelCount) {
  /external/skqp/src/gpu/mtl/
GrMtlGpu.mm 110 const GrMipLevel texels[], int mipLevelCount) {
111 int mipLevels = !mipLevelCount ? 1 : mipLevelCount;
138 if (mipLevelCount) {
GrMtlGpu.h 87 const GrMipLevel texels[], int mipLevelCount) override;
123 const GrMipLevel texels[], int mipLevelCount) override {
  /external/skia/tools/fiddle/
fiddle_main.cpp 155 int mipLevelCount = GrMipMapped::kYes == options.fMipMapping
158 std::unique_ptr<GrMipLevel[]> texels(new GrMipLevel[mipLevelCount]);
163 for (int i = 1; i < mipLevelCount; i++) {
169 texels.get(), mipLevelCount,
213 int mipLevelCount = GrMipMapped::kYes == options.fOffScreenMipMapping
216 std::unique_ptr<GrMipLevel[]> texels(new GrMipLevel[mipLevelCount]);
221 for (int i = 1; i < mipLevelCount; i++) {
228 texels.get(), mipLevelCount,
  /external/skqp/tools/fiddle/
fiddle_main.cpp 155 int mipLevelCount = GrMipMapped::kYes == options.fMipMapping
158 std::unique_ptr<GrMipLevel[]> texels(new GrMipLevel[mipLevelCount]);
163 for (int i = 1; i < mipLevelCount; i++) {
169 texels.get(), mipLevelCount,
213 int mipLevelCount = GrMipMapped::kYes == options.fOffScreenMipMapping
216 std::unique_ptr<GrMipLevel[]> texels(new GrMipLevel[mipLevelCount]);
221 for (int i = 1; i < mipLevelCount; i++) {
228 texels.get(), mipLevelCount,
  /external/skqp/src/gpu/
GrGpu.cpp 83 * @param mipLevelCount The number of GrMipLevels in 'texels'
87 const GrMipLevel texels[], int mipLevelCount) {
92 if (GrPixelConfigIsSint(desc.fConfig) && mipLevelCount > 1) {
126 const GrMipLevel texels[], int mipLevelCount) {
133 texels, mipLevelCount);
147 if (mipLevelCount && (desc.fFlags & kPerformInitialClear_GrSurfaceFlag)) {
152 sk_sp<GrTexture> tex = this->onCreateTexture(desc, budgeted, texels, mipLevelCount);
158 if (mipLevelCount) {
345 GrPixelConfig config, const GrMipLevel texels[], int mipLevelCount) {
347 if (1 == mipLevelCount) {
    [all...]
SkGr.cpp 137 const int mipLevelCount = mipmaps->countLevels() + 1;
138 if (mipLevelCount < 1) {
142 std::unique_ptr<GrMipLevel[]> texels(new GrMipLevel[mipLevelCount]);
147 for (int i = 1; i < mipLevelCount; ++i) {
154 return proxyProvider->createMipMapProxy(desc, SkBudgeted::kYes, texels.get(), mipLevelCount,
191 int mipLevelCount,
200 texels, mipLevelCount, colorMode);
GrGpu.h 103 * @param mipLevelCount the number of levels in 'texels'
107 const GrMipLevel texels[], int mipLevelCount);
265 * @param mipLevelCount number of levels in 'texels'
270 const GrMipLevel texels[], int mipLevelCount);
555 int mipLevelCount) = 0;
594 const GrMipLevel texels[], int mipLevelCount) = 0;
GrProxyProvider.h 95 * @param mipLevelCount The amount of elements in the texels array
98 const GrMipLevel texels[], int mipLevelCount,
  /external/skqp/src/gpu/mock/
GrMockGpu.cpp 68 const GrMipLevel texels[], int mipLevelCount) {
69 GrMipMapsStatus mipMapsStatus = mipLevelCount > 1 ? GrMipMapsStatus::kValid
GrMockGpu.h 74 const GrMipLevel texels[], int mipLevelCount) override;
109 const GrMipLevel texels[], int mipLevelCount) override {
  /external/skia/tests/
MipMapTest.cpp 65 const int mipLevelCount = mm->countLevels();
66 REPORTER_ASSERT(reporter, mipLevelCount == expectedMipLevelCount);
67 REPORTER_ASSERT(reporter, mipLevelCount == SkMipMap::ComputeLevelCount(width, height));
68 for (int i = 0; i < mipLevelCount; ++i) {
  /external/skqp/src/gpu/ddl/
GrDDLGpu.cpp 41 const GrMipLevel texels[], int mipLevelCount) {
GrDDLGpu.h 103 const GrMipLevel texels[], int mipLevelCount) override;
143 const GrMipLevel texels[], int mipLevelCount) override {
  /external/skqp/tests/
MipMapTest.cpp 65 const int mipLevelCount = mm->countLevels();
66 REPORTER_ASSERT(reporter, mipLevelCount == expectedMipLevelCount);
67 REPORTER_ASSERT(reporter, mipLevelCount == SkMipMap::ComputeLevelCount(width, height));
68 for (int i = 0; i < mipLevelCount; ++i) {
  /external/skia/src/gpu/
GrGpu.cpp 76 const GrMipLevel texels[], int mipLevelCount) {
80 GrMipMapped mipMapped = mipLevelCount > 1 ? GrMipMapped::kYes : GrMipMapped::kNo;
92 if (mipLevelCount && (desc.fFlags & kPerformInitialClear_GrSurfaceFlag)) {
97 sk_sp<GrTexture> tex = this->onCreateTexture(desc, budgeted, texels, mipLevelCount);
103 if (mipLevelCount) {
380 int mipLevelCount) {
382 if (1 == mipLevelCount) {
394 for (int currentMipLevel = 0; currentMipLevel < mipLevelCount; currentMipLevel++) {
402 mipLevelCount)) {
404 this->didWriteToSurface(surface, origin, &rect, mipLevelCount);
    [all...]
GrGpu.h 103 * @param mipLevelCount the number of levels in 'texels'
107 const GrMipLevel texels[], int mipLevelCount);
286 * @param mipLevelCount number of levels in 'texels'
290 int mipLevelCount);
548 int mipLevelCount) = 0;
579 int mipLevelCount) = 0;
GrResourceProvider.cpp 65 const GrMipLevel texels[], int mipLevelCount,
69 SkASSERT(mipLevelCount > 0);
75 GrMipMapped mipMapped = mipLevelCount > 1 ? GrMipMapped::kYes : GrMipMapped::kNo;
80 sk_sp<GrTexture> tex(fGpu->createTexture(desc, budgeted, texels, mipLevelCount));
  /external/skia/src/gpu/mock/
GrMockGpu.cpp 68 const GrMipLevel texels[], int mipLevelCount) {
69 GrMipMapsStatus mipMapsStatus = mipLevelCount > 1 ? GrMipMapsStatus::kValid
GrMockGpu.h 59 const GrMipLevel texels[], int mipLevelCount) override;
100 int mipLevelCount) override {
  /external/skia/src/gpu/vk/
GrVkGpu.h 168 const GrMipLevel texels[], int mipLevelCount) override;
193 int mipLevelCount) override;
237 const GrMipLevel texels[], int mipLevelCount);
GrVkGpu.cpp 389 const GrMipLevel texels[], int mipLevelCount) {
396 if (!mipLevelCount || !texels[0].fPixels) {
403 if (mipLevelCount > 1) {
420 if (mipLevelCount > currentMipLevels) {
421 if (!vkTex->reallocForMipmap(this, mipLevelCount)) {
426 texels, mipLevelCount);
626 const GrMipLevel texels[], int mipLevelCount) {
629 SkASSERT(1 == mipLevelCount ||
634 SkASSERT(1 == mipLevelCount || mipLevelCount == (tex->texturePriv().maxMipMapLevel() + 1))
    [all...]
  /external/skqp/gm/
deferredtextureimage.cpp 92 int mipLevelCount = SkMipMap::ComputeLevelCount(image->width(), image->height());
116 for (int i = 0; i < mipLevelCount; i++) {
136 for (int i = 0; i < mipLevelCount; i++) {
  /external/skqp/src/gpu/vk/
GrVkGpu.cpp 387 const GrMipLevel texels[], int mipLevelCount) {
394 if (!mipLevelCount || !texels[0].fPixels) {
406 if (mipLevelCount > 1) {
423 if (mipLevelCount > currentMipLevels) {
424 if (!vkTex->reallocForMipmap(this, mipLevelCount)) {
429 texels, mipLevelCount);
652 const GrMipLevel texels[], int mipLevelCount) {
655 SkASSERT(1 == mipLevelCount ||
660 SkASSERT(1 == mipLevelCount || mipLevelCount == (tex->texturePriv().maxMipMapLevel() + 1))
    [all...]
GrVkGpu.h 184 const GrMipLevel texels[], int mipLevelCount) override;
206 GrPixelConfig config, const GrMipLevel texels[], int mipLevelCount) override;
255 const GrMipLevel texels[], int mipLevelCount);

Completed in 633 milliseconds

1 2