Lines Matching refs:gpu

91 inline bool init_path_object_for_general_path(GrGLGpu* gpu, GrGLuint pathID,  in init_path_object_for_general_path()  argument
178 GR_GL_CALL(gpu->glInterface(), PathCommands(pathID, pathCommands.count(), &pathCommands[0], in init_path_object_for_general_path()
201 bool GrGLPath::InitPathObjectPathDataCheckingDegenerates(GrGLGpu* gpu, GrGLuint pathID, in InitPathObjectPathDataCheckingDegenerates() argument
203 return init_path_object_for_general_path<true>(gpu, pathID, skPath); in InitPathObjectPathDataCheckingDegenerates()
206 void GrGLPath::InitPathObjectPathData(GrGLGpu* gpu, in InitPathObjectPathData() argument
235 GR_GL_CALL(gpu->glInterface(), PathCommands(pathID, pathCommands.count(), &pathCommands[0], in InitPathObjectPathData()
241 SkAssertResult(init_path_object_for_general_path<false>(gpu, pathID, skPath)); in InitPathObjectPathData()
244 void GrGLPath::InitPathObjectStroke(GrGLGpu* gpu, GrGLuint pathID, const GrStrokeInfo& stroke) { in InitPathObjectStroke() argument
248 GR_GL_CALL(gpu->glInterface(), in InitPathObjectStroke()
250 GR_GL_CALL(gpu->glInterface(), in InitPathObjectStroke()
253 GR_GL_CALL(gpu->glInterface(), PathParameteri(pathID, GR_GL_PATH_JOIN_STYLE, join)); in InitPathObjectStroke()
255 GR_GL_CALL(gpu->glInterface(), PathParameteri(pathID, GR_GL_PATH_END_CAPS, cap)); in InitPathObjectStroke()
256 GR_GL_CALL(gpu->glInterface(), PathParameterf(pathID, GR_GL_PATH_STROKE_BOUND, 0.02f)); in InitPathObjectStroke()
259 void GrGLPath::InitPathObjectEmptyPath(GrGLGpu* gpu, GrGLuint pathID) { in InitPathObjectEmptyPath() argument
260 GR_GL_CALL(gpu->glInterface(), PathCommands(pathID, 0, nullptr, 0, GR_GL_FLOAT, nullptr)); in InitPathObjectEmptyPath()
263 GrGLPath::GrGLPath(GrGLGpu* gpu, const SkPath& origSkPath, const GrStrokeInfo& origStroke) in GrGLPath() argument
264 : INHERITED(gpu, origSkPath, origStroke), in GrGLPath()
265 fPathID(gpu->glPathRendering()->genPaths(1)) { in GrGLPath()
268 InitPathObjectEmptyPath(gpu, fPathID); in GrGLPath()
292 didInit = InitPathObjectPathDataCheckingDegenerates(gpu, fPathID, *skPath); in GrGLPath()
305 InitPathObjectPathData(gpu, fPathID, *skPath); in GrGLPath()
316 InitPathObjectStroke(gpu, fPathID, *stroke); in GrGLPath()