From 5e565d1140731b0a81525c8df43138a343ee2755 Mon Sep 17 00:00:00 2001 From: "commit-bot@chromium.org" Date: Fri, 23 May 2014 20:40:26 +0000 Subject: Revert of Add compressed texture capabilities for GPU devices (https://codereview.chromium.org/292323003/) Reason for revert: Signeness comparison breaks build. After working some more, I think the API design will be cleaner without the Uncompressed enum, so I'm removing it and retesting everything. Original issue's description: > Add compressed texture capabilities for GPU devices > > BUG=skia: > > Committed: http://code.google.com/p/skia/source/detail?r=14880 R=bsalomon@google.com, robertphillips@google.com, halcanary@google.com TBR=bsalomon@google.com, robertphillips@google.com NOTREECHECKS=true NOTRY=true BUG=skia: Author: krajcevski@google.com Review URL: https://codereview.chromium.org/296313003 git-svn-id: http://skia.googlecode.com/svn/trunk@14883 2bbb7eff-a529-9590-31e7-b0007b416f81 --- include/gpu/GrTypes.h | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'include/gpu/GrTypes.h') diff --git a/include/gpu/GrTypes.h b/include/gpu/GrTypes.h index 67c8f87e76..c1b3554c6e 100644 --- a/include/gpu/GrTypes.h +++ b/include/gpu/GrTypes.h @@ -619,19 +619,6 @@ enum GrGLBackendState { kALL_GrGLBackendState = 0xffff }; -/** - * The compressed texture formats that may be supported by the renderer. - * Make sure to check for the required capabilities using - * GrDrawTargetCaps::compressedTextureSupport - */ -enum GrCompressedFormat { - kUncompressed_GrCompressedFormat = -1, - kETC1_GrCompressedFormat = 0, - - kLast_GrCompressedFormat = kETC1_GrCompressedFormat -}; -static const size_t kCompressedFormatCount = kLast_GrCompressedFormat + 1; - /** * This value translates to reseting all the context state for any backend. */ -- cgit v1.2.3