/vbox/src/VBox/Additions/common/crOpenGL/pack/ |
H A D | packspu_texture.c | 24 void PACKSPU_APIENTRY packspu_ActiveTextureARB(GLenum texture) argument 26 crStateActiveTextureARB(texture); 27 crPackActiveTextureARB(texture); 30 void PACKSPU_APIENTRY packspu_BindTexture(GLenum target, GLuint texture) argument 32 crStateBindTexture(target, texture); 33 crPackBindTexture(target, texture);
|
H A D | packspu_framebuffer.c | 25 packspu_FramebufferTexture1DEXT(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) argument 27 crStateFramebufferTexture1DEXT(target, attachment, textarget, texture, level); 28 crPackFramebufferTexture1DEXT(target, attachment, textarget, texture, level); 32 packspu_FramebufferTexture2DEXT(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) argument 34 crStateFramebufferTexture2DEXT(target, attachment, textarget, texture, level); 35 crPackFramebufferTexture2DEXT(target, attachment, textarget, texture, level); 39 packspu_FramebufferTexture3DEXT(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset) argument 41 crStateFramebufferTexture3DEXT(target, attachment, textarget, texture, level, zoffset); 42 crPackFramebufferTexture3DEXT(target, attachment, textarget, texture, level, zoffset);
|
/vbox/src/VBox/HostServices/SharedOpenGL/unpacker/ |
H A D | unpack_misc.c | 80 GLuint texture = READ_DATA( 8, GLuint ); local 86 cr_unpackDispatch.VBoxTexPresent( texture, cfg, xPos, yPos, cRects, pRects );
|
/vbox/src/VBox/HostServices/SharedOpenGL/crserverlib/ |
H A D | server_framebuffer.c | 50 void SERVER_DISPATCH_APIENTRY crServerDispatchFramebufferTexture1DEXT(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) argument 52 crStateFramebufferTexture1DEXT(target, attachment, textarget, texture, level); 53 cr_server.head_spu->dispatch_table.FramebufferTexture1DEXT(target, attachment, textarget, crStateGetTextureHWID(texture), level); 56 void SERVER_DISPATCH_APIENTRY crServerDispatchFramebufferTexture2DEXT(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) argument 58 crStateFramebufferTexture2DEXT(target, attachment, textarget, texture, level); 59 cr_server.head_spu->dispatch_table.FramebufferTexture2DEXT(target, attachment, textarget, crStateGetTextureHWID(texture), level); 62 void SERVER_DISPATCH_APIENTRY crServerDispatchFramebufferTexture3DEXT(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset) argument 64 crStateFramebufferTexture3DEXT(target, attachment, textarget, texture, level, zoffset); 65 cr_server.head_spu->dispatch_table.FramebufferTexture3DEXT(target, attachment, textarget, crStateGetTextureHWID(texture), level, zoffset);
|
/vbox/src/VBox/GuestHost/OpenGL/packer/ |
H A D | pack_misc.c | 117 void PACK_APIENTRY crPackVBoxTexPresent( CR_PACKER_CONTEXT_ARGDECL GLuint texture, GLuint cfg, GLint xPos, GLint yPos, GLint cRects, const GLint * pRects ) argument 128 WRITE_DATA( 8, GLuint, texture );
|
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/ |
H A D | volume.c | 43 IWineD3DVolumeTexture *texture; local 46 /* We don't need a specific texture unit, but after binding the texture the current unit is dirty. 48 * gl states. The current texture unit should always be a valid one. 52 * whatever happens to be the currently active texture, or we would risk 55 * TODO: Track the current active texture per GL context instead of using glGet 73 if (SUCCEEDED(IWineD3DSurface_GetContainer(iface, &IID_IWineD3DVolumeTexture, (void **)&texture))) { 74 IWineD3DVolumeTexture_BindTexture(texture, FALSE); 75 IWineD3DVolumeTexture_Release(texture); 77 ERR("Volume should be part of a volume texture\ [all...] |
H A D | basetexture.c | 41 HRESULT basetexture_init(IWineD3DBaseTextureImpl *texture, UINT levels, WINED3DRESOURCETYPE resource_type, argument 54 WARN("Too many texture levels %d", levels); 58 hr = resource_init((IWineD3DResource *)texture, resource_type, device, 70 texture->baseTexture.levels = levels; 71 texture->baseTexture.filterType = (usage & WINED3DUSAGE_AUTOGENMIPMAP) ? WINED3DTEXF_LINEAR : WINED3DTEXF_NONE; 72 texture->baseTexture.LOD = 0; 73 texture->baseTexture.texture_rgb.dirty = TRUE; 74 texture->baseTexture.texture_srgb.dirty = TRUE; 75 texture->baseTexture.is_srgb = FALSE; 76 texture [all...] |
H A D | volumetexture.c | 49 TRACE("(%p) : About to load texture.\n", This); 59 /* If the texture is marked dirty or the srgb sampler setting has changed 180 /* Unload all the surfaces and reset the texture name. If UnLoad was called on the 357 /* volume texture */ 365 HRESULT volumetexture_init(IWineD3DVolumeTextureImpl *texture, UINT width, UINT height, argument 391 WARN("(%p) : Texture cannot be created with a format of WINED3DFMT_UNKNOWN.\n", texture); 397 WARN("(%p) : Texture cannot be created - no volume texture support.\n", texture); 424 texture->lpVtbl = &IWineD3DVolumeTexture_Vtbl; 426 hr = basetexture_init((IWineD3DBaseTextureImpl *)texture, level [all...] |
H A D | cubetexture.c | 69 TRACE("(%p) : About to load texture: dirtified(%u).\n", This, *dirty); 77 * when loading offscreen render targets into their texture. */ 91 /* TODO: This is not necessarily needed with hw palettized texture support. */ 93 /* Make sure the texture is reloaded because of the palette change, 101 /* If the texture is marked dirty or the srgb sampler setting has changed 138 /* Clean out the texture name we gave to the surface so that the 224 /* Unload all the surfaces and reset the texture name. If UnLoad was called on the 491 HRESULT cubetexture_init(IWineD3DCubeTextureImpl *texture, UINT edge_length, UINT levels, argument 511 WARN("(%p) : Texture cannot be created with a format of WINED3DFMT_UNKNOWN.\n", texture); 517 WARN("(%p) : Tried to create not supported cube texture [all...] |
H A D | gl_compat.c | 120 static void WINE_GLAPI wine_glActiveTextureARB(GLenum texture) { argument 121 if(texture != GL_TEXTURE0) { 127 static void WINE_GLAPI wine_glClientActiveTextureARB(GLenum texture) { argument 128 if(texture != GL_TEXTURE0) { 402 * Fog vs texture: We apply the fog in the vertex color. An app could set up texturing settings which
|
H A D | texture.c | 49 TRACE("(%p) : About to load texture.\n", This); 73 /* context_acquire() sets isInDraw to TRUE when loading a pbuffer into a texture, 86 /* TODO: This is not necessarily needed with hw palettized texture support. */ 88 /* Make sure the texture is reloaded because of the palette change, this kills performance though :( */ 94 /* If the texture is marked dirty or the srgb sampler setting has changed 124 /* Clean out the texture name we gave to the surface so that the 134 TRACE("(%p) : Cleaning up base texture\n", This); 212 /* Unload all the surfaces and reset the texture name. If UnLoad was called on the 341 * partial driver emulation, we're dealing with a GL_TEXTURE_2D texture which has the address mode set to repeat - something 343 * Even if the texture ha 510 texture_init(IWineD3DTextureImpl *texture, UINT width, UINT height, UINT levels, IWineD3DDeviceImpl *device, DWORD usage, WINED3DFORMAT format, WINED3DPOOL pool, IUnknown *parent, const struct wined3d_parent_ops *parent_ops , HANDLE *shared_handle , void **pavClientMem ) argument [all...] |
H A D | drawprim.c | 234 UINT texture, tmp_tex_mask; local 250 for (texture = 0; tmp_tex_mask; tmp_tex_mask >>= 1, ++texture) 258 coord_idx = This->stateBlock->textureState[texture][WINED3DTSS_TEXCOORDINDEX]; 261 texture_idx = This->texUnitMap[texture]; 744 TRACE("Saving texture %s\n", buffer); 750 FIXME("base Texture isn't of type texture %d\n", IWineD3DBaseTexture_GetType(This->stateBlock->textures[textureNo])); 936 * GL_MAP2_TEXTURE_COORD_4 for texture coords
|
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/d3d8/ |
H A D | cubetexture.c | 360 HRESULT cubetexture_init(IDirect3DCubeTexture8Impl *texture, IDirect3DDevice8Impl *device, argument 365 texture->lpVtbl = &Direct3DCubeTexture8_Vtbl; 366 texture->ref = 1; 370 wined3dformat_from_d3dformat(format), pool, &texture->wineD3DCubeTexture, 371 (IUnknown *)texture, &d3d8_cubetexture_wined3d_parent_ops); 375 WARN("Failed to create wined3d cube texture, hr %#x.\n", hr); 379 texture->parentDevice = (IDirect3DDevice8 *)device; 380 IDirect3DDevice8_AddRef(texture->parentDevice);
|
H A D | texture.c | 358 HRESULT texture_init(IDirect3DTexture8Impl *texture, IDirect3DDevice8Impl *device, argument 363 texture->lpVtbl = &Direct3DTexture8_Vtbl; 364 texture->ref = 1; 369 &texture->wineD3DTexture, (IUnknown *)texture, &d3d8_texture_wined3d_parent_ops); 373 WARN("Failed to create wined3d texture, hr %#x.\n", hr); 377 texture->parentDevice = (IDirect3DDevice8 *)device; 378 IDirect3DDevice8_AddRef(texture->parentDevice);
|
H A D | volumetexture.c | 358 HRESULT volumetexture_init(IDirect3DVolumeTexture8Impl *texture, IDirect3DDevice8Impl *device, argument 363 texture->lpVtbl = &Direct3DVolumeTexture8_Vtbl; 364 texture->ref = 1; 369 &texture->wineD3DVolumeTexture, (IUnknown *)texture, &d3d8_volumetexture_wined3d_parent_ops); 373 WARN("Failed to create wined3d volume texture, hr %#x.\n", hr); 377 texture->parentDevice = (IDirect3DDevice8 *)device; 378 IDirect3DDevice8_AddRef(texture->parentDevice);
|
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/d3d9/ |
H A D | cubetexture.c | 402 HRESULT cubetexture_init(IDirect3DCubeTexture9Impl *texture, IDirect3DDevice9Impl *device, argument 412 texture->lpVtbl = &Direct3DCubeTexture9_Vtbl; 413 texture->ref = 1; 418 wined3dformat_from_d3dformat(format), pool, &texture->wineD3DCubeTexture, 419 (IUnknown *)texture, &d3d9_cubetexture_wined3d_parent_ops, 423 wined3dformat_from_d3dformat(format), pool, &texture->wineD3DCubeTexture, 424 (IUnknown *)texture, &d3d9_cubetexture_wined3d_parent_ops); 429 WARN("Failed to create wined3d cube texture, hr %#x.\n", hr); 433 texture->parentDevice = (IDirect3DDevice9Ex *)device; 434 IDirect3DDevice9Ex_AddRef(texture [all...] |
H A D | texture.c | 399 HRESULT texture_init(IDirect3DTexture9Impl *texture, IDirect3DDevice9Impl *device, argument 409 texture->lpVtbl = &Direct3DTexture9_Vtbl; 410 texture->ref = 1; 416 &texture->wineD3DTexture, (IUnknown *)texture, &d3d9_texture_wined3d_parent_ops 422 &texture->wineD3DTexture, (IUnknown *)texture, &d3d9_texture_wined3d_parent_ops); 428 WARN("Failed to create wined3d texture, hr %#x.\n", hr); 432 texture->parentDevice = (IDirect3DDevice9Ex *)device; 433 IDirect3DDevice9Ex_AddRef(texture [all...] |
H A D | volumetexture.c | 435 HRESULT volumetexture_init(IDirect3DVolumeTexture9Impl *texture, IDirect3DDevice9Impl *device, argument 445 texture->lpVtbl = &Direct3DVolumeTexture9_Vtbl; 446 texture->ref = 1; 452 &texture->wineD3DVolumeTexture, (IUnknown *)texture, &d3d9_volumetexture_wined3d_parent_ops 457 &texture->wineD3DVolumeTexture, (IUnknown *)texture, &d3d9_volumetexture_wined3d_parent_ops); 462 WARN("Failed to create wined3d volume texture, hr %#x.\n", hr); 466 texture->parentDevice = (IDirect3DDevice9Ex *)device; 467 IDirect3DDevice9Ex_AddRef(texture [all...] |
/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/wined3d/ |
H A D | gl_compat.c | 124 static void WINE_GLAPI wine_glActiveTextureARB(GLenum texture) { argument 125 if(texture != GL_TEXTURE0) { 131 static void WINE_GLAPI wine_glClientActiveTextureARB(GLenum texture) { argument 132 if(texture != GL_TEXTURE0) { 406 * Fog vs texture: We apply the fog in the vertex color. An app could set up texturing settings which
|
H A D | stateblock.c | 484 struct wined3d_texture *texture; local 497 if ((texture = state->textures[i])) 500 wined3d_texture_decref(texture); 946 TRACE("Updating texture %u to %p (was %p).\n", 1338 TRACE("Setting up default texture states for texture Stage %u.\n", i); 1375 /* TODO: Indicates which element of a multielement texture to use. */
|
H A D | drawprim.c | 267 UINT texture, tmp_tex_mask; local 283 for (texture = 0; tmp_tex_mask; tmp_tex_mask >>= 1, ++texture) 291 coord_idx = state->texture_states[texture][WINED3D_TSS_TEXCOORD_INDEX]; 294 texture_idx = device->texUnitMap[texture];
|
/vbox/src/VBox/Additions/common/crOpenGL/ |
H A D | stub.c | 156 void APIENTRY crVBoxTexPresent(GLuint texture, GLuint cfg, GLint xPos, GLint yPos, GLint cRects, const GLint *pRects) argument
|
/vbox/src/VBox/GuestHost/OpenGL/include/ |
H A D | cr_glstate.h | 103 CRTextureBits texture; member in struct:__anon16099 112 CRHashTable *textureTable; /* all texture objects */ 186 CRTextureState texture; member in struct:CRContext 301 DECLEXPORT(void) crStateSetTextureUsed(GLuint texture, GLboolean used); 302 DECLEXPORT(void) crStatePinTexture(GLuint texture, GLboolean pin);
|
/vbox/src/VBox/GuestHost/OpenGL/state_tracker/ |
H A D | state_framebuffer.c | 533 static GLuint crStateFramebufferTextureCheck(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, argument 561 if (!texture) 575 *tobj = crStateTextureGet(GL_TEXTURE_CUBE_MAP_ARB, texture); 579 *tobj = crStateTextureGet(textarget, texture); 583 *tobj = crStateTextureGet(textarget, texture); 588 *tobj = crStateTextureGet(textarget, texture); 594 CRSTATE_CHECKERR_RET(!*tobj, GL_INVALID_OPERATION, "invalid textarget/texture combo", 0); 607 if ((aap[i])->type!=GL_TEXTURE || (aap[i])->name!=texture || (aap[i])->level!=level) 621 crStateFramebufferTexture1DEXT(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) argument 629 cap = crStateFramebufferTextureCheck(target, attachment, textarget, texture, leve 655 crStateFramebufferTexture2DEXT(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) argument 693 crStateFramebufferTexture3DEXT(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset) argument [all...] |
/vbox/src/VBox/Devices/Graphics/shaderlib/ |
H A D | directx.c | 331 * all the texture. This function detects this bug by its symptom and disables PBOs 334 * The test uploads a 4x4 texture via the PBO in the "native" format GL_BGRA, 336 * for D3DFMT_A8R8G8B8. Then the texture is read back without any PBO and the data 339 GLuint texture, pbo; local 355 glGenTextures(1, &texture); 356 glBindTexture(GL_TEXTURE_2D, texture); 360 checkGLcall("Specifying the PBO test texture"); 368 checkGLcall("Loading the PBO test texture"); 378 checkGLcall("Reading back the PBO test texture"); 380 glDeleteTextures(1, &texture); [all...] |