Flutter Engine
The Flutter Engine
Public Member Functions | Public Attributes | List of all members
GrXferProcessor::ProgramImpl::EmitArgs Struct Reference

#include <GrXferProcessor.h>

Public Member Functions

 EmitArgs (GrGLSLXPFragmentBuilder *fragBuilder, GrGLSLUniformHandler *uniformHandler, const GrShaderCaps *caps, const GrXferProcessor &xp, const char *inputColor, const char *inputCoverage, const char *outputPrimary, const char *outputSecondary, const SamplerHandle dstTextureSamplerHandle, GrSurfaceOrigin dstTextureOrigin, const skgpu::Swizzle &writeSwizzle)
 

Public Attributes

GrGLSLXPFragmentBuilderfXPFragBuilder
 
GrGLSLUniformHandlerfUniformHandler
 
const GrShaderCapsfShaderCaps
 
const GrXferProcessorfXP
 
const char * fInputColor
 
const char * fInputCoverage
 
const char * fOutputPrimary
 
const char * fOutputSecondary
 
const SamplerHandle fDstTextureSamplerHandle
 
GrSurfaceOrigin fDstTextureOrigin
 
skgpu::Swizzle fWriteSwizzle
 

Detailed Description

Definition at line 288 of file GrXferProcessor.h.

Constructor & Destructor Documentation

◆ EmitArgs()

GrXferProcessor::ProgramImpl::EmitArgs::EmitArgs ( GrGLSLXPFragmentBuilder fragBuilder,
GrGLSLUniformHandler uniformHandler,
const GrShaderCaps caps,
const GrXferProcessor xp,
const char *  inputColor,
const char *  inputCoverage,
const char *  outputPrimary,
const char *  outputSecondary,
const SamplerHandle  dstTextureSamplerHandle,
GrSurfaceOrigin  dstTextureOrigin,
const skgpu::Swizzle writeSwizzle 
)
inline

Definition at line 289 of file GrXferProcessor.h.

300 : fXPFragBuilder(fragBuilder)
301 , fUniformHandler(uniformHandler)
302 , fShaderCaps(caps)
303 , fXP(xp)
304 , fInputColor(inputColor ? inputColor : "half4(1.0)")
305 , fInputCoverage(inputCoverage)
306 , fOutputPrimary(outputPrimary)
307 , fOutputSecondary(outputSecondary)
308 , fDstTextureSamplerHandle(dstTextureSamplerHandle)
309 , fDstTextureOrigin(dstTextureOrigin)
310 , fWriteSwizzle(writeSwizzle) {}
GrGLSLXPFragmentBuilder * fXPFragBuilder

Member Data Documentation

◆ fDstTextureOrigin

GrSurfaceOrigin GrXferProcessor::ProgramImpl::EmitArgs::fDstTextureOrigin

Definition at line 320 of file GrXferProcessor.h.

◆ fDstTextureSamplerHandle

const SamplerHandle GrXferProcessor::ProgramImpl::EmitArgs::fDstTextureSamplerHandle

Definition at line 319 of file GrXferProcessor.h.

◆ fInputColor

const char* GrXferProcessor::ProgramImpl::EmitArgs::fInputColor

Definition at line 315 of file GrXferProcessor.h.

◆ fInputCoverage

const char* GrXferProcessor::ProgramImpl::EmitArgs::fInputCoverage

Definition at line 316 of file GrXferProcessor.h.

◆ fOutputPrimary

const char* GrXferProcessor::ProgramImpl::EmitArgs::fOutputPrimary

Definition at line 317 of file GrXferProcessor.h.

◆ fOutputSecondary

const char* GrXferProcessor::ProgramImpl::EmitArgs::fOutputSecondary

Definition at line 318 of file GrXferProcessor.h.

◆ fShaderCaps

const GrShaderCaps* GrXferProcessor::ProgramImpl::EmitArgs::fShaderCaps

Definition at line 313 of file GrXferProcessor.h.

◆ fUniformHandler

GrGLSLUniformHandler* GrXferProcessor::ProgramImpl::EmitArgs::fUniformHandler

Definition at line 312 of file GrXferProcessor.h.

◆ fWriteSwizzle

skgpu::Swizzle GrXferProcessor::ProgramImpl::EmitArgs::fWriteSwizzle

Definition at line 321 of file GrXferProcessor.h.

◆ fXP

const GrXferProcessor& GrXferProcessor::ProgramImpl::EmitArgs::fXP

Definition at line 314 of file GrXferProcessor.h.

◆ fXPFragBuilder

GrGLSLXPFragmentBuilder* GrXferProcessor::ProgramImpl::EmitArgs::fXPFragBuilder

Definition at line 311 of file GrXferProcessor.h.


The documentation for this struct was generated from the following file: