Searched refs:srgb (Results 1 - 22 of 22) sorted by relevance

/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/wined3d/
H A Dtexture.c179 struct wined3d_context *context, BOOL srgb, BOOL *set_surface_desc)
187 TRACE("texture %p, context %p, srgb %#x, set_surface_desc %p.\n", texture, context, srgb, set_surface_desc);
190 if (srgb)
195 gl_tex = wined3d_texture_get_gl_texture(texture, context->gl_info, srgb);
252 gl_tex->states[WINED3DTEXSTA_SRGBTEXTURE] = srgb;
668 struct wined3d_context *context, BOOL srgb)
674 TRACE("texture %p, context %p, srgb %#x.\n", texture, context, srgb);
676 hr = wined3d_texture_bind(texture, context, srgb,
178 wined3d_texture_bind(struct wined3d_texture *texture, struct wined3d_context *context, BOOL srgb, BOOL *set_surface_desc) argument
667 texture2d_bind(struct wined3d_texture *texture, struct wined3d_context *context, BOOL srgb) argument
730 texture_srgb_mode(const struct wined3d_texture *texture, enum WINED3DSRGB srgb) argument
746 texture2d_preload(struct wined3d_texture *texture, enum WINED3DSRGB srgb) argument
1364 texture3d_bind(struct wined3d_texture *texture, struct wined3d_context *context, BOOL srgb) argument
1375 texture3d_preload(struct wined3d_texture *texture, enum WINED3DSRGB srgb) argument
[all...]
H A Dsurface.c659 // DWORD alloc_flag = srgb ? SFLAG_SRGBALLOCATED : SFLAG_ALLOCATED;
722 static void surface_bind(struct wined3d_surface *surface, struct wined3d_context *context, BOOL srgb) argument
724 TRACE("surface %p, context %p, srgb %#x.\n", surface, context, srgb);
731 texture->texture_ops->texture_bind(texture, context, srgb);
743 if (srgb)
791 struct wined3d_context *context, BOOL srgb)
817 surface_bind(surface, context, srgb);
2327 void surface_set_texture_name(struct wined3d_surface *surface, GLuint new_name, BOOL srgb) argument
2332 TRACE("surface %p, new_name %u, srgb
790 surface_bind_and_dirtify(struct wined3d_surface *surface, struct wined3d_context *context, BOOL srgb) argument
2553 surface_upload_data(struct wined3d_surface *surface, const struct wined3d_gl_info *gl_info, const struct wined3d_format *format, const RECT *src_rect, UINT src_pitch, const POINT *dst_point, BOOL srgb, const struct wined3d_bo_address *data) argument
2934 surface_allocate_surface(struct wined3d_surface *surface, const struct wined3d_gl_info *gl_info, const struct wined3d_format *format, BOOL srgb) argument
3157 surface_load(struct wined3d_surface *surface, BOOL srgb) argument
4407 surface_internal_preload(struct wined3d_surface *surface, enum WINED3DSRGB srgb) argument
4695 surface_load_fb_texture(struct wined3d_surface *surface, BOOL srgb) argument
4724 surface_prepare_texture_internal(struct wined3d_surface *surface, struct wined3d_context *context, BOOL srgb) argument
4744 surface_prepare_texture(struct wined3d_surface *surface, struct wined3d_context *context, BOOL srgb) argument
6393 surface_load_texture(struct wined3d_surface *surface, const struct wined3d_gl_info *gl_info, const RECT *rect, BOOL srgb) argument
[all...]
H A Dwined3d_private.h2127 SRGB_SRGB = 2, /* Loads the srgb texture */
2140 struct wined3d_context *context, BOOL srgb);
2141 void (*texture_preload)(struct wined3d_texture *texture, enum WINED3DSRGB srgb);
2188 const struct wined3d_gl_info *gl_info, BOOL srgb)
2190 return srgb && !gl_info->supported[EXT_TEXTURE_SRGB_DECODE]
2316 const struct wined3d_gl_info *gl_info, BOOL srgb)
2318 return srgb && !gl_info->supported[EXT_TEXTURE_SRGB_DECODE]
2326 void surface_internal_preload(struct wined3d_surface *surface, enum WINED3DSRGB srgb) DECLSPEC_HIDDEN;
2328 HRESULT surface_load(struct wined3d_surface *surface, BOOL srgb) DECLSPEC_HIDDEN;
2331 void surface_load_fb_texture(struct wined3d_surface *surface, BOOL srgb) DECLSPEC_HIDDE
2187 wined3d_texture_get_gl_texture(struct wined3d_texture *texture, const struct wined3d_gl_info *gl_info, BOOL srgb) argument
2315 surface_get_texture_name(const struct wined3d_surface *surface, const struct wined3d_gl_info *gl_info, BOOL srgb) argument
[all...]
H A Dcontext.c225 BOOL srgb; local
231 srgb = location == SFLAG_INSRGBTEX;
232 surface_prepare_texture(surface, context, srgb);
234 surface->texture_target, surface_get_texture_name(surface, gl_info, srgb),
H A Ddevice.c366 enum WINED3DSRGB srgb; local
369 srgb = state->sampler_states[idx][WINED3D_SAMP_SRGB_TEXTURE] ? SRGB_SRGB : SRGB_RGB;
370 texture->texture_ops->texture_preload(texture, srgb);
H A Dstate.c3683 BOOL srgb = state->sampler_states[sampler][WINED3D_SAMP_SRGB_TEXTURE]; local
3685 texture->texture_ops->texture_bind(texture, context, srgb);
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/
H A Dvolumetexture.c38 static void volumetexture_internal_preload(IWineD3DBaseTexture *iface, enum WINED3DSRGB srgb) argument
59 /* If the texture is marked dirty or the srgb sampler setting has changed
236 static HRESULT WINAPI IWineD3DVolumeTextureImpl_BindTexture(IWineD3DVolumeTexture *iface, BOOL srgb) argument
240 TRACE("iface %p, srgb %#x.\n", iface, srgb);
242 return basetexture_bind((IWineD3DBaseTexture *)iface, srgb, &dummy);
H A Dsurface.c579 void surface_set_texture_name(IWineD3DSurface *iface, GLuint new_name, BOOL srgb) argument
585 if(srgb)
649 static void surface_bind_and_dirtify(IWineD3DSurfaceImpl *This, BOOL srgb) { argument
673 IWineD3DSurface_BindTexture((IWineD3DSurface *)This, srgb);
846 const struct wined3d_format_desc *format_desc, BOOL srgb, const GLvoid *data)
852 if (srgb)
923 const struct wined3d_format_desc *format_desc, BOOL srgb, const GLvoid *data, RECT *pRect)
929 if (srgb)
1003 const struct wined3d_format_desc *format_desc, BOOL srgb)
1019 if (srgb)
845 surface_upload_data(IWineD3DSurfaceImpl *This, const struct wined3d_gl_info *gl_info, const struct wined3d_format_desc *format_desc, BOOL srgb, const GLvoid *data) argument
922 surface_upload_data_rect(IWineD3DSurfaceImpl *This, IWineD3DSurfaceImpl *Src, const struct wined3d_gl_info *gl_info, const struct wined3d_format_desc *format_desc, BOOL srgb, const GLvoid *data, RECT *pRect) argument
1002 surface_allocate_surface(IWineD3DSurfaceImpl *This, const struct wined3d_gl_info *gl_info, const struct wined3d_format_desc *format_desc, BOOL srgb) argument
1304 surface_internal_preload(IWineD3DSurface *iface, enum WINED3DSRGB srgb) argument
1725 read_from_framebuffer_texture(IWineD3DSurfaceImpl *This, BOOL srgb) argument
1800 surface_prepare_texture(IWineD3DSurfaceImpl *surface, const struct wined3d_gl_info *gl_info, BOOL srgb) argument
2878 IWineD3DSurfaceImpl_BindTexture(IWineD3DSurface *iface, BOOL srgb) argument
4214 BOOL srgb; local
5156 BOOL srgb = flag == SFLAG_INSRGBTEX; local
[all...]
H A Dcubetexture.c39 static void cubetexture_internal_preload(IWineD3DBaseTexture *iface, enum WINED3DSRGB srgb) argument
49 switch (srgb)
101 /* If the texture is marked dirty or the srgb sampler setting has changed
333 static HRESULT WINAPI IWineD3DCubeTextureImpl_BindTexture(IWineD3DCubeTexture *iface, BOOL srgb) { argument
340 hr = basetexture_bind((IWineD3DBaseTexture *)iface, srgb, &set_gl_texture_desc);
H A Dbasetexture.c280 HRESULT basetexture_bind(IWineD3DBaseTexture *iface, BOOL srgb, BOOL *set_surface_desc) argument
289 This->baseTexture.is_srgb = srgb; /* SRGB mode cache for PreLoad calls outside drawprim */
290 if(srgb) {
H A Dtexture.c39 static void texture_internal_preload(IWineD3DBaseTexture *iface, enum WINED3DSRGB srgb) argument
51 switch (srgb)
94 /* If the texture is marked dirty or the srgb sampler setting has changed
219 surface_set_texture_name(This->surfaces[i], 0, TRUE); /* delete srgb name */
318 static HRESULT WINAPI IWineD3DTextureImpl_BindTexture(IWineD3DTexture *iface, BOOL srgb) { argument
325 hr = basetexture_bind((IWineD3DBaseTexture *)iface, srgb, &set_gl_texture_desc);
H A Dwined3d_private.h2116 SRGB_SRGB = 2, /* Loads the srgb texture */
2144 void (*internal_preload)(IWineD3DBaseTexture *iface, enum WINED3DSRGB srgb);
2147 void surface_internal_preload(IWineD3DSurface *iface, enum WINED3DSRGB srgb) DECLSPEC_HIDDEN;
2151 const struct wined3d_gl_info *gl_info, BOOL srgb) DECLSPEC_HIDDEN;
2170 HRESULT basetexture_bind(IWineD3DBaseTexture *iface, BOOL srgb, BOOL *set_surface_desc) DECLSPEC_HIDDEN;
2485 void WINAPI IWineD3DBaseSurfaceImpl_BindTexture(IWineD3DSurface *iface, BOOL srgb) DECLSPEC_HIDDEN;
2503 #define SFLAG_INSRGBTEX 0x00000080 /* The GL srgb texture contains the newest surface content */
2514 #define SFLAG_SRGBALLOCATED 0x00040000 /* A srgb gl texture is allocated for this surface */
H A Ddevice.c479 enum WINED3DSRGB srgb; local
482 srgb = stateblock->samplerState[idx][WINED3DSAMP_SRGBTEXTURE] ? SRGB_SRGB : SRGB_RGB;
483 texture->baseTexture.internal_preload((IWineD3DBaseTexture *)texture, srgb);
H A Dsurface_base.c1957 void WINAPI IWineD3DBaseSurfaceImpl_BindTexture(IWineD3DSurface *iface, BOOL srgb) { argument
H A Dstate.c3556 BOOL srgb = stateblock->samplerState[sampler][WINED3DSAMP_SRGBTEXTURE]; local
3558 IWineD3DBaseTexture_BindTexture(stateblock->textures[sampler], srgb);
/vbox/src/VBox/Devices/Graphics/shaderlib/libWineStub/include/wine/
H A Dwined3d.h4003 BOOL srgb) = 0;
4219 BOOL srgb);
4304 #define IWineD3DSurface_BindTexture(This,srgb) (This)->lpVtbl->BindTexture(This,srgb)
4544 BOOL srgb);
4867 BOOL srgb) = 0;
4967 BOOL srgb);
5006 #define IWineD3DBaseTexture_BindTexture(This,srgb) (This)->lpVtbl->BindTexture(This,srgb)
5074 BOOL srgb);
[all...]
/vbox/src/VBox/Devices/Graphics/shaderlib/wine/include/wine/
H A Dwined3d.h4004 BOOL srgb) = 0;
4220 BOOL srgb);
4305 #define IWineD3DSurface_BindTexture(This,srgb) (This)->lpVtbl->BindTexture(This,srgb)
4545 BOOL srgb);
4868 BOOL srgb) = 0;
4968 BOOL srgb);
5007 #define IWineD3DBaseTexture_BindTexture(This,srgb) (This)->lpVtbl->BindTexture(This,srgb)
5075 BOOL srgb);
[all...]
/vbox/src/VBox/Devices/Graphics/shaderlib/wine/vbox/libWineStub/include/wine/
H A Dwined3d.h4003 BOOL srgb) = 0;
4219 BOOL srgb);
4304 #define IWineD3DSurface_BindTexture(This,srgb) (This)->lpVtbl->BindTexture(This,srgb)
4544 BOOL srgb);
4867 BOOL srgb) = 0;
4967 BOOL srgb);
5006 #define IWineD3DBaseTexture_BindTexture(This,srgb) (This)->lpVtbl->BindTexture(This,srgb)
5074 BOOL srgb);
[all...]
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/include/wine/
H A Dwined3d.h3984 BOOL srgb) = 0;
4200 BOOL srgb);
4285 #define IWineD3DSurface_BindTexture(This,srgb) (This)->lpVtbl->BindTexture(This,srgb)
4525 BOOL srgb);
4848 BOOL srgb) = 0;
4948 BOOL srgb);
4987 #define IWineD3DBaseTexture_BindTexture(This,srgb) (This)->lpVtbl->BindTexture(This,srgb)
5055 BOOL srgb);
[all...]
H A Dwined3d.idl2491 [in] BOOL srgb
2577 [in] BOOL srgb
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/vbox/libWineStub/include/wine/
H A Dwined3d.h4003 BOOL srgb) = 0;
4219 BOOL srgb);
4304 #define IWineD3DSurface_BindTexture(This,srgb) (This)->lpVtbl->BindTexture(This,srgb)
4544 BOOL srgb);
4867 BOOL srgb) = 0;
4967 BOOL srgb);
5006 #define IWineD3DBaseTexture_BindTexture(This,srgb) (This)->lpVtbl->BindTexture(This,srgb)
5074 BOOL srgb);
[all...]
/vbox/src/VBox/Devices/Graphics/shaderlib/
H A Dwined3d_private.h2151 SRGB_SRGB = 2, /* Loads the srgb texture */
2179 void (*internal_preload)(IWineD3DBaseTexture *iface, enum WINED3DSRGB srgb);
2182 void surface_internal_preload(IWineD3DSurface *iface, enum WINED3DSRGB srgb) DECLSPEC_HIDDEN;
2186 const struct wined3d_gl_info *gl_info, BOOL srgb) DECLSPEC_HIDDEN;
2205 HRESULT basetexture_bind(IWineD3DBaseTexture *iface, BOOL srgb, BOOL *set_surface_desc) DECLSPEC_HIDDEN;
2520 void WINAPI IWineD3DBaseSurfaceImpl_BindTexture(IWineD3DSurface *iface, BOOL srgb) DECLSPEC_HIDDEN;
2538 #define SFLAG_INSRGBTEX 0x00000080 /* The GL srgb texture contains the newest surface content */
2549 #define SFLAG_SRGBALLOCATED 0x00040000 /* A srgb gl texture is allocated for this surface */

Completed in 6967 milliseconds