Searched refs:fbo (Results 1 - 7 of 7) sorted by relevance

/frameworks/base/libs/hwui/
H A DFboCache.cpp35 INIT_LOGD(" Setting fbo cache size to %s", property);
38 INIT_LOGD(" Using default fbo cache size of %d", DEFAULT_FBO_CACHE_SIZE);
64 const GLuint fbo = mCache.itemAt(i); local
65 glDeleteFramebuffers(1, &fbo);
71 GLuint fbo; local
73 fbo = mCache.itemAt(mCache.size() - 1);
76 glGenFramebuffers(1, &fbo);
78 return fbo;
81 bool FboCache::put(GLuint fbo) { argument
83 mCache.add(fbo);
[all...]
H A DFboCache.h50 * @param fbo The FBO to add to the cache.
54 bool put(GLuint fbo);
H A DLayer.h126 inline void setFbo(GLuint fbo) { argument
127 this->fbo = fbo;
131 return fbo;
195 if (fbo) glDeleteFramebuffers(1, &fbo);
242 GLuint fbo; member in struct:android::uirenderer::Layer
H A DSnapshot.h46 Snapshot(): flags(0), previous(NULL), layer(NULL), fbo(0), invisible(false), empty(false) {
57 flags(0), previous(s), layer(NULL), fbo(s->fbo),
219 GLuint fbo; member in class:android::uirenderer::Snapshot
H A DLayerRenderer.cpp41 LAYER_RENDERER_LOGD("Rendering into layer, fbo = %d", mLayer->getFbo());
71 LAYER_RENDERER_LOGD("Finished rendering into layer, fbo = %d", mLayer->getFbo());
185 GLuint fbo = Caches::getInstance().fboCache.get(); local
186 if (!fbo) {
198 layer->setFbo(fbo);
219 LOGD("Could not allocate texture for layer (fbo=%d %dx%d)",
220 fbo, width, height);
223 Caches::getInstance().fboCache.put(fbo);
247 LAYER_RENDERER_LOGD("Resizing layer fbo = %d to %dx%d", layer->getFbo(), width, height);
305 LAYER_RENDERER_LOGD("Recycling layer, %dx%d fbo
339 GLuint fbo = caches.fboCache.get(); local
[all...]
H A DOpenGLRenderer.cpp156 mSnapshot->fbo = getTargetFbo();
213 glBindFramebuffer(GL_FRAMEBUFFER, snapshot->fbo);
323 const GLuint previousFbo = mSnapshot->fbo;
518 snapshot->fbo = layer->getFbo();
582 glBindFramebuffer(GL_FRAMEBUFFER, previous->fbo);
617 glBindFramebuffer(GL_FRAMEBUFFER, current->fbo);
619 glBindFramebuffer(GL_FRAMEBUFFER, previous->fbo);
622 mCaches.fboCache.put(current->fbo);
/frameworks/base/libs/rs/driver/
H A DrsdFrameBuffer.cpp33 RsdFrameBufferObj *fbo = (RsdFrameBufferObj*)fb->mHal.drv; local
44 fbo->setDepthTarget(depth);
48 RsdFrameBufferObj *fbo = (RsdFrameBufferObj*)fb->mHal.drv; local
60 fbo->setColorTarget(color, i);
65 RsdFrameBufferObj *fbo = new RsdFrameBufferObj(); local
66 if (fbo == NULL) {
69 fb->mHal.drv = fbo;
72 dc->gl.currentFrameBuffer = fbo;
81 RsdFrameBufferObj *fbo = (RsdFrameBufferObj *)fb->mHal.drv; local
83 fbo
94 RsdFrameBufferObj *fbo = (RsdFrameBufferObj *)fb->mHal.drv; local
[all...]

Completed in 863 milliseconds