Lines Matching refs:glInterface
27 #define GL_CALL(X) GR_GL_CALL(this->glInterface(), X)
28 #define GL_CALL_RET(RET, X) GR_GL_CALL_RET(this->glInterface(), RET, X)
166 SkAutoTUnref<const GrGLInterface> glInterface(
168 if (!glInterface) {
169 glInterface.reset(GrGLDefaultInterface());
171 glInterface->ref();
173 if (!glInterface) {
176 GrGLContext* glContext = GrGLContext::Create(glInterface, options);
193 GrGLClearErr(this->glInterface());
379 GL_ALLOC_CALL(this->glInterface(),
1011 CLEAR_ERROR_BEFORE_ALLOC(this->glInterface());
1012 GL_ALLOC_CALL(this->glInterface(), TexImage2D(
1015 GrGLenum error = check_alloc_error(desc, this->glInterface());
1088 CLEAR_ERROR_BEFORE_ALLOC(this->glInterface());
1089 GL_ALLOC_CALL(this->glInterface(),
1097 GrGLenum error = check_alloc_error(desc, this->glInterface());
1434 CLEAR_ERROR_BEFORE_ALLOC(this->glInterface());
1435 GL_ALLOC_CALL(this->glInterface(), TexImage2D(GR_GL_TEXTURE_2D,
1444 if (GR_GL_NO_ERROR != CHECK_ALLOC_ERROR(this->glInterface())) {
1471 CLEAR_ERROR_BEFORE_ALLOC(this->glInterface());
1472 GL_ALLOC_CALL(this->glInterface(), RenderbufferStorage(GR_GL_RENDERBUFFER,
1475 if (GR_GL_NO_ERROR == CHECK_ALLOC_ERROR(this->glInterface())) {
1616 CLEAR_ERROR_BEFORE_ALLOC(this->glInterface());
1625 GL_ALLOC_CALL(this->glInterface(), RenderbufferStorage(GR_GL_RENDERBUFFER,
1628 SkASSERT(GR_GL_NO_ERROR == check_alloc_error(rt->desc(), this->glInterface()));
1634 get_stencil_rb_sizes(this->glInterface(), &format);
1664 CLEAR_ERROR_BEFORE_ALLOC(this->glInterface());
1666 GL_ALLOC_CALL(this->glInterface(),
1671 if (CHECK_ALLOC_ERROR(this->glInterface()) != GR_GL_NO_ERROR) {
1697 CLEAR_ERROR_BEFORE_ALLOC(this->glInterface());
1699 GL_ALLOC_CALL(this->glInterface(),
1704 if (CHECK_ALLOC_ERROR(this->glInterface()) != GR_GL_NO_ERROR) {
1730 CLEAR_ERROR_BEFORE_ALLOC(this->glInterface());
1741 GL_ALLOC_CALL(this->glInterface(),
1746 if (CHECK_ALLOC_ERROR(this->glInterface()) != GR_GL_NO_ERROR) {
1772 scissor.pushToGLScissor(this->glInterface());
1901 GR_GL_CALL(this->glInterface(), BindBuffer(type, id));
2188 GR_GL_GetIntegerv(this->glInterface(), query, value);
2209 GR_GL_GetIntegerv(this->glInterface(), query, value);
2546 viewport.pushToGLViewport(this->glInterface());
2818 set_gl_stencil(this->glInterface(),
2822 set_gl_stencil(this->glInterface(),
2827 set_gl_stencil(this->glInterface(),
3240 GR_GL_CALL(this->glInterface(), GenFramebuffers(1, tempFBOID));
3244 GR_GL_CALL(this->glInterface(), BindFramebuffer(fboTarget, *tempFBOID));
3245 GR_GL_CALL(this->glInterface(), FramebufferTexture2D(fboTarget,
3256 GR_GL_CALL(this->glInterface(), BindFramebuffer(fboTarget, rt->renderFBOID()));
3266 GR_GL_CALL(this->glInterface(), FramebufferTexture2D(fboTarget,
3495 GL_ALLOC_CALL(this->glInterface(),
3585 GL_ALLOC_CALL(this->glInterface(),
3980 GR_GL_CALL(gpu->glInterface(), GenVertexArrays(1, &arrayID));