Home
last modified time | relevance | path

Searched refs:GrGLfloat (Results 1 – 10 of 10) sorted by relevance

/external/skia/src/gpu/gl/
DGrGLNoOpInterface.h122 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLMatrixLoadf(GrGLenum, const GrGLfloat*);
126 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLLineWidth(GrGLfloat width);
203 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLUniform1f(GrGLint location, GrGLfloat v0);
209 const GrGLfloat* v);
216 GrGLfloat v0,
217 GrGLfloat v1);
223 const GrGLfloat* v);
230 GrGLfloat v0,
231 GrGLfloat v1,
232 GrGLfloat v2);
[all …]
DGrGLNoOpInterface.cpp187 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLLineWidth(GrGLfloat width) { in noOpGLLineWidth()
193 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLMatrixLoadf(GrGLenum, const GrGLfloat*) { in noOpGLMatrixLoadf() argument
289 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLUniform1f(GrGLint location, GrGLfloat v0) { in noOpGLUniform1f()
297 const GrGLfloat* v) { in noOpGLUniform1fv()
305 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLUniform2f(GrGLint location, GrGLfloat v0, GrGLfloat v1) { in noOpGLUniform2f()
313 const GrGLfloat* v) { in noOpGLUniform2fv()
322 GrGLfloat v0, in noOpGLUniform3f()
323 GrGLfloat v1, in noOpGLUniform3f()
324 GrGLfloat v2) { in noOpGLUniform3f()
335 const GrGLfloat* v) { in noOpGLUniform3fv()
[all …]
DGrGLPath.cpp83 GrGLfloat coords[]) { in points_to_coords()
99 SkSTArray<16, GrGLfloat, true> pathCoords(minCoordCnt); in init_path_object_for_general_path()
106 GrGLfloat coords[6]; in init_path_object_for_general_path()
218 SkSTArray<16, GrGLfloat, true> pathCoords(coordCnt); in InitPathObjectPathData()
220 static_assert(sizeof(SkPoint) == sizeof(GrGLfloat) * 2, "sk_point_not_two_floats"); in InitPathObjectPathData()
DGrGLGpu.cpp373 static const GrGLfloat vdata[] = { in createPLSSetupProgram()
2040 GrGLfloat r, g, b, a; in onClear()
2041 static const GrGLfloat scale255 = 1.f / 255.f; in onClear()
2043 GrGLfloat scaleRGB = scale255; in onClear()
2665 attribs->set(this, 0, arrayBuffer, kVec2f_GrVertexAttribType, 2 * sizeof(GrGLfloat), 0); in stampRectUsingProgram()
2698 GrGLfloat dx0 = 2.0f * (bounds.left() - 1) / width - 1.0f; in setupPixelLocalStorage()
2699 GrGLfloat dx1 = 2.0f * (bounds.right() + 1) / width - 1.0f; in setupPixelLocalStorage()
2700 GrGLfloat dy0 = -2.0f * (bounds.top() - 1) / height + 1.0f; in setupPixelLocalStorage()
2701 GrGLfloat dy1 = -2.0f * (bounds.bottom() + 1) / height + 1.0f; in setupPixelLocalStorage()
2936 GrGLfloat c[4]; in flushBlend()
[all …]
/external/skia/include/gpu/gl/
DGrGLFunctions.h115 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLLineWidthProc)(GrGLfloat width);
153 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLUniform1fProc)(GrGLint location, GrGLfloat v0);
155 …d (GR_GL_FUNCTION_TYPE* GrGLUniform1fvProc)(GrGLint location, GrGLsizei count, const GrGLfloat* v);
157 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLUniform2fProc)(GrGLint location, GrGLfloat v0, GrGLfloat
159 …d (GR_GL_FUNCTION_TYPE* GrGLUniform2fvProc)(GrGLint location, GrGLsizei count, const GrGLfloat* v);
161 …GR_GL_FUNCTION_TYPE* GrGLUniform3fProc)(GrGLint location, GrGLfloat v0, GrGLfloat v1, GrGLfloat v2…
163 …d (GR_GL_FUNCTION_TYPE* GrGLUniform3fvProc)(GrGLint location, GrGLsizei count, const GrGLfloat* v);
165 …UNCTION_TYPE* GrGLUniform4fProc)(GrGLint location, GrGLfloat v0, GrGLfloat v1, GrGLfloat v2, GrGLf…
167 …d (GR_GL_FUNCTION_TYPE* GrGLUniform4fvProc)(GrGLint location, GrGLsizei count, const GrGLfloat* v);
169 …rmMatrix2fvProc)(GrGLint location, GrGLsizei count, GrGLboolean transpose, const GrGLfloat* value);
[all …]
DGrGLTypes.h43 typedef float GrGLfloat; typedef
/external/skia/bench/
DGLInstancedArraysBench.cpp193 GrGLfloat colors[kVerticesPerTri * kNumTri]; in setupInstanceVbo()
207 GR_GL_CALL(gl, VertexAttribPointer(0, 2, GR_GL_FLOAT, GR_GL_FALSE, 2 * sizeof(GrGLfloat), in setupInstanceVbo()
216 GR_GL_CALL(gl, VertexAttribPointer(1, 3, GR_GL_FLOAT, GR_GL_FALSE, 3 * sizeof(GrGLfloat), in setupInstanceVbo()
227 GrGLfloat colors[kVerticesPerTri * kNumTri * 3]; in setupDoubleVbo()
248 GR_GL_CALL(gl, VertexAttribPointer(0, 2, GR_GL_FLOAT, GR_GL_FALSE, 2 * sizeof(GrGLfloat), in setupDoubleVbo()
256 GR_GL_CALL(gl, VertexAttribPointer(1, 3, GR_GL_FLOAT, GR_GL_FALSE, 3 * sizeof(GrGLfloat), in setupDoubleVbo()
266 GrGLfloat fColors[3];
DGLVertexAttributesBench.cpp33 , fStride(2 * sizeof(SkPoint) + fAttribs * sizeof(GrGLfloat) * 4) { in GLVertexAttributesBench()
190 GrGLfloat* f = reinterpret_cast<GrGLfloat*>(ptr + 2 * sizeof(SkPoint) + fStride * j); in setup()
226 runningStride += sizeof(GrGLfloat) * 4; in glDraw()
DGLVec4ScalarBench.cpp206 GrGLfloat fColors[3];
227 GrGLfloat color[3] = {1.0f, 0.0f, 1.0f}; in setupSingleVbo()
/external/skia/src/gpu/batches/
DGrPLSPathRenderer.cpp723 GrGLfloat c[4]; in setData()