Flutter Engine
The Flutter Engine
Public Member Functions | Public Attributes | List of all members
GrGLProgram::RenderTargetState Struct Reference

#include <GrGLProgram.h>

Public Member Functions

 RenderTargetState ()
 
void invalidate ()
 

Public Attributes

SkISize fRenderTargetSize
 
GrSurfaceOrigin fRenderTargetOrigin
 

Detailed Description

We use the RT's size and origin to adjust from Skia device space to OpenGL normalized device space and to make device space positions have the correct origin for processors that require them.

Definition at line 85 of file GrGLProgram.h.

Constructor & Destructor Documentation

◆ RenderTargetState()

GrGLProgram::RenderTargetState::RenderTargetState ( )
inline

Definition at line 89 of file GrGLProgram.h.

89{ this->invalidate(); }

Member Function Documentation

◆ invalidate()

void GrGLProgram::RenderTargetState::invalidate ( )
inline

Definition at line 90 of file GrGLProgram.h.

90 {
94 }
GrSurfaceOrigin
Definition: GrTypes.h:147
GrSurfaceOrigin fRenderTargetOrigin
Definition: GrGLProgram.h:87
int32_t fHeight
Definition: SkSize.h:18
int32_t fWidth
Definition: SkSize.h:17

Member Data Documentation

◆ fRenderTargetOrigin

GrSurfaceOrigin GrGLProgram::RenderTargetState::fRenderTargetOrigin

Definition at line 87 of file GrGLProgram.h.

◆ fRenderTargetSize

SkISize GrGLProgram::RenderTargetState::fRenderTargetSize

Definition at line 86 of file GrGLProgram.h.


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