Lines Matching refs:GL_CALL
27 #define GL_CALL(X) GR_GL_CALL(this->glInterface(), X) macro
245 GL_CALL(UseProgram(0)); in ~GrGLGpu()
249 GL_CALL(DeleteFramebuffers(1, &fTempSrcFBOID)); in ~GrGLGpu()
252 GL_CALL(DeleteFramebuffers(1, &fTempDstFBOID)); in ~GrGLGpu()
255 GL_CALL(DeleteFramebuffers(1, &fStencilClearFBOID)); in ~GrGLGpu()
260 GL_CALL(DeleteProgram(fCopyPrograms[i].fProgram)); in ~GrGLGpu()
265 GL_CALL(DeleteBuffers(1, &fCopyProgramArrayBuffer)); in ~GrGLGpu()
269 GL_CALL(DeleteProgram(fWireRectProgram.fProgram)); in ~GrGLGpu()
273 GL_CALL(DeleteBuffers(1, &fWireRectArrayBuffer)); in ~GrGLGpu()
277 GL_CALL(DeleteBuffers(1, &fPLSSetupProgram.fArrayBuffer)); in ~GrGLGpu()
281 GL_CALL(DeleteProgram(fPLSSetupProgram.fProgram)); in ~GrGLGpu()
361 GL_CALL(LinkProgram(fPLSSetupProgram.fProgram)); in createPLSSetupProgram()
366 GL_CALL(BindAttribLocation(fPLSSetupProgram.fProgram, 0, "a_vertex")); in createPLSSetupProgram()
368 GL_CALL(DeleteShader(vshader)); in createPLSSetupProgram()
369 GL_CALL(DeleteShader(fshader)); in createPLSSetupProgram()
371 GL_CALL(GenBuffers(1, &fPLSSetupProgram.fArrayBuffer)); in createPLSSetupProgram()
409 GL_CALL(Disable(GR_GL_DEPTH_TEST)); in onResetContext()
410 GL_CALL(DepthMask(GR_GL_FALSE)); in onResetContext()
417 GL_CALL(Disable(GR_GL_POINT_SMOOTH)); in onResetContext()
418 GL_CALL(Disable(GR_GL_LINE_SMOOTH)); in onResetContext()
419 GL_CALL(Disable(GR_GL_POLYGON_SMOOTH)); in onResetContext()
420 GL_CALL(Disable(GR_GL_POLYGON_STIPPLE)); in onResetContext()
421 GL_CALL(Disable(GR_GL_COLOR_LOGIC_OP)); in onResetContext()
422 GL_CALL(Disable(GR_GL_INDEX_LOGIC_OP)); in onResetContext()
428 GL_CALL(Disable(GR_GL_COLOR_TABLE)); in onResetContext()
430 GL_CALL(Disable(GR_GL_POLYGON_OFFSET_FILL)); in onResetContext()
433 GL_CALL(Enable(GR_GL_VERTEX_PROGRAM_POINT_SIZE)); in onResetContext()
444 GL_CALL(Enable(GR_GL_FETCH_PER_SAMPLE_ARM)); in onResetContext()
448 GL_CALL(LineWidth(1)); in onResetContext()
449 GL_CALL(Disable(GR_GL_DITHER)); in onResetContext()
463 GL_CALL(CoverageModulation(GR_GL_RGBA)); in onResetContext()
508 GL_CALL(PixelStorei(GR_GL_UNPACK_ROW_LENGTH, 0)); in onResetContext()
511 GL_CALL(PixelStorei(GR_GL_PACK_ROW_LENGTH, 0)); in onResetContext()
514 GL_CALL(PixelStorei(GR_GL_UNPACK_FLIP_Y, GR_GL_FALSE)); in onResetContext()
517 GL_CALL(PixelStorei(GR_GL_PACK_REVERSE_ROW_ORDER, GR_GL_FALSE)); in onResetContext()
821 GL_CALL(BindTexture(glTex->target(), glTex->textureID())); in onWritePixels()
858 GL_CALL(BindTexture(glTex->target(), glTex->textureID())); in onTransferPixels()
865 GL_CALL(BindBuffer(glBuffer->bufferType(), glBuffer->bufferID())); in onTransferPixels()
964 GL_CALL(PixelStorei(GR_GL_UNPACK_ROW_LENGTH, rowLength)); in uploadTexData()
992 GL_CALL(PixelStorei(GR_GL_UNPACK_FLIP_Y, GR_GL_TRUE)); in uploadTexData()
994 GL_CALL(PixelStorei(GR_GL_UNPACK_ALIGNMENT, config_alignment(dataConfig))); in uploadTexData()
1004 GL_CALL(TexSubImage2D(target, in uploadTexData()
1025 GL_CALL(TexSubImage2D(target, in uploadTexData()
1034 GL_CALL(PixelStorei(GR_GL_UNPACK_ROW_LENGTH, 0)); in uploadTexData()
1037 GL_CALL(PixelStorei(GR_GL_UNPACK_FLIP_Y, GR_GL_FALSE)); in uploadTexData()
1106 GL_CALL(CompressedTexSubImage2D(target, in uploadCompressedTexData()
1177 GL_CALL(GenFramebuffers(1, &idDesc->fTexFBOID)); in createRenderTargetObjects()
1187 GL_CALL(GenFramebuffers(1, &idDesc->fRTFBOID)); in createRenderTargetObjects()
1188 GL_CALL(GenRenderbuffers(1, &idDesc->fMSColorRenderbufferID)); in createRenderTargetObjects()
1204 GL_CALL(BindRenderbuffer(GR_GL_RENDERBUFFER, idDesc->fMSColorRenderbufferID)); in createRenderTargetObjects()
1212 GL_CALL(BindFramebuffer(GR_GL_FRAMEBUFFER, idDesc->fRTFBOID)); in createRenderTargetObjects()
1213 GL_CALL(FramebufferRenderbuffer(GR_GL_FRAMEBUFFER, in createRenderTargetObjects()
1227 GL_CALL(BindFramebuffer(GR_GL_FRAMEBUFFER, idDesc->fTexFBOID)); in createRenderTargetObjects()
1230 GL_CALL(FramebufferTexture2DMultisample(GR_GL_FRAMEBUFFER, in createRenderTargetObjects()
1235 GL_CALL(FramebufferTexture2D(GR_GL_FRAMEBUFFER, in createRenderTargetObjects()
1253 GL_CALL(DeleteRenderbuffers(1, &idDesc->fMSColorRenderbufferID)); in createRenderTargetObjects()
1256 GL_CALL(DeleteFramebuffers(1, &idDesc->fRTFBOID)); in createRenderTargetObjects()
1259 GL_CALL(DeleteFramebuffers(1, &idDesc->fTexFBOID)); in createRenderTargetObjects()
1298 GL_CALL(BindTexture(idDesc.fInfo.fTarget, 0)); in onCreateTexture()
1302 GL_CALL(DeleteTextures(1, &idDesc.fInfo.fID)); in onCreateTexture()
1327 GL_CALL(GenTextures(1, &idDesc.fInfo.fID)); in onCreateCompressedTexture()
1337 GL_CALL(BindTexture(idDesc.fInfo.fTarget, idDesc.fInfo.fID)); in onCreateCompressedTexture()
1349 GL_CALL(TexParameteri(idDesc.fInfo.fTarget, in onCreateCompressedTexture()
1352 GL_CALL(TexParameteri(idDesc.fInfo.fTarget, in onCreateCompressedTexture()
1355 GL_CALL(TexParameteri(idDesc.fInfo.fTarget, in onCreateCompressedTexture()
1358 GL_CALL(TexParameteri(idDesc.fInfo.fTarget, in onCreateCompressedTexture()
1363 GL_CALL(DeleteTextures(1, &idDesc.fInfo.fID)); in onCreateCompressedTexture()
1411 GL_CALL(GenTextures(1, &colorID)); in getCompatibleStencilIndex()
1413 GL_CALL(BindTexture(GR_GL_TEXTURE_2D, colorID)); in getCompatibleStencilIndex()
1414 GL_CALL(TexParameteri(GR_GL_TEXTURE_2D, in getCompatibleStencilIndex()
1417 GL_CALL(TexParameteri(GR_GL_TEXTURE_2D, in getCompatibleStencilIndex()
1420 GL_CALL(TexParameteri(GR_GL_TEXTURE_2D, in getCompatibleStencilIndex()
1423 GL_CALL(TexParameteri(GR_GL_TEXTURE_2D, in getCompatibleStencilIndex()
1445 GL_CALL(DeleteTextures(1, &colorID)); in getCompatibleStencilIndex()
1450 GL_CALL(BindTexture(GR_GL_TEXTURE_2D, 0)); in getCompatibleStencilIndex()
1454 GL_CALL(GenFramebuffers(1, &fb)); in getCompatibleStencilIndex()
1455 GL_CALL(BindFramebuffer(GR_GL_FRAMEBUFFER, fb)); in getCompatibleStencilIndex()
1457 GL_CALL(FramebufferTexture2D(GR_GL_FRAMEBUFFER, in getCompatibleStencilIndex()
1463 GL_CALL(GenRenderbuffers(1, &sbRBID)); in getCompatibleStencilIndex()
1468 GL_CALL(BindRenderbuffer(GR_GL_RENDERBUFFER, sbRBID)); in getCompatibleStencilIndex()
1476 GL_CALL(FramebufferRenderbuffer(GR_GL_FRAMEBUFFER, in getCompatibleStencilIndex()
1480 GL_CALL(FramebufferRenderbuffer(GR_GL_FRAMEBUFFER, in getCompatibleStencilIndex()
1484 GL_CALL(FramebufferRenderbuffer(GR_GL_FRAMEBUFFER, in getCompatibleStencilIndex()
1494 GL_CALL(FramebufferRenderbuffer(GR_GL_FRAMEBUFFER, in getCompatibleStencilIndex()
1498 GL_CALL(FramebufferRenderbuffer(GR_GL_FRAMEBUFFER, in getCompatibleStencilIndex()
1504 GL_CALL(DeleteRenderbuffers(1, &sbRBID)); in getCompatibleStencilIndex()
1506 GL_CALL(DeleteTextures(1, &colorID)); in getCompatibleStencilIndex()
1507 GL_CALL(BindFramebuffer(GR_GL_FRAMEBUFFER, 0)); in getCompatibleStencilIndex()
1508 GL_CALL(DeleteFramebuffers(1, &fb)); in getCompatibleStencilIndex()
1534 GL_CALL(GenTextures(1, &(info->fID))); in createTextureImpl()
1541 GL_CALL(BindTexture(info->fTarget, info->fID)); in createTextureImpl()
1545 GL_CALL(TexParameteri(info->fTarget, in createTextureImpl()
1550 GL_CALL(TexParameteri(info->fTarget, in createTextureImpl()
1553 GL_CALL(TexParameteri(info->fTarget, in createTextureImpl()
1556 GL_CALL(TexParameteri(info->fTarget, in createTextureImpl()
1559 GL_CALL(TexParameteri(info->fTarget, in createTextureImpl()
1565 GL_CALL(DeleteTextures(1, &(info->fID))); in createTextureImpl()
1609 GL_CALL(GenRenderbuffers(1, &sbDesc.fRenderbufferID)); in createStencilAttachmentForRenderTarget()
1614 GL_CALL(BindRenderbuffer(GR_GL_RENDERBUFFER, sbDesc.fRenderbufferID)); in createStencilAttachmentForRenderTarget()
1661 GL_CALL(GenBuffers(1, &desc.fID)); in onCreateVertexBuffer()
1672 GL_CALL(DeleteBuffers(1, &desc.fID)); in onCreateVertexBuffer()
1694 GL_CALL(GenBuffers(1, &desc.fID)); in onCreateIndexBuffer()
1705 GL_CALL(DeleteBuffers(1, &desc.fID)); in onCreateIndexBuffer()
1728 GL_CALL(GenBuffers(1, &desc.fID)); in onCreateTransferBuffer()
1740 GL_CALL(BindBuffer(target, desc.fID)); in onCreateTransferBuffer()
1747 GL_CALL(DeleteBuffers(1, &desc.fID)); in onCreateTransferBuffer()
1776 GL_CALL(Enable(GR_GL_SCISSOR_TEST)); in flushScissor()
1803 GL_CALL(UseProgram(programID)); in flushGLState()
1907 GL_CALL(DeleteBuffers(1, &id)); in releaseBuffer()
1941 GL_CALL(BufferData(type, requestedSize, nullptr, glUsage)); in mapBuffer()
1949 GL_CALL(BufferData(type, requestedSize, nullptr, glUsage)); in mapBuffer()
1965 GL_CALL(BufferData(type, requestedSize, nullptr, glUsage)); in mapBuffer()
1984 GL_CALL(BufferData(type, (GrGLsizeiptr) srcSizeInBytes, src, glUsage)); in bufferData()
1993 GL_CALL(BufferData(type, currentSize, nullptr, glUsage)); in bufferData()
1994 GL_CALL(BufferSubData(type, 0, (GrGLsizeiptr) srcSizeInBytes, src)); in bufferData()
2000 GL_CALL(BufferData(type, srcSizeInBytes, src, glUsage)); in bufferData()
2013 GL_CALL(UnmapBuffer(type)); in unmapBuffer()
2017 GL_CALL(UnmapBufferSubData(mapPtr)); in unmapBuffer()
2024 GL_CALL(Disable(GR_GL_SCISSOR_TEST)); in disableScissor()
2048 GL_CALL(ColorMask(GR_GL_TRUE, GR_GL_TRUE, GR_GL_TRUE, GR_GL_TRUE)); in onClear()
2050 GL_CALL(ClearColor(r, g, b, a)); in onClear()
2051 GL_CALL(Clear(GR_GL_COLOR_BUFFER_BIT)); in onClear()
2064 GL_CALL(BindFramebuffer(GR_GL_FRAMEBUFFER, glRT->renderFBOID())); in discard()
2076 GL_CALL(InvalidateFramebuffer(GR_GL_FRAMEBUFFER, SK_ARRAY_COUNT(attachments), in discard()
2080 GL_CALL(InvalidateFramebuffer(GR_GL_FRAMEBUFFER, SK_ARRAY_COUNT(attachments), in discard()
2090 GL_CALL(DiscardFramebuffer(GR_GL_FRAMEBUFFER, SK_ARRAY_COUNT(attachments), in discard()
2094 GL_CALL(DiscardFramebuffer(GR_GL_FRAMEBUFFER, SK_ARRAY_COUNT(attachments), in discard()
2112 GL_CALL(StencilMask(0xffffffff)); in clearStencil()
2113 GL_CALL(ClearStencil(0)); in clearStencil()
2114 GL_CALL(Clear(GR_GL_STENCIL_BUFFER_BIT)); in clearStencil()
2150 GL_CALL(StencilMask((uint32_t) clipStencilMask)); in onClearStencilClip()
2151 GL_CALL(ClearStencil(value)); in onClearStencilClip()
2152 GL_CALL(Clear(GR_GL_STENCIL_BUFFER_BIT)); in onClearStencilClip()
2396 GL_CALL(BindFramebuffer(GR_GL_READ_FRAMEBUFFER, renderTarget->textureFBOID())); in onReadPixels()
2419 GL_CALL(PixelStorei(GR_GL_PACK_ROW_LENGTH, in onReadPixels()
2428 GL_CALL(PixelStorei(GR_GL_PACK_REVERSE_ROW_ORDER, 1)); in onReadPixels()
2430 GL_CALL(PixelStorei(GR_GL_PACK_ALIGNMENT, config_alignment(config))); in onReadPixels()
2432 GL_CALL(ReadPixels(readRect.fLeft, readRect.fBottom, in onReadPixels()
2437 GL_CALL(PixelStorei(GR_GL_PACK_ROW_LENGTH, 0)); in onReadPixels()
2440 GL_CALL(PixelStorei(GR_GL_PACK_REVERSE_ROW_ORDER, 0)); in onReadPixels()
2499 GL_CALL(Enable(GR_GL_SHADER_PIXEL_LOCAL_STORAGE)); in finishDrawTarget()
2504 GL_CALL(Disable(GR_GL_SHADER_PIXEL_LOCAL_STORAGE)); in finishDrawTarget()
2514 GL_CALL(BindFramebuffer(GR_GL_FRAMEBUFFER, target->renderFBOID())); in flushRenderTarget()
2533 GL_CALL(Enable(GR_GL_FRAMEBUFFER_SRGB)); in flushRenderTarget()
2536 GL_CALL(Disable(GR_GL_FRAMEBUFFER_SRGB)); in flushRenderTarget()
2603 GL_CALL(Enable(GR_GL_SHADER_PIXEL_LOCAL_STORAGE)); in onDraw()
2623 GL_CALL(DrawElements(gPrimitiveType2GLMode[vertices.primitiveType()], in onDraw()
2631 GL_CALL(DrawArrays(gPrimitiveType2GLMode[vertices.primitiveType()], 0, in onDraw()
2639 GL_CALL(Disable(GR_GL_SHADER_PIXEL_LOCAL_STORAGE)); in onDraw()
2660 GL_CALL(UseProgram(program)); in stampRectUsingProgram()
2668 GL_CALL(Uniform4f(posXformUniform, bounds.width(), bounds.height(), bounds.left(), in stampRectUsingProgram()
2677 GL_CALL(Disable(GR_GL_STENCIL_TEST)); in stampRectUsingProgram()
2679 GL_CALL(DrawArrays(GR_GL_TRIANGLE_STRIP, 0, 4)); in stampRectUsingProgram()
2680 GL_CALL(UseProgram(fHWProgramID)); in stampRectUsingProgram()
2682 GL_CALL(Enable(GR_GL_STENCIL_TEST)); in stampRectUsingProgram()
2704 GL_CALL(Enable(GR_GL_FETCH_PER_SAMPLE_ARM)); in setupPixelLocalStorage()
2717 GL_CALL(BindFramebuffer(GR_GL_READ_FRAMEBUFFER, rt->renderFBOID())); in onResolveRenderTarget()
2718 GL_CALL(BindFramebuffer(GR_GL_DRAW_FRAMEBUFFER, rt->textureFBOID())); in onResolveRenderTarget()
2730 GL_CALL(ResolveMultisampleFramebuffer()); in onResolveRenderTarget()
2741 GL_CALL(BlitFramebuffer(r.fLeft, r.fBottom, right, top, in onResolveRenderTarget()
2807 GL_CALL(Disable(GR_GL_STENCIL_TEST)); in flushStencil()
2812 GL_CALL(Enable(GR_GL_STENCIL_TEST)); in flushStencil()
2845 GL_CALL(Enable(GR_GL_MULTISAMPLE)); in flushHWAAState()
2850 GL_CALL(Disable(GR_GL_MULTISAMPLE)); in flushHWAAState()
2861 GL_CALL(Enable(GR_GL_RASTER_MULTISAMPLE)); in flushHWAAState()
2866 GL_CALL(RasterSamples(rt->numStencilSamples(), GR_GL_TRUE)); in flushHWAAState()
2871 GL_CALL(Disable(GR_GL_RASTER_MULTISAMPLE)); in flushHWAAState()
2891 GL_CALL(Disable(GR_GL_BLEND)); in flushBlend()
2900 GL_CALL(BlendEquation(gXfermodeEquation2Blend[blend_equation])); in flushBlend()
2910 GL_CALL(Enable(GR_GL_BLEND)); in flushBlend()
2915 GL_CALL(BlendEquation(gXfermodeEquation2Blend[equation])); in flushBlend()
2926 GL_CALL(BlendFunc(gXfermodeCoeff2Blend[srcCoeff], in flushBlend()
2938 GL_CALL(BlendColor(c[0], c[1], c[2], c[3])); in flushBlend()
3012 GL_CALL(BindTexture(target, texture->textureID())); in bindTexture()
3044 GL_CALL(GenerateMipmap(target)); in bindTexture()
3053 GL_CALL(TexParameteri(target, GR_GL_TEXTURE_MAG_FILTER, newTexParams.fMagFilter)); in bindTexture()
3057 GL_CALL(TexParameteri(target, GR_GL_TEXTURE_MIN_FILTER, newTexParams.fMinFilter)); in bindTexture()
3061 GL_CALL(TexParameteri(target, GR_GL_TEXTURE_WRAP_S, newTexParams.fWrapS)); in bindTexture()
3065 GL_CALL(TexParameteri(target, GR_GL_TEXTURE_WRAP_T, newTexParams.fWrapT)); in bindTexture()
3075 GL_CALL(TexParameteri(target, GR_GL_TEXTURE_SWIZZLE_R, swizzle[0])); in bindTexture()
3076 GL_CALL(TexParameteri(target, GR_GL_TEXTURE_SWIZZLE_G, swizzle[1])); in bindTexture()
3077 GL_CALL(TexParameteri(target, GR_GL_TEXTURE_SWIZZLE_B, swizzle[2])); in bindTexture()
3078 GL_CALL(TexParameteri(target, GR_GL_TEXTURE_SWIZZLE_A, swizzle[3])); in bindTexture()
3082 GL_CALL(TexParameteriv(target, GR_GL_TEXTURE_SWIZZLE_RGBA, swizzle)); in bindTexture()
3091 GL_CALL(ColorMask(GR_GL_FALSE, GR_GL_FALSE, in flushColorWrite()
3097 GL_CALL(ColorMask(GR_GL_TRUE, GR_GL_TRUE, GR_GL_TRUE, GR_GL_TRUE)); in flushColorWrite()
3107 GL_CALL(Enable(GR_GL_CULL_FACE)); in flushDrawFace()
3108 GL_CALL(CullFace(GR_GL_BACK)); in flushDrawFace()
3111 GL_CALL(Enable(GR_GL_CULL_FACE)); in flushDrawFace()
3112 GL_CALL(CullFace(GR_GL_FRONT)); in flushDrawFace()
3115 GL_CALL(Disable(GR_GL_CULL_FACE)); in flushDrawFace()
3127 GL_CALL(ActiveTexture(GR_GL_TEXTURE0 + unit)); in setTextureUnit()
3136 GL_CALL(ActiveTexture(GR_GL_TEXTURE0 + lastUnitIdx)); in setScratchTextureUnit()
3472 GL_CALL(LinkProgram(fCopyPrograms[i].fProgram)); in createCopyPrograms()
3481 GL_CALL(BindAttribLocation(fCopyPrograms[i].fProgram, 0, "a_vertex")); in createCopyPrograms()
3483 GL_CALL(DeleteShader(vshader)); in createCopyPrograms()
3484 GL_CALL(DeleteShader(fshader)); in createCopyPrograms()
3487 GL_CALL(GenBuffers(1, &fCopyProgramArrayBuffer)); in createCopyPrograms()
3567 GL_CALL(LinkProgram(fWireRectProgram.fProgram)); in createWireRectProgram()
3573 GL_CALL(BindAttribLocation(fWireRectProgram.fProgram, 0, "a_vertex")); in createWireRectProgram()
3575 GL_CALL(DeleteShader(vshader)); in createWireRectProgram()
3576 GL_CALL(DeleteShader(fshader)); in createWireRectProgram()
3577 GL_CALL(GenBuffers(1, &fWireRectArrayBuffer)); in createWireRectProgram()
3631 GL_CALL(UseProgram(fWireRectProgram.fProgram)); in drawDebugWireRect()
3642 GL_CALL(Uniform4fv(fWireRectProgram.fRectUniform, 1, edges)); in drawDebugWireRect()
3643 GL_CALL(Uniform4fv(fWireRectProgram.fColorUniform, 1, channels)); in drawDebugWireRect()
3656 GL_CALL(DrawArrays(GR_GL_LINE_LOOP, 0, 4)); in drawDebugWireRect()
3680 GL_CALL(UseProgram(fCopyPrograms[progIdx].fProgram)); in copySurfaceAsDraw()
3722 GL_CALL(Uniform4f(fCopyPrograms[progIdx].fPosXformUniform, dx1 - dx0, dy1 - dy0, dx0, dy0)); in copySurfaceAsDraw()
3723 GL_CALL(Uniform4f(fCopyPrograms[progIdx].fTexCoordXformUniform, in copySurfaceAsDraw()
3725 GL_CALL(Uniform1i(fCopyPrograms[progIdx].fTextureUniform, 0)); in copySurfaceAsDraw()
3738 GL_CALL(DrawArrays(GR_GL_TRIANGLE_STRIP, 0, 4)); in copySurfaceAsDraw()
3764 GL_CALL(BindTexture(dstTex->target(), dstTex->textureID())); in copySurfaceAsCopyTexSubImage()
3771 GL_CALL(CopyTexSubImage2D(dstTex->target(), 0, in copySurfaceAsCopyTexSubImage()
3828 GL_CALL(BlitFramebuffer(srcGLRect.fLeft, in copySurfaceAsBlitFramebuffer()
3855 GL_CALL(TextureBarrier()); in xferBarrier()
3861 GL_CALL(BlendBarrier()); in xferBarrier()
3875 GL_CALL(GenTextures(1, &info->fID)); in createTestingOnlyBackendTexture()
3876 GL_CALL(ActiveTexture(GR_GL_TEXTURE0)); in createTestingOnlyBackendTexture()
3877 GL_CALL(PixelStorei(GR_GL_UNPACK_ALIGNMENT, 1)); in createTestingOnlyBackendTexture()
3878 GL_CALL(BindTexture(info->fTarget, info->fID)); in createTestingOnlyBackendTexture()
3880 GL_CALL(TexParameteri(info->fTarget, GR_GL_TEXTURE_MAG_FILTER, GR_GL_NEAREST)); in createTestingOnlyBackendTexture()
3881 GL_CALL(TexParameteri(info->fTarget, GR_GL_TEXTURE_MIN_FILTER, GR_GL_NEAREST)); in createTestingOnlyBackendTexture()
3882 GL_CALL(TexParameteri(info->fTarget, GR_GL_TEXTURE_WRAP_S, GR_GL_CLAMP_TO_EDGE)); in createTestingOnlyBackendTexture()
3883 GL_CALL(TexParameteri(info->fTarget, GR_GL_TEXTURE_WRAP_T, GR_GL_CLAMP_TO_EDGE)); in createTestingOnlyBackendTexture()
3899 GL_CALL(TexImage2D(info->fTarget, 0, internalFormat, w, h, 0, externalFormat, in createTestingOnlyBackendTexture()
3933 GL_CALL(DeleteTextures(1, &texID)); in deleteTestingOnlyBackendTexture()