Lines Matching defs:driver

75 _mesa_init_driver_functions(struct dd_function_table *driver)
77 memset(driver, 0, sizeof(*driver));
79 driver->GetString = NULL; /* REQUIRED! */
80 driver->UpdateState = NULL; /* REQUIRED! */
82 driver->Finish = NULL;
83 driver->Flush = NULL;
86 driver->Clear = _swrast_Clear;
87 driver->RasterPos = _mesa_RasterPos;
88 driver->DrawPixels = _swrast_DrawPixels;
89 driver->ReadPixels = _mesa_readpixels;
90 driver->CopyPixels = _swrast_CopyPixels;
91 driver->Bitmap = _swrast_Bitmap;
94 driver->ChooseTextureFormat = _mesa_choose_tex_format;
95 driver->QueryInternalFormat = _mesa_query_internal_format_default;
96 driver->TexImage = _mesa_store_teximage;
97 driver->TexSubImage = _mesa_store_texsubimage;
98 driver->GetTexSubImage = _mesa_meta_GetTexSubImage;
99 driver->ClearTexSubImage = _mesa_meta_ClearTexSubImage;
100 driver->CopyTexSubImage = _mesa_meta_CopyTexSubImage;
101 driver->GenerateMipmap = _mesa_meta_GenerateMipmap;
102 driver->TestProxyTexImage = _mesa_test_proxy_teximage;
103 driver->CompressedTexImage = _mesa_store_compressed_teximage;
104 driver->CompressedTexSubImage = _mesa_store_compressed_texsubimage;
105 driver->BindTexture = NULL;
106 driver->NewTextureObject = _mesa_new_texture_object;
107 driver->DeleteTexture = _mesa_delete_texture_object;
108 driver->NewTextureImage = _swrast_new_texture_image;
109 driver->DeleteTextureImage = _swrast_delete_texture_image;
110 driver->AllocTextureImageBuffer = _swrast_alloc_texture_image_buffer;
111 driver->FreeTextureImageBuffer = _swrast_free_texture_image_buffer;
112 driver->MapTextureImage = _swrast_map_teximage;
113 driver->UnmapTextureImage = _swrast_unmap_teximage;
114 driver->DrawTex = _mesa_meta_DrawTex;
117 driver->NewProgram = _mesa_new_program;
118 driver->DeleteProgram = _mesa_delete_program;
121 driver->NewATIfs = NULL;
124 driver->Draw = NULL;
125 driver->DrawIndirect = _mesa_draw_indirect;
128 driver->AlphaFunc = NULL;
129 driver->BlendColor = NULL;
130 driver->BlendEquationSeparate = NULL;
131 driver->BlendFuncSeparate = NULL;
132 driver->ClipPlane = NULL;
133 driver->ColorMask = NULL;
134 driver->ColorMaterial = NULL;
135 driver->CullFace = NULL;
136 driver->DrawBuffer = NULL;
137 driver->FrontFace = NULL;
138 driver->DepthFunc = NULL;
139 driver->DepthMask = NULL;
140 driver->DepthRange = NULL;
141 driver->Enable = NULL;
142 driver->Fogfv = NULL;
143 driver->Lightfv = NULL;
144 driver->LightModelfv = NULL;
145 driver->LineStipple = NULL;
146 driver->LineWidth = NULL;
147 driver->LogicOpcode = NULL;
148 driver->PointParameterfv = NULL;
149 driver->PointSize = NULL;
150 driver->PolygonMode = NULL;
151 driver->PolygonOffset = NULL;
152 driver->PolygonStipple = NULL;
153 driver->ReadBuffer = NULL;
154 driver->RenderMode = NULL;
155 driver->Scissor = NULL;
156 driver->ShadeModel = NULL;
157 driver->StencilFuncSeparate = NULL;
158 driver->StencilOpSeparate = NULL;
159 driver->StencilMaskSeparate = NULL;
160 driver->TexGen = NULL;
161 driver->TexEnv = NULL;
162 driver->TexParameter = NULL;
163 driver->Viewport = NULL;
166 _mesa_init_buffer_object_functions(driver);
169 _mesa_init_query_object_functions(driver);
171 _mesa_init_sync_object_functions(driver);
174 _mesa_init_memory_object_functions(driver);
176 driver->NewFramebuffer = _mesa_new_framebuffer;
177 driver->NewRenderbuffer = _swrast_new_soft_renderbuffer;
178 driver->MapRenderbuffer = _swrast_map_soft_renderbuffer;
179 driver->UnmapRenderbuffer = _swrast_unmap_soft_renderbuffer;
180 driver->RenderTexture = _swrast_render_texture;
181 driver->FinishRenderTexture = _swrast_finish_render_texture;
182 driver->FramebufferRenderbuffer = _mesa_FramebufferRenderbuffer_sw;
183 driver->ValidateFramebuffer = _mesa_validate_framebuffer;
185 driver->BlitFramebuffer = _swrast_BlitFramebuffer;
186 driver->DiscardFramebuffer = NULL;
188 _mesa_init_barrier_functions(driver);
189 _mesa_init_shader_object_functions(driver);
190 _mesa_init_transform_feedback_functions(driver);
191 _mesa_init_sampler_object_functions(driver);
194 driver->CurrentExecPrimitive = 0;
195 driver->CurrentSavePrimitive = 0;
196 driver->NeedFlush = 0;
197 driver->SaveNeedFlush = 0;
199 driver->ProgramStringNotify = _tnl_program_string;
200 driver->LightingSpaceChange = NULL;
203 driver->AllocTextureStorage = _mesa_AllocTextureStorage_sw;
206 driver->TextureView = NULL;
209 driver->GetSamplePosition = NULL;
212 driver->SetBackgroundContext = NULL;
218 * driver state.