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

Side by Side Diff: cc/resources/resource_format.h

Issue 21159007: cc: Adding support for RGBA_4444 tile textures (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Code review feedback Created 7 years, 3 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium 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 "cc/output/software_frame_data.h" 5 #ifndef CC_RESOURCES_RESOURCE_FORMAT_H_
6 #define CC_RESOURCES_RESOURCE_FORMAT_H_
6 7
7 namespace cc { 8 namespace cc {
8 9
9 SoftwareFrameData::SoftwareFrameData() 10 enum ResourceFormat {
10 : id(0), 11 RGBA_8888,
11 handle(base::SharedMemory::NULLHandle()) {} 12 RGBA_4444,
12 13 BGRA_8888,
13 SoftwareFrameData::~SoftwareFrameData() {} 14 LUMINANCE_8,
piman 2013/09/14 00:14:17 nit: can you add RESOURCE_FORMAT_MAX = LUMINANCE_8
kaanb 2013/09/14 00:36:25 Done.
15 };
14 16
15 } // namespace cc 17 } // namespace cc
18
19 #endif // CC_RESOURCES_RESOURCE_FORMAT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698