| /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; 90 if (fbo) { 118 if (fbo != previousFbo) glBindFramebuffer(GL_FRAMEBUFFER, fbo); 120 if (fbo != previousFbo) glBindFramebuffer(GL_FRAMEBUFFER, previousFbo); 126 if (fbo) { 128 // If put fails the cache will delete the FBO 129 caches.fboCache.put(fbo); 130 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 191 GLuint fbo = caches.fboCache.get(); local 192 if (!fbo) { 193 ALOGW("Could not obtain an FBO"); 219 layer->setFbo(fbo); 242 ALOGE("Could not allocate texture for layer (fbo=%d %dx%d)", fbo, width, height); 259 LAYER_RENDERER_LOGD("Resizing layer fbo = %d to %dx%d", layer->getFbo(), width, height) 342 GLuint fbo = layer->getFbo(); local 365 GLuint fbo = caches.fboCache.get(); local [all...] |
| Layer.h | 50 * A layer has dimensions and is backed by an OpenGL texture or FBO. 61 * destroying) the associated FBO, if present, and any render 153 inline void setFbo(GLuint fbo) { 154 this->fbo = fbo; 158 return fbo; 296 * Name of the FBO used to render the layer. If the name is 0 297 * this layer is not backed by an FBO, but a simple texture. 299 GLuint fbo; member in struct:android::uirenderer::Layer
|
| /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...] |
| /frameworks/base/media/mca/filterfw/native/core/ |
| gl_frame.h | 56 // Initialize using an existing FBO. 82 // Returns the held FBO id. Only call this if the GLFrame holds an FBO. You 99 // Binds the held FBO. This may result in creating the FBO if it 114 // Detaches the internal texture from the FBO. 117 // Reattaches the internal texture to the FBO after detachment. 121 // Type to keep track of texture and FBO states 125 kStateGenerated, // Tex/FBO id is generated 126 kStateComplete // FBO has valid attachment / Tex has valid pixel dat [all...] |
| gl_frame.cpp | 34 // and when pixel data is uploaded to a GLFrame. The FBO is used as a rendering 97 // Bind FBO so that texture is unbound from it during deletion 104 // Delete FBO 228 // Bind the FBO 230 if (GLEnv::CheckGLError("FBO Binding")) return false; 246 // Create and bind FBO to texture if necessary 265 // Returns the held FBO id. Only call this if the GLFrame holds an FBO. You 330 // Make sure FBO not in use already 332 ALOGE("GLFrame: Cannot generate FBO id %d, as it is in use already!", fbo_id_) [all...] |
| gl_buffer_interface.h | 53 // Returns the held FBO id. 56 // Binds the held FBO. This may result in creating the FBO if it
|
| /external/chromium_org/android_webview/browser/ |
| aw_gl_surface.cc | 40 void AwGLSurface::SetBackingFrameBufferObject(unsigned int fbo) { 41 fbo_ = fbo;
|
| aw_gl_surface.h | 28 void SetBackingFrameBufferObject(unsigned int fbo);
|
| /frameworks/base/tests/RenderScriptTests/FBOTest/ |
| AndroidManifest.xml | 6 android:label="FBO Base Test" 14 android:label="FBO Sync Test"
|
| /external/chromium_org/gpu/command_buffer/tests/ |
| gl_chromium_framebuffer_multisample_unittest.cc | 35 GLuint fbo = 0; local 36 glGenFramebuffers(1, &fbo); 37 glBindFramebuffer(GL_DRAW_FRAMEBUFFER, fbo);
|
| gl_unittests.cc | 40 GLuint fbo = 0; local 41 glGenFramebuffers(1, &fbo); 52 glBindFramebuffer(GL_FRAMEBUFFER, fbo); 61 glDeleteFramebuffers(1, &fbo);
|
| /external/chromium_org/ui/surface/ |
| accelerated_surface_mac.h | 41 // should allocate an offscreen frame buffer object (FBO) internally. If 43 // an FBO internally does NOT work properly with client code which uses 46 // internal FBO when the default FBO is bound. |gpu_preference| indicates 78 // If this AcceleratedSurface is configured with its own FBO, then 88 // legal. (For example, if using multisampled FBOs, the FBO must 103 // Helper function to generate names for the backing texture and FBO. On 132 // TODO(kbr): the FBO management should not be in this class at all. 138 // the user requests an FBO be allocated. 140 // The FBO and renderbuffer are only allocated if allocate_fbo_ i [all...] |
| /external/chromium_org/third_party/skia/src/gpu/gl/ |
| GrGLCaps.h | 22 * the FBO completeness test. 57 * GL3.0-style MSAA FBO (GL_ARB_framebuffer_object) 70 * Instead the texture is multisampled when bound to the FBO and then resolved automatically 146 * FBO status check. We may skip calling glCheckFramebufferStatus for 156 * passed FBO status check. 163 * Reports the type of MSAA FBO support. 168 * Does the supported MSAA FBO extension have MSAA renderbuffers? 177 * Is the MSAA FBO extension one where the texture is multisampled when bound to an FBO and 326 // tracks configs that have been verified to pass the FBO completeness whe [all...] |
| GrGLRenderTarget.h | 58 // FBO ID used to render into 60 // FBO ID that has texture ID attached. 74 // catches FBO 0 and non MSAA case
|
| /external/skia/src/gpu/gl/ |
| GrGLCaps.h | 22 * the FBO completeness test. 57 * GL3.0-style MSAA FBO (GL_ARB_framebuffer_object) 70 * Instead the texture is multisampled when bound to the FBO and then resolved automatically 146 * FBO status check. We may skip calling glCheckFramebufferStatus for 156 * passed FBO status check. 163 * Reports the type of MSAA FBO support. 168 * Does the supported MSAA FBO extension have MSAA renderbuffers? 177 * Is the MSAA FBO extension one where the texture is multisampled when bound to an FBO and 326 // tracks configs that have been verified to pass the FBO completeness whe [all...] |
| GrGLRenderTarget.h | 58 // FBO ID used to render into 60 // FBO ID that has texture ID attached. 74 // catches FBO 0 and non MSAA case
|
| /external/chromium_org/ui/gl/ |
| scoped_binders.cc | 12 ScopedFrameBufferBinder::ScopedFrameBufferBinder(unsigned int fbo) 19 glBindFramebufferEXT(GL_FRAMEBUFFER, fbo);
|
| scoped_binders.h | 16 explicit ScopedFrameBufferBinder(unsigned int fbo);
|
| /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]);
|
| /external/chromium_org/content/common/gpu/media/ |
| rendering_helper.h | 31 // larger FBO that is in turn rendered to the window. 33 // The size of the FBO containing all visible thumbnails. 35 // The size of each thumbnail within the FBO.
|
| /external/chromium_org/third_party/skia/include/gpu/gl/ |
| SkGLContextHelper.h | 15 * Create an offscreen opengl context with an RGBA8 / 8bit stencil FBO. 46 * format and size of backbuffers does not matter since an FBO will be
|
| /external/skia/include/gpu/gl/ |
| SkGLContextHelper.h | 15 * Create an offscreen opengl context with an RGBA8 / 8bit stencil FBO. 46 * format and size of backbuffers does not matter since an FBO will be
|