HomeSort by: relevance | last modified time | path
    Searched refs:This (Results 1 - 25 of 591) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/nine/
resource9.c 5 * copy of this software and associated documentation files (the "Software"),
11 * The above copyright notice and this permission notice (including the next
36 NineResource9_ctor( struct NineResource9 *This,
47 DBG("This=%p pParams=%p initResource=%p Allocate=%d "
49 This, pParams, initResource, (int) Allocate,
52 hr = NineUnknown_ctor(&This->base, pParams);
56 This->info.screen = screen = This->base.device->screen;
58 pipe_resource_reference(&This->resource, initResource);
72 * * This would add overhead to each resource allocation
    [all...]
iunknown.h 5 * copy of this software and associated documentation files (the "Software"),
11 * The above copyright notice and this permission notice (including the next
73 /* Use this instead of a shitload of arguments: */
85 NineUnknown_ctor( struct NineUnknown *This,
89 NineUnknown_dtor( struct NineUnknown *This );
94 NineUnknown_QueryInterface( struct NineUnknown *This,
99 NineUnknown_AddRef( struct NineUnknown *This );
102 NineUnknown_Release( struct NineUnknown *This );
105 NineUnknown_ReleaseWithDtorLock( struct NineUnknown *This );
108 NineUnknown_GetDevice( struct NineUnknown *This,
    [all...]
surface9.c 5 * copy of this software and associated documentation files (the "Software"),
11 * The above copyright notice and this permission notice (including the next
49 NineSurface9_CreatePipeSurfaces( struct NineSurface9 *This );
52 NineSurface9_ctor( struct NineSurface9 *This,
66 DBG("This=%p pDevice=%p pResource=%p Level=%u Layer=%u pDesc=%p\n",
67 This, pParams->device, pResource, Level, Layer, pDesc);
69 /* Mark this as a special surface held by another internal resource. */
71 This->base.base.device = pParams->device; /* Early fill this field in case of failure */
84 This->data = user_buffer
    [all...]
buffer9.c 6 * copy of this software and associated documentation files (the "Software"),
12 * The above copyright notice and this permission notice (including the next
42 NineBuffer9_ctor( struct NineBuffer9 *This,
49 struct pipe_resource *info = &This->base.info;
52 DBG("This=%p Size=0x%x Usage=%x Pool=%u\n", This, Size, Usage, Pool);
56 This->maps = MALLOC(sizeof(struct NineTransfer));
57 if (!This->maps)
59 This->nlocks = 0;
60 This->nmaps = 0
    [all...]
volume9.c 5 * copy of this software and associated documentation files (the "Software"),
11 * The above copyright notice and this permission notice (including the next
38 NineVolume9_AllocateData( struct NineVolume9 *This )
40 unsigned size = This->layer_stride * This->desc.Depth;
42 DBG("(%p(This=%p),level=%u) Allocating 0x%x bytes of system memory.\n",
43 This->base.container, This, This->level, size);
45 This->data = (uint8_t *)align_calloc(size, 32)
    [all...]
iunknown.c 5 * copy of this software and associated documentation files (the "Software"),
11 * The above copyright notice and this permission notice (including the next
34 NineUnknown_ctor( struct NineUnknown *This,
38 This->refs = 0;
39 This->forward = true;
40 This->bind = 0;
43 This->refs = 0;
44 This->forward = false;
45 This->bind = 1;
47 This->refs = 1
    [all...]
basetexture9.h 5 * copy of this software and associated documentation files (the "Software"),
11 * The above copyright notice and this permission notice (including the next
67 NineBaseTexture9_ctor( struct NineBaseTexture9 *This,
76 NineBaseTexture9_dtor( struct NineBaseTexture9 *This );
79 NineBaseTexture9_SetLOD( struct NineBaseTexture9 *This,
83 NineBaseTexture9_GetLOD( struct NineBaseTexture9 *This );
86 NineBaseTexture9_GetLevelCount( struct NineBaseTexture9 *This );
89 NineBaseTexture9_SetAutoGenFilterType( struct NineBaseTexture9 *This,
93 NineBaseTexture9_GetAutoGenFilterType( struct NineBaseTexture9 *This );
96 NineBaseTexture9_GenerateMipSubLevels( struct NineBaseTexture9 *This );
    [all...]
swapchain9.c 5 * copy of this software and associated documentation files (the "Software"),
11 * The above copyright notice and this permission notice (including the next
44 NineSwapChain9_ctor( struct NineSwapChain9 *This,
56 DBG("This=%p pDevice=%p pPresent=%p pCTX=%p hFocusWindow=%p\n",
57 This, pParams->device, pPresent, pCTX, hFocusWindow);
59 hr = NineUnknown_ctor(&This->base, pParams);
63 This->screen = NineDevice9_GetScreen(This->base.device);
64 This->implicit = implicit;
65 This->actx = pCTX
    [all...]
vertexshader9.c 5 * copy of this software and associated documentation files (the "Software"),
11 * The above copyright notice and this permission notice (including the next
36 NineVertexShader9_ctor( struct NineVertexShader9 *This,
46 DBG("This=%p pParams=%p pFunction=%p cso=%p\n",
47 This, pParams, pFunction, cso);
49 hr = NineUnknown_ctor(&This->base, pParams);
54 This->ff_cso = cso;
58 device = This->base.device;
89 This->byte_code.version = info.version;
90 This->swvp_only = info.swvp_on
    [all...]
surface9.h 5 * copy of this software and associated documentation files (the "Software"),
11 * The above copyright notice and this permission notice (including the next
76 NineSurface9_ctor( struct NineSurface9 *This,
87 NineSurface9_dtor( struct NineSurface9 *This );
92 NineSurface9_MarkContainerDirty( struct NineSurface9 *This );
95 NineSurface9_GetSurface( struct NineSurface9 *This, int sRGB )
97 assert(This->surface[sRGB]);
98 return This->surface[sRGB];
102 NineSurface9_GetResource( struct NineSurface9 *This )
104 return This->base.resource
    [all...]
cubetexture9.c 5 * copy of this software and associated documentation files (the "Software"),
11 * The above copyright notice and this permission notice (including the next
35 NineCubeTexture9_ctor( struct NineCubeTexture9 *This,
43 struct pipe_resource *info = &This->base.base.info;
52 DBG("This=%p pParams=%p EdgeLength=%u Levels=%u Usage=%d "
54 This, pParams, EdgeLength, Levels, Usage,
57 This->base.base.base.device = pParams->device; /* Early fill this field in case of failure */
111 "but this is unimplemented\n");
113 hr = NineBaseTexture9_ctor(&This->base, pParams, NULL, D3DRTYPE_CUBETEXTURE
    [all...]
volumetexture9.c 5 * copy of this software and associated documentation files (the "Software"),
11 * The above copyright notice and this permission notice (including the next
31 NineVolumeTexture9_ctor( struct NineVolumeTexture9 *This,
39 struct pipe_resource *info = &This->base.base.info;
46 DBG("This=%p pParams=%p Width=%u Height=%u Depth=%u Levels=%u "
48 This, pParams, Width, Height, Depth, Levels,
101 "but this is unimplemented\n");
103 This->base.pstype = 3;
105 hr = NineBaseTexture9_ctor(&This->base, pParams, NULL,
110 This->volumes = CALLOC(This->base.level_count, sizeof(*This->volumes))
    [all...]
basetexture9.c 5 * copy of this software and associated documentation files (the "Software"),
11 * The above copyright notice and this permission notice (including the next
41 NineBaseTexture9_ctor( struct NineBaseTexture9 *This,
53 DBG("This=%p, pParams=%p initResource=%p Type=%d format=%d Pool=%d Usage=%d\n",
54 This, pParams, initResource, Type, format, Pool, Usage);
62 hr = NineResource9_ctor(&This->base, pParams, initResource, alloc, Type, Pool, Usage);
66 This->format = format;
67 This->mipfilter = (Usage & D3DUSAGE_AUTOGENMIPMAP) ?
71 This->level_count = (Usage & D3DUSAGE_AUTOGENMIPMAP) ? 1 : (This->base.info.last_level+1)
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/nine/
resource9.c 5 * copy of this software and associated documentation files (the "Software"),
11 * The above copyright notice and this permission notice (including the next
36 NineResource9_ctor( struct NineResource9 *This,
47 DBG("This=%p pParams=%p initResource=%p Allocate=%d "
49 This, pParams, initResource, (int) Allocate,
52 hr = NineUnknown_ctor(&This->base, pParams);
56 This->info.screen = screen = This->base.device->screen;
58 pipe_resource_reference(&This->resource, initResource);
72 * * This would add overhead to each resource allocation
    [all...]
buffer9.c 6 * copy of this software and associated documentation files (the "Software"),
12 * The above copyright notice and this permission notice (including the next
41 NineBuffer9_ctor( struct NineBuffer9 *This,
48 struct pipe_resource *info = &This->base.info;
51 DBG("This=%p Size=0x%x Usage=%x Pool=%u\n", This, Size, Usage, Pool);
55 This->maps = MALLOC(sizeof(struct NineTransfer));
56 if (!This->maps)
58 This->nmaps = 0;
59 This->maxmaps = 1
    [all...]
iunknown.h 5 * copy of this software and associated documentation files (the "Software"),
11 * The above copyright notice and this permission notice (including the next
73 /* Use this instead of a shitload of arguments: */
85 NineUnknown_ctor( struct NineUnknown *This,
89 NineUnknown_dtor( struct NineUnknown *This );
94 NineUnknown_QueryInterface( struct NineUnknown *This,
99 NineUnknown_AddRef( struct NineUnknown *This );
102 NineUnknown_Release( struct NineUnknown *This );
105 NineUnknown_ReleaseWithDtorLock( struct NineUnknown *This );
108 NineUnknown_GetDevice( struct NineUnknown *This,
    [all...]
volume9.c 5 * copy of this software and associated documentation files (the "Software"),
11 * The above copyright notice and this permission notice (including the next
38 NineVolume9_AllocateData( struct NineVolume9 *This )
40 unsigned size = This->layer_stride * This->desc.Depth;
42 DBG("(%p(This=%p),level=%u) Allocating 0x%x bytes of system memory.\n",
43 This->base.container, This, This->level, size);
45 This->data = (uint8_t *)align_calloc(size, 32)
    [all...]
iunknown.c 5 * copy of this software and associated documentation files (the "Software"),
11 * The above copyright notice and this permission notice (including the next
34 NineUnknown_ctor( struct NineUnknown *This,
38 This->refs = 0;
39 This->forward = true;
40 This->bind = 0;
43 This->refs = 0;
44 This->forward = false;
45 This->bind = 1;
47 This->refs = 1
    [all...]
basetexture9.h 5 * copy of this software and associated documentation files (the "Software"),
11 * The above copyright notice and this permission notice (including the next
64 NineBaseTexture9_ctor( struct NineBaseTexture9 *This,
73 NineBaseTexture9_dtor( struct NineBaseTexture9 *This );
76 NineBaseTexture9_SetLOD( struct NineBaseTexture9 *This,
80 NineBaseTexture9_GetLOD( struct NineBaseTexture9 *This );
83 NineBaseTexture9_GetLevelCount( struct NineBaseTexture9 *This );
86 NineBaseTexture9_SetAutoGenFilterType( struct NineBaseTexture9 *This,
90 NineBaseTexture9_GetAutoGenFilterType( struct NineBaseTexture9 *This );
93 NineBaseTexture9_GenerateMipSubLevels( struct NineBaseTexture9 *This );
    [all...]
surface9.c 5 * copy of this software and associated documentation files (the "Software"),
11 * The above copyright notice and this permission notice (including the next
48 NineSurface9_CreatePipeSurfaces( struct NineSurface9 *This );
51 NineSurface9_ctor( struct NineSurface9 *This,
65 DBG("This=%p pDevice=%p pResource=%p Level=%u Layer=%u pDesc=%p\n",
66 This, pParams->device, pResource, Level, Layer, pDesc);
68 /* Mark this as a special surface held by another internal resource. */
82 This->data = (uint8_t *)user_buffer;
96 /* TODO: this is (except width and height) duplicate from
99 This->base.info.screen = pParams->device->screen
    [all...]
swapchain9.c 5 * copy of this software and associated documentation files (the "Software"),
11 * The above copyright notice and this permission notice (including the next
44 NineSwapChain9_ctor( struct NineSwapChain9 *This,
56 DBG("This=%p pDevice=%p pPresent=%p pCTX=%p hFocusWindow=%p\n",
57 This, pParams->device, pPresent, pCTX, hFocusWindow);
59 hr = NineUnknown_ctor(&This->base, pParams);
63 This->screen = NineDevice9_GetScreen(This->base.device);
64 This->implicit = implicit;
65 This->actx = pCTX
    [all...]
vertexshader9.c 5 * copy of this software and associated documentation files (the "Software"),
11 * The above copyright notice and this permission notice (including the next
36 NineVertexShader9_ctor( struct NineVertexShader9 *This,
46 DBG("This=%p pParams=%p pFunction=%p cso=%p\n",
47 This, pParams, pFunction, cso);
49 hr = NineUnknown_ctor(&This->base, pParams);
54 This->ff_cso = cso;
58 device = This->base.device;
88 This->byte_code.version = info.version;
89 This->swvp_only = info.swvp_on
    [all...]
surface9.h 5 * copy of this software and associated documentation files (the "Software"),
11 * The above copyright notice and this permission notice (including the next
75 NineSurface9_ctor( struct NineSurface9 *This,
86 NineSurface9_dtor( struct NineSurface9 *This );
91 NineSurface9_MarkContainerDirty( struct NineSurface9 *This );
94 NineSurface9_GetSurface( struct NineSurface9 *This, int sRGB )
96 assert(This->surface[sRGB]);
97 return This->surface[sRGB];
101 NineSurface9_GetResource( struct NineSurface9 *This )
103 return This->base.resource
    [all...]
volumetexture9.c 5 * copy of this software and associated documentation files (the "Software"),
11 * The above copyright notice and this permission notice (including the next
31 NineVolumeTexture9_ctor( struct NineVolumeTexture9 *This,
39 struct pipe_resource *info = &This->base.base.info;
46 DBG("This=%p pParams=%p Width=%u Height=%u Depth=%u Levels=%u "
48 This, pParams, Width, Height, Depth, Levels,
101 "but this is unimplemented\n");
103 This->volumes = CALLOC(info->last_level + 1, sizeof(*This->volumes));
104 if (!This->volumes
    [all...]
basetexture9.c 5 * copy of this software and associated documentation files (the "Software"),
11 * The above copyright notice and this permission notice (including the next
41 NineBaseTexture9_ctor( struct NineBaseTexture9 *This,
53 DBG("This=%p, pParams=%p initResource=%p Type=%d format=%d Pool=%d Usage=%d\n",
54 This, pParams, initResource, Type, format, Pool, Usage);
62 hr = NineResource9_ctor(&This->base, pParams, initResource, alloc, Type, Pool, Usage);
66 This->format = format;
67 This->mipfilter = (Usage & D3DUSAGE_AUTOGENMIPMAP) ?
69 This->managed.lod = 0;
70 This->managed.lod_resident = -1
    [all...]

Completed in 16 milliseconds

1 2 3 4 5 6 7 8 91011>>