Chromium Code Reviews| OLD | NEW |
|---|---|
| (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 } | |
| OLD | NEW |