Searched refs:surf (Results 1 – 8 of 8) sorted by relevance
/AliOS-Things-master/components/SDL2/src/image/ |
A D | IMG.c | 134 SDL_Surface *surf; in IMG_Load() local 138 surf = SDL_CreateRGBSurface(0, w, h, 32, 0xFF, 0xFF00, 0xFF0000, 0xFF000000); in IMG_Load() 139 if (surf != NULL) { in IMG_Load() 140 memcpy(surf->pixels, data, w * h * 4); in IMG_Load() 143 return surf; in IMG_Load() 205 SDL_Surface *surf; in IMG_LoadTyped_RW() local 211 surf = SDL_CreateRGBSurface(0, w, h, 32, 0xFF, 0xFF00, 0xFF0000, 0xFF000000); in IMG_LoadTyped_RW() 212 if (surf != NULL) { in IMG_LoadTyped_RW() 213 memcpy(surf->pixels, data, w * h * 4); in IMG_LoadTyped_RW() 221 return surf; in IMG_LoadTyped_RW()
|
A D | IMG_xcf.c | 611 static void create_channel_surface (SDL_Surface * surf, xcf_image_type itype, Uint32 color, Uint32 … in create_channel_surface() argument 623 SDL_FillRect (surf, NULL, c); in create_channel_surface()
|
/AliOS-Things-master/components/SDL2/src/video/directfb/ |
A D | SDL_DirectFB_mouse.c | 101 &curdata->surf)); in DirectFB_CreateDefaultCursor() 106 SDL_DFB_CHECKERR(curdata->surf->Lock(curdata->surf, DSLF_WRITE, in DirectFB_CreateDefaultCursor() 124 curdata->surf->Unlock(curdata->surf); in DirectFB_CreateDefaultCursor() 158 &curdata->surf)); in DirectFB_CreateCursor() 163 SDL_DFB_CHECKERR(curdata->surf->Lock(curdata->surf, DSLF_WRITE, in DirectFB_CreateCursor() 171 curdata->surf->Unlock(curdata->surf); in DirectFB_CreateCursor() 198 curdata->surf, curdata->hotx, in DirectFB_ShowCursor() 224 SDL_DFB_RELEASE(curdata->surf); in DirectFB_FreeCursor()
|
A D | SDL_DirectFB_mouse.h | 32 IDirectFBSurface *surf; member
|
/AliOS-Things-master/components/py_engine/tests/perf_bench/ |
A D | misc_raytrace.py | 161 surf, surf_norm = hit_obj.surface_at(point) 169 col = surf.colour * scene.ambient 181 col += light_col * surf.diffuse * ndotl 183 col += light_col * surf.specular * ldotv ** surf.spec_idx 186 if depth > 0 and surf.reflect > 0: 187 col += trace_ray(scene, Ray(point + reflected * EPS, reflected), depth - 1) * surf.reflect 190 if depth > 0 and surf.transp > 0: 191 col += trace_ray(scene, Ray(point + ray.d * EPS, ray.d), depth - 1) * surf.transp
|
/AliOS-Things-master/components/SDL2/src/video/kmsdrm/ |
A D | SDL_kmsdrmsym.h | 88 SDL_KMSDRM_SYM(void,gbm_surface_destroy,(struct gbm_surface *surf)) 89 SDL_KMSDRM_SYM(struct gbm_bo *,gbm_surface_lock_front_buffer,(struct gbm_surface *surf)) 90 SDL_KMSDRM_SYM(void,gbm_surface_release_buffer,(struct gbm_surface *surf, struct gbm_bo *bo))
|
/AliOS-Things-master/components/SDL2/src/video/khronos/EGL/ |
A D | eglext.h | 1025 typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYNATIVEWINDOWNVPROC) (EGLDisplay dpy, EGLSurface surf, E… 1026 typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYNATIVEPIXMAPNVPROC) (EGLDisplay dpy, EGLSurface surf, E… 1029 EGLAPI EGLBoolean EGLAPIENTRY eglQueryNativeWindowNV (EGLDisplay dpy, EGLSurface surf, EGLNativeWin… 1030 EGLAPI EGLBoolean EGLAPIENTRY eglQueryNativePixmapNV (EGLDisplay dpy, EGLSurface surf, EGLNativePix…
|
/AliOS-Things-master/components/SDL2/include/ |
A D | SDL_egl.h | 1580 typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYNATIVEWINDOWNVPROC) (EGLDisplay dpy, EGLSurface surf, E… 1581 typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYNATIVEPIXMAPNVPROC) (EGLDisplay dpy, EGLSurface surf, E… 1584 EGLAPI EGLBoolean EGLAPIENTRY eglQueryNativeWindowNV (EGLDisplay dpy, EGLSurface surf, EGLNativeWin… 1585 EGLAPI EGLBoolean EGLAPIENTRY eglQueryNativePixmapNV (EGLDisplay dpy, EGLSurface surf, EGLNativePix…
|
Completed in 32 milliseconds