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

Side by Side Diff: include/gpu/GrTypes.h

Issue 412113004: Add ASTC to list of alpha compressed formats (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 5 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 | « no previous file | 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 2010 Google Inc. 3 * Copyright 2010 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 9
10 10
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after
400 return true; 400 return true;
401 default: 401 default:
402 return false; 402 return false;
403 } 403 }
404 } 404 }
405 405
406 static inline bool GrPixelConfigIsAlphaOnly(GrPixelConfig config) { 406 static inline bool GrPixelConfigIsAlphaOnly(GrPixelConfig config) {
407 switch (config) { 407 switch (config) {
408 case kR11_EAC_GrPixelConfig: 408 case kR11_EAC_GrPixelConfig:
409 case kLATC_GrPixelConfig: 409 case kLATC_GrPixelConfig:
410 case kASTC_12x12_GrPixelConfig:
410 case kAlpha_8_GrPixelConfig: 411 case kAlpha_8_GrPixelConfig:
411 return true; 412 return true;
412 default: 413 default:
413 return false; 414 return false;
414 } 415 }
415 } 416 }
416 417
417 /** 418 /**
418 * Optional bitfield flags that can be passed to createTexture. 419 * Optional bitfield flags that can be passed to createTexture.
419 */ 420 */
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
704 } 705 }
705 706
706 /** 707 /**
707 * This value translates to reseting all the context state for any backend. 708 * This value translates to reseting all the context state for any backend.
708 */ 709 */
709 static const uint32_t kAll_GrBackendState = 0xffffffff; 710 static const uint32_t kAll_GrBackendState = 0xffffffff;
710 711
711 /////////////////////////////////////////////////////////////////////////////// 712 ///////////////////////////////////////////////////////////////////////////////
712 713
713 #endif 714 #endif
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698