OLD | NEW |
1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "gpu/command_buffer/service/gles2_cmd_decoder_passthrough.h" | 5 #include "gpu/command_buffer/service/gles2_cmd_decoder_passthrough.h" |
6 | 6 |
7 namespace gpu { | 7 namespace gpu { |
8 namespace gles2 { | 8 namespace gles2 { |
9 | 9 |
10 GLES2DecoderPassthroughImpl::GLES2DecoderPassthroughImpl(ContextGroup* group) | 10 GLES2DecoderPassthroughImpl::GLES2DecoderPassthroughImpl(ContextGroup* group) |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 } | 167 } |
168 | 168 |
169 gl::GLContext* GLES2DecoderPassthroughImpl::GetGLContext() { | 169 gl::GLContext* GLES2DecoderPassthroughImpl::GetGLContext() { |
170 return nullptr; | 170 return nullptr; |
171 } | 171 } |
172 | 172 |
173 gpu::gles2::ContextGroup* GLES2DecoderPassthroughImpl::GetContextGroup() { | 173 gpu::gles2::ContextGroup* GLES2DecoderPassthroughImpl::GetContextGroup() { |
174 return nullptr; | 174 return nullptr; |
175 } | 175 } |
176 | 176 |
| 177 const FeatureInfo* GLES2DecoderPassthroughImpl::GetFeatureInfo() const { |
| 178 return nullptr; |
| 179 } |
| 180 |
177 gpu::Capabilities GLES2DecoderPassthroughImpl::GetCapabilities() { | 181 gpu::Capabilities GLES2DecoderPassthroughImpl::GetCapabilities() { |
178 DCHECK(initialized()); | 182 DCHECK(initialized()); |
179 Capabilities caps; | 183 Capabilities caps; |
180 return caps; | 184 return caps; |
181 } | 185 } |
182 | 186 |
183 void GLES2DecoderPassthroughImpl::RestoreState(const ContextState* prev_state) { | 187 void GLES2DecoderPassthroughImpl::RestoreState(const ContextState* prev_state) { |
184 | 188 |
185 } | 189 } |
186 | 190 |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
378 }, /* NOLINT */ | 382 }, /* NOLINT */ |
379 | 383 |
380 const GLES2DecoderPassthroughImpl::CommandInfo | 384 const GLES2DecoderPassthroughImpl::CommandInfo |
381 GLES2DecoderPassthroughImpl::command_info[] = { | 385 GLES2DecoderPassthroughImpl::command_info[] = { |
382 GLES2_COMMAND_LIST(GLES2_CMD_OP)}; | 386 GLES2_COMMAND_LIST(GLES2_CMD_OP)}; |
383 | 387 |
384 #undef GLES2_CMD_OP | 388 #undef GLES2_CMD_OP |
385 | 389 |
386 } // namespace gles2 | 390 } // namespace gles2 |
387 } // namespace gpu | 391 } // namespace gpu |
OLD | NEW |