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

Side by Side Diff: src/gpu/gl/GrGLXferProcessor.h

Issue 1132093004: Move DstCoordTexture to GrXP, rename and remove the word "copy" from dstcopytexture names. (Closed) Base URL: https://skia.googlesource.com/skia.git@copy
Patch Set: remove asserts Created 5 years, 6 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 unified diff | Download patch
« no previous file with comments | « src/gpu/gl/GrGLProgramDesc.h ('k') | src/gpu/gl/GrGLXferProcessor.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2014 Google Inc. 2 * Copyright 2014 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef GrGLXferProcessor_DEFINED 8 #ifndef GrGLXferProcessor_DEFINED
9 #define GrGLXferProcessor_DEFINED 9 #define GrGLXferProcessor_DEFINED
10 10
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 to have an identical processor key as the one that created this GrGLXfer Processor. This 56 to have an identical processor key as the one that created this GrGLXfer Processor. This
57 function calls onSetData on the subclass of GrGLXferProcessor 57 function calls onSetData on the subclass of GrGLXferProcessor
58 */ 58 */
59 void setData(const GrGLProgramDataManager& pdm, const GrXferProcessor& xp); 59 void setData(const GrGLProgramDataManager& pdm, const GrXferProcessor& xp);
60 60
61 private: 61 private:
62 virtual void onEmitCode(const EmitArgs&) = 0; 62 virtual void onEmitCode(const EmitArgs&) = 0;
63 63
64 virtual void onSetData(const GrGLProgramDataManager&, const GrXferProcessor& ) = 0; 64 virtual void onSetData(const GrGLProgramDataManager&, const GrXferProcessor& ) = 0;
65 65
66 GrGLProgramDataManager::UniformHandle fDstCopyTopLeftUni; 66 GrGLProgramDataManager::UniformHandle fDstTopLeftUni;
67 GrGLProgramDataManager::UniformHandle fDstCopyScaleUni; 67 GrGLProgramDataManager::UniformHandle fDstScaleUni;
68 68
69 typedef GrGLProcessor INHERITED; 69 typedef GrGLProcessor INHERITED;
70 }; 70 };
71 #endif 71 #endif
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLProgramDesc.h ('k') | src/gpu/gl/GrGLXferProcessor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698