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

Side by Side Diff: gm/gm_error.h

Issue 12992003: gm: change ErrorBitfield to ErrorType/ErrorCombination (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | gm/gmmain.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /*
2 * Copyright 2013 Google Inc.
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
8 /*
9 * Error codes used by gmmain.cpp.
10 */
11
12 namespace skiagm {
13
14 typedef int ErrorBitfield;
epoger 2013/03/21 17:56:27 patchset 1: pull ErrorBitfield definitions into ne
15 // an empty bitfield means no errors:
16 const static ErrorBitfield kEmptyErrorBitfield = 0x00;
17 // individual error types:
18 const static ErrorBitfield kNoGpuContext_ErrorBitmask = 0x01;
19 const static ErrorBitfield kImageMismatch_ErrorBitmask = 0x02;
20 const static ErrorBitfield kMissingExpectations_ErrorBitmask = 0x04;
21 const static ErrorBitfield kWritingReferenceImage_ErrorBitmask = 0x08;
22 // we typically ignore any errors matching this bitmask:
23 const static ErrorBitfield kIgnorable_ErrorBitmask = kMissingExpectations_Er rorBitmask;
24
25 }
OLDNEW
« no previous file with comments | « no previous file | gm/gmmain.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698