Home
last modified time | relevance | path

Searched refs:GL_CALL (Results 1 – 21 of 21) sorted by relevance

/external/chromium_org/third_party/skia/src/gpu/gl/
DGrGpuGL.cpp17 #define GL_CALL(X) GR_GL_CALL(this->glInterface(), X) macro
160 GL_CALL(UseProgram(0)); in ~GrGpuGL()
239 GL_CALL(Disable(GR_GL_DEPTH_TEST)); in onResetContext()
240 GL_CALL(DepthMask(GR_GL_FALSE)); in onResetContext()
248 GL_CALL(Disable(GR_GL_POINT_SMOOTH)); in onResetContext()
249 GL_CALL(Disable(GR_GL_LINE_SMOOTH)); in onResetContext()
250 GL_CALL(Disable(GR_GL_POLYGON_SMOOTH)); in onResetContext()
251 GL_CALL(Disable(GR_GL_POLYGON_STIPPLE)); in onResetContext()
252 GL_CALL(Disable(GR_GL_COLOR_LOGIC_OP)); in onResetContext()
253 GL_CALL(Disable(GR_GL_INDEX_LOGIC_OP)); in onResetContext()
[all …]
DGrGLPathRendering.cpp20 #define GL_CALL(X) GR_GL_CALL(fGpu->glInterface(), X) macro
82 GL_CALL(MatrixLoadIdentity(matrixMode)); in resetContext()
86 GL_CALL(PathTexGen(GR_GL_TEXTURE0 + i, GR_GL_NONE, 0, NULL)); in resetContext()
166 GL_CALL(StencilFillPath(id, fillMode, writeMask)); in stencilPath()
188 GL_CALL(StencilFillPath(id, fillMode, writeMask)); in drawPath()
196 GL_CALL(StencilFillPath(id, fillMode, writeMask)); in drawPath()
199 GL_CALL(StencilStrokePath(id, 0xffff, writeMask)); in drawPath()
249 GL_CALL(StencilFillPathInstanced( in drawPaths()
266 GL_CALL(StencilFillPathInstanced( in drawPaths()
272 GL_CALL(StencilStrokePathInstanced( in drawPaths()
[all …]
DGrGLBufferImpl.cpp11 #define GL_CALL(GPU, X) GR_GL_CALL(GPU->glInterface(), X) macro
45 GL_CALL(gpu, DeleteBuffers(1, &fDesc.fID)); in release()
94 GL_CALL(gpu, in map()
106 GL_CALL(gpu, in map()
122 GL_CALL(gpu, in map()
147 GL_CALL(gpu, UnmapBuffer(fBufferType)); in unmap()
178 GL_CALL(gpu, BufferData(fBufferType, (GrGLsizeiptr) srcSizeInBytes, src, usage)); in updateData()
187 GL_CALL(gpu, BufferData(fBufferType, fGLSizeInBytes, NULL, usage)); in updateData()
188 GL_CALL(gpu, BufferSubData(fBufferType, 0, (GrGLsizeiptr) srcSizeInBytes, src)); in updateData()
208 GL_CALL(gpu, BufferData(fBufferType, fGLSizeInBytes, NULL, usage)); in updateData()
[all …]
DGrGLRenderTarget.cpp14 #define GL_CALL(X) GR_GL_CALL(GPUGL->glInterface(), X) macro
85 GL_CALL(DeleteFramebuffers(1, &fTexFBOID)); in onRelease()
88 GL_CALL(DeleteFramebuffers(1, &fRTFBOID)); in onRelease()
91 GL_CALL(DeleteRenderbuffers(1, &fMSColorRenderbufferID)); in onRelease()
DGrGLVertexArray.cpp12 #define GL_CALL(X) GR_GL_CALL(GPUGL->glInterface(), X); macro
86 GL_CALL(DeleteVertexArrays(1, &fID)); in onRelease()
106 GL_CALL(BindBuffer(GR_GL_ELEMENT_ARRAY_BUFFER, bufferID)); in bindWithIndexBuffer()
DGrGLProgram.cpp23 #define GL_CALL(X) GR_GL_CALL(fGpu->glInterface(), X) macro
69 GL_CALL(DeleteProgram(fProgramID)); in ~GrGLProgram()
78 GL_CALL(UseProgram(fProgramID)); in initSamplerUniforms()
156 GL_CALL(VertexAttrib4fv(header.fColorAttributeIndex, c)); in setColor()
194 GL_CALL(VertexAttrib4fv(header.fCoverageAttributeIndex, c)); in setCoverage()
DGrGLTexture.cpp13 #define GL_CALL(X) GR_GL_CALL(GPUGL->glInterface(), X) macro
DGrGpuGL_program.cpp205 #define GL_CALL(X) GR_GL_CALL(this->glInterface(), X) macro
261 GL_CALL(UseProgram(programID)); in flushGraphicsState()
/external/skia/src/gpu/gl/
DGrGpuGL.cpp19 #define GL_CALL(X) GR_GL_CALL(this->glInterface(), X) macro
160 GL_CALL(UseProgram(0)); in ~GrGpuGL()
233 GL_CALL(Disable(GR_GL_DEPTH_TEST)); in onResetContext()
234 GL_CALL(DepthMask(GR_GL_FALSE)); in onResetContext()
242 GL_CALL(Disable(GR_GL_POINT_SMOOTH)); in onResetContext()
243 GL_CALL(Disable(GR_GL_LINE_SMOOTH)); in onResetContext()
244 GL_CALL(Disable(GR_GL_POLYGON_SMOOTH)); in onResetContext()
245 GL_CALL(Disable(GR_GL_POLYGON_STIPPLE)); in onResetContext()
246 GL_CALL(Disable(GR_GL_COLOR_LOGIC_OP)); in onResetContext()
247 GL_CALL(Disable(GR_GL_INDEX_LOGIC_OP)); in onResetContext()
[all …]
DGrGLBufferImpl.cpp11 #define GL_CALL(GPU, X) GR_GL_CALL(GPU->glInterface(), X) macro
45 GL_CALL(gpu, DeleteBuffers(1, &fDesc.fID)); in release()
94 GL_CALL(gpu, in map()
106 GL_CALL(gpu, in map()
122 GL_CALL(gpu, in map()
147 GL_CALL(gpu, UnmapBuffer(fBufferType)); in unmap()
178 GL_CALL(gpu, BufferData(fBufferType, (GrGLsizeiptr) srcSizeInBytes, src, usage)); in updateData()
187 GL_CALL(gpu, BufferData(fBufferType, fGLSizeInBytes, NULL, usage)); in updateData()
188 GL_CALL(gpu, BufferSubData(fBufferType, 0, (GrGLsizeiptr) srcSizeInBytes, src)); in updateData()
208 GL_CALL(gpu, BufferData(fBufferType, fGLSizeInBytes, NULL, usage)); in updateData()
[all …]
DGrGLPath.cpp14 #define GL_CALL(X) GR_GL_CALL(GPUGL->glInterface(), X) macro
114 GL_CALL(PathCommands(fPathID, in GrGLPath()
119GL_CALL(PathParameterf(fPathID, GR_GL_PATH_STROKE_WIDTH, SkScalarToFloat(stroke.getWidth()))); in GrGLPath()
120GL_CALL(PathParameterf(fPathID, GR_GL_PATH_MITER_LIMIT, SkScalarToFloat(stroke.getMiter()))); in GrGLPath()
122 GL_CALL(PathParameteri(fPathID, GR_GL_PATH_JOIN_STYLE, join)); in GrGLPath()
124 GL_CALL(PathParameteri(fPathID, GR_GL_PATH_INITIAL_END_CAP, cap)); in GrGLPath()
125 GL_CALL(PathParameteri(fPathID, GR_GL_PATH_TERMINAL_END_CAP, cap)); in GrGLPath()
DGrGLRenderTarget.cpp14 #define GL_CALL(X) GR_GL_CALL(GPUGL->glInterface(), X) macro
85 GL_CALL(DeleteFramebuffers(1, &fTexFBOID)); in onRelease()
88 GL_CALL(DeleteFramebuffers(1, &fRTFBOID)); in onRelease()
91 GL_CALL(DeleteRenderbuffers(1, &fMSColorRenderbufferID)); in onRelease()
DGrGLShaderBuilder.cpp18 #define GL_CALL(X) GR_GL_CALL(this->gpu()->glInterface(), X) macro
670 GL_CALL(DeleteProgram(fOutput.fProgramID)); in finish()
679 GL_CALL(LinkProgram(fOutput.fProgramID)); in finish()
688 GL_CALL(GetProgramiv(fOutput.fProgramID, GR_GL_LINK_STATUS, &linked)); in finish()
691 GL_CALL(GetProgramiv(fOutput.fProgramID, GR_GL_INFO_LOG_LENGTH, &infoLen)); in finish()
697 GL_CALL(GetProgramInfoLog(fOutput.fProgramID, in finish()
704 GL_CALL(DeleteProgram(fOutput.fProgramID)); in finish()
715 GL_CALL(DeleteShader(shadersToDelete[i])); in finish()
809 GL_CALL(BindFragDataLocation(programId, 0, declared_color_output_name())); in bindProgramLocations()
812 GL_CALL(BindFragDataLocationIndexed(programId, 0, 1, dual_source_output_name())); in bindProgramLocations()
[all …]
DGrGLVertexArray.cpp12 #define GL_CALL(X) GR_GL_CALL(GPUGL->glInterface(), X); macro
85 GL_CALL(DeleteVertexArrays(1, &fID)); in onRelease()
105 GL_CALL(BindBuffer(GR_GL_ELEMENT_ARRAY_BUFFER, bufferID)); in bindWithIndexBuffer()
DGrGLProgram.cpp20 #define GL_CALL(X) GR_GL_CALL(fGpu->glInterface(), X) macro
53 GL_CALL(DeleteProgram(fBuilderOutput.fProgramID)); in ~GrGLProgram()
84 GL_CALL(UseProgram(fBuilderOutput.fProgramID)); in initSamplerUniforms()
166 GL_CALL(VertexAttrib4fv(header.fColorAttributeIndex, c)); in setColor()
205 GL_CALL(VertexAttrib4fv(header.fCoverageAttributeIndex, c)); in setCoverage()
DGrGLTexture.cpp13 #define GL_CALL(X) GR_GL_CALL(GPUGL->glInterface(), X) macro
DGrGpuGL_program.cpp211 #define GL_CALL(X) GR_GL_CALL(this->glInterface(), X) macro
263 GL_CALL(UseProgram(programID)); in flushGraphicsState()
/external/chromium_org/third_party/skia/src/gpu/gl/builders/
DGrGLProgramBuilder.cpp21 #define GL_CALL(X) GR_GL_CALL(this->gpu()->glInterface(), X) macro
240 GL_CALL(DeleteProgram(fProgramID)); in finish()
246 GL_CALL(LinkProgram(fProgramID)); in finish()
255 GL_CALL(GetProgramiv(fProgramID, GR_GL_LINK_STATUS, &linked)); in finish()
258 GL_CALL(GetProgramiv(fProgramID, GR_GL_INFO_LOG_LENGTH, &infoLen)); in finish()
264 GL_CALL(GetProgramInfoLog(fProgramID, in finish()
271 GL_CALL(DeleteProgram(fProgramID)); in finish()
280 GL_CALL(DeleteShader(shadersToDelete[i])); in finish()
299 GL_CALL(BindUniformLocation(programId, i, fUniforms[i].fVariable.c_str())); in bindProgramLocations()
DGrGLVertexShaderBuilder.cpp14 #define GL_CALL(X) GR_GL_CALL(gpu->glInterface(), X) macro
66 GL_CALL(BindAttribLocation(programId, in bindProgramLocations()
70 GL_CALL(BindAttribLocation(programId, in bindProgramLocations()
75 GL_CALL(BindAttribLocation(programId, in bindProgramLocations()
80 GL_CALL(BindAttribLocation(programId, in bindProgramLocations()
105 GL_CALL(BindAttribLocation(programId, index, fInputs[i].c_str())); in bindProgramLocations()
DGrGLFragmentShaderBuilder.cpp14 #define GL_CALL(X) GR_GL_CALL(gpu->glInterface(), X) macro
214 GL_CALL(BindFragDataLocation(programId, 0, declared_color_output_name())); in bindProgramLocations()
217 GL_CALL(BindFragDataLocationIndexed(programId, 0, 1, dual_source_output_name())); in bindProgramLocations()
DGrGLShaderStringBuilder.cpp14 #define GL_CALL(X) GR_GL_CALL(gpu->glInterface(), X) macro