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

Side by Side Diff: cc/resources/video_resource_updater_unittest.cc

Issue 2354903003: Don't include the tracing in gpu_memory_buffer.h (Closed)
Patch Set: Fix linux build again Created 4 years, 2 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
« no previous file with comments | « cc/resources/resource_provider.cc ('k') | cc/test/test_in_process_context_provider.h » ('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 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/resources/video_resource_updater.h" 5 #include "cc/resources/video_resource_updater.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/bind.h"
10 #include "base/memory/ptr_util.h" 11 #include "base/memory/ptr_util.h"
11 #include "cc/resources/resource_provider.h" 12 #include "cc/resources/resource_provider.h"
12 #include "cc/test/fake_output_surface.h" 13 #include "cc/test/fake_output_surface.h"
13 #include "cc/test/fake_output_surface_client.h" 14 #include "cc/test/fake_output_surface_client.h"
14 #include "cc/test/fake_resource_provider.h" 15 #include "cc/test/fake_resource_provider.h"
15 #include "cc/test/test_shared_bitmap_manager.h" 16 #include "cc/test/test_shared_bitmap_manager.h"
16 #include "cc/test/test_web_graphics_context_3d.h" 17 #include "cc/test/test_web_graphics_context_3d.h"
17 #include "cc/trees/blocking_task_runner.h" 18 #include "cc/trees/blocking_task_runner.h"
18 #include "gpu/GLES2/gl2extchromium.h" 19 #include "gpu/GLES2/gl2extchromium.h"
19 #include "media/base/video_frame.h" 20 #include "media/base/video_frame.h"
(...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after
498 // The texture copy path requires the use of CopyTextureCHROMIUM, which 499 // The texture copy path requires the use of CopyTextureCHROMIUM, which
499 // enforces that the target texture not be immutable, as it may need 500 // enforces that the target texture not be immutable, as it may need
500 // to alter the storage of the texture. Therefore, this test asserts 501 // to alter the storage of the texture. Therefore, this test asserts
501 // that an immutable texture wasn't created by glTexStorage2DEXT, when 502 // that an immutable texture wasn't created by glTexStorage2DEXT, when
502 // that extension is supported. 503 // that extension is supported.
503 EXPECT_FALSE(context3d_->WasImmutableTextureCreated()); 504 EXPECT_FALSE(context3d_->WasImmutableTextureCreated());
504 } 505 }
505 506
506 } // namespace 507 } // namespace
507 } // namespace cc 508 } // namespace cc
OLDNEW
« no previous file with comments | « cc/resources/resource_provider.cc ('k') | cc/test/test_in_process_context_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698