Home
last modified time | relevance | path

Searched refs:GR_GL_CALL (Results 1 – 13 of 13) sorted by relevance

/external/skia/src/gpu/gl/
DGrGLUniformManager.cpp37 GR_GL_CALL(fContext.interface(), Uniform1i(uni.fFSLocation, texUnit)); in setSampler()
40 GR_GL_CALL(fContext.interface(), Uniform1i(uni.fVSLocation, texUnit)); in setSampler()
50 GR_GL_CALL(fContext.interface(), Uniform1f(uni.fFSLocation, v0)); in set1f()
53 GR_GL_CALL(fContext.interface(), Uniform1f(uni.fVSLocation, v0)); in set1f()
70 GR_GL_CALL(fContext.interface(), Uniform1fv(uni.fFSLocation + offset, arrayCount, v)); in set1fv()
73 GR_GL_CALL(fContext.interface(), Uniform1fv(uni.fVSLocation + offset, arrayCount, v)); in set1fv()
83 GR_GL_CALL(fContext.interface(), Uniform2f(uni.fFSLocation, v0, v1)); in set2f()
86 GR_GL_CALL(fContext.interface(), Uniform2f(uni.fVSLocation, v0, v1)); in set2f()
100 GR_GL_CALL(fContext.interface(), Uniform2fv(uni.fFSLocation + offset, arrayCount, v)); in set2fv()
103 GR_GL_CALL(fContext.interface(), Uniform2fv(uni.fVSLocation + offset, arrayCount, v)); in set2fv()
[all …]
DGrGLUtil.h41 GR_GL_CALL(gl, GetIntegerv(e, p)); \
47 GR_GL_CALL(gl, GetFramebufferAttachmentParameteriv(t, a, pname, p)); \
53 GR_GL_CALL(gl, GetRenderbufferParameteriv(t, pname, p)); \
58 GR_GL_CALL(gl, GetTexLevelParameteriv(t, l, pname, p)); \
127 #define GR_GL_CALL(IFACE, X) \ macro
DGrGLIRect.h27 GR_GL_CALL(gl, Viewport(fLeft, fBottom, fWidth, fHeight)); in pushToGLViewport()
31 GR_GL_CALL(gl, Scissor(fLeft, fBottom, fWidth, fHeight)); in pushToGLScissor()
DGrGpuGL.cpp20 #define GL_CALL(X) GR_GL_CALL(this->glInterface(), X)
35 #define GL_ALLOC_CALL(iface, call) GR_GL_CALL(iface, call)
123 GR_GL_CALL(gl, ActiveTexture(GR_GL_TEXTURE0 + SPARE_TEX_UNIT)); in fbo_test()
126 GR_GL_CALL(gl, GenFramebuffers(1, &testFBO)); in fbo_test()
127 GR_GL_CALL(gl, BindFramebuffer(GR_GL_FRAMEBUFFER, testFBO)); in fbo_test()
129 GR_GL_CALL(gl, GenTextures(1, &testRTTex)); in fbo_test()
130 GR_GL_CALL(gl, BindTexture(GR_GL_TEXTURE_2D, testRTTex)); in fbo_test()
133 GR_GL_CALL(gl, TexParameteri(GR_GL_TEXTURE_2D, in fbo_test()
136 GR_GL_CALL(gl, TexImage2D(GR_GL_TEXTURE_2D, 0, GR_GL_RGBA, w, h, in fbo_test()
138 GR_GL_CALL(gl, BindTexture(GR_GL_TEXTURE_2D, 0)); in fbo_test()
[all …]
DGrGLProgram.cpp23 #define GL_CALL(X) GR_GL_CALL(fContextInfo.interface(), X)
430 GR_GL_CALL(gli, ShaderSource(shader, stringCnt, strings, stringLengths)); in compile_shader()
431 GR_GL_CALL(gli, CompileShader(shader)); in compile_shader()
432 GR_GL_CALL(gli, GetShaderiv(shader, GR_GL_COMPILE_STATUS, &compiled)); in compile_shader()
436 GR_GL_CALL(gli, GetShaderiv(shader, GR_GL_INFO_LOG_LENGTH, &infoLen)); in compile_shader()
442 GR_GL_CALL(gli, GetShaderInfoLog(shader, infoLen+1, in compile_shader()
448 GR_GL_CALL(gli, DeleteShader(shader)); in compile_shader()
DGrGLStencilBuffer.cpp28 GR_GL_CALL(gl, DeleteRenderbuffers(1, &fRenderbufferID)); in onRelease()
DGrGLTexture.cpp15 #define GL_CALL(X) GR_GL_CALL(GPUGL->glInterface(), X) in SK_DEFINE_INST_COUNT()
DGrGLTexture.h30 GR_GL_CALL(fGL, DeleteTextures(1, &fTexID)); in ~GrGLTexID()
DGrGLIndexBuffer.cpp15 #define GL_CALL(X) GR_GL_CALL(GPUGL->glInterface(), X)
DGrGLPath.cpp14 #define GL_CALL(X) GR_GL_CALL(GPUGL->glInterface(), X)
DGrGLVertexBuffer.cpp15 #define GL_CALL(X) GR_GL_CALL(GPUGL->glInterface(), X)
DGrGLRenderTarget.cpp14 #define GL_CALL(X) GR_GL_CALL(GPUGL->glInterface(), X)
DGrGpuGL_program.cpp84 #define GL_CALL(X) GR_GL_CALL(this->glInterface(), X)