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

Side by Side Diff: cc/test/test_context_support.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: . 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "cc/test/test_context_support.h" 5 #include "cc/test/test_context_support.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/location.h" 8 #include "base/location.h"
9 #include "base/single_thread_task_runner.h" 9 #include "base/single_thread_task_runner.h"
10 #include "base/thread_task_runner_handle.h" 10 #include "base/thread_task_runner_handle.h"
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 const gfx::RectF& uv_rect) { 80 const gfx::RectF& uv_rect) {
81 if (!schedule_overlay_plane_callback_.is_null()) { 81 if (!schedule_overlay_plane_callback_.is_null()) {
82 schedule_overlay_plane_callback_.Run(plane_z_order, 82 schedule_overlay_plane_callback_.Run(plane_z_order,
83 plane_transform, 83 plane_transform,
84 overlay_texture_id, 84 overlay_texture_id,
85 display_bounds, 85 display_bounds,
86 uv_rect); 86 uv_rect);
87 } 87 }
88 } 88 }
89 89
90 bool TestContextSupport::IsContextLost() {
91 return false;
92 }
93
90 } // namespace cc 94 } // namespace cc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698