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

Side by Side Diff: webrtc/test/win/d3d_renderer.cc

Issue 2969623003: Update includes for webrtc/{base => rtc_base} rename (2/3) (Closed)
Patch Set: Rebased onto 224e65939af87443addfc5bb500fbf434728bd1c and restored sorting in clock.cc Created 3 years, 5 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 | « webrtc/test/win/d3d_renderer.h ('k') | webrtc/video/call_stats.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 /* 1 /*
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 #include "webrtc/test/win/d3d_renderer.h" 10 #include "webrtc/test/win/d3d_renderer.h"
11 11
12 #include "webrtc/base/checks.h"
13 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" 12 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h"
13 #include "webrtc/rtc_base/checks.h"
14 14
15 namespace webrtc { 15 namespace webrtc {
16 namespace test { 16 namespace test {
17 17
18 #define D3DFVF_CUSTOMVERTEX (D3DFVF_XYZ|D3DFVF_TEX1) 18 #define D3DFVF_CUSTOMVERTEX (D3DFVF_XYZ|D3DFVF_TEX1)
19 19
20 struct D3dCustomVertex { 20 struct D3dCustomVertex {
21 float x, y, z; 21 float x, y, z;
22 float u, v; 22 float u, v;
23 }; 23 };
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 d3d_device_->SetFVF(D3DFVF_CUSTOMVERTEX); 211 d3d_device_->SetFVF(D3DFVF_CUSTOMVERTEX);
212 d3d_device_->SetStreamSource(0, vertex_buffer_, 0, sizeof(D3dCustomVertex)); 212 d3d_device_->SetStreamSource(0, vertex_buffer_, 0, sizeof(D3dCustomVertex));
213 d3d_device_->SetTexture(0, texture_); 213 d3d_device_->SetTexture(0, texture_);
214 d3d_device_->DrawPrimitive(D3DPT_TRIANGLESTRIP, 0, 2); 214 d3d_device_->DrawPrimitive(D3DPT_TRIANGLESTRIP, 0, 2);
215 d3d_device_->EndScene(); 215 d3d_device_->EndScene();
216 216
217 d3d_device_->Present(NULL, NULL, NULL, NULL); 217 d3d_device_->Present(NULL, NULL, NULL, NULL);
218 } 218 }
219 } // namespace test 219 } // namespace test
220 } // namespace webrtc 220 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/test/win/d3d_renderer.h ('k') | webrtc/video/call_stats.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698