| /xsrc/external/mit/libdrm/dist/tests/tegra/ |
| drm-test-tegra.c | 70 struct drm_tegra_bo *fbo = fb->data; local 81 err = drm_tegra_channel_map(gr2d->channel, fbo, 0, &map);
|
| /xsrc/external/mit/xorg-server/dist/glamor/ |
| glamor_transfer.c | 51 glamor_pixmap_fbo *fbo = glamor_pixmap_fbo_at(priv, box_index); local 55 glamor_bind_texture(glamor_priv, GL_TEXTURE0, fbo, TRUE); 111 * Take the data in the pixmap and stuff it back into the FBO 150 glamor_pixmap_fbo *fbo = glamor_pixmap_fbo_at(priv, box_index); local 155 assert(fbo->fb); 156 glBindFramebuffer(GL_FRAMEBUFFER, fbo->fb); 187 * Read data from the pixmap FBO 204 * Pull the data from the FBO down to the pixmap
|
| glamor_fbo.c | 35 glamor_pixmap_fbo *fbo) 39 if (fbo->fb) 40 glDeleteFramebuffers(1, &fbo->fb); 41 if (fbo->tex) 42 glDeleteTextures(1, &fbo->tex); 44 free(fbo); 49 glamor_pixmap_fbo *fbo) 55 if (fbo->fb == 0) 56 glGenFramebuffers(1, &fbo->fb); 57 assert(fbo->tex != 0) 101 glamor_pixmap_fbo *fbo; local 266 glamor_pixmap_fbo *fbo; local 308 glamor_pixmap_fbo *fbo; local 330 glamor_pixmap_fbo *fbo; local [all...] |
| glamor_spans.c | 203 glamor_pixmap_fbo *fbo = glamor_pixmap_fbo_at(pixmap_priv, box_index); local 205 glBindFramebuffer(GL_FRAMEBUFFER, fbo->fb); 294 glamor_pixmap_fbo *fbo = glamor_pixmap_fbo_at(pixmap_priv, box_index); local 296 glamor_bind_texture(glamor_priv, GL_TEXTURE0, fbo, TRUE);
|
| glamor.c | 89 pixmap_priv->fbo_array = &pixmap_priv->fbo; 108 glamor_pixmap_fbo *fbo; local 113 if (pixmap_priv->fbo) { 114 fbo = glamor_pixmap_detach_fbo(pixmap_priv); 115 glamor_destroy_fbo(glamor_priv, fbo); 118 fbo = glamor_create_fbo_from_tex(glamor_priv, pixmap, 122 if (fbo == NULL) { 123 ErrorF("XXX fail to create fbo.\n"); 127 glamor_pixmap_attach_fbo(pixmap, fbo); 144 assert(pixmap_priv->fbo != NULL) 208 glamor_pixmap_fbo *fbo = NULL; local 462 unsigned fbo, tex; local [all...] |
| glamor_render.c | 576 glamor_pixmap_fbo *fbo = pixmap_priv->fbo; local 583 * 'fbo' as source or mask as we must have the same answer in case 584 * the same fbo is being used for both. That means the mask 588 glamor_bind_texture(glamor_priv, GL_TEXTURE0 + unit, fbo, 589 dest_priv->fbo->is_red); 822 * format for a pixmap that is permanently stored in an FBO (as 889 glamor_fallback("dest has no fbo.\n");
|
| glamor_priv.h | 359 * The pixmap has FBO storage attached, but devPrivate.ptr doesn't 367 GLuint fb; /**< GL FBO name */ 387 glamor_pixmap_fbo *fbo; member in struct:glamor_pixmap_private 388 /** current fbo's coords in the whole pixmap. */ 411 * For a 2048x2048 pixmap with GL FBO size limits of 1024x1024: 428 * Array of fbo structs containing the actual GL texture/fbo 492 * Returns TRUE if pixmap has an FBO 506 priv->fbo = priv->fbo_array[idx]; 582 void glamor_pixmap_attach_fbo(PixmapPtr pixmap, glamor_pixmap_fbo *fbo); [all...] |
| /xsrc/external/mit/mesa-demos/dist/src/demos/ |
| cuberender.c | 318 GLuint fbo, face, depthStencilRb; local 329 * Make FBO. 331 glGenFramebuffersEXT(1, &fbo); 332 glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, fbo); 364 fprintf(stderr, "FBO not complete! status = 0x%04x\n", status); 379 glDeleteFramebuffersEXT(1, &fbo);
|
| /xsrc/external/mit/mesa-demos/dist/src/egl/opengl/ |
| xeglgears.c | 357 GLuint fbo; member in struct:egl_manager 729 glBindFramebuffer(GL_FRAMEBUFFER_EXT, eman->fbo); 905 glGenFramebuffers(1, &eman->fbo); 906 glBindFramebuffer(GL_FRAMEBUFFER_EXT, eman->fbo);
|