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

Unified Diff: src/gpu/GrGpu.h

Issue 674543004: OptState owns program descriptor (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: feedback inc Created 6 years, 2 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
Index: src/gpu/GrGpu.h
diff --git a/src/gpu/GrGpu.h b/src/gpu/GrGpu.h
index e4669a25c506fa30baee1349a9d86b1822186ce8..a362413cf7d5d5f21527a78b689ac2afcc14984f 100644
--- a/src/gpu/GrGpu.h
+++ b/src/gpu/GrGpu.h
@@ -9,6 +9,7 @@
#define GrGpu_DEFINED
#include "GrDrawTarget.h"
+#include "GrProgramDesc.h"
egdaniel 2014/10/24 14:59:30 alphabetize
joshualitt 2014/10/24 15:15:38 Acknowledged.
#include "GrClipMaskManager.h"
#include "GrPathRendering.h"
#include "SkPath.h"
@@ -348,6 +349,12 @@ public:
GrContext::GPUStats* gpuStats() { return &fGPUStats; }
+ virtual void buildProgramDesc(const GrOptDrawState*,
egdaniel 2014/10/24 14:59:30 make this const GrOptDrawState&? ODS will never be
joshualitt 2014/10/24 15:15:38 GrOptDrawState.h includes GrGpu.h
+ const GrProgramDesc::DescInfo&,
+ GrGpu::DrawType,
+ const GrDeviceCoordTexture* dstCopy,
+ GrProgramDesc*) = 0;
+
protected:
DrawType PrimTypeToDrawType(GrPrimitiveType type) {
switch (type) {
« no previous file with comments | « gyp/gpu.gypi ('k') | src/gpu/GrOptDrawState.h » ('j') | src/gpu/GrOptDrawState.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698