| /xsrc/external/mit/xorg-server/dist/glamor/ |
| 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_pixmap.c | 67 glamor_pixmap_fbo *fbo, int x0, int y0, 72 glBindFramebuffer(GL_FRAMEBUFFER, fbo->fb); 84 glamor_set_destination_pixmap_fbo(glamor_priv, pixmap_priv->fbo, 0, 0, w, h);
|
| 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_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_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...] |
| 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_picture.c | 268 * temporary FBO. 289 assert(!pixmap_priv->fbo); 294 * an FBO array and split the uploads across it). 353 glBindTexture(GL_TEXTURE_2D, pixmap_priv->fbo->tex);
|
| glamor_utils.h | 53 *(_pxscale_) = 1.0 / (_pixmap_priv_)->fbo->width; \ 54 *(_pyscale_) = 1.0 / (_pixmap_priv_)->fbo->height; \ 72 wh[0] = (float)priv->fbo->width / actual_w; \ 73 wh[1] = (float)priv->fbo->height / actual_h; \ 74 wh[2] = 1.0 / priv->fbo->width; \ 75 wh[3] = 1.0 / priv->fbo->height; \ 205 DEBUGF("x2 %d x1 %d fbo->width %d \n", priv->box.x2, \ 206 priv->box.x1, priv->fbo->width); \ 207 DEBUGF("y2 %d y1 %d fbo->height %d \n", priv->box.y2, \ 208 priv->box.y1, priv->fbo->height); [all...] |
| glamor_xv.c | 481 glBindTexture(GL_TEXTURE_2D, src_pixmap_priv[0]->fbo->tex); 488 glBindTexture(GL_TEXTURE_2D, src_pixmap_priv[1]->fbo->tex); 495 glBindTexture(GL_TEXTURE_2D, src_pixmap_priv[2]->fbo->tex); 503 glBindTexture(GL_TEXTURE_2D, src_pixmap_priv[0]->fbo->tex); 510 glBindTexture(GL_TEXTURE_2D, src_pixmap_priv[1]->fbo->tex); 521 glBindTexture(GL_TEXTURE_2D, src_pixmap_priv[0]->fbo->tex); 530 glBindTexture(GL_TEXTURE_2D, src_pixmap_priv[0]->fbo->tex);
|
| glamor_transform.c | 181 texture_priv->fbo, destination_red);
|
| glamor_largepixmap.c | 877 priv->fbo = glamor_pixmap_detach_fbo(temp_priv); 1245 /* both mask and source are normal fbo box without transform or repeatpad. 1263 /* The source fbo is not a normal fbo box, it has transform or repeatpad. 1329 DEBUGF("mask fbo off %d %d \n", 1365 glamor_destroy_fbo(glamor_priv, mask_pixmap_priv->fbo); 1366 mask_pixmap_priv->fbo = NULL; 1394 glamor_destroy_fbo(glamor_priv, source_pixmap_priv->fbo); 1395 source_pixmap_priv->fbo = NULL; 1456 glamor_destroy_fbo(glamor_priv, mask_pixmap_priv->fbo); [all...] |
| glamor_dash.c | 192 glamor_bind_texture(glamor_priv, GL_TEXTURE1, dash_priv->fbo, FALSE);
|
| 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");
|
| /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/MesaLib/dist/src/gallium/drivers/vc4/kernel/ |
| vc4_drv.h | 176 struct drm_gem_cma_object *fbo,
|
| vc4_validate.c | 150 vc4_check_tex_size(struct vc4_exec_info *exec, struct drm_gem_cma_object *fbo, 192 size + offset > fbo->base.size) { 193 DRM_ERROR("Overflow in %dx%d (%dx%d) fbo size (%d + %d > %zd)\n", 196 size, offset, fbo->base.size);
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/radeon/ |
| radeon_texture.h | 62 GLenum type, GLboolean fbo);
|
| radeon_texture.c | 217 GLenum srcType, GLboolean fbo) 227 /* Unfortunately, regardless the fbo flag, we might still be asked to 228 * attach a texture to a fbo later, which then won't succeed if we chose 235 * to a fbo), but this isn't really possible, so for now just always use 238 if (1 || fbo) 269 GLenum type, GLboolean fbo) 303 return do32bpt ? radeonChoose8888TexFormat(rmesa, format, type, fbo) : 330 radeonChoose8888TexFormat(rmesa, format, type, fbo) :
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/vc4/kernel/ |
| vc4_drv.h | 176 struct drm_gem_cma_object *fbo,
|
| vc4_validate.c | 150 vc4_check_tex_size(struct vc4_exec_info *exec, struct drm_gem_cma_object *fbo, 192 size + offset > fbo->base.size) { 193 DRM_ERROR("Overflow in %dx%d (%dx%d) fbo size (%d + %d > %zd)\n", 196 size, offset, fbo->base.size);
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/radeon/ |
| radeon_texture.h | 63 GLenum type, GLboolean fbo);
|
| radeon_texture.c | 218 GLenum srcType, GLboolean fbo) 228 /* Unfortunately, regardless the fbo flag, we might still be asked to 229 * attach a texture to a fbo later, which then won't succeed if we chose 236 * to a fbo), but this isn't really possible, so for now just always use 239 if (1 || fbo) 270 GLenum type, GLboolean fbo) 304 return do32bpt ? radeonChoose8888TexFormat(rmesa, format, type, fbo) : 331 radeonChoose8888TexFormat(rmesa, format, type, fbo) :
|
| /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);
|
| fbotexture.c | 329 AttachDepthAndStencilBuffers(GLuint fbo, 339 glBindFramebuffer_func(GL_FRAMEBUFFER_EXT, fbo); 532 * Make FBO to render into given texture. 571 " to FBO!\n");
|
| /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);
|