Home | History | Annotate | Download | only in macdsp

Lines Matching refs:hwdata

741 		if (current->hwdata)
742 SDL_free(current->hwdata);
874 current->hwdata = (private_hwdata*) SDL_malloc (sizeof (private_hwdata));
875 if (current ->hwdata == NULL) {
879 current->hwdata->offscreen = dsp_back_buffer;
892 current->hwdata = (private_hwdata*) SDL_malloc (sizeof (private_hwdata));
893 if (current ->hwdata == NULL) {
898 SDL_memset (current->hwdata, 0, sizeof (private_hwdata));
899 current->hwdata->offscreen = dsp_back_buffer;
988 if ( noErr != NewGWorld (&(surface->hwdata->mask), depth, &rect, 0, SDL_Display, 0 ) < 0 ) {
1002 SetGWorld (surface->hwdata->mask, SDL_Display);
1007 RGBBackColor (&(surface->hwdata->trans));
1009 CopyBits ( GetPortBitMapForCopyBits(surface->hwdata->offscreen),
1010 GetPortBitMapForCopyBits(surface->hwdata->mask),
1013 SetGWorld (surface->hwdata->mask, SDL_Display);
1020 surface->hwdata->alpha.red = (alpha / 255.0) * 65535;
1021 surface->hwdata->alpha.blue = (alpha / 255.0) * 65535;
1022 surface->hwdata->alpha.green = (alpha / 255.0) * 65535;
1038 SetGWorld (surface->hwdata->offscreen, NULL);
1040 Index2Color (key, &(surface->hwdata->trans));
1091 surface->hwdata = (private_hwdata*) SDL_malloc (sizeof (private_hwdata));
1092 if (surface->hwdata == NULL) {
1097 SDL_memset (surface->hwdata, 0, sizeof(private_hwdata));
1098 surface->hwdata->offscreen = temp;
1110 if (surface->hwdata->offscreen != NULL)
1111 DisposeGWorld (surface->hwdata->offscreen);
1112 SDL_free(surface->hwdata);
1161 SetGWorld (dst->hwdata->offscreen, NULL);
1171 OpColor (&(src->hwdata->alpha));
1173 CopyDeepMask ( GetPortBitMapForCopyBits(src->hwdata->offscreen),
1174 GetPortBitMapForCopyBits(src->hwdata->mask),
1175 GetPortBitMapForCopyBits(dst->hwdata->offscreen),
1183 RGBBackColor (&(src->hwdata->trans) );
1188 OpColor (&(src->hwdata->alpha));
1196 CopyBits ( GetPortBitMapForCopyBits(src->hwdata->offscreen),
1197 GetPortBitMapForCopyBits(dst->hwdata->offscreen),
1202 CopyBits ( &(((GrafPtr)(src->hwdata->offscreen))->portBits),
1203 &(((GrafPtr)(dst->hwdata->offscreen))->portBits),
1223 SetGWorld (dst->hwdata->offscreen, NULL);
1282 if ( LockPixels (GetGWorldPixMap (surface->hwdata->offscreen)) )
1290 UnlockPixels (GetGWorldPixMap (surface->hwdata->offscreen));