Home
last modified time | relevance | path

Searched refs:fbo (Results 1 – 12 of 12) sorted by relevance

/frameworks/rs/driver/
DrsdFrameBuffer.cpp33 RsdFrameBufferObj *fbo = (RsdFrameBufferObj*)fb->mHal.drv; in setDepthAttachment() local
44 fbo->setDepthTarget(depth); in setDepthAttachment()
48 RsdFrameBufferObj *fbo = (RsdFrameBufferObj*)fb->mHal.drv; in setColorAttachment() local
60 fbo->setColorTarget(color, i); in setColorAttachment()
65 RsdFrameBufferObj *fbo = new RsdFrameBufferObj(); in rsdFrameBufferInit() local
66 if (fbo == nullptr) { in rsdFrameBufferInit()
69 fb->mHal.drv = fbo; in rsdFrameBufferInit()
72 dc->gl.currentFrameBuffer = fbo; in rsdFrameBufferInit()
81 RsdFrameBufferObj *fbo = (RsdFrameBufferObj *)fb->mHal.drv; in rsdFrameBufferSetActive() local
83 fbo->setDimensions(fb->mHal.state.colorTargets[0]->getType()->getDimX(), in rsdFrameBufferSetActive()
[all …]
/frameworks/base/libs/hwui/
DFboCache.cpp54 const GLuint fbo = mCache.itemAt(i); in clear() local
55 glDeleteFramebuffers(1, &fbo); in clear()
61 GLuint fbo; in get() local
63 fbo = mCache.itemAt(mCache.size() - 1); in get()
66 glGenFramebuffers(1, &fbo); in get()
68 return fbo; in get()
71 bool FboCache::put(GLuint fbo) { in put() argument
73 mCache.add(fbo); in put()
77 glDeleteFramebuffers(1, &fbo); in put()
DOpenGLReadback.cpp133 GLuint fbo = renderState.createFramebuffer(); in copyTextureInto() local
134 if (!fbo) { in copyTextureInto()
174 renderState.bindFramebuffer(fbo); in copyTextureInto()
235 renderState.deleteFramebuffer(fbo); in copyTextureInto()
DSnapshot.cpp32 , fbo(0) in Snapshot()
49 , fbo(s->fbo) in Snapshot()
DFboCache.h54 bool put(GLuint fbo);
DSnapshot.h208 GLuint fbo; variable
DCanvasState.cpp67 mSnapshot->fbo = mCanvas.getTargetFbo(); in initializeSaveStack()
/frameworks/base/libs/hwui/renderstate/
DRenderState.cpp145 void RenderState::bindFramebuffer(GLuint fbo) { in bindFramebuffer() argument
146 if (mFramebuffer != fbo) { in bindFramebuffer()
147 mFramebuffer = fbo; in bindFramebuffer()
158 void RenderState::deleteFramebuffer(GLuint fbo) { in deleteFramebuffer() argument
159 if (mFramebuffer == fbo) { in deleteFramebuffer()
164 glDeleteFramebuffers(1, &fbo); in deleteFramebuffer()
DRenderState.h74 void bindFramebuffer(GLuint fbo);
77 void deleteFramebuffer(GLuint fbo);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DRenderTarget.java106 int fbo = GLToolbox.generateFbo(); in forTexture() local
107 GLES20.glBindFramebuffer(GLES20.GL_FRAMEBUFFER, fbo); in forTexture()
115 return new RenderTarget(mDisplay, mContext, surface(), fbo, false, false); in forTexture()
348 private RenderTarget(EGLDisplay display, EGLContext context, EGLSurface surface, int fbo, in RenderTarget() argument
354 mFbo = fbo; in RenderTarget()
/frameworks/native/services/surfaceflinger/RenderEngine/
DGLES20RenderEngine.h50 GLuint fbo; member
/frameworks/base/media/mca/filterfw/native/core/
Dshader_program.cpp481 int fbo, program, buffer; in RenderFrame() local
482 glGetIntegerv(GL_FRAMEBUFFER_BINDING, &fbo); in RenderFrame()
485 ALOGV("RenderFrame: fbo %d prog %d buff %d", fbo, program, buffer); in RenderFrame()