Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
impeller
renderer
backend
gles
handle_gles.cc
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
#include "
impeller/renderer/backend/gles/handle_gles.h
"
6
7
#include "flutter/fml/logging.h"
8
9
namespace
impeller
{
10
11
std::string
HandleTypeToString
(
HandleType
type
) {
12
switch
(
type
) {
13
case
HandleType::kUnknown
:
14
return
"Unknown"
;
15
case
HandleType::kTexture
:
16
return
"Texture"
;
17
case
HandleType::kBuffer
:
18
return
"Buffer"
;
19
case
HandleType::kProgram
:
20
return
"Program"
;
21
case
HandleType::kRenderBuffer
:
22
return
"RenderBuffer"
;
23
case
HandleType::kFrameBuffer
:
24
return
"Framebuffer"
;
25
}
26
FML_UNREACHABLE
();
27
}
28
29
}
// namespace impeller
type
uint8_t type
Definition
fl_standard_message_codec_test.cc:1115
FML_UNREACHABLE
#define FML_UNREACHABLE()
Definition
logging.h:109
handle_gles.h
impeller
Definition
texture.h:18
impeller::HandleTypeToString
std::string HandleTypeToString(HandleType type)
Definition
handle_gles.cc:11
impeller::HandleType
HandleType
Definition
handle_gles.h:22
impeller::HandleType::kBuffer
@ kBuffer
impeller::HandleType::kProgram
@ kProgram
impeller::HandleType::kTexture
@ kTexture
impeller::HandleType::kUnknown
@ kUnknown
impeller::HandleType::kRenderBuffer
@ kRenderBuffer
impeller::HandleType::kFrameBuffer
@ kFrameBuffer
Generated on Fri Apr 26 2024 06:14:11 for Flutter Engine by
1.9.8