search for: gluint

Displaying 10 results from an estimated 10 matches for "gluint".

Did you mean: gluing
2004 Aug 04
4
ERROR: compilation failed for package 'rgl'
...from x11gui.h:10, from x11lib.cpp:13: opengl.h:19:19: GL/gl.h: No such file or directory opengl.h:20:20: GL/glu.h: No such file or directory In file included from gui.h:10, from x11gui.h:10, from x11lib.cpp:13: glgui.h:27: error: 'GLuint' is used as a type, but is not defined as a type. glgui.h:28: error: 'GLuint' is used as a type, but is not defined as a type. glgui.h:29: error: 'GLuint' is used as a type, but is not defined as a type. glgui.h: In member function `void GLBitmapFont::enable()': glgui.h:2...
2012 Apr 06
1
[WIP PATCH] dri/nouveau: Add S3TC support for nv20.
...Lint height, GLint depth, GLint border, + GLsizei imageSize, GLenum format, GLenum type, const GLvoid *pixels, - const struct gl_pixelstore_attrib *packing) + const struct gl_pixelstore_attrib *packing, + GLboolean compressed) { struct gl_texture_object *t = ti->TexObject; const GLuint level = ti->Level; @@ -472,9 +510,16 @@ nouveau_teximage(struct gl_context *ctx, GLint dims, ti->TexFormat, width, height); nti->base.RowStride = s->pitch / s->cpp; - pixels = _mesa_validate_pbo_teximage(ctx, dims, width, height, depth, - format, type, pixels,...
2008 Nov 11
2
Memory corruption on Gallium window resize, diagnosed?
...xt.c:1797) ==5322== and a couple more invalid reads, and a segfault. My theory is: when the window resize occurs, somewhere along the path st_renderbuffer_alloc_storage(GLcontext * ctx, struct gl_renderbuffer *rb, GLenum internalFormat, GLuint width, GLuint height) { struct pipe_context *pipe = ctx->st->pipe; struct st_renderbuffer *strb = st_renderbuffer(rb); struct pipe_texture template; unsigned surface_usage; /* Free the old surface and texture */ pipe_surface_reference( &strb->surface, NULL );...
2013 Oct 04
1
[PATCH] nouveau_vieux: add AllocTextureImageBuffer implementation
...esa/drivers/dri/nouveau/nouveau_texture.c b/src/mesa/drivers/dri/nouveau/nouveau_texture.c index da74e8f..8904389 100644 --- a/src/mesa/drivers/dri/nouveau/nouveau_texture.c +++ b/src/mesa/drivers/dri/nouveau/nouveau_texture.c @@ -494,6 +494,14 @@ nouveau_compressed_teximage(struct gl_context *ctx, GLuint dims, &ctx->Unpack, GL_TRUE); } +static GLboolean +nouveau_teximage_alloc(struct gl_context *ctx, struct gl_texture_image *ti) +{ + nouveau_teximage(ctx, 3, ti, 0, 0, 0, NULL, + &ctx->DefaultPacking, GL_FALSE); + return GL_TRUE; +} + static void nouveau_texsubimage(struct...
2004 Jul 20
1
Installing rgl on linux
...from x11gui.h:10, from x11lib.cpp:13: opengl.h:19:19: GL/gl.h: No such file or directory opengl.h:20:20: GL/glu.h: No such file or directory In file included from gui.h:10, from x11gui.h:10, from x11lib.cpp:13: glgui.h:27: error: 'GLuint' is used as a type, but is not defined as a type. glgui.h:28: error: 'GLuint' is used as a type, but is not defined as a type. glgui.h:29: error: 'GLuint' is used as a type, but is not defined as a type. glgui.h: In member function `void GLBitmapFont::enable()': glgui.h:22:...
2012 Jul 06
0
[PATCH] dri/nouveau: Add AllocTextureImageBuffer() implementation
...drivers/dri/nouveau/nouveau_texture.c @@ -40,6 +40,7 @@ #include "main/teximage.h" #include "drivers/common/meta.h" #include "swrast/s_texfetch.h" +#include "swrast/swrast.h" static struct gl_texture_object * nouveau_texture_new(struct gl_context *ctx, GLuint name, GLenum target) @@ -71,12 +72,64 @@ nouveau_teximage_new(struct gl_context *ctx) return &nti->base.Base; } +static unsigned +get_teximage_placement(struct gl_texture_image *ti) +{ + if (ti->TexFormat == MESA_FORMAT_A8 || + ti->TexFormat == MESA_FORMAT_L8 || + ti->T...
2015 May 24
2
[Mesa-dev] [PATCH 07/11] glsl: Add arb_cull_distance support
...size defined by gl_MaxCombinedClipAndCullDistances. > * > * Return false if an error was reported. > */ > static void > -analyze_clip_usage(struct gl_shader_program *prog, > - struct gl_shader *shader, GLboolean *UsesClipDistance, > - GLuint *ClipDistanceArraySize) > +analyze_clip_cull_usage(struct gl_shader_program *prog, > + struct gl_shader *shader, > + struct gl_context *ctx, > + GLboolean *UsesClipCullDistance, > + GLuint *Cl...
2015 May 24
19
[RFC PATCH 00/11] Implement ARB_cull_distance
This patch series adds the needed support for this extension to the various parts of mesa to finally enable it for nvc0. Dave Airlie (1): glsl: lower cull_distance into cull_distance_mesa Tobias Klausmann (10): glapi: add GL_ARB_cull_distance mesa/main: add support for GL_ARB_cull_distance mesa/prog: Add varyings for arb_cull_distance mesa/st: add support for GL_ARB_cull_distance
2016 Mar 18
0
Wine release 1.9.6
...e debug_float4(). wined3d: Recognize SM5 ld_structured opcode. wined3d: Recognize SM5 deriv_rtx_coarse opcode. wined3d: Recognize SM5 deriv_rty_coarse opcode. wined3d: Recognize SM5 deriv_rtx_fine opcode. wined3d: Recognize SM5 deriv_rty_fine opcode. wined3d: Use GLuint instead of GLenum to store ARB blitter shaders. Louis Lenders (1): ntdll: Add stub for RtlAddAccessDeniedObjectAce and forward to AddAccessDeniedObjectAce in advapi32. Matteo Bruni (13): d3dx9: Trace the parameter passed to IsParameterUsed(). d3d11/tests: Require feature level 1...
2009 Mar 02
0
[PATCH 4 of 13] DisplayState interface change
...ui_saved_grab; @@ -52,17 +53,15 @@ static SDL_Cursor *sdl_cursor_hidden; static int absolute_enabled = 0; static int opengl_enabled; -static uint8_t bgr; - -static void sdl_colourdepth(DisplayState *ds, int depth); #ifdef CONFIG_OPENGL static GLint tex_format; static GLint tex_type; static GLuint texture_ref = 0; static GLint gl_format; +static uint8_t bgr; -static void opengl_setdata(DisplayState *ds, void *pixels) +static void opengl_setdata(DisplayState *ds) { glEnable(GL_TEXTURE_RECTANGLE_ARB); glTexEnvi(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_REPLACE); @@ -72,14 +71,13 @@...