HomeSort by relevance Sort by last modified time
    Searched refs:fbo (Results 1 - 15 of 15) sorted by null

  /frameworks/base/libs/hwui/
FboCache.cpp 35 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) {
83 mCache.add(fbo);
    [all...]
FboCache.h 37 * Returns an FBO from the cache. If no FBO is available, a new one
38 * is created. If creating a new FBO fails, 0 is returned.
40 * When an FBO is obtained from the cache, it is removed and the
43 * @return The name of the FBO, or 0 if no FBO can be obtained.
48 * Adds the specified FBO to the cache.
50 * @param fbo The FBO to add to the cache.
52 * @return True if the FBO was added, false otherwise
    [all...]
Layer.cpp 45 fbo = 0;
91 if (fbo) {
119 if (fbo != previousFbo) glBindFramebuffer(GL_FRAMEBUFFER, fbo);
121 if (fbo != previousFbo) glBindFramebuffer(GL_FRAMEBUFFER, previousFbo);
127 if (fbo) {
129 // If put fails the cache will delete the FBO
130 Caches::getInstance().fboCache.put(fbo);
131 fbo = 0;
LayerRenderer.cpp 48 LAYER_RENDERER_LOGD("Rendering into layer, fbo = %d", mLayer->getFbo());
89 LAYER_RENDERER_LOGD("Finished rendering into layer, fbo = %d", mLayer->getFbo());
91 // No need to unbind our FBO, this will be taken care of by the caller
212 GLuint fbo = caches.fboCache.get(); local
213 if (!fbo) {
214 ALOGW("Could not obtain an FBO");
240 layer->setFbo(fbo);
263 ALOGE("Could not allocate texture for layer (fbo=%d %dx%d)", fbo, width, height);
280 LAYER_RENDERER_LOGD("Resizing layer fbo = %d to %dx%d", layer->getFbo(), width, height)
363 GLuint fbo = layer->getFbo(); local
386 GLuint fbo = caches.fboCache.get(); local
    [all...]
Layer.h 49 * A layer has dimensions and is backed by an OpenGL texture or FBO.
60 * destroying) the associated FBO, if present, and any render
152 inline void setFbo(GLuint fbo) {
153 this->fbo = fbo;
157 return fbo;
324 * Name of the FBO used to render the layer. If the name is 0
325 * this layer is not backed by an FBO, but a simple texture.
327 GLuint fbo; member in struct:android::uirenderer::Layer
Snapshot.h 66 * backed by an FBO. This flag only makes sense when the
76 * an FBO layer.
152 * Target FBO used for rendering. Set to 0 when rendering directly
155 GLuint fbo; member in class:android::uirenderer::Snapshot
Snapshot.cpp 30 Snapshot::Snapshot(): flags(0), previous(NULL), layer(NULL), fbo(0),
44 flags(0), previous(s), layer(s->layer), fbo(s->fbo),
OpenGLRenderer.cpp 189 mSnapshot->fbo = getTargetFbo();
231 if (mSnapshot->fbo == 0) {
301 // When finish() is invoked on FBO 0 we've reached the end
358 glBindFramebuffer(GL_FRAMEBUFFER, snapshot->fbo);
379 glBindFramebuffer(GL_FRAMEBUFFER, snapshot->fbo);
711 const GLuint previousFbo = mSnapshot->fbo;
731 // When the layer is not an FBO, we may use glCopyTexImage so we
767 const GLuint previousFbo = mSnapshot->fbo;
771 // initialize the snapshot as though it almost represents an FBO layer so deferred draw
798 * A way to implement layers is to create an FBO for each layer, backed by an RGB
    [all...]
  /frameworks/rs/driver/
rsdFrameBuffer.cpp 33 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->setDimensions(fb->mHal.state.colorTargets[0]->getType()->getDimX()
94 RsdFrameBufferObj *fbo = (RsdFrameBufferObj *)fb->mHal.drv; local
    [all...]
  /external/srec/srec/cfront/
chelmel4.c 55 //static void mel_cuberoot_offset(cepdata *fbo, cepdata *ch_off, int nf);
57 static void mel_spectrum_correction(cepdata *fbo, cepdata *ch_gain, int nf);
61 //static void mel_exp(cepdata *fbo, int nf);
113 static void mel_spectrum_correction(cepdata *fbo, cepdata *ch_gain, int nf)
120 fbo[i] = fbo[i] * ch_gain[i]; /* TODO: Fixedpt scale up and down */
152 //static void mel_exp(cepdata *fbo, int nf)
159 // fbo[i] = (cepdata) exp((double) fbo[i]);
spec_anl.c 52 void filtbank(front_freq *freqobj, fftdata *density, cepdata *fbo);
270 void filtbank(front_freq *freqobj, fftdata *density, cepdata *fbo)
317 fbo[i] = (cepdata) t;
  /external/srec/srec/include/
front.h 254 void do_spectral_subtraction(cepdata *fbo, spectral_sub_info* spectral_sub,
  /external/webkit/Source/WebCore/platform/graphics/opengl/
GraphicsContext3DOpenGL.cpp 202 // resize multisample FBO
231 // resize regular FBO
378 GLuint fbo; local
380 fbo = buffer;
382 fbo = (m_attrs.antialias ? m_multisampleFBO : m_fbo);
383 if (fbo != m_boundFBO) {
384 ::glBindFramebufferEXT(target, fbo);
385 m_boundFBO = fbo;
    [all...]
  /frameworks/base/media/mca/filterfw/native/core/
shader_program.cpp 192 // Focus the FBO of the output
488 int fbo, program, buffer; local
489 glGetIntegerv(GL_FRAMEBUFFER_BINDING, &fbo);
492 ALOGV("RenderFrame: fbo %d prog %d buff %d", fbo, program, buffer);
    [all...]
  /external/skia/src/gpu/gl/
GrGpuGL.cpp 132 // FBO with level 0 bound as color attachment will be framebuffer complete.
335 // GL_EXT_framebuffer_object for FBO support. Both of these
869 // below here we may bind the FBO
1142 GrGLuint fbo = glrt->renderFBOID(); local
    [all...]

Completed in 361 milliseconds