Flutter Engine
The Flutter Engine
|
#include "src/gpu/ganesh/mtl/GrMtlGpu.h"
#include "include/core/SkColorSpace.h"
#include "include/core/SkTextureCompressionType.h"
#include "include/gpu/GpuTypes.h"
#include "include/gpu/ganesh/mtl/GrMtlBackendSemaphore.h"
#include "include/gpu/ganesh/mtl/GrMtlBackendSurface.h"
#include "include/private/gpu/ganesh/GrTypesPriv.h"
#include "src/base/SkMathPriv.h"
#include "src/base/SkRectMemcpy.h"
#include "src/core/SkCompressedDataUtils.h"
#include "src/core/SkMipmap.h"
#include "src/gpu/DataUtils.h"
#include "src/gpu/ganesh/GrBackendUtils.h"
#include "src/gpu/ganesh/GrDataUtils.h"
#include "src/gpu/ganesh/GrDirectContextPriv.h"
#include "src/gpu/ganesh/GrImageInfo.h"
#include "src/gpu/ganesh/GrPixmap.h"
#include "src/gpu/ganesh/GrRenderTarget.h"
#include "src/gpu/ganesh/GrResourceProvider.h"
#include "src/gpu/ganesh/GrTexture.h"
#include "src/gpu/ganesh/GrThreadSafePipelineBuilder.h"
#include "src/gpu/ganesh/mtl/GrMtlBuffer.h"
#include "src/gpu/ganesh/mtl/GrMtlCommandBuffer.h"
#include "src/gpu/ganesh/mtl/GrMtlOpsRenderPass.h"
#include "src/gpu/ganesh/mtl/GrMtlPipelineStateBuilder.h"
#include "src/gpu/ganesh/mtl/GrMtlRenderCommandEncoder.h"
#include "src/gpu/ganesh/mtl/GrMtlSemaphore.h"
#include "src/gpu/ganesh/mtl/GrMtlTexture.h"
#include "src/gpu/ganesh/mtl/GrMtlTextureRenderTarget.h"
#include "src/gpu/ganesh/mtl/GrMtlUtil.h"
#include "src/gpu/mtl/MtlUtilsPriv.h"
#import <simd/simd.h>
Go to the source code of this file.
Functions | |
static bool | check_max_blit_width (int widthInPixels) |
static id< MTLTexture > | get_texture_from_backend (const GrBackendTexture &backendTex) |
static id< MTLTexture > | get_texture_from_backend (const GrBackendRenderTarget &backendRT) |
static GrColorType | mtl_format_to_backend_tex_clear_colortype (MTLPixelFormat format) |
void | copy_src_data (char *dst, size_t bytesPerPixel, const TArray< size_t > &individualMipOffsets, const GrPixmap srcData[], int numMipLevels, size_t bufferSize) |
Variables | |
static const int | kDefaultOutstandingAllocCnt = 8 |
|
static |
Definition at line 311 of file GrMtlGpu.mm.
void copy_src_data | ( | char * | dst, |
size_t | bytesPerPixel, | ||
const TArray< size_t > & | individualMipOffsets, | ||
const GrPixmap | srcData[], | ||
int | numMipLevels, | ||
size_t | bufferSize | ||
) |
Definition at line 859 of file GrMtlGpu.mm.
|
static |
Definition at line 721 of file GrMtlGpu.mm.
|
static |
Definition at line 713 of file GrMtlGpu.mm.
|
static |
Definition at line 834 of file GrMtlGpu.mm.
|
static |
Definition at line 87 of file GrMtlGpu.mm.