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

Side by Side Diff: remoting/client/display/fake_canvas.cc

Issue 2591363002: Adding drawable to CRD andorid and iOS gl rendering pipeline. (Closed)
Patch Set: More like GetZIndex. 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
(Empty)
1 // Copyright 2016 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 #include "remoting/client/display/fake_canvas.h"
6
7 namespace remoting {
8
9 FakeCanvas::FakeCanvas() : weak_factory_(this) {}
10
11 FakeCanvas::~FakeCanvas() {}
12
13 void FakeCanvas::Clear() {}
14
15 void FakeCanvas::SetTransformationMatrix(const std::array<float, 9>& matrix) {}
16
17 void FakeCanvas::SetViewSize(int width, int height) {}
18
19 void FakeCanvas::DrawTexture(int texture_id,
20 int texture_handle,
21 int vertex_buffer,
22 float alpha_multiplier) {}
23
24 int FakeCanvas::GetVersion() const {
25 return 0;
26 }
27
28 int FakeCanvas::GetMaxTextureSize() const {
29 return 0;
30 }
31
32 base::WeakPtr<Canvas> FakeCanvas::GetWeakPtr() {
33 DCHECK(thread_checker_.CalledOnValidThread());
34 return weak_factory_.GetWeakPtr();
35 }
36
37 } // namespace remoting
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698