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

Unified Diff: src/gpu/GrPipelineBuilder.h

Issue 1225923010: Refugee from Dead Machine 4: MDB Monster Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Last update from dead machine Created 4 years, 8 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/GrPipeline.cpp ('k') | src/gpu/GrRenderTarget.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrPipelineBuilder.h
diff --git a/src/gpu/GrPipelineBuilder.h b/src/gpu/GrPipelineBuilder.h
index 2bafd9aeabf2cee84cbdbff5191ac88da23bb273..f10e4922363b3baa79952657a6229c9befe8e7c1 100644
--- a/src/gpu/GrPipelineBuilder.h
+++ b/src/gpu/GrPipelineBuilder.h
@@ -78,26 +78,29 @@ public:
/**
* Creates a GrSimpleTextureEffect that uses local coords as texture coordinates.
*/
- void addColorTextureProcessor(GrTexture* texture, const SkMatrix& matrix) {
- this->addColorFragmentProcessor(GrSimpleTextureEffect::Create(texture, matrix))->unref();
+ void addColorTextureProcessor(GrTexture* texture, const SkMatrix& matrix, GrRenderTarget* dst) {
+ this->addColorFragmentProcessor(GrSimpleTextureEffect::Create(texture,
+ matrix, kLocal_GrCoordSet, dst))->unref();
}
- void addCoverageTextureProcessor(GrTexture* texture, const SkMatrix& matrix) {
- this->addCoverageFragmentProcessor(GrSimpleTextureEffect::Create(texture, matrix))->unref();
+ void addCoverageTextureProcessor(GrTexture* texture, const SkMatrix& matrix, GrRenderTarget* dst) {
+ this->addCoverageFragmentProcessor(GrSimpleTextureEffect::Create(texture,
+ matrix, kLocal_GrCoordSet, dst))->unref();
}
void addColorTextureProcessor(GrTexture* texture,
const SkMatrix& matrix,
- const GrTextureParams& params) {
- this->addColorFragmentProcessor(GrSimpleTextureEffect::Create(texture, matrix,
- params))->unref();
+ const GrTextureParams& params, GrRenderTarget* dst) {
+ this->addColorFragmentProcessor(GrSimpleTextureEffect::Create(texture,
+ matrix,
+ params, kLocal_GrCoordSet, dst))->unref();
}
void addCoverageTextureProcessor(GrTexture* texture,
const SkMatrix& matrix,
- const GrTextureParams& params) {
- this->addCoverageFragmentProcessor(GrSimpleTextureEffect::Create(texture, matrix,
- params))->unref();
+ const GrTextureParams& params, GrRenderTarget* dst) {
+ this->addCoverageFragmentProcessor(GrSimpleTextureEffect::Create(texture,
+ matrix, params, kLocal_GrCoordSet, dst))->unref();
}
/**
« no previous file with comments | « src/gpu/GrPipeline.cpp ('k') | src/gpu/GrRenderTarget.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698