Flutter Engine
flutter::GLContextDefaultResult Class Reference

#include <gl_context_switch.h>

Inheritance diagram for flutter::GLContextDefaultResult:
flutter::GLContextResult

Public Member Functions

 GLContextDefaultResult (bool static_result)
 
 ~GLContextDefaultResult () override
 
 FML_DISALLOW_COPY_AND_ASSIGN (GLContextDefaultResult)
 
- Public Member Functions inherited from flutter::GLContextResult
 GLContextResult ()
 
virtual ~GLContextResult ()
 
bool GetResult ()
 

Additional Inherited Members

- Protected Member Functions inherited from flutter::GLContextResult
 GLContextResult (bool static_result)
 
 FML_DISALLOW_COPY_AND_ASSIGN (GLContextResult)
 
- Protected Attributes inherited from flutter::GLContextResult
bool result_
 

Detailed Description

The default implementation of |GLContextResult|.

Use this class on platforms that doesn't require gl context switching.

  • See also |GLContextSwitch| if the platform requires gl context switching.

Definition at line 71 of file gl_context_switch.h.

Constructor & Destructor Documentation

◆ GLContextDefaultResult()

flutter::GLContextDefaultResult::GLContextDefaultResult ( bool  static_result)

Constructs a |GLContextDefaultResult| with a static result.

Used this on platforms that doesn't require gl context switching. (For example, metal on iOS)

Parameters
static_resulta static value that will be returned from |GetResult|

Definition at line 23 of file gl_context_switch.cc.

References ~GLContextDefaultResult().

24  : GLContextResult(static_result){};

◆ ~GLContextDefaultResult()

flutter::GLContextDefaultResult::~GLContextDefaultResult ( )
overridedefault

Referenced by GLContextDefaultResult().

Member Function Documentation

◆ FML_DISALLOW_COPY_AND_ASSIGN()

flutter::GLContextDefaultResult::FML_DISALLOW_COPY_AND_ASSIGN ( GLContextDefaultResult  )

The documentation for this class was generated from the following files: