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

Side by Side Diff: services/ui/demo/bitmap_uploader.cc

Issue 2511143004: mus: Split the gpu client-lib into a separate component. (Closed)
Patch Set: . Created 4 years, 1 month 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 2015 The Chromium Authors. All rights reserved. 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 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 "services/ui/demo/bitmap_uploader.h" 5 #include "services/ui/demo/bitmap_uploader.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/threading/thread_task_runner_handle.h" 12 #include "base/threading/thread_task_runner_handle.h"
13 #include "cc/ipc/compositor_frame.mojom.h" 13 #include "cc/ipc/compositor_frame.mojom.h"
14 #include "cc/quads/render_pass.h" 14 #include "cc/quads/render_pass.h"
15 #include "cc/quads/solid_color_draw_quad.h" 15 #include "cc/quads/solid_color_draw_quad.h"
16 #include "cc/quads/texture_draw_quad.h" 16 #include "cc/quads/texture_draw_quad.h"
17 #include "services/ui/public/cpp/context_provider.h" 17 #include "services/ui/public/cpp/context_provider.h"
18 #include "services/ui/public/cpp/gles2_context.h" 18 #include "services/ui/public/cpp/gles2_context.h"
19 #include "services/ui/public/cpp/gpu_service.h" 19 #include "services/ui/public/cpp/gpu/gpu_service.h"
20 #include "services/ui/public/cpp/window.h" 20 #include "services/ui/public/cpp/window.h"
21 21
22 namespace ui { 22 namespace ui {
23 namespace { 23 namespace {
24 24
25 const uint32_t g_transparent_color = 0x00000000; 25 const uint32_t g_transparent_color = 0x00000000;
26 26
27 } // namespace 27 } // namespace
28 28
29 const char kBitmapUploaderForAcceleratedWidget[] = 29 const char kBitmapUploaderForAcceleratedWidget[] =
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 // TODO(fsamuel): Implement this. 235 // TODO(fsamuel): Implement this.
236 } 236 }
237 237
238 void BitmapUploader::SetExternalTilePriorityConstraints( 238 void BitmapUploader::SetExternalTilePriorityConstraints(
239 const gfx::Rect& viewport_rect, 239 const gfx::Rect& viewport_rect,
240 const gfx::Transform& transform) { 240 const gfx::Transform& transform) {
241 // TODO(fsamuel): Implement this. 241 // TODO(fsamuel): Implement this.
242 } 242 }
243 243
244 } // namespace ui 244 } // namespace ui
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698