#include "src/gpu/ganesh/gl/GrGLAttachment.h"
#include "include/core/SkString.h"
#include "include/core/SkTraceMemoryDump.h"
#include "include/gpu/ganesh/gl/GrGLBackendSurface.h"
#include "include/gpu/ganesh/gl/GrGLFunctions.h"
#include "include/gpu/ganesh/gl/GrGLInterface.h"
#include "src/gpu/ganesh/gl/GrGLCaps.h"
#include "src/gpu/ganesh/gl/GrGLDefines.h"
#include "src/gpu/ganesh/gl/GrGLGpu.h"
#include "src/gpu/ganesh/gl/GrGLUtil.h"
#include <string>
#define GL_CALL(X) …
#define GL_ALLOC_CALL(call) …
static bool renderbuffer_storage_msaa(GrGLGpu* gpu,
int sampleCount,
GrGLenum format,
int width,
int height) { … }
sk_sp<GrGLAttachment> GrGLAttachment::MakeStencil(GrGLGpu* gpu,
SkISize dimensions,
int sampleCnt,
GrGLFormat format) { … }
sk_sp<GrGLAttachment> GrGLAttachment::MakeMSAA(GrGLGpu* gpu,
SkISize dimensions,
int sampleCnt,
GrGLFormat format) { … }
void GrGLAttachment::onRelease() { … }
void GrGLAttachment::onAbandon() { … }
GrBackendFormat GrGLAttachment::backendFormat() const { … }
void GrGLAttachment::setMemoryBacking(SkTraceMemoryDump* traceMemoryDump,
const SkString& dumpName) const { … }
void GrGLAttachment::onSetLabel() { … }