Home
last modified time | relevance | path

Searched refs:glTex (Results 1 – 4 of 4) sorted by relevance

/external/skia/src/gpu/gl/
DGrGLGpu.cpp810 static bool check_write_and_transfer_input(GrGLTexture* glTex) { in check_write_and_transfer_input() argument
811 if (!glTex) { in check_write_and_transfer_input()
816 if (GR_GL_TEXTURE_EXTERNAL == glTex->target()) { in check_write_and_transfer_input()
826 auto glTex = static_cast<GrGLTexture*>(surface->asTexture()); in onWritePixels() local
828 if (!check_write_and_transfer_input(glTex)) { in onWritePixels()
832 this->bindTextureToScratchUnit(glTex->target(), glTex->textureID()); in onWritePixels()
842 SkASSERT(!GrPixelConfigIsCompressed(glTex->config())); in onWritePixels()
843 return this->uploadTexData(glTex->config(), glTex->width(), glTex->height(), glTex->target(), in onWritePixels()
888 GrGLTexture* glTex = static_cast<GrGLTexture*>(texture); in onTransferPixels() local
889 GrPixelConfig texConfig = glTex->config(); in onTransferPixels()
[all …]
/external/skqp/src/gpu/gl/
DGrGLGpu.cpp774 static bool check_write_and_transfer_input(GrGLTexture* glTex) { in check_write_and_transfer_input() argument
775 if (!glTex) { in check_write_and_transfer_input()
780 if (GR_GL_TEXTURE_EXTERNAL == glTex->target()) { in check_write_and_transfer_input()
790 auto glTex = static_cast<GrGLTexture*>(surface->asTexture()); in onWritePixels() local
792 if (!check_write_and_transfer_input(glTex)) { in onWritePixels()
797 GL_CALL(BindTexture(glTex->target(), glTex->textureID())); in onWritePixels()
807 SkASSERT(!GrPixelConfigIsCompressed(glTex->config())); in onWritePixels()
808 return this->uploadTexData(glTex->config(), glTex->width(), glTex->height(), glTex->target(), in onWritePixels()
851 GrGLTexture* glTex = static_cast<GrGLTexture*>(texture); in onTransferPixels() local
852 GrPixelConfig texConfig = glTex->config(); in onTransferPixels()
[all …]
/external/mesa3d/docs/relnotes/
D6.2.128 etc. The important functions like glRead/DrawPixels, glTex[Sub]Image,
D6.231 etc. The important functions like glRead/DrawPixels, glTex[Sub]Image,