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

Side by Side Diff: gpu/command_buffer/tests/gl_readback_unittest.cc

Issue 1965893006: Fix include path for moved thread_task_runner_handle.h header in gpu/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: Created 4 years, 7 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 <GLES2/gl2.h> 5 #include <GLES2/gl2.h>
6 #include <GLES2/gl2ext.h> 6 #include <GLES2/gl2ext.h>
7 #include <GLES2/gl2extchromium.h> 7 #include <GLES2/gl2extchromium.h>
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
11 #include <cmath> 11 #include <cmath>
12 #include <memory> 12 #include <memory>
13 13
14 #include "base/bind.h" 14 #include "base/bind.h"
15 #include "base/bit_cast.h" 15 #include "base/bit_cast.h"
16 #include "base/location.h" 16 #include "base/location.h"
17 #include "base/run_loop.h" 17 #include "base/run_loop.h"
18 #include "base/single_thread_task_runner.h" 18 #include "base/single_thread_task_runner.h"
19 #include "base/thread_task_runner_handle.h" 19 #include "base/threading/thread_task_runner_handle.h"
20 #include "gpu/command_buffer/tests/gl_manager.h" 20 #include "gpu/command_buffer/tests/gl_manager.h"
21 #include "gpu/command_buffer/tests/gl_test_utils.h" 21 #include "gpu/command_buffer/tests/gl_test_utils.h"
22 #include "testing/gmock/include/gmock/gmock.h" 22 #include "testing/gmock/include/gmock/gmock.h"
23 #include "testing/gtest/include/gtest/gtest.h" 23 #include "testing/gtest/include/gtest/gtest.h"
24 24
25 namespace gpu { 25 namespace gpu {
26 26
27 class GLReadbackTest : public testing::Test { 27 class GLReadbackTest : public testing::Test {
28 protected: 28 protected:
29 void SetUp() override { gl_.Initialize(GLManager::Options()); } 29 void SetUp() override { gl_.Initialize(GLManager::Options()); }
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 322
323 glDeleteFramebuffers(1, &framebuffer); 323 glDeleteFramebuffers(1, &framebuffer);
324 glDeleteTextures(1, &texture_id); 324 glDeleteTextures(1, &texture_id);
325 } 325 }
326 326
327 glDeleteBuffers(1, &vertex_buffer); 327 glDeleteBuffers(1, &vertex_buffer);
328 glDeleteProgram(program); 328 glDeleteProgram(program);
329 } 329 }
330 330
331 } // namespace gpu 331 } // namespace gpu
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/transfer_buffer_manager.cc ('k') | gpu/ipc/client/command_buffer_proxy_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698