/external/skia/src/gpu/gl/ |
D | GrGLTestInterface.h | 91 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 …]
|
D | GrGLPath.cpp | 91 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()
|
D | GrGLGpu.cpp | 1961 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 …]
|
D | GrGLCreateNullInterface.cpp | 543 GrGLvoid getMultisamplefv(GrGLenum pname, GrGLuint index, GrGLfloat* val) override { in getMultisamplefv()
|
/external/skia/include/gpu/gl/ |
D | GrGLFunctions.h | 94 …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 …]
|
D | GrGLTypes.h | 44 typedef float GrGLfloat; typedef
|
/external/skia/bench/ |
D | GLInstancedArraysBench.cpp | 191 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];
|
D | GLVertexAttributesBench.cpp | 33 , 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()
|
D | GLVec4ScalarBench.cpp | 204 GrGLfloat fColors[3]; 225 GrGLfloat color[3] = {1.0f, 0.0f, 1.0f}; in setupSingleVbo()
|
/external/skia/tests/ |
D | GpuSampleLocationsTest.cpp | 167 fFunctions.fGetMultisamplefv = [&](GrGLenum pname, GrGLuint index, GrGLfloat* val) { in GLTestSampleLocationsInterface()
|
/external/skia/tools/gpu/gl/debug/ |
D | DebugGLTestContext.cpp | 669 GrGLvoid getMultisamplefv(GrGLenum pname, GrGLuint index, GrGLfloat* val) override { in getMultisamplefv()
|