Flutter Impeller
sampler_library_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 "flutter/fml/macros.h"
8
#include "
impeller/core/sampler_descriptor.h
"
9
#include "
impeller/renderer/sampler_library.h
"
10
11
namespace
impeller
{
12
13
class
SamplerLibraryGLES
final :
public
SamplerLibrary
{
14
public
:
15
// |SamplerLibrary|
16
~SamplerLibraryGLES
()
override
;
17
18
private
:
19
friend
class
ContextGLES
;
20
21
SamplerMap
samplers_;
22
23
SamplerLibraryGLES
();
24
25
// |SamplerLibrary|
26
std::shared_ptr<const Sampler> GetSampler(
27
SamplerDescriptor
descriptor)
override
;
28
29
FML_DISALLOW_COPY_AND_ASSIGN(
SamplerLibraryGLES
);
30
};
31
32
}
// namespace impeller
sampler_library.h
impeller::ContextGLES
Definition:
context_gles.h:20
impeller::SamplerDescriptor
Definition:
sampler_descriptor.h:18
impeller::SamplerLibraryGLES
Definition:
sampler_library_gles.h:13
impeller::SamplerMap
std::unordered_map< SamplerDescriptor, std::shared_ptr< const Sampler >, ComparableHash< SamplerDescriptor >, ComparableEqual< SamplerDescriptor > > SamplerMap
Definition:
sampler_descriptor.h:56
sampler_descriptor.h
impeller::SamplerLibraryGLES::~SamplerLibraryGLES
~SamplerLibraryGLES() override
impeller::SamplerLibrary
Definition:
sampler_library.h:14
impeller
Definition:
aiks_context.cc:10
impeller
renderer
backend
gles
sampler_library_gles.h
Generated by
1.8.17