/third_party/skia/src/gpu/gl/ |
H A D | GrGLGpu.cpp | 46 #define GL_CALL(X) GR_GL_CALL(this->glInterface(), X) macro 394 GL_CALL(UseProgram(0)); in ~GrGLGpu() 409 GL_CALL(DeleteProgram(fCopyPrograms[i].fProgram)); in ~GrGLGpu() 415 GL_CALL(DeleteProgram(fMipmapPrograms[i].fProgram)); in ~GrGLGpu() 428 GL_CALL(UseProgram(0)); in disconnect() 441 GL_CALL(DeleteProgram(fCopyPrograms[i].fProgram)); in disconnect() 446 GL_CALL(DeleteProgram(fMipmapPrograms[i].fProgram)); in disconnect() 495 GL_CALL(Disable(GR_GL_DEPTH_TEST)); in onResetContext() 496 GL_CALL(DepthMask(GR_GL_FALSE)); in onResetContext() 499 GL_CALL(Disabl in onResetContext() [all...] |
H A D | GrGLAttachment.cpp | 13 #define GL_CALL(X) GR_GL_CALL(gpu->glInterface(), X) macro 61 GL_CALL(GenRenderbuffers(1, &rbID)); in MakeStencil() 65 GL_CALL(BindRenderbuffer(GR_GL_RENDERBUFFER, rbID)); in MakeStencil() 72 GL_CALL(DeleteRenderbuffers(1, &rbID)); in MakeStencil() 79 GL_CALL(DeleteRenderbuffers(1, &rbID)); in MakeStencil() 98 GL_CALL(GenRenderbuffers(1, &rbID)); in MakeMSAA() 102 GL_CALL(BindRenderbuffer(GR_GL_RENDERBUFFER, rbID)); in MakeMSAA() 106 GL_CALL(DeleteRenderbuffers(1, &rbID)); in MakeMSAA()
|
H A D | GrGLOpsRenderPass.cpp | 18 #define GL_CALL(X) GR_GL_CALL(fGpu->glInterface(), X) macro 188 GL_CALL(DrawArrays(glPrimType, baseVertex, vertexCount)); in onDraw() 198 GL_CALL(DrawElementsInstancedBaseVertexBaseInstance( in onDrawIndexed() 208 GL_CALL(DrawRangeElements(glPrimType, minIndexValue, maxIndexValue, indexCount, in onDrawIndexed() 211 GL_CALL(DrawElements(glPrimType, indexCount, GR_GL_UNSIGNED_SHORT, in onDrawIndexed() 231 GL_CALL(DrawArraysInstancedBaseInstance(glPrimType, baseVertex, vertexCount, in onDrawInstanced() 235 GL_CALL(DrawArraysInstanced(glPrimType, baseVertex, vertexCount, instanceCountForDraw)); in onDrawInstanced() 250 GL_CALL(DrawElementsInstancedBaseVertexBaseInstance( in onDrawIndexedInstanced() 257 GL_CALL(DrawElementsInstanced(glPrimType, indexCount, GR_GL_UNSIGNED_SHORT, in onDrawIndexedInstanced() 295 GL_CALL(MultiDrawArraysIndirec in onDrawIndirect() [all...] |
H A D | GrGLRenderTarget.cpp | 20 #define GL_CALL(X) GR_GL_CALL(GPUGL->glInterface(), X) macro 164 GL_CALL(GenFramebuffers(1, &fMultisampleFBOID)); in ensureDynamicMSAAAttachment() 179 GL_CALL(FramebufferRenderbuffer(GR_GL_FRAMEBUFFER, GR_GL_COLOR_ATTACHMENT0, GR_GL_RENDERBUFFER, in ensureDynamicMSAAAttachment() 193 GL_CALL(FramebufferTexture2D(fboTarget, in bindInternal() 202 GL_CALL(FramebufferTexture2DMultisample(fboTarget, in bindInternal() 209 GL_CALL(FramebufferTexture2D(fboTarget, in bindInternal() 224 GL_CALL(FramebufferRenderbuffer(fboTarget, in bindInternal() 229 GL_CALL(FramebufferRenderbuffer(fboTarget, in bindInternal() 234 GL_CALL(FramebufferRenderbuffer(fboTarget, in bindInternal() 240 GL_CALL(FramebufferRenderbuffe in bindInternal() [all...] |
H A D | GrGLBuffer.cpp | 16 #define GL_CALL(X) GR_GL_CALL(this->glGpu()->glInterface(), X) macro 114 GL_CALL(GenBuffers(1, &fBufferID)); in GrGLBuffer() 119 GL_CALL(DeleteBuffers(1, &fBufferID)); in GrGLBuffer() 148 GL_CALL(DeleteBuffers(1, &fBufferID)); in onRelease() 251 GL_CALL(UnmapBuffer(target)); in onUnmap() 256 GL_CALL(UnmapBufferSubData(fMapPtr)); in onUnmap() 297 GL_CALL(BufferSubData(target, 0, (GrGLsizeiptr) srcSizeInBytes, src)); in onUpdateData()
|
H A D | GrGLUniformHandler.cpp | 16 #define GL_CALL(X) GR_GL_CALL(this->glGpu()->glInterface(), X) macro 116 GL_CALL(BindUniformLocation(programID, currUniform, uniform.fVariable.c_str())); in bindUniformLocations() 121 GL_CALL(BindUniformLocation(programID, currUniform, sampler.fVariable.c_str())); in bindUniformLocations()
|
H A D | GrGLTexture.cpp | 18 #define GL_CALL(X) GR_GL_CALL(GPUGL->glInterface(), X) macro 101 GL_CALL(DeleteTextures(1, &fID)); in onRelease()
|
H A D | GrGLProgram.cpp | 22 #define GL_CALL(X) GR_GL_CALL(fGpu->glInterface(), X) macro 89 GL_CALL(DeleteProgram(fProgramID)); in ~GrGLProgram()
|
/third_party/skia/src/gpu/gl/builders/ |
H A D | GrGLProgramBuilder.cpp | 34 #define GL_CALL(X) GR_GL_CALL(this->gpu()->glInterface(), X) macro 133 GL_CALL(BindAttribLocation(programID, i, a.name())); in computeCountsAndStrides() 170 GL_CALL(GetProgramiv(programID, GL_PROGRAM_BINARY_LENGTH, &length)); in storeShaderInCache() 180 GL_CALL(GetProgramBinary(programID, length, &length, &binaryFormat, binary.get())); in storeShaderInCache() 251 GL_CALL(ProgramParameteri(programID, GR_GL_PROGRAM_BINARY_RETRIEVABLE_HINT, GR_GL_TRUE)); in finalize() 451 GL_CALL(LinkProgram(programID)); in finalize() 490 GL_CALL(BindFragDataLocation(programID, 0, in bindProgramResourceLocations() 494 GL_CALL(BindFragDataLocationIndexed(programID, 0, 1, in bindProgramResourceLocations() 503 GL_CALL(GetProgramiv(programID, GR_GL_LINK_STATUS, &linked)); in checkLinkStatus() 515 GL_CALL(GetProgrami in checkLinkStatus() [all...] |