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

Side by Side Diff: client/deps/glbench/src.orig/xlib_window.cc

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
« no previous file with comments | « client/deps/glbench/src.orig/xlib_window.h ('k') | client/deps/glbench/src.orig/yuv2rgb.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 // 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 #include "main.h" 5 #include "main.h"
6 #include "xlib_window.h" 6 #include "xlib_window.h"
7 7
8 8
9 Display *xlib_display = NULL; 9 Display *xlib_display = NULL;
10 Window xlib_window = 0; 10 Window xlib_window = 0;
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 ::XSync(xlib_display, True); 55 ::XSync(xlib_display, True);
56 56
57 ::XGetWindowAttributes(xlib_display, xlib_window, &attributes); 57 ::XGetWindowAttributes(xlib_display, xlib_window, &attributes);
58 g_width = attributes.width; 58 g_width = attributes.width;
59 g_height = attributes.height; 59 g_height = attributes.height;
60 60
61 return true; 61 return true;
62 } 62 }
63 63
64 64
OLDNEW
« no previous file with comments | « client/deps/glbench/src.orig/xlib_window.h ('k') | client/deps/glbench/src.orig/yuv2rgb.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698