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

Side by Side Diff: client/deps/glbench/src.orig/yuv2rgb.h

Issue 870005: Move gl_Bench into a dep so that it can be re-used among tests (Closed)
Patch Set: Created 10 years, 9 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 (c) 2010 The Chromium OS Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium OS 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 #ifndef BENCH_GL_YUV2RGB_H_ 5 #ifndef BENCH_GL_YUV2RGB_H_
6 #define BENCH_GL_YUV2RGB_H_ 6 #define BENCH_GL_YUV2RGB_H_
7 7
8 #define YUV2RGB_FRAGMENT_1 "yuv2rgb_1.glslf" 8 #define YUV2RGB_FRAGMENT_1 "yuv2rgb_1.glslf"
9 #define YUV2RGB_VERTEX_1 "yuv2rgb_1.glslv" 9 #define YUV2RGB_VERTEX_1 "yuv2rgb_1.glslv"
10 10
11 #define YUV2RGB_FRAGMENT_2 "yuv2rgb_2.glslf" 11 #define YUV2RGB_FRAGMENT_2 "yuv2rgb_2.glslf"
12 #define YUV2RGB_VERTEX_2 "yuv2rgb_2.glslv" 12 #define YUV2RGB_VERTEX_2 "yuv2rgb_2.glslv"
13 13
14 #define YUV2RGB_NAME "image.yuv" 14 #define YUV2RGB_NAME "image.yuv"
15 #define YUV2RGB_WIDTH 720 15 #define YUV2RGB_WIDTH 720
16 // YUV2RGB_HEIGHT is total height, which is 3/2 of height of Y plane. 16 // YUV2RGB_HEIGHT is total height, which is 3/2 of height of Y plane.
17 #define YUV2RGB_HEIGHT 729 17 #define YUV2RGB_HEIGHT 729
18 #define YUV2RGB_SIZE (YUV2RGB_WIDTH * YUV2RGB_HEIGHT) 18 #define YUV2RGB_SIZE (YUV2RGB_WIDTH * YUV2RGB_HEIGHT)
19 19
20 #endif 20 #endif
OLDNEW
« no previous file with comments | « client/deps/glbench/src.orig/xlib_window.cc ('k') | client/deps/glbench/src.orig/yuv2rgb_1.glslf » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698