Searched refs:glFormat (Results 1 – 2 of 2) sorted by relevance
/frameworks/rs/driver/ |
D | rsdAllocation.cpp | 117 RSD_CALL_GL(glTexSubImage2D, t, lod, xoff, yoff, w, h, drv->glFormat, drv->glType, ptr); in Update2DTexture() 145 RSD_CALL_GL(glTexImage2D, t, lod, drv->glFormat, in Upload2DTexture() 148 0, drv->glFormat, drv->glType, p); in Upload2DTexture() 153 drv->glFormat, drv->glType, p); in Upload2DTexture() 176 if (!drv->glType || !drv->glFormat) { in UploadToTexture() 207 if (!drv->glFormat) { in AllocateRenderTarget() 221 RSD_CALL_GL(glRenderbufferStorage, GL_RENDERBUFFER, drv->glFormat, in AllocateRenderTarget() 448 … drv->glFormat = rsdKindToGLFormat(alloc->mHal.state.type->getElement()->getComponent().getKind()); in rsdAllocationInit() 451 drv->glFormat = 0; in rsdAllocationInit() 587 drv->glFormat, drv->glType, alloc->mHal.drvState.lod[0].mallocPtr); in rsdAllocationSyncFromFBO()
|
D | rsdAllocation.h | 55 GLenum glFormat; member 62 int glFormat; member
|