diff options
author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-09-06 20:00:41 +0000 |
---|---|---|
committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-09-06 20:00:41 +0000 |
commit | 040fd8f5670c8a4f73e0fe13f949681a23e6add8 (patch) | |
tree | 2d29451745ea7f86653f058bfc3afb897e5a31fe /src/gpu/gl/GrGLCaps.h | |
parent | 96a7a9623f7b00bacf502adb99d485f2b376d328 (diff) |
Rip out CSAA support
R=robertphillips@google.com
Author: bsalomon@google.com
Review URL: https://chromiumcodereview.appspot.com/23882009
git-svn-id: http://skia.googlecode.com/svn/trunk@11138 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/gl/GrGLCaps.h')
-rw-r--r-- | src/gpu/gl/GrGLCaps.h | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/src/gpu/gl/GrGLCaps.h b/src/gpu/gl/GrGLCaps.h index 857ebbc101..1eaae2287b 100644 --- a/src/gpu/gl/GrGLCaps.h +++ b/src/gpu/gl/GrGLCaps.h @@ -28,23 +28,6 @@ public: typedef GrGLStencilBuffer::Format StencilFormat; /** - * Represents a supported multisampling/coverage-sampling mode. - */ - struct MSAACoverageMode { - // "Coverage samples" includes samples that actually have color, depth, - // stencil, ... as well as those that don't (coverage only). All samples - // are coverage samples. (We're using the word "coverage sample" to - // match the NV extension language.) - int fCoverageSampleCnt; - - // Color samples are samples that store data values (color, stencil, - // depth) rather than just representing coverage. They are a subset - // of coverage samples. (Again the wording was chosen to match the - // extension.) - int fColorSampleCnt; - }; - - /** * The type of MSAA for FBOs supported. Different extensions have different * semantics of how / when a resolve is performed. */ @@ -95,18 +78,6 @@ public: kLast_FBFetchType = kNV_FBFetchType, }; - enum CoverageAAType { - /** - * No coverage sample support - */ - kNone_CoverageAAType, - - /** - * GL_NV_framebuffer_multisample_coverage - */ - kNVDesktop_CoverageAAType, - }; - /** * Creates a GrGLCaps that advertises no support for any extensions, * formats, etc. Call init to initialize from a GrGLContextInfo. @@ -186,20 +157,6 @@ public: kES_EXT_MsToTexture_MSFBOType == fMSFBOType; } - /** - * Reports the type of coverage sample AA support. - */ - CoverageAAType coverageAAType() const { return fCoverageAAType; } - - /** - * Chooses a supported coverage mode based on a desired sample count. The - * desired sample count is rounded up the next supported coverage sample - * count unless a it is larger than the max in which case it is rounded - * down. Once a coverage sample count is decided, the supported mode with - * the fewest color samples is chosen. - */ - const MSAACoverageMode& getMSAACoverageMode(int desiredSampleCount) const; - FBFetchType fbFetchType() const { return fFBFetchType; } /** @@ -348,8 +305,6 @@ private: int fMaxFixedFunctionTextureCoords; MSFBOType fMSFBOType; - CoverageAAType fCoverageAAType; - SkTDArray<MSAACoverageMode> fMSAACoverageModes; FBFetchType fFBFetchType; |