search for: gl_none

Displaying 7 results from an estimated 7 matches for "gl_none".

2014 Jan 10
2
[PATCH] nouveau: add framebuffer validation callback
...*ctx, + struct gl_framebuffer *fb) +{ + const struct nouveau_driver *drv = context_drv(ctx); + int i, count = 0; + + for (i = 0; i < ctx->Const.MaxColorAttachments; i++) { + struct gl_renderbuffer_attachment *rba = + &fb->Attachment[BUFFER_COLOR0 + i]; + if (rba->Type == GL_NONE) + continue; + + count++; + if (rba->Type != GL_TEXTURE) + continue; + + if (!drv->is_rt_format_supported( + rba->Renderbuffer->TexImage->TexFormat)) + goto err; + } + if (count > 1) + goto err; + + if (fb->Attachment[BUFFER_DEPTH].Type == GL_TEXTURE) { + stru...
2014 Jan 14
0
[PATCH] nouveau: add framebuffer validation callback
...b) > +{ > + const struct nouveau_driver *drv = context_drv(ctx); > + int i, count = 0; > + > + for (i = 0; i < ctx->Const.MaxColorAttachments; i++) { > + struct gl_renderbuffer_attachment *rba = > + &fb->Attachment[BUFFER_COLOR0 + i]; > + if (rba->Type == GL_NONE) > + continue; > + > + count++; > + if (rba->Type != GL_TEXTURE) > + continue; > + > + if (!drv->is_rt_format_supported( > + rba->Renderbuffer->TexImage->TexFormat)) > + goto err; > + } > + if (count > 1) > + goto err; > + &g...
2013 Apr 26
0
Wine release 1.5.29
...B_internalformat_query2 to check for texture format rendering and blending support, where available. wined3d: Use ARB_internalformat_query2 for the other texture format caps too. winex11.drv: Print the error in wglCreateContextAttribsARB() when context creation fails. wined3d: Set GL_NONE for glReadBuffer / glDrawBuffer on FBO initialization. wined3d: Remove some, now unnecessary, glReadBuffer(GL_NONE) calls. Michael Stefaniuc (17): dplayx: IDirectPlayLobby3 / IDirectPlayLobby3A have independent refcounts. dplayx: Merge the DirectPlayLobby QueryInterface helper....
2007 Jul 13
0
Wine release 0.9.41
...ystems that don't support nameless unions. H. Verbeet (8): wined3d: Call IWineD3DDeviceImpl_FindTexUnitMap for cards without support for NV_REGISTER_COMBINERS as well. wined3d: Only call activate_dimensions() if the texture is used. wined3d: Only set GL_SHADER_OPERATION_NV to GL_NONE for supported units. wined3d: In tex_colorop() & tex_alphaop(), only check the mapped stage against GL_LIMITS(textures) if the texture is used. wined3d: Cleanup shader_glsl_load_psamplers(). wined3d: Implement dsx & dsy shader instructions. wined3d: Advertise A32B32G...
2011 Apr 15
0
Wine release 1.3.18
...9;t free D3D swapchains until the wined3d swapchain is destroyed. wined3d: Explicitly handle 0 rt_count right at the start of context_apply_draw_buffers(). wined3d: Only set draw buffers that are explicitly specified in context_apply_draw_buffers(). wined3d: Set the read buffer to GL_NONE for draws and clears on an FBO. wined3d: Check FBO completeness after the read / draw buffers are specified. wined3d: Depth-only clears are done offscreen. wined3d: Flush after accessing the front buffer in surface_blt_fbo(). wined3d: Flush after accessing the front buffer i...
2007 Jun 29
0
Wine release 0.9.40
...upport for GDIPCONST. gdi32/tests: Run the GetTextMetricsA() tests on Windows 9x too. ddraw/tests: Fix compilation on systems that don't support nameless unions. dsound: Add missing '\n' to Wine trace. H. Verbeet (23): wined3d: Only set GL_SHADER_OPERATION_NV to GL_NONE for mapped stages. wined3d: Mask texture stage state arguments with WINED3DTA_SELECTMASK when comparing them. wined3d: Use texture2D to sample in pshader_glsl_texdp3tex(). wined3d: Make use of the texUnitMap in drawStridedSlow as well. wined3d: Fix various incorrect uses of...
2011 Aug 05
0
Wine release 1.3.26
...source and destination rectangles. wined3d: Check for locked surfaces in wined3d_surface_blt(). wined3d: Go straight to the fallbacks for complex blits in surface_blt(). wined3d: Go to the fallbacks if D3D is not initialized in surface_blt(). wined3d: Set the read buffer to GL_NONE in surface_load_ds_location(). wined3d: Fix switching color keying on / off. wined3d: Add WINED3DFMT_P8_UINT support to wined3d_format_convert_from_float(). wined3d: Go to the fallbacks for cross-swapchain blits. wined3d: Merge wined3d_surface_blt(), surface_blt() and gdi_su...