Home
last modified time | relevance | path

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

/external/skia/src/gpu/instanced/
DGLInstancedRendering.cpp14 #define GL_CALL(X) GR_GL_CALL(this->glGpu()->glInterface(), X) macro
55 GL_CALL(DeleteVertexArrays(1, &fVertexArrayID)); in ~GLInstancedRendering()
88 GL_CALL(GenVertexArrays(1, &fVertexArrayID)); in onBeginFlush()
96 GL_CALL(BindBuffer(GR_GL_ELEMENT_ARRAY_BUFFER, in onBeginFlush()
101 GL_CALL(EnableVertexAttribArray((int)Attrib::kShapeCoords)); in onBeginFlush()
102 GL_CALL(VertexAttribPointer((int)Attrib::kShapeCoords, 2, GR_GL_FLOAT, GR_GL_FALSE, in onBeginFlush()
104 GL_CALL(EnableVertexAttribArray((int)Attrib::kVertexAttrs)); in onBeginFlush()
105 GL_CALL(VertexAttribIPointer((int)Attrib::kVertexAttrs, 1, GR_GL_INT, sizeof(ShapeVertex), in onBeginFlush()
237 GL_CALL(MultiDrawElementsIndirect(GR_GL_TRIANGLES, GR_GL_UNSIGNED_BYTE, in onDraw()
248 GL_CALL(DrawElementsIndirect(GR_GL_TRIANGLES, GR_GL_UNSIGNED_BYTE, in onDraw()
[all …]
/external/skia/src/gpu/gl/
DGrGLGpu.cpp37 #define GL_CALL(X) GR_GL_CALL(this->glInterface(), X) macro
277 GL_CALL(UseProgram(0)); in ~GrGLGpu()
281 GL_CALL(DeleteFramebuffers(1, &fTempSrcFBOID)); in ~GrGLGpu()
284 GL_CALL(DeleteFramebuffers(1, &fTempDstFBOID)); in ~GrGLGpu()
287 GL_CALL(DeleteFramebuffers(1, &fStencilClearFBOID)); in ~GrGLGpu()
292 GL_CALL(DeleteProgram(fCopyPrograms[i].fProgram)); in ~GrGLGpu()
298 GL_CALL(DeleteProgram(fMipmapPrograms[i].fProgram)); in ~GrGLGpu()
303 GL_CALL(DeleteProgram(fWireRectProgram.fProgram)); in ~GrGLGpu()
313 GL_CALL(UseProgram(0)); in disconnect()
316 GL_CALL(DeleteFramebuffers(1, &fTempSrcFBOID)); in disconnect()
[all …]
DGrGLBuffer.cpp12 #define GL_CALL(X) GR_GL_CALL(this->glGpu()->glInterface(), X) macro
95 GL_CALL(GenBuffers(1, &fBufferID)); in GrGLBuffer()
105 GL_CALL(DeleteBuffers(1, &fBufferID)); in GrGLBuffer()
129 GL_CALL(DeleteBuffers(1, &fBufferID)); in onRelease()
168 GL_CALL(BufferData(target, this->sizeInBytes(), nullptr, fUsage)); in onMap()
177 GL_CALL(BufferData(target, this->sizeInBytes(), nullptr, fUsage)); in onMap()
192 GL_CALL(BufferData(target, this->sizeInBytes(), nullptr, fUsage)); in onMap()
222 GL_CALL(UnmapBuffer(target)); in onUnmap()
227 GL_CALL(UnmapBufferSubData(fMapPtr)); in onUnmap()
249 GL_CALL(BufferData(target, (GrGLsizeiptr) srcSizeInBytes, src, fUsage)); in onUpdateData()
[all …]
DGrGLPathRendering.cpp19 #define GL_CALL(X) GR_GL_CALL(this->gpu()->glInterface(), X) macro
104 GL_CALL(MatrixLoadIdentity(GR_GL_PATH_MODELVIEW)); in resetContext()
141 GL_CALL(StencilFillPath(glPath->pathID(), fillMode, writeMask)); in onStencilPath()
144 GL_CALL(StencilStrokePath(glPath->pathID(), 0xffff, writeMask)); in onStencilPath()
166 GL_CALL(StencilFillPath(glPath->pathID(), fillMode, writeMask)); in onDrawPath()
168 GL_CALL(StencilThenCoverStrokePath(glPath->pathID(), 0xffff, writeMask, in onDrawPath()
171 GL_CALL(StencilThenCoverFillPath(glPath->pathID(), fillMode, writeMask, in onDrawPath()
199 GL_CALL(StencilFillPathInstanced( in onDrawPaths()
204 GL_CALL(StencilThenCoverStrokePathInstanced( in onDrawPaths()
209 GL_CALL(StencilThenCoverFillPathInstanced( in onDrawPaths()
[all …]
DGrGLRenderTarget.cpp17 #define GL_CALL(X) GR_GL_CALL(GPUGL->glInterface(), X) macro
145 GL_CALL(DeleteFramebuffers(1, &fTexFBOID)); in onRelease()
148 GL_CALL(DeleteFramebuffers(1, &fRTFBOID)); in onRelease()
151 GL_CALL(DeleteRenderbuffers(1, &fMSColorRenderbufferID)); in onRelease()
DGrGLUniformHandler.cpp14 #define GL_CALL(X) GR_GL_CALL(this->glGpu()->glInterface(), X) macro
129 GL_CALL(BindUniformLocation(programID, currUniform, fUniforms[i].fVariable.c_str())); in bindUniformLocations()
133 GL_CALL(BindUniformLocation(programID, currUniform, fSamplers[i].fVariable.c_str())); in bindUniformLocations()
137 GL_CALL(BindUniformLocation(programID, currUniform, in bindUniformLocations()
DGrGLProgram.cpp23 #define GL_CALL(X) GR_GL_CALL(fGpu->glInterface(), X) macro
48 GL_CALL(UseProgram(fProgramID)); in GrGLProgram()
55 GL_CALL(DeleteProgram(fProgramID)); in ~GrGLProgram()
DGrGLTexture.cpp18 #define GL_CALL(X) GR_GL_CALL(GPUGL->glInterface(), X) macro
101 GL_CALL(DeleteTextures(1, &fInfo.fID)); in onRelease()
/external/skia/src/gpu/gl/builders/
DGrGLProgramBuilder.cpp29 #define GL_CALL(X) GR_GL_CALL(this->gpu()->glInterface(), X) macro
133 GL_CALL(BindAttribLocation(programID, i, primProc.getAttrib(i).fName)); in finalize()
156 GL_CALL(LinkProgram(programID)); in finalize()
178 GL_CALL(BindFragDataLocation(programID, 0, in bindProgramResourceLocations()
182 GL_CALL(BindFragDataLocationIndexed(programID, 0, 1, in bindProgramResourceLocations()
193 GL_CALL(BindFragmentInputLocation(programID, i, in bindProgramResourceLocations()
201 GL_CALL(GetProgramiv(programID, GR_GL_LINK_STATUS, &linked)); in checkLinkStatus()
204 GL_CALL(GetProgramiv(programID, GR_GL_INFO_LOG_LENGTH, &infoLen)); in checkLinkStatus()
210 GL_CALL(GetProgramInfoLog(programID, in checkLinkStatus()
217 GL_CALL(DeleteProgram(programID)); in checkLinkStatus()
[all …]
DGrGLShaderStringBuilder.cpp17 #define GL_CALL(X) GR_GL_CALL(gpu->glInterface(), X) macro
/external/skia/src/views/win/
DSkOSWindow_win.cpp35 #define GL_CALL(IFACE, X) \ macro
564 GL_CALL(fANGLEInterface, ClearStencil(0)); in attachANGLE()
565 GL_CALL(fANGLEInterface, ClearColor(0, 0, 0, 0)); in attachANGLE()
566 GL_CALL(fANGLEInterface, StencilMask(0xffffffff)); in attachANGLE()
567 GL_CALL(fANGLEInterface, Clear(GL_STENCIL_BUFFER_BIT | GL_COLOR_BUFFER_BIT)); in attachANGLE()
576 GL_CALL(fANGLEInterface, Viewport(0, 0, SkScalarRoundToInt(this->width()), in attachANGLE()
596 GL_CALL(fANGLEInterface, Flush()); in presentANGLE()