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 == NULL) { 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.cpp64 const GLuint fbo = mCache.itemAt(i); in clear() local
65 glDeleteFramebuffers(1, &fbo); in clear()
71 GLuint fbo; in get() local
73 fbo = mCache.itemAt(mCache.size() - 1); in get()
76 glGenFramebuffers(1, &fbo); in get()
78 return fbo; in get()
81 bool FboCache::put(GLuint fbo) { in put() argument
83 mCache.add(fbo); in put()
87 glDeleteFramebuffers(1, &fbo); in put()
DLayerRenderer.cpp192 GLuint fbo = caches.fboCache.get(); in createRenderLayer() local
193 if (!fbo) { in createRenderLayer()
220 layer->setFbo(fbo); in createRenderLayer()
241 ALOGE("Could not allocate texture for layer (fbo=%d %dx%d)", fbo, width, height); in createRenderLayer()
343 GLuint fbo = layer->getFbo(); in flushLayer() local
344 if (fbo) { in flushLayer()
349 if (fbo != previousFbo) { in flushLayer()
350 renderState.bindFramebuffer(fbo); in flushLayer()
356 if (fbo != previousFbo) { in flushLayer()
369 GLuint fbo = caches.fboCache.get(); in copyLayer() local
[all …]
DLayer.cpp49 fbo = 0; in Layer()
127 if (fbo) { in resize()
154 renderState.bindFramebuffer(fbo); in removeFbo()
162 if (fbo) { in removeFbo()
165 caches.fboCache.put(fbo); in removeFbo()
166 fbo = 0; in removeFbo()
DLayer.h179 inline void setFbo(GLuint fbo) { in setFbo() argument
180 this->fbo = fbo; in setFbo()
184 return fbo; in getFbo()
335 GLuint fbo; variable
DRenderState.cpp87 void RenderState::bindFramebuffer(GLuint fbo) { in bindFramebuffer() argument
88 if (mFramebuffer != fbo) { in bindFramebuffer()
89 mFramebuffer = fbo; in bindFramebuffer()
DFboCache.h54 bool put(GLuint fbo);
DSnapshot.cpp34 , fbo(0) in Snapshot()
53 , fbo(s->fbo) in Snapshot()
DRenderState.h48 void bindFramebuffer(GLuint fbo);
DSnapshot.h208 GLuint fbo; variable
DStatefulBaseRenderer.cpp42 mSnapshot->fbo = getTargetFbo(); in initializeSaveStack()
DOpenGLRenderer.cpp229 if (currentSnapshot()->fbo == 0) { in prepareDirty()
344 mRenderState.bindFramebuffer(currentSnapshot()->fbo); in resumeAfterLayer()
852 mSnapshot->fbo = layer->getFbo(); in createFboLayer()
916 mRenderState.bindFramebuffer(restored.fbo); in composeLayer()
/frameworks/native/services/surfaceflinger/RenderEngine/
DGLES20RenderEngine.cpp265 group.fbo = name; in beginGroup()
279 GLuint fbo = 0; in endGroup() local
281 fbo = mGroupStack.top().fbo; in endGroup()
283 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in endGroup()
314 glDeleteFramebuffers(1, &group.fbo); in endGroup()
DGLES20RenderEngine.h48 GLuint fbo; member
/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/base/media/mca/filterfw/native/core/
Dshader_program.cpp488 int fbo, program, buffer; in RenderFrame() local
489 glGetIntegerv(GL_FRAMEBUFFER_BINDING, &fbo); in RenderFrame()
492 ALOGV("RenderFrame: fbo %d prog %d buff %d", fbo, program, buffer); in RenderFrame()