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

Side by Side Diff: tools/gpu/gl/command_buffer/GLTestContext_command_buffer.cpp

Issue 2365483002: Clean up dead code. (Closed)
Patch Set: Created 4 years, 2 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 | « src/ports/SkOSEnvironment.cpp ('k') | no next file » | 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 /* 2 /*
3 * Copyright 2015 Google Inc. 3 * Copyright 2015 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 #include "SkMutex.h" 9 #include "SkMutex.h"
10 #include "SkOnce.h" 10 #include "SkOnce.h"
11 #include "gl/GrGLInterface.h" 11 #include "gl/GrGLInterface.h"
12 #include "gl/GrGLAssembleInterface.h" 12 #include "gl/GrGLAssembleInterface.h"
13 #include "gl/command_buffer/GLTestContext_command_buffer.h" 13 #include "gl/command_buffer/GLTestContext_command_buffer.h"
14 #include "../ports/SkOSEnvironment.h"
15 #include "../ports/SkOSLibrary.h" 14 #include "../ports/SkOSLibrary.h"
16 15
17 typedef void *EGLDisplay; 16 typedef void *EGLDisplay;
18 typedef unsigned int EGLBoolean; 17 typedef unsigned int EGLBoolean;
19 typedef void *EGLConfig; 18 typedef void *EGLConfig;
20 typedef void *EGLSurface; 19 typedef void *EGLSurface;
21 typedef void *EGLContext; 20 typedef void *EGLContext;
22 typedef int32_t EGLint; 21 typedef int32_t EGLint;
23 typedef void* EGLNativeDisplayType; 22 typedef void* EGLNativeDisplayType;
24 typedef void* EGLNativeWindowType; 23 typedef void* EGLNativeWindowType;
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 return result; 327 return result;
329 } 328 }
330 329
331 int CommandBufferGLTestContext::getSampleCount() { 330 int CommandBufferGLTestContext::getSampleCount() {
332 EGLint result = 0; 331 EGLint result = 0;
333 gfGetConfigAttrib(fDisplay, static_cast<EGLConfig>(fConfig), EGL_SAMPLES, &r esult); 332 gfGetConfigAttrib(fDisplay, static_cast<EGLConfig>(fConfig), EGL_SAMPLES, &r esult);
334 return result; 333 return result;
335 } 334 }
336 335
337 } // namespace sk_gpu_test 336 } // namespace sk_gpu_test
OLDNEW
« no previous file with comments | « src/ports/SkOSEnvironment.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698