aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrCustomStage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/GrCustomStage.cpp')
-rw-r--r--src/gpu/GrCustomStage.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/gpu/GrCustomStage.cpp b/src/gpu/GrCustomStage.cpp
index 6d7bfad272..7b3bc617e0 100644
--- a/src/gpu/GrCustomStage.cpp
+++ b/src/gpu/GrCustomStage.cpp
@@ -8,7 +8,6 @@
#include "GrContext.h"
#include "GrCustomStage.h"
#include "GrMemoryPool.h"
-#include "SkString.h"
#include "SkTLS.h"
SK_DEFINE_INST_COUNT(GrCustomStage)
@@ -39,17 +38,6 @@ private:
int32_t GrProgramStageFactory::fCurrStageClassID =
GrProgramStageFactory::kIllegalStageClassID;
-GrTextureAccess::GrTextureAccess(const GrTexture* texture, const SkString& swizzle)
- : fTexture(texture) {
- GrAssert(swizzle.size() <= 4);
- for (unsigned int offset = 0; offset < swizzle.size(); ++offset) {
- fSwizzle[offset] = swizzle[offset];
- }
- if (swizzle.size() < 4) {
- fSwizzle[swizzle.size()] = 0;
- }
-}
-
GrCustomStage::GrCustomStage() {
}