Searched refs:progIdx (Results 1 – 2 of 2) sorted by relevance
3434 int progIdx = TextureToCopyProgramIdx(srcTex); in createCopyProgram() local3452 SkASSERT(!fCopyPrograms[progIdx].fProgram); in createCopyProgram()3453 GL_CALL_RET(fCopyPrograms[progIdx].fProgram, CreateProgram()); in createCopyProgram()3454 if (!fCopyPrograms[progIdx].fProgram) { in createCopyProgram()3525 GrGLuint vshader = GrGLCompileAndAttachShader(*fGLContext, fCopyPrograms[progIdx].fProgram, in createCopyProgram()3532 GrGLuint fshader = GrGLCompileAndAttachShader(*fGLContext, fCopyPrograms[progIdx].fProgram, in createCopyProgram()3537 GL_CALL(LinkProgram(fCopyPrograms[progIdx].fProgram)); in createCopyProgram()3539 GL_CALL_RET(fCopyPrograms[progIdx].fTextureUniform, in createCopyProgram()3540 GetUniformLocation(fCopyPrograms[progIdx].fProgram, "u_texture")); in createCopyProgram()3541 GL_CALL_RET(fCopyPrograms[progIdx].fPosXformUniform, in createCopyProgram()[all …]
405 bool createMipmapProgram(int progIdx);