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

123

/xsrc/external/mit/xorg-server/dist/glamor/
H A Dglamor_fbo.c35 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
34 glamor_destroy_fbo(glamor_screen_private * glamor_priv,glamor_pixmap_fbo * fbo) argument
48 glamor_pixmap_ensure_fb(glamor_screen_private * glamor_priv,glamor_pixmap_fbo * fbo) argument
101 glamor_pixmap_fbo *fbo; local in function:glamor_create_fbo_from_tex
245 glamor_pixmap_clear_fbo(glamor_screen_private * glamor_priv,glamor_pixmap_fbo * fbo,const struct glamor_format * pixmap_format) argument
266 glamor_pixmap_fbo *fbo; local in function:glamor_pixmap_detach_fbo
281 glamor_pixmap_attach_fbo(PixmapPtr pixmap,glamor_pixmap_fbo * fbo) argument
308 glamor_pixmap_fbo *fbo; local in function:glamor_pixmap_destroy_fbo
330 glamor_pixmap_fbo *fbo; local in function:glamor_pixmap_ensure_fbo
[all...]
H A Dglamor_pixmap.c67 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);
66 glamor_set_destination_pixmap_fbo(glamor_screen_private * glamor_priv,glamor_pixmap_fbo * fbo,int x0,int y0,int width,int height) argument
H A Dglamor.c89 pixmap_priv->fbo_array = &pixmap_priv->fbo;
108 glamor_pixmap_fbo *fbo; local in function:glamor_set_pixmap_texture
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 !
167 glamor_bind_texture(glamor_screen_private * glamor_priv,GLenum texture,glamor_pixmap_fbo * fbo,Bool destination_red) argument
208 glamor_pixmap_fbo *fbo = NULL; local in function:glamor_create_pixmap
481 unsigned fbo, tex; local in function:glamor_add_format
[all...]
H A Dglamor_transfer.c51 glamor_pixmap_fbo *fbo = glamor_pixmap_fbo_at(priv, box_index); local in function:glamor_upload_boxes
55 glamor_bind_texture(glamor_priv, GL_TEXTURE0, fbo, TRUE);
150 glamor_pixmap_fbo *fbo = glamor_pixmap_fbo_at(priv, box_index); local in function:glamor_download_boxes
155 assert(fbo->fb);
156 glBindFramebuffer(GL_FRAMEBUFFER, fbo->fb);
H A Dglamor_priv.h360 glamor_pixmap_fbo *fbo; member in struct:glamor_pixmap_private
361 /** current fbo's coords in the whole pixmap. */
401 * Array of fbo structs containing the actual GL texture/fbo
479 priv->fbo = priv->fbo_array[idx];
555 void glamor_pixmap_attach_fbo(PixmapPtr pixmap, glamor_pixmap_fbo *fbo);
563 glamor_pixmap_fbo *fbo);
566 void glamor_pixmap_clear_fbo(glamor_screen_private *glamor_priv, glamor_pixmap_fbo *fbo,
588 glamor_pixmap_fbo *fbo,
613 /* nc means no check. caller must ensure this pixmap has valid fbo
[all...]
H A Dglamor_spans.c203 glamor_pixmap_fbo *fbo = glamor_pixmap_fbo_at(pixmap_priv, box_index); local in function:glamor_get_spans_gl
205 glBindFramebuffer(GL_FRAMEBUFFER, fbo->fb);
294 glamor_pixmap_fbo *fbo = glamor_pixmap_fbo_at(pixmap_priv, box_index); local in function:glamor_set_spans_gl
296 glamor_bind_texture(glamor_priv, GL_TEXTURE0, fbo, TRUE);
H A Dglamor_utils.h53 *(_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
[all...]
H A Dglamor_picture.c289 assert(!pixmap_priv->fbo);
353 glBindTexture(GL_TEXTURE_2D, pixmap_priv->fbo->tex);
H A Dglamor_xv.c382 glBindTexture(GL_TEXTURE_2D, src_pixmap_priv[0]->fbo->tex);
389 glBindTexture(GL_TEXTURE_2D, src_pixmap_priv[1]->fbo->tex);
399 glBindTexture(GL_TEXTURE_2D, src_pixmap_priv[2]->fbo->tex);
/xsrc/external/mit/mesa-demos/dist/src/trivial/
H A DMakefile.am36 clear-fbo \
37 clear-fbo-scissor \
38 clear-fbo-tex \
144 tri-fbo \
145 tri-fbo-tex \
146 tri-fbo-tex-mip \
H A DMakefile.in115 @HAVE_GLUT_TRUE@bin_PROGRAMS = clear-color$(EXEEXT) clear-fbo$(EXEEXT) \
116 @HAVE_GLUT_TRUE@ clear-fbo-scissor$(EXEEXT) \
117 @HAVE_GLUT_TRUE@ clear-fbo-tex$(EXEEXT) clear-random$(EXEEXT) \
186 @HAVE_GLUT_TRUE@ trifan-unfilled$(EXEEXT) tri-fbo$(EXEEXT) \
187 @HAVE_GLUT_TRUE@ tri-fbo-tex$(EXEEXT) tri-fbo-tex-mip$(EXEEXT) \
249 clear_fbo_SOURCES = clear-fbo.c
250 clear_fbo_OBJECTS = clear-fbo.$(OBJEXT)
252 clear_fbo_scissor_SOURCES = clear-fbo-scissor.c
253 clear_fbo_scissor_OBJECTS = clear-fbo
[all...]
/xsrc/external/mit/libdrm/dist/tests/tegra/
H A Ddrm-test-tegra.c70 struct drm_tegra_bo *fbo = fb->data; local in function:drm_tegra_gr2d_fill
81 err = drm_tegra_channel_map(gr2d->channel, fbo, 0, &map);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/vc4/kernel/
H A Dvc4_drv.h176 struct drm_gem_cma_object *fbo,
H A Dvc4_validate.c150 vc4_check_tex_size(struct vc4_exec_info *exec, struct drm_gem_cma_object *fbo, argument
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/
H A Dradeon_texture.h63 GLenum type, GLboolean fbo);
H A Dradeon_texture.c218 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) :
216 radeonChoose8888TexFormat(radeonContextPtr rmesa,GLenum srcFormat,GLenum srcType,GLboolean fbo) argument
267 radeonChooseTextureFormat(struct gl_context * ctx,GLint internalFormat,GLenum format,GLenum type,GLboolean fbo) argument
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/vc4/kernel/
H A Dvc4_drv.h176 struct drm_gem_cma_object *fbo,
H A Dvc4_validate.c150 vc4_check_tex_size(struct vc4_exec_info *exec, struct drm_gem_cma_object *fbo, argument
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/
H A Dradeon_texture.h62 GLenum type, GLboolean fbo);
H A Dradeon_texture.c217 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) :
215 radeonChoose8888TexFormat(radeonContextPtr rmesa,GLenum srcFormat,GLenum srcType,GLboolean fbo) argument
266 radeonChooseTextureFormat(struct gl_context * ctx,GLint internalFormat,GLenum format,GLenum type,GLboolean fbo) argument
/xsrc/external/mit/MesaLib/dist/docs/relnotes/
H A D10.6.7.rst34 Bisected]dEQP-GLES3.functional.fbo.completeness.renderable.texture.stencil.stencil_index8
H A D7.11.rst122 [llvmpipe] piglit fbo-drawbuffers2-blend regression
127 [llvmpipe] piglit fbo-drawbuffers-fragcolor fails
131 [softpipe] piglit fbo-srgb looks incorrect
189 [bisected piketon]piglit fbo/fbo-depth-sample-compare regressed
252 [bisected SNB]piglit fbo/fbo-alphatest-nocolor failed
302 [bisected i965]piglit fbo/fbo-blit-d24s8 crashed
325 piglit fbo
[all...]
H A D10.6.6.rst38 Bisected]dEQP-GLES3.functional.fbo.completeness.renderable.texture.depth.rg_half_float_oes
132 - mesa: update fbo state in glTexStorage
H A D8.0.3.rst69 tests/fbo/fbo-array.c:109: create_array_fbo: Assertion \`glGetError()
111 - mesa: Fix the cause of piglit test fbo-array failure
177 - i915: Fix piglit fbo-nodepth-test on i830.
/xsrc/external/mit/mesa-demos/dist/src/demos/
H A Dcuberender.c318 GLuint fbo, face, depthStencilRb; local in function:RenderCubeMap
331 glGenFramebuffersEXT(1, &fbo);
332 glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, fbo);
379 glDeleteFramebuffersEXT(1, &fbo);

Completed in 19 milliseconds

123