Home
last modified time | relevance | path

Searched refs:surf (Results 1 – 8 of 8) sorted by relevance

/AliOS-Things-master/components/SDL2/src/image/
A DIMG.c134 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 DIMG_xcf.c611 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 DSDL_DirectFB_mouse.c101 &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 DSDL_DirectFB_mouse.h32 IDirectFBSurface *surf; member
/AliOS-Things-master/components/py_engine/tests/perf_bench/
A Dmisc_raytrace.py161 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 DSDL_kmsdrmsym.h88 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 Deglext.h1025 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 DSDL_egl.h1580 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