Flutter Engine
The Flutter Engine
GrD3DTypesPriv.h
Go to the documentation of this file.
1/*
2 * Copyright 2020 Google LLC
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
8#ifndef GrD3DTypesPriv_DEFINED
9#define GrD3DTypesPriv_DEFINED
10
12
15 : fFormat(DXGI_FORMAT_UNKNOWN)
16 , fSampleQualityPattern(DXGI_STANDARD_MULTISAMPLE_QUALITY_PATTERN) {}
17
20
21 DXGI_FORMAT fFormat;
23};
24
26 uint32_t sampleCount,
27 uint32_t levelCount,
28 skgpu::Protected isProtected);
29
30#endif
static void info(const char *fmt,...) SK_PRINTF_LIKE(1
Definition: DM.cpp:213
GrD3DSurfaceInfo GrD3DTextureResourceSpecToSurfaceInfo(const GrD3DTextureResourceSpec &d3dSpec, uint32_t sampleCount, uint32_t levelCount, skgpu::Protected isProtected)
Protected
Definition: GpuTypes.h:61
GrD3DTextureResourceSpec(const GrD3DSurfaceInfo &info)
unsigned int fSampleQualityPattern