Flutter Impeller
description_gles.h
Go to the documentation of this file.
1
// Copyright 2013 The Flutter Authors. All rights reserved.
2
// Use of this source code is governed by a BSD-style license that can be
3
// found in the LICENSE file.
4
5
#pragma once
6
7
#include <set>
8
#include <string>
9
10
#include "flutter/fml/macros.h"
11
#include "
impeller/base/version.h
"
12
13
namespace
impeller
{
14
15
class
ProcTableGLES;
16
17
class
DescriptionGLES
{
18
public
:
19
DescriptionGLES
(
const
ProcTableGLES
& gl);
20
21
~DescriptionGLES
();
22
23
bool
IsValid
()
const
;
24
25
bool
IsES
()
const
;
26
27
std::string
GetString
()
const
;
28
29
bool
HasExtension
(
const
std::string& ext)
const
;
30
31
bool
HasDebugExtension
()
const
;
32
33
private
:
34
Version
gl_version_;
35
Version
sl_version_;
36
bool
is_es_ =
true
;
37
std::string vendor_;
38
std::string renderer_;
39
std::string gl_version_string_;
40
std::string sl_version_string_;
41
std::set<std::string> extensions_;
42
bool
is_valid_ =
false
;
43
44
FML_DISALLOW_COPY_AND_ASSIGN(
DescriptionGLES
);
45
};
46
47
}
// namespace impeller
impeller::DescriptionGLES::IsES
bool IsES() const
Definition:
description_gles.cc:159
impeller::DescriptionGLES::DescriptionGLES
DescriptionGLES(const ProcTableGLES &gl)
Definition:
description_gles.cc:78
version.h
impeller::Version
Definition:
version.h:15
impeller::DescriptionGLES
Definition:
description_gles.h:17
impeller::DescriptionGLES::IsValid
bool IsValid() const
Definition:
description_gles.cc:120
impeller::ProcTableGLES
Definition:
proc_table_gles.h:188
impeller::DescriptionGLES::GetString
std::string GetString() const
Definition:
description_gles.cc:124
impeller::DescriptionGLES::~DescriptionGLES
~DescriptionGLES()
impeller::DescriptionGLES::HasDebugExtension
bool HasDebugExtension() const
Definition:
description_gles.cc:167
impeller::DescriptionGLES::HasExtension
bool HasExtension(const std::string &ext) const
Definition:
description_gles.cc:163
impeller
Definition:
aiks_context.cc:10
impeller
renderer
backend
gles
description_gles.h
Generated by
1.8.17