Home | History | Annotate | Download | only in gl

Lines Matching refs:glTex

746 static bool check_write_and_transfer_input(GrGLTexture* glTex) {
747 if (!glTex) {
752 if (GR_GL_TEXTURE_EXTERNAL == glTex->target()) {
762 auto glTex = static_cast<GrGLTexture*>(surface->asTexture());
764 if (!check_write_and_transfer_input(glTex)) {
769 GL_CALL(BindTexture(glTex->target(), glTex->textureID()));
778 return this->uploadTexData(glTex->config(), glTex->width(), glTex->height(), origin,
779 glTex->target(), kWrite_UploadType, left, top, width, height,
817 GrGLTexture* glTex = static_cast<GrGLTexture*>(texture);
818 GrPixelConfig texConfig = glTex->config();
821 if (!check_write_and_transfer_input(glTex)) {
830 GL_CALL(BindTexture(glTex->target(), glTex->textureID()));
873 GL_CALL(TexSubImage2D(glTex->target(),