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

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

Issue 399313006: Move bit_cast from base/macros.h to its own header (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix chromeos compile after r368203 Created 4 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « courgette/difference_estimator.cc ('k') | media/cdm/ppapi/ppapi_cdm_adapter.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 12
13 #include "base/bind.h" 13 #include "base/bind.h"
14 #include "base/bit_cast.h"
14 #include "base/location.h" 15 #include "base/location.h"
15 #include "base/run_loop.h" 16 #include "base/run_loop.h"
16 #include "base/single_thread_task_runner.h" 17 #include "base/single_thread_task_runner.h"
17 #include "base/thread_task_runner_handle.h" 18 #include "base/thread_task_runner_handle.h"
18 #include "gpu/command_buffer/tests/gl_manager.h" 19 #include "gpu/command_buffer/tests/gl_manager.h"
19 #include "gpu/command_buffer/tests/gl_test_utils.h" 20 #include "gpu/command_buffer/tests/gl_test_utils.h"
20 #include "testing/gmock/include/gmock/gmock.h" 21 #include "testing/gmock/include/gmock/gmock.h"
21 #include "testing/gtest/include/gtest/gtest.h" 22 #include "testing/gtest/include/gtest/gtest.h"
22 23
23 namespace gpu { 24 namespace gpu {
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 312
312 glDeleteFramebuffers(1, &framebuffer); 313 glDeleteFramebuffers(1, &framebuffer);
313 glDeleteTextures(1, &texture_id); 314 glDeleteTextures(1, &texture_id);
314 } 315 }
315 316
316 glDeleteBuffers(1, &vertex_buffer); 317 glDeleteBuffers(1, &vertex_buffer);
317 glDeleteProgram(program); 318 glDeleteProgram(program);
318 } 319 }
319 320
320 } // namespace gpu 321 } // namespace gpu
OLDNEW
« no previous file with comments | « courgette/difference_estimator.cc ('k') | media/cdm/ppapi/ppapi_cdm_adapter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698