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

Side by Side Diff: content/renderer/render_thread_impl_browsertest.cc

Issue 2648633005: cros: Support YUYV format for GPU memory buffer video frames
Patch Set: Created 3 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
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 "content/renderer/render_thread_impl.h" 5 #include "content/renderer/render_thread_impl.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 #include <utility> 9 #include <utility>
10 10
(...skipping 20 matching lines...) Expand all
31 #include "content/public/renderer/content_renderer_client.h" 31 #include "content/public/renderer/content_renderer_client.h"
32 #include "content/public/test/content_browser_test.h" 32 #include "content/public/test/content_browser_test.h"
33 #include "content/public/test/content_browser_test_utils.h" 33 #include "content/public/test/content_browser_test_utils.h"
34 #include "content/public/test/test_browser_thread_bundle.h" 34 #include "content/public/test/test_browser_thread_bundle.h"
35 #include "content/public/test/test_content_client_initializer.h" 35 #include "content/public/test/test_content_client_initializer.h"
36 #include "content/public/test/test_service_manager_context.h" 36 #include "content/public/test/test_service_manager_context.h"
37 #include "content/renderer/render_process_impl.h" 37 #include "content/renderer/render_process_impl.h"
38 #include "content/test/mock_render_process.h" 38 #include "content/test/mock_render_process.h"
39 #include "gpu/GLES2/gl2extchromium.h" 39 #include "gpu/GLES2/gl2extchromium.h"
40 #include "gpu/command_buffer/client/gpu_memory_buffer_manager.h" 40 #include "gpu/command_buffer/client/gpu_memory_buffer_manager.h"
41 #include "gpu/ipc/host/gpu_switches.h" 41 #include "gpu/ipc/common/gpu_switches.h"
42 #include "ipc/ipc.mojom.h" 42 #include "ipc/ipc.mojom.h"
43 #include "ipc/ipc_channel_mojo.h" 43 #include "ipc/ipc_channel_mojo.h"
44 #include "mojo/edk/embedder/embedder.h" 44 #include "mojo/edk/embedder/embedder.h"
45 #include "mojo/edk/test/scoped_ipc_support.h" 45 #include "mojo/edk/test/scoped_ipc_support.h"
46 #include "testing/gtest/include/gtest/gtest.h" 46 #include "testing/gtest/include/gtest/gtest.h"
47 #include "third_party/WebKit/public/platform/scheduler/renderer/renderer_schedul er.h" 47 #include "third_party/WebKit/public/platform/scheduler/renderer/renderer_schedul er.h"
48 #include "ui/gfx/buffer_format_util.h" 48 #include "ui/gfx/buffer_format_util.h"
49 49
50 // IPC messages for testing ---------------------------------------------------- 50 // IPC messages for testing ----------------------------------------------------
51 51
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 // These formats are guaranteed to work on all platforms. 373 // These formats are guaranteed to work on all platforms.
374 ::testing::Values(gfx::BufferFormat::R_8, 374 ::testing::Values(gfx::BufferFormat::R_8,
375 gfx::BufferFormat::BGR_565, 375 gfx::BufferFormat::BGR_565,
376 gfx::BufferFormat::RGBA_4444, 376 gfx::BufferFormat::RGBA_4444,
377 gfx::BufferFormat::RGBA_8888, 377 gfx::BufferFormat::RGBA_8888,
378 gfx::BufferFormat::BGRA_8888, 378 gfx::BufferFormat::BGRA_8888,
379 gfx::BufferFormat::YVU_420))); 379 gfx::BufferFormat::YVU_420)));
380 380
381 } // namespace 381 } // namespace
382 } // namespace content 382 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698