Home | History | Annotate | Download | only in directfb

Lines Matching refs:palette

215   IDirectFBPalette *palette;
293 SDL_Palette *palette;
296 palette = SDL_calloc (1, sizeof(SDL_Palette));
297 if (!palette)
310 palette->ncolors = size;
311 palette->colors = colors;
313 return palette;
354 if (!format->palette)
355 format->palette = AllocatePalette(256);
608 /* And its palette if present */
609 if (current->hwdata->palette)
611 current->hwdata->palette->Release (current->hwdata->palette);
612 current->hwdata->palette = NULL;
694 /* Get the surface palette (if supported) */
697 surface->GetPalette (surface, &current->hwdata->palette);
1056 IDirectFBPalette *palette = this->screen->hwdata->palette;
1058 if (!palette)
1080 palette->SetEntries (palette, entries, ncolors, firstcolor);
1093 IDirectFBPalette *palette = this->screen->hwdata->palette;
1095 if (palette)
1096 palette->Release (palette);
1102 this->screen->hwdata->palette = NULL;