aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-03-30 14:22:41 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-03-30 14:22:41 +0000
commitb9014f4f2e6e2bb13f63006cecf34b848d95b0f3 (patch)
treeb4cfd017eb509bcf1c8c8c06d565416d66df62a4 /include
parent4cccc6b224cc37c99a3101893f645b7af776287e (diff)
Remove deprecated names from Gr (WK is no longer using them)
Review URL: http://codereview.appspot.com/5969046/ git-svn-id: http://skia.googlecode.com/svn/trunk@3553 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include')
-rw-r--r--include/gpu/GrTypes.h23
1 files changed, 2 insertions, 21 deletions
diff --git a/include/gpu/GrTypes.h b/include/gpu/GrTypes.h
index f6809d6ca4..0ab7773c82 100644
--- a/include/gpu/GrTypes.h
+++ b/include/gpu/GrTypes.h
@@ -321,11 +321,6 @@ enum GrPixelConfig {
#error "SK_*32_SHIFT values must correspond to GL_BGRA or GL_RGBA format."
#endif
-// WebKit is relying on this old name for the native skia PM config. This will
-// be deleted ASAP because it is so similar to kRGBA_PM_8888_GrPixelConfig but
-// has a different interpretation when skia is compiled BGRA.
-static const GrPixelConfig kRGBA_8888_GrPixelConfig = kSkia8888_PM_GrPixelConfig;
-
// Returns true if the pixel config has 8bit r,g,b,a components in that byte
// order
static inline bool GrPixelConfigIsRGBA8888(GrPixelConfig config) {
@@ -431,12 +426,6 @@ static inline bool GrPixelConfigIsAlphaOnly(GrPixelConfig config) {
}
/**
- * DEPRECATED: This will be removed as soon as WebKit no longer references
- * this (former) enum value.
- */
-static const int kNone_GrAALevel = 0;
-
-/**
* Optional bitfield flags that can be passed to createTexture.
*/
enum GrTextureFlags {
@@ -481,7 +470,7 @@ struct GrTextureDesc {
* internal format used by 3D API.
*/
GrPixelConfig fConfig;
-
+
/**
* The number of samples per pixel or 0 to disable full scene AA. This only
* applies if the kRenderTarget_GrTextureFlagBit is set. The actual number
@@ -489,15 +478,7 @@ struct GrTextureDesc {
* up to the next supported sample count, or down if it is larger than the
* max supportex count.
*/
- union {
- /**
- * This field has two names for legacy reasons. Use the fSampleCnt name.
- * fAALevel is deprecated and will be removed as soon as WebKit no
- * longer uses it.
- */
- int fSampleCnt;
- int fAALevel;
- };
+ int fSampleCnt;
};
/**