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

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

Issue 900883002: Revert of Move DstCopy on gpu into the GrXferProcessor. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 10 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/GrGLProgramDesc.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 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 29 matching lines...) Expand all
40 40
41 /** 41 /**
42 * Builds a GL specific program descriptor 42 * Builds a GL specific program descriptor
43 * 43 *
44 * @param GrPrimitiveProcessor The geometry 44 * @param GrPrimitiveProcessor The geometry
45 * @param GrPipeline The optimized drawstate. The descriptor will represen t a program 45 * @param GrPipeline The optimized drawstate. The descriptor will represen t a program
46 * which this optstate can use to draw with. The opt state contains 46 * which this optstate can use to draw with. The opt state contains
47 * general draw information, as well as the specific color, geometry, 47 * general draw information, as well as the specific color, geometry,
48 * and coverage stages which will be used to generate the GL Program for 48 * and coverage stages which will be used to generate the GL Program for
49 * this optstate. 49 * this optstate.
50 * @param DescInfo A descriptor info struct, generated by the optstate, whi ch contains a number
51 * of important facts about the program the built descripto r will represent
50 * @param GrGLGpu A GL Gpu, the caps and Gpu object are used to output proc essor specific 52 * @param GrGLGpu A GL Gpu, the caps and Gpu object are used to output proc essor specific
51 * parts of the descriptor. 53 * parts of the descriptor.
52 * @param GrDeviceCoordTexture A dstCopy texture, which may be null if fram e buffer fetch is 54 * @param GrDeviceCoordTexture A dstCopy texture, which may be null if fram e buffer fetch is
53 * supported 55 * supported
54 * @param GrProgramDesc The built and finalized descriptor 56 * @param GrProgramDesc The built and finalized descriptor
55 **/ 57 **/
56 static bool Build(GrProgramDesc*, 58 static bool Build(GrProgramDesc*,
57 const GrPrimitiveProcessor&, 59 const GrPrimitiveProcessor&,
58 const GrPipeline&, 60 const GrPipeline&,
61 const GrProgramDesc::DescInfo&,
59 const GrGLGpu*, 62 const GrGLGpu*,
60 const GrBatchTracker&); 63 const GrBatchTracker&);
61 }; 64 };
62 65
63 #endif 66 #endif
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLProgram.cpp ('k') | src/gpu/gl/GrGLProgramDesc.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698