#include <GrProgramInfo.h>
Definition at line 17 of file GrProgramInfo.h.
◆ GrProgramInfo()
Definition at line 15 of file GrProgramInfo.cpp.
26 , fOrigin(targetView.
origin())
27 , fTargetHasVkResolveAttachmentWithInput(
37 , fRenderPassXferBarriers(renderPassXferBarriers)
40 fNumSamples = fTargetsNumSamples;
41 if (fNumSamples == 1 && usesMSAASurface) {
43 }
45}
SkDEBUGCODE(SK_SPI) SkThreadID SkGetThreadID()
int internalMultisampleCount(const GrBackendFormat &format) const
GrPrimitiveType primitiveType() const
const GrPipeline & pipeline() const
const GrGeometryProcessor & geomProc() const
const GrUserStencilSettings * userStencilSettings() const
GrLoadOp colorLoadOp() const
const GrBackendFormat & backendFormat() const
bool supportsVkInputAttachment() const
GrTextureProxy * asTextureProxy() const
GrSurfaceOrigin origin() const
GrSurfaceProxy * proxy() const
GrRenderTargetProxy * asRenderTargetProxy() const
const GrBackendFormat & backendFormat() const
◆ backendFormat()
◆ colorLoadOp()
GrLoadOp GrProgramInfo::colorLoadOp |
( |
| ) |
const |
|
inline |
◆ geomProc()
◆ isStencilEnabled()
bool GrProgramInfo::isStencilEnabled |
( |
| ) |
const |
|
inline |
Definition at line 31 of file GrProgramInfo.h.
31 {
34 }
bool hasStencilClip() const
static const GrUserStencilSettings & kUnused
◆ needsStencil()
int GrProgramInfo::needsStencil |
( |
| ) |
const |
|
inline |
◆ nonGLStencilSettings()
Definition at line 47 of file GrProgramInfo.cpp.
47 {
49
51 stencil.
reset(*fUserStencilSettings, this->
pipeline().hasStencilClip(), 8);
52 }
53
54 return stencil;
55}
bool isStencilEnabled() const
void reset(const GrUserStencilSettings &, bool hasStencilClip, int numStencilBits)
◆ numSamples()
int GrProgramInfo::numSamples |
( |
| ) |
const |
|
inline |
◆ origin()
◆ pipeline()
const GrPipeline & GrProgramInfo::pipeline |
( |
| ) |
const |
|
inline |
◆ primitiveType()
◆ primitiveTypeKey()
uint16_t GrProgramInfo::primitiveTypeKey |
( |
| ) |
const |
|
inline |
Definition at line 54 of file GrProgramInfo.h.
54 {
55 return (uint16_t) fPrimitiveType;
56 }
◆ renderPassBarriers()
◆ targetHasVkResolveAttachmentWithInput()
bool GrProgramInfo::targetHasVkResolveAttachmentWithInput |
( |
| ) |
const |
|
inline |
Definition at line 44 of file GrProgramInfo.h.
44 {
45 return fTargetHasVkResolveAttachmentWithInput;
46 }
◆ targetsNumSamples()
int GrProgramInfo::targetsNumSamples |
( |
| ) |
const |
|
inline |
◆ userStencilSettings()
◆ visitFPProxies()
Definition at line 64 of file GrProgramInfo.h.
void visitProxies(const GrVisitProxyFunc &) const
The documentation for this class was generated from the following files: