1 // Copyright 2014 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 // This file intentionally does not have header guards, it's included 6 // inside a macro to generate enum values. 7 8 #ifndef DEFINE_BITMAP_CONFIG 9 #error "DEFINE_BITMAP_CONFIG should be defined before including this file" 10 #endif 11 DEFINE_BITMAP_CONFIG(FORMAT_NO_CONFIG, 0) 12 DEFINE_BITMAP_CONFIG(FORMAT_ALPHA_8, 1) 13 DEFINE_BITMAP_CONFIG(FORMAT_ARGB_4444, 2) 14 DEFINE_BITMAP_CONFIG(FORMAT_ARGB_8888, 3) 15 DEFINE_BITMAP_CONFIG(FORMAT_RGB_565, 4) 16