Searched refs:glFormat (Results 1 – 2 of 2) sorted by relevance
/frameworks/rs/driver/ |
D | rsdAllocation.cpp | 112 RSD_CALL_GL(glTexSubImage2D, t, lod, xoff, yoff, w, h, drv->glFormat, drv->glType, ptr); in Update2DTexture() 140 RSD_CALL_GL(glTexImage2D, t, lod, drv->glFormat, in Upload2DTexture() 143 0, drv->glFormat, drv->glType, p); in Upload2DTexture() 148 drv->glFormat, drv->glType, p); in Upload2DTexture() 171 if (!drv->glType || !drv->glFormat) { in UploadToTexture() 202 if (!drv->glFormat) { in AllocateRenderTarget() 216 RSD_CALL_GL(glRenderbufferStorage, GL_RENDERBUFFER, drv->glFormat, in AllocateRenderTarget() 466 … drv->glFormat = rsdKindToGLFormat(alloc->mHal.state.type->getElement()->getComponent().getKind()); in rsdAllocationInitStrided() 469 drv->glFormat = 0; in rsdAllocationInitStrided() 648 drv->glFormat, drv->glType, alloc->mHal.drvState.lod[0].mallocPtr); in rsdAllocationSyncFromFBO()
|
D | rsdAllocation.h | 51 GLenum glFormat; member 55 int glFormat; member
|