Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(528)

Side by Side Diff: gpu/command_buffer/client/gles2_interface_stub.cc

Issue 1160863007: DCHECK if shader compilation fails that it's due to context loss. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: glhelperlost: gles2interface? Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/client/gles2_interface_stub.h" 5 #include "gpu/command_buffer/client/gles2_interface_stub.h"
6 6
7 namespace gpu { 7 namespace gpu {
8 namespace gles2 { 8 namespace gles2 {
9 9
10 GLES2InterfaceStub::GLES2InterfaceStub() { 10 GLES2InterfaceStub::GLES2InterfaceStub() {
11 } 11 }
12 12
13 GLES2InterfaceStub::~GLES2InterfaceStub() { 13 GLES2InterfaceStub::~GLES2InterfaceStub() {
14 } 14 }
15 15
16 // Include the auto-generated part of this class. We split this because 16 // Include the auto-generated part of this class. We split this because
17 // it means we can easily edit the non-auto generated parts right here in 17 // it means we can easily edit the non-auto generated parts right here in
18 // this file instead of having to edit some template or the code generator. 18 // this file instead of having to edit some template or the code generator.
19 #include "gpu/command_buffer/client/gles2_interface_stub_impl_autogen.h" 19 #include "gpu/command_buffer/client/gles2_interface_stub_impl_autogen.h"
20 20
21 GLboolean GLES2InterfaceStub::IsContextLost() {
22 return false;
23 }
24
21 } // namespace gles2 25 } // namespace gles2
22 } // namespace gpu 26 } // namespace gpu
23 27
24 28
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698