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

Unified Diff: src/gpu/gl/GrGLProgramEffects.h

Issue 509153002: Initial change to create GeometryProcessor (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: last warning Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/gpu/gl/GrGLProgramDesc.cpp ('k') | src/gpu/gl/GrGLProgramEffects.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/gl/GrGLProgramEffects.h
diff --git a/src/gpu/gl/GrGLProgramEffects.h b/src/gpu/gl/GrGLProgramEffects.h
index 0eaff53b76894f4c5da12b6c5f2eb2b4f699c99e..daaebd6b37d8265313d4f5da6c4f2bf7d3d75f99 100644
--- a/src/gpu/gl/GrGLProgramEffects.h
+++ b/src/gpu/gl/GrGLProgramEffects.h
@@ -57,6 +57,11 @@ public:
const GrGLProgramDataManager&,
const GrEffectStage* effectStages[]) = 0;
+ virtual void setData(GrGpuGL*,
+ GrGpu::DrawType,
+ const GrGLProgramDataManager&,
+ const GrEffectStage* effectStages) { SkFAIL("DO NOT USE"); }
+
void addEffect(GrGLEffect* effect) { fGLEffects.push_back(effect); }
/**
@@ -140,7 +145,6 @@ protected:
SkTArray<SkSTArray<4, Sampler, true> > fSamplers;
private:
- friend class GrGLFragmentO;
typedef SkRefCnt INHERITED;
};
@@ -172,6 +176,11 @@ public:
const GrGLProgramDataManager&,
const GrEffectStage* effectStages[]) SK_OVERRIDE;
+ virtual void setData(GrGpuGL*,
+ GrGpu::DrawType,
+ const GrGLProgramDataManager&,
+ const GrEffectStage* effectStages) SK_OVERRIDE;
+
private:
friend class GrGLFullProgramBuilder;
« no previous file with comments | « src/gpu/gl/GrGLProgramDesc.cpp ('k') | src/gpu/gl/GrGLProgramEffects.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698