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
56 GL_CALL(DeleteVertexArrays(1, &fVertexArrayID)); in ~GLInstancedRendering()
89 GL_CALL(GenVertexArrays(1, &fVertexArrayID)); in onBeginFlush()
97 GL_CALL(BindBuffer(GR_GL_ELEMENT_ARRAY_BUFFER, in onBeginFlush()
102 GL_CALL(EnableVertexAttribArray((int)Attrib::kShapeCoords)); in onBeginFlush()
103 GL_CALL(VertexAttribPointer((int)Attrib::kShapeCoords, 2, GR_GL_FLOAT, GR_GL_FALSE, in onBeginFlush()
105 GL_CALL(EnableVertexAttribArray((int)Attrib::kVertexAttrs)); in onBeginFlush()
106 GL_CALL(VertexAttribIPointer((int)Attrib::kVertexAttrs, 1, GR_GL_INT, sizeof(ShapeVertex), in onBeginFlush()
238 GL_CALL(MultiDrawElementsIndirect(GR_GL_TRIANGLES, GR_GL_UNSIGNED_BYTE, in onDraw()
249 GL_CALL(DrawElementsIndirect(GR_GL_TRIANGLES, GR_GL_UNSIGNED_BYTE, in onDraw()
[all …]
/external/skia/src/gpu/gl/
DGrGLGpu.cpp41 #define GL_CALL(X) GR_GL_CALL(this->glInterface(), X) macro
290 GL_CALL(UseProgram(0)); in ~GrGLGpu()
294 GL_CALL(DeleteFramebuffers(1, &fTempSrcFBOID)); in ~GrGLGpu()
297 GL_CALL(DeleteFramebuffers(1, &fTempDstFBOID)); in ~GrGLGpu()
300 GL_CALL(DeleteFramebuffers(1, &fStencilClearFBOID)); in ~GrGLGpu()
305 GL_CALL(DeleteProgram(fCopyPrograms[i].fProgram)); in ~GrGLGpu()
311 GL_CALL(DeleteProgram(fMipmapPrograms[i].fProgram)); in ~GrGLGpu()
316 GL_CALL(DeleteProgram(fStencilClipClearProgram)); in ~GrGLGpu()
326 GL_CALL(UseProgram(0)); in disconnect()
329 GL_CALL(DeleteFramebuffers(1, &fTempSrcFBOID)); in disconnect()
[all …]
DGrGLBuffer.cpp13 #define GL_CALL(X) GR_GL_CALL(this->glGpu()->glInterface(), X) macro
102 GL_CALL(GenBuffers(1, &fBufferID)); in GrGLBuffer()
112 GL_CALL(DeleteBuffers(1, &fBufferID)); in GrGLBuffer()
139 GL_CALL(DeleteBuffers(1, &fBufferID)); in onRelease()
179 GL_CALL(BufferData(target, this->sizeInBytes(), nullptr, fUsage)); in onMap()
188 GL_CALL(BufferData(target, this->sizeInBytes(), nullptr, fUsage)); in onMap()
203 GL_CALL(BufferData(target, this->sizeInBytes(), nullptr, fUsage)); in onMap()
234 GL_CALL(UnmapBuffer(target)); in onUnmap()
239 GL_CALL(UnmapBufferSubData(fMapPtr)); in onUnmap()
262 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()
140 GL_CALL(StencilFillPath(glPath->pathID(), fillMode, writeMask)); in onStencilPath()
143 GL_CALL(StencilStrokePath(glPath->pathID(), 0xffff, writeMask)); in onStencilPath()
165 GL_CALL(StencilFillPath(glPath->pathID(), fillMode, writeMask)); in onDrawPath()
167 GL_CALL(StencilThenCoverStrokePath(glPath->pathID(), 0xffff, writeMask, in onDrawPath()
170 GL_CALL(StencilThenCoverFillPath(glPath->pathID(), fillMode, writeMask, in onDrawPath()
198 GL_CALL(StencilFillPathInstanced( in onDrawPaths()
203 GL_CALL(StencilThenCoverStrokePathInstanced( in onDrawPaths()
208 GL_CALL(StencilThenCoverFillPathInstanced( in onDrawPaths()
[all …]
DGrGLRenderTarget.cpp18 #define GL_CALL(X) GR_GL_CALL(GPUGL->glInterface(), X) macro
147 GL_CALL(DeleteFramebuffers(1, &fTexFBOID)); in onRelease()
150 GL_CALL(DeleteFramebuffers(1, &fRTFBOID)); in onRelease()
153 GL_CALL(DeleteRenderbuffers(1, &fMSColorRenderbufferID)); in onRelease()
DGrGLUniformHandler.cpp14 #define GL_CALL(X) GR_GL_CALL(this->glGpu()->glInterface(), X) macro
155 GL_CALL(BindUniformLocation(programID, currUniform, fUniforms[i].fVariable.c_str())); in bindUniformLocations()
159 GL_CALL(BindUniformLocation(programID, currUniform, fSamplers[i].fVariable.c_str())); in bindUniformLocations()
163 GL_CALL(BindUniformLocation(programID, currUniform, in bindUniformLocations()
168 GL_CALL(BindUniformLocation(programID, currUniform, in bindUniformLocations()
DGrGLProgram.cpp23 #define GL_CALL(X) GR_GL_CALL(fGpu->glInterface(), X) macro
51 GL_CALL(UseProgram(fProgramID)); in GrGLProgram()
59 GL_CALL(DeleteProgram(fProgramID)); in ~GrGLProgram()
DGrGLTexture.cpp15 #define GL_CALL(X) GR_GL_CALL(GPUGL->glInterface(), X) macro
99 GL_CALL(DeleteTextures(1, &fInfo.fID)); in onRelease()
/external/skia/src/gpu/gl/builders/
DGrGLProgramBuilder.cpp28 #define GL_CALL(X) GR_GL_CALL(this->gpu()->glInterface(), X) macro
131 GL_CALL(BindAttribLocation(programID, i, primProc.getAttrib(i).fName)); in finalize()
154 GL_CALL(LinkProgram(programID)); in finalize()
193 GL_CALL(BindFragDataLocation(programID, 0, in bindProgramResourceLocations()
197 GL_CALL(BindFragDataLocationIndexed(programID, 0, 1, in bindProgramResourceLocations()
208 GL_CALL(BindFragmentInputLocation(programID, i, in bindProgramResourceLocations()
216 GL_CALL(GetProgramiv(programID, GR_GL_LINK_STATUS, &linked)); in checkLinkStatus()
220 GL_CALL(GetProgramiv(programID, GR_GL_INFO_LOG_LENGTH, &infoLen)); in checkLinkStatus()
226 GL_CALL(GetProgramInfoLog(programID, in checkLinkStatus()
232 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
562 GL_CALL(fANGLEInterface, ClearStencil(0)); in attachANGLE()
563 GL_CALL(fANGLEInterface, ClearColor(0, 0, 0, 0)); in attachANGLE()
564 GL_CALL(fANGLEInterface, StencilMask(0xffffffff)); in attachANGLE()
565 GL_CALL(fANGLEInterface, Clear(GL_STENCIL_BUFFER_BIT | GL_COLOR_BUFFER_BIT)); in attachANGLE()
574 GL_CALL(fANGLEInterface, Viewport(0, 0, SkScalarRoundToInt(this->width()), in attachANGLE()
594 GL_CALL(fANGLEInterface, Flush()); in presentANGLE()