Home
last modified time | relevance | path

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

/external/skia/src/gpu/gl/
DGrGLTestInterface.h91 virtual GrGLvoid getMultisamplefv(GrGLenum pname, GrGLuint index, GrGLfloat* val) {} in getMultisamplefv()
115 virtual GrGLvoid lineWidth(GrGLfloat width) {} in lineWidth()
121 virtual GrGLvoid minSampleShading(GrGLfloat value) {} in minSampleShading()
154 virtual GrGLvoid uniform1f(GrGLint location, GrGLfloat v0) {} in uniform1f()
156 virtual GrGLvoid uniform1fv(GrGLint location, GrGLsizei count, const GrGLfloat* v) {} in uniform1fv()
158 virtual GrGLvoid uniform2f(GrGLint location, GrGLfloat v0, GrGLfloat v1) {} in uniform2f()
160 virtual GrGLvoid uniform2fv(GrGLint location, GrGLsizei count, const GrGLfloat* v) {} in uniform2fv()
162 virtual GrGLvoid uniform3f(GrGLint location, GrGLfloat v0, GrGLfloat v1, GrGLfloat v2) {} in uniform3f()
164 virtual GrGLvoid uniform3fv(GrGLint location, GrGLsizei count, const GrGLfloat* v) {} in uniform3fv()
166 …virtual GrGLvoid uniform4f(GrGLint location, GrGLfloat v0, GrGLfloat v1, GrGLfloat v2, GrGLfloat v… in uniform4f()
[all …]
DGrGLPath.cpp91 GrGLfloat coords[]) { in points_to_coords()
107 SkSTArray<16, GrGLfloat, true> pathCoords(minCoordCnt); in init_path_object_for_general_path()
114 GrGLfloat coords[6]; in init_path_object_for_general_path()
228 SkSTArray<16, GrGLfloat, true> pathCoords(coordCnt); in InitPathObjectPathData()
230 static_assert(sizeof(SkPoint) == sizeof(GrGLfloat) * 2, "sk_point_not_two_floats"); in InitPathObjectPathData()
DGrGLGpu.cpp1961 GrGLfloat r, g, b, a; in clear()
1962 static const GrGLfloat scale255 = 1.f / 255.f; in clear()
1964 GrGLfloat scaleRGB = scale255; in clear()
1974 static const GrGLfloat safeAlpha1 = nextafter(1.f, 2.f); in clear()
1975 static const GrGLfloat safeAlpha0 = nextafter(0.f, -1.f); in clear()
2871 GrGLfloat c[4]; in flushBlend()
3439 static const GrGLfloat vdata[] = { in createCopyProgram()
3714 static const GrGLfloat vdata[] = {-1, -1, 1, -1, -1, 1, 1, 1}; in createStencilClipClearProgram()
3804 2 * sizeof(GrGLfloat), 0); in clearStencilClipAsDraw()
3858 2 * sizeof(GrGLfloat), 0); in copySurfaceAsDraw()
[all …]
DGrGLCreateNullInterface.cpp543 GrGLvoid getMultisamplefv(GrGLenum pname, GrGLuint index, GrGLfloat* val) override { in getMultisamplefv()
/external/skia/include/gpu/gl/
DGrGLFunctions.h94 …id (GR_GL_FUNCTION_TYPE* GrGLGetMultisamplefvProc)(GrGLenum pname, GrGLuint index, GrGLfloat* val);
118 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLLineWidthProc)(GrGLfloat width);
161 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLUniform1fProc)(GrGLint location, GrGLfloat v0);
163 …d (GR_GL_FUNCTION_TYPE* GrGLUniform1fvProc)(GrGLint location, GrGLsizei count, const GrGLfloat* v);
165 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLUniform2fProc)(GrGLint location, GrGLfloat v0, GrGLfloat
167 …d (GR_GL_FUNCTION_TYPE* GrGLUniform2fvProc)(GrGLint location, GrGLsizei count, const GrGLfloat* v);
169 …GR_GL_FUNCTION_TYPE* GrGLUniform3fProc)(GrGLint location, GrGLfloat v0, GrGLfloat v1, GrGLfloat v2…
171 …d (GR_GL_FUNCTION_TYPE* GrGLUniform3fvProc)(GrGLint location, GrGLsizei count, const GrGLfloat* v);
173 …UNCTION_TYPE* GrGLUniform4fProc)(GrGLint location, GrGLfloat v0, GrGLfloat v1, GrGLfloat v2, GrGLf…
175 …d (GR_GL_FUNCTION_TYPE* GrGLUniform4fvProc)(GrGLint location, GrGLsizei count, const GrGLfloat* v);
[all …]
DGrGLTypes.h44 typedef float GrGLfloat; typedef
/external/skia/bench/
DGLInstancedArraysBench.cpp191 GrGLfloat colors[kVerticesPerTri * kNumTri]; in setupInstanceVbo()
205 GR_GL_CALL(gl, VertexAttribPointer(0, 2, GR_GL_FLOAT, GR_GL_FALSE, 2 * sizeof(GrGLfloat), in setupInstanceVbo()
214 GR_GL_CALL(gl, VertexAttribPointer(1, 3, GR_GL_FLOAT, GR_GL_FALSE, 3 * sizeof(GrGLfloat), in setupInstanceVbo()
225 GrGLfloat colors[kVerticesPerTri * kNumTri * 3]; in setupDoubleVbo()
246 GR_GL_CALL(gl, VertexAttribPointer(0, 2, GR_GL_FLOAT, GR_GL_FALSE, 2 * sizeof(GrGLfloat), in setupDoubleVbo()
254 GR_GL_CALL(gl, VertexAttribPointer(1, 3, GR_GL_FLOAT, GR_GL_FALSE, 3 * sizeof(GrGLfloat), in setupDoubleVbo()
264 GrGLfloat fColors[3];
DGLVertexAttributesBench.cpp33 , fStride(2 * sizeof(SkPoint) + fAttribs * sizeof(GrGLfloat) * 4) { in GLVertexAttributesBench()
188 GrGLfloat* f = reinterpret_cast<GrGLfloat*>(ptr + 2 * sizeof(SkPoint) + fStride * j); in setup()
224 runningStride += sizeof(GrGLfloat) * 4; in glDraw()
DGLVec4ScalarBench.cpp204 GrGLfloat fColors[3];
225 GrGLfloat color[3] = {1.0f, 0.0f, 1.0f}; in setupSingleVbo()
/external/skia/tests/
DGpuSampleLocationsTest.cpp167 fFunctions.fGetMultisamplefv = [&](GrGLenum pname, GrGLuint index, GrGLfloat* val) { in GLTestSampleLocationsInterface()
/external/skia/tools/gpu/gl/debug/
DDebugGLTestContext.cpp669 GrGLvoid getMultisamplefv(GrGLenum pname, GrGLuint index, GrGLfloat* val) override { in getMultisamplefv()