Home
last modified time | relevance | path

Searched refs:fbo (Results 1 – 16 of 16) 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.cpp55 const GLuint fbo = mCache.itemAt(i); in clear() local
56 glDeleteFramebuffers(1, &fbo); in clear()
62 GLuint fbo; in get() local
64 fbo = mCache.itemAt(mCache.size() - 1); in get()
67 glGenFramebuffers(1, &fbo); in get()
69 return fbo; in get()
72 bool FboCache::put(GLuint fbo) { in put() argument
74 mCache.add(fbo); in put()
78 glDeleteFramebuffers(1, &fbo); in put()
DLayerRenderer.cpp192 GLuint fbo = renderState.createFramebuffer(); in createRenderLayer() local
193 if (!fbo) { in createRenderLayer()
220 layer->setFbo(fbo); in createRenderLayer()
242 fbo, width, height); in createRenderLayer()
333 GLuint fbo = layer->getFbo(); in flushLayer() local
334 if (fbo) { in flushLayer()
339 if (fbo != previousFbo) { in flushLayer()
340 renderState.bindFramebuffer(fbo); in flushLayer()
346 if (fbo != previousFbo) { in flushLayer()
360 GLuint fbo = renderState.createFramebuffer(); in copyLayer() local
[all …]
DLayer.cpp58 if (stencil || fbo || texture.mId) { in ~Layer()
121 if (fbo) { in resize()
148 renderState.bindFramebuffer(fbo); in removeFbo()
156 if (fbo) { in removeFbo()
158 renderState.deleteFramebuffer(fbo); in removeFbo()
159 fbo = 0; in removeFbo()
DLayer.h181 inline void setFbo(GLuint fbo) { in setFbo() argument
182 this->fbo = fbo; in setFbo()
186 return fbo; in getFbo()
356 GLuint fbo = 0; variable
DReadback.cpp49 GLuint fbo = renderState.createFramebuffer(); in copySurfaceInto() local
50 if (!fbo) { in copySurfaceInto()
82 renderState.bindFramebuffer(fbo); in copySurfaceInto()
184 renderState.deleteFramebuffer(fbo); in copySurfaceInto()
DSnapshot.cpp32 , fbo(0) in Snapshot()
51 , fbo(s->fbo) in Snapshot()
DFboCache.h54 bool put(GLuint fbo);
DSnapshot.h251 GLuint fbo; variable
DCanvasState.cpp75 mSnapshot->fbo = mCanvas.getTargetFbo(); in initializeSaveStack()
DOpenGLRenderer.cpp152 if (currentSnapshot()->fbo == 0) { in prepareDirty()
217 mRenderState.bindFramebuffer(currentSnapshot()->fbo); in resumeAfterLayer()
681 writableSnapshot()->fbo = layer->getFbo(); in createFboLayer()
739 mRenderState.bindFramebuffer(restored.fbo); in composeLayer()
/frameworks/base/libs/hwui/renderstate/
DRenderState.cpp140 void RenderState::bindFramebuffer(GLuint fbo) { in bindFramebuffer() argument
141 if (mFramebuffer != fbo) { in bindFramebuffer()
142 mFramebuffer = fbo; in bindFramebuffer()
153 void RenderState::deleteFramebuffer(GLuint fbo) { in deleteFramebuffer() argument
154 if (mFramebuffer == fbo) { in deleteFramebuffer()
159 glDeleteFramebuffers(1, &fbo); in deleteFramebuffer()
DRenderState.h65 void bindFramebuffer(GLuint fbo);
68 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.h48 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()