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

Side by Side Diff: src/gpu/gl/GrGLProgramDesc.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, 7 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/GrGLProgram.cpp ('k') | src/gpu/gl/GrGLXferProcessor.h » ('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 2013 Google Inc. 2 * Copyright 2013 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 GrGLProgramDesc_DEFINED 8 #ifndef GrGLProgramDesc_DEFINED
9 #define GrGLProgramDesc_DEFINED 9 #define GrGLProgramDesc_DEFINED
10 10
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 * Builds a GL specific program descriptor 47 * Builds a GL specific program descriptor
48 * 48 *
49 * @param GrPrimitiveProcessor The geometry 49 * @param GrPrimitiveProcessor The geometry
50 * @param GrPipeline The optimized drawstate. The descriptor will represen t a program 50 * @param GrPipeline The optimized drawstate. The descriptor will represen t a program
51 * which this optstate can use to draw with. The opt state contains 51 * which this optstate can use to draw with. The opt state contains
52 * general draw information, as well as the specific color, geometry, 52 * general draw information, as well as the specific color, geometry,
53 * and coverage stages which will be used to generate the GL Program for 53 * and coverage stages which will be used to generate the GL Program for
54 * this optstate. 54 * this optstate.
55 * @param GrGLGpu A GL Gpu, the caps and Gpu object are used to output proc essor specific 55 * @param GrGLGpu A GL Gpu, the caps and Gpu object are used to output proc essor specific
56 * parts of the descriptor. 56 * parts of the descriptor.
57 * @param GrDeviceCoordTexture A dstCopy texture, which may be null if fram e buffer fetch is
58 * supported
59 * @param GrProgramDesc The built and finalized descriptor 57 * @param GrProgramDesc The built and finalized descriptor
60 **/ 58 **/
61 static bool Build(GrProgramDesc*, 59 static bool Build(GrProgramDesc*,
62 const GrPrimitiveProcessor&, 60 const GrPrimitiveProcessor&,
63 const GrPipeline&, 61 const GrPipeline&,
64 const GrGLGpu*, 62 const GrGLGpu*,
65 const GrBatchTracker&); 63 const GrBatchTracker&);
66 }; 64 };
67 65
68 #endif 66 #endif
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLProgram.cpp ('k') | src/gpu/gl/GrGLXferProcessor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698