Flutter Impeller
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 
6 
7 #include "flutter/fml/logging.h"
8 
9 namespace impeller {
10 
12  switch (type) {
14  return "Unknown";
16  return "Texture";
18  return "Buffer";
20  return "Program";
22  return "RenderBuffer";
24  return "Framebuffer";
25  case HandleType::kFence:
26  return "Fence";
27  }
28  FML_UNREACHABLE();
29 }
30 
31 } // namespace impeller
GLenum type
std::string HandleTypeToString(HandleType type)
Definition: handle_gles.cc:11