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

Side by Side Diff: content/common/gpu/gpu_create_command_buffer_config.h

Issue 1656433002: Sample code: IPC Transport object for GPU Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: GpuMemoryBufferService + Transport object. TODO: Eliminate ChildThreadImpl dependency Created 4 years, 10 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
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_COMMON_GPU_GPU_CREATE_COMMAND_BUFFER_CONFIG_H_
6 #define CONTENT_COMMON_GPU_GPU_CREATE_COMMAND_BUFFER_CONFIG_H_
7
8 #include <stdint.h>
9
10 #include <vector>
11
12 #include "content/common/content_export.h"
13 #include "content/common/gpu/gpu_stream_priority.h"
14 #include "ui/gl/gpu_preference.h"
15 #include "url/gurl.h"
16
17 namespace content {
18
19 struct CONTENT_EXPORT GpuCreateCommandBufferConfig {
20 GpuCreateCommandBufferConfig();
21 ~GpuCreateCommandBufferConfig();
22
23 int32_t share_group_id;
24 int32_t stream_id;
25 content::GpuStreamPriority stream_priority;
26 std::vector<int> attribs;
27 GURL active_url;
28 gfx::GpuPreference gpu_preference;
29 };
30
31 } // namespace content
32
33 #endif // CONTENT_COMMON_GPU_GPU_CREATE_COMMAND_BUFFER_CONFIG_H_
OLDNEW
« no previous file with comments | « content/common/gpu/gpu_command_buffer_stub.cc ('k') | content/common/gpu/gpu_create_command_buffer_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698