blob: 1d7c9c2f60f49317b1b9ea4f9e0b9f5ade641c04 [file] [log] [blame]
Lingfeng Yang6a283672018-11-01 13:37:56 -07001// Copyright (C) 2018 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
Lingfeng Yanga126a8a2018-11-01 18:21:40 -070014#include "VkEncoder.h"
Lingfeng Yang6a283672018-11-01 13:37:56 -070015
Lingfeng Yanga126a8a2018-11-01 18:21:40 -070016#include "IOStream.h"
17#include "VulkanStream.h"
18
19class VkEncoder::Impl {
20public:
21 Impl(IOStream* stream) : m_stream(stream) {
22
23 }
24private:
25 goldfish_vk::VulkanStream m_stream;
26};
27
28VkEncoder::VkEncoder(IOStream *stream) :
29 mImpl(new VkEncoder::Impl(stream)) { }