Home
last modified time | relevance | path

Searched refs:SDL_Texture (Results 1 – 25 of 36) sorted by relevance

12

/AliOS-Things-master/components/SDL2/include/
A DSDL_render.h137 struct SDL_Texture;
138 typedef struct SDL_Texture SDL_Texture; typedef
285 extern DECLSPEC int SDLCALL SDL_QueryTexture(SDL_Texture * texture,
424 extern DECLSPEC int SDLCALL SDL_UpdateTexture(SDL_Texture * texture,
468 extern DECLSPEC int SDLCALL SDL_LockTexture(SDL_Texture * texture,
498 extern DECLSPEC void SDLCALL SDL_UnlockTexture(SDL_Texture * texture);
520 SDL_Texture *texture);
871 SDL_Texture * texture,
891 SDL_Texture * texture,
1013 SDL_Texture * texture,
[all …]
A DSDL_test_common.h85 SDL_Texture **targets;
/AliOS-Things-master/components/SDL2/src/render/
A DSDL_sysrender.h36 struct SDL_Texture struct
51 SDL_Texture *native; argument
62 SDL_Texture *prev; argument
63 SDL_Texture *next; argument
97 SDL_Texture *texture;
116 int (*CreateTexture) (SDL_Renderer * renderer, SDL_Texture * texture);
131 int (*UpdateTexture) (SDL_Renderer * renderer, SDL_Texture * texture,
139 int (*LockTexture) (SDL_Renderer * renderer, SDL_Texture * texture,
141 void (*UnlockTexture) (SDL_Renderer * renderer, SDL_Texture * texture);
200 SDL_Texture *textures;
[all …]
A DSDL_render.c1046 SDL_Texture *
1049 SDL_Texture *texture; in SDL_CreateTexture()
1145 SDL_Texture *
1153 SDL_Texture *texture; in SDL_CreateTextureFromSurface()
1436 SDL_Texture *native = texture->native; in SDL_UpdateTextureYUV()
1483 SDL_Texture *native = texture->native; in SDL_UpdateTextureNative()
1567 SDL_Texture *native = texture->native; in SDL_UpdateTextureYUVPlanar()
1783 SDL_Texture *native = texture->native; in SDL_UnlockTextureYUV()
1824 SDL_UnlockTexture(SDL_Texture * texture) in SDL_UnlockTexture()
1935 SDL_Texture *
[all …]
/AliOS-Things-master/components/SDL2/src/image/
A DIMG.c258 SDL_Texture *IMG_LoadTexture(SDL_Renderer *renderer, const char *file) in IMG_LoadTexture()
260 SDL_Texture *texture = NULL; in IMG_LoadTexture()
269 SDL_Texture *IMG_LoadTexture_RW(SDL_Renderer *renderer, SDL_RWops *src, int freesrc) in IMG_LoadTexture_RW()
271 SDL_Texture *texture = NULL; in IMG_LoadTexture_RW()
280 SDL_Texture *IMG_LoadTextureTyped_RW(SDL_Renderer *renderer, SDL_RWops *src, int freesrc, const cha… in IMG_LoadTextureTyped_RW()
282 SDL_Texture *texture = NULL; in IMG_LoadTextureTyped_RW()
A DSDL_image.h103 extern DECLSPEC SDL_Texture * SDLCALL IMG_LoadTexture(SDL_Renderer *renderer, const char *file);
104 extern DECLSPEC SDL_Texture * SDLCALL IMG_LoadTexture_RW(SDL_Renderer *renderer, SDL_RWops *src, in…
105 extern DECLSPEC SDL_Texture * SDLCALL IMG_LoadTextureTyped_RW(SDL_Renderer *renderer, SDL_RWops *sr…
/AliOS-Things-master/components/SDL2/test/
A Dtestrendercopyex.c30 SDL_Texture *background;
31 SDL_Texture *sprite;
47 SDL_Texture *
51 SDL_Texture *texture; in LoadTexture()
101 SDL_Texture *target; in Draw()
A Dtestrendertarget.c30 SDL_Texture *background;
31 SDL_Texture *sprite;
48 SDL_Texture *
52 SDL_Texture *texture; in LoadTexture()
102 SDL_Texture *target; in DrawComposite()
106 SDL_Texture *A, *B; in DrawComposite()
185 SDL_Texture *target; in Draw()
A Dtestscale.c32 SDL_Texture *background;
33 SDL_Texture *sprite;
49 SDL_Texture *
53 SDL_Texture *texture; in LoadTexture()
A Dtestnative.c52 SDL_Texture *
56 SDL_Texture *sprite; in LoadSprite()
84 MoveSprites(SDL_Renderer * renderer, SDL_Texture * sprite) in MoveSprites()
129 SDL_Texture *sprite; in main()
A Dtestautomation_render.c35 static SDL_Texture *_loadTestFace(void);
366 SDL_Texture *tface; in render_testBlit()
436 SDL_Texture *tface; in render_testBlitColor()
510 SDL_Texture *tface; in render_testBlitAlpha()
583 _testBlitBlendMode( SDL_Texture * tface, int mode ) in _testBlitBlendMode()
639 SDL_Texture *tface; in render_testBlitBlend()
879 static SDL_Texture *
883 SDL_Texture *tface; in _loadTestFace()
914 SDL_Texture *tface; in _hasTexColor()
954 SDL_Texture *tface; in _hasTexAlpha()
A Dtestime.c66 static SDL_Texture **unifontTexture;
122 unifontTexture = (SDL_Texture **)SDL_malloc(unifontTextureSize); in unifont_init()
298 SDL_Texture *tex = unifontTexture[UNIFONT_NUM_TEXTURES * i + textureID]; in unifont_load_texture()
322 SDL_Texture *texture; in unifont_draw_glyph()
355 SDL_Texture *tex = unifontTexture[UNIFONT_NUM_TEXTURES * i + j]; in unifont_cleanup()
480 SDL_Texture *texture; in _Redraw()
543 SDL_Texture *texture; in _Redraw()
A Dteststreaming.c61 SDL_Texture *MooseTexture;
70 void UpdateTexture(SDL_Texture *texture, int frame) in UpdateTexture()
A Dtestgamecontroller.c68 SDL_Texture *background, *button, *axis;
71 static SDL_Texture *
75 SDL_Texture *texture = NULL; in LoadTexture()
A Dtestspriteminimal.c29 static SDL_Texture *sprite;
95 MoveSprites(SDL_Renderer * renderer, SDL_Texture * sprite) in MoveSprites()
A Dtestshape.c24 SDL_Texture *texture;
29 void render(SDL_Renderer *renderer,SDL_Texture *texture,SDL_Rect texture_dimensions) in render()
/AliOS-Things-master/components/ugraphics/src/
A Dugraphics.c12 struct { char *string; SDL_Texture *texture; } text[MAX_TEXT];
13 struct { char *file; SDL_Texture *texture; } image[MAX_IMAGE];
18 static int32_t graphics_draw_texture(SDL_Texture *texture, int32_t x, int32_t y);
146 SDL_Texture *texture = SDL_CreateTextureFromSurface(renderer, surface); in graphics_generate_text()
194 static int32_t graphics_draw_texture(SDL_Texture *texture, int32_t x, int32_t y) in graphics_draw_texture()
255 SDL_Texture *image_texture = IMG_LoadTexture(renderer, file); in graphics_generate_image()
/AliOS-Things-master/components/SDL2/src/render/software/
A DSDL_render_sw.c107 SW_CreateTexture(SDL_Renderer * renderer, SDL_Texture * texture) in SW_CreateTexture()
139 SW_UpdateTexture(SDL_Renderer * renderer, SDL_Texture * texture, in SW_UpdateTexture()
165 SW_LockTexture(SDL_Renderer * renderer, SDL_Texture * texture, in SW_LockTexture()
178 SW_UnlockTexture(SDL_Renderer * renderer, SDL_Texture * texture) in SW_UnlockTexture()
188 SW_SetRenderTarget(SDL_Renderer * renderer, SDL_Texture * texture) in SW_SetRenderTarget()
270 SW_QueueCopy(SDL_Renderer * renderer, SDL_RenderCommand *cmd, SDL_Texture * texture, in SW_QueueCopy()
307 SW_QueueCopyEx(SDL_Renderer * renderer, SDL_RenderCommand *cmd, SDL_Texture * texture, in SW_QueueCopyEx()
338 SW_RenderCopyEx(SDL_Renderer * renderer, SDL_Surface *surface, SDL_Texture * texture, in SW_RenderCopyEx()
572 SDL_Texture *texture = cmd->data.draw.texture; in PrepTextureForCopy()
710 SDL_Texture *texture = cmd->data.draw.texture; in SW_RunCommandQueue()
[all …]
/AliOS-Things-master/components/SDL2/src/render/psp/
A DSDL_render_psp.c305 PSP_CreateTexture(SDL_Renderer * renderer, SDL_Texture * texture) in PSP_CreateTexture()
351 PSP_SetTextureColorMod(SDL_Renderer * renderer, SDL_Texture * texture) in PSP_SetTextureColorMod()
357 TextureActivate(SDL_Texture * texture) in TextureActivate()
379 PSP_UpdateTexture(SDL_Renderer * renderer, SDL_Texture * texture, in PSP_UpdateTexture()
405 PSP_LockTexture(SDL_Renderer * renderer, SDL_Texture * texture, in PSP_LockTexture()
418 PSP_UnlockTexture(SDL_Renderer * renderer, SDL_Texture * texture) in PSP_UnlockTexture()
432 PSP_SetTextureScaleMode(SDL_Renderer * renderer, SDL_Texture * texture, SDL_ScaleMode scaleMode) in PSP_SetTextureScaleMode()
438 PSP_SetRenderTarget(SDL_Renderer * renderer, SDL_Texture * texture) in PSP_SetRenderTarget()
498 PSP_QueueCopy(SDL_Renderer * renderer, SDL_RenderCommand *cmd, SDL_Texture * texture, in PSP_QueueCopy()
585 PSP_QueueCopyEx(SDL_Renderer * renderer, SDL_RenderCommand *cmd, SDL_Texture * texture, in PSP_QueueCopyEx()
[all …]
/AliOS-Things-master/components/SDL2/src/render/opengles/
A DSDL_render_gles.c69 SDL_Texture *texture;
70 SDL_Texture *target;
319 GLES_CreateTexture(SDL_Renderer * renderer, SDL_Texture * texture) in GLES_CreateTexture()
409 GLES_UpdateTexture(SDL_Renderer * renderer, SDL_Texture * texture, in GLES_UpdateTexture()
470 GLES_LockTexture(SDL_Renderer * renderer, SDL_Texture * texture, in GLES_LockTexture()
483 GLES_UnlockTexture(SDL_Renderer * renderer, SDL_Texture * texture) in GLES_UnlockTexture()
509 GLES_SetRenderTarget(SDL_Renderer * renderer, SDL_Texture * texture) in GLES_SetRenderTarget()
596 GLES_QueueCopy(SDL_Renderer * renderer, SDL_RenderCommand *cmd, SDL_Texture * texture, in GLES_QueueCopy()
813 SDL_Texture *texture = cmd->data.draw.texture; in SetCopyState()
1028 GLES_DestroyTexture(SDL_Renderer * renderer, SDL_Texture * texture) in GLES_DestroyTexture()
[all …]
/AliOS-Things-master/components/SDL2/src/video/directfb/
A DSDL_DirectFB_render.c272 DirectFB_AcquireVidLayer(SDL_Renderer * renderer, SDL_Texture * texture) in DirectFB_AcquireVidLayer()
328 DirectFB_CreateTexture(SDL_Renderer * renderer, SDL_Texture * texture) in DirectFB_CreateTexture()
424 DirectFB_SetTextureScaleMode(SDL_Renderer * renderer, SDL_Texture * texture)
453 DirectFB_UpdateTexture(SDL_Renderer * renderer, SDL_Texture * texture, in DirectFB_UpdateTexture()
510 DirectFB_LockTexture(SDL_Renderer * renderer, SDL_Texture * texture, in DirectFB_LockTexture()
548 DirectFB_UnlockTexture(SDL_Renderer * renderer, SDL_Texture * texture) in DirectFB_UnlockTexture()
568 DirectFB_DirtyTexture(SDL_Renderer * renderer, SDL_Texture * texture,
580 static int DirectFB_SetRenderTarget(SDL_Renderer * renderer, SDL_Texture * texture) in DirectFB_SetRenderTarget()
634 DirectFB_QueueCopy(SDL_Renderer * renderer, SDL_RenderCommand *cmd, SDL_Texture * texture, in DirectFB_QueueCopy()
755 SDL_Texture *texture = cmd->data.draw.texture; in DirectFB_RunCommandQueue()
[all …]
/AliOS-Things-master/components/SDL2/src/dynapi/
A DSDL_dynapi_procs.h342 SDL_DYNAPI_PROC(int,SDL_SetTextureAlphaMod,(SDL_Texture *a, Uint8 b),(a,b),return)
343 SDL_DYNAPI_PROC(int,SDL_GetTextureAlphaMod,(SDL_Texture *a, Uint8 *b),(a,b),return)
344 SDL_DYNAPI_PROC(int,SDL_SetTextureBlendMode,(SDL_Texture *a, SDL_BlendMode b),(a,b),return)
345 SDL_DYNAPI_PROC(int,SDL_GetTextureBlendMode,(SDL_Texture *a, SDL_BlendMode *b),(a,b),return)
349 SDL_DYNAPI_PROC(void,SDL_UnlockTexture,(SDL_Texture *a),(a),)
351 SDL_DYNAPI_PROC(int,SDL_SetRenderTarget,(SDL_Renderer *a, SDL_Texture *b),(a,b),return)
352 SDL_DYNAPI_PROC(SDL_Texture*,SDL_GetRenderTarget,(SDL_Renderer *a),(a),return)
378 SDL_DYNAPI_PROC(void,SDL_DestroyTexture,(SDL_Texture *a),(a),)
380 SDL_DYNAPI_PROC(int,SDL_GL_BindTexture,(SDL_Texture *a, float *b, float *c),(a,b,c),return)
381 SDL_DYNAPI_PROC(int,SDL_GL_UnbindTexture,(SDL_Texture *a),(a),return)
[all …]
/AliOS-Things-master/components/SDL2/src/render/direct3d/
A DSDL_render_d3d.c49 SDL_Texture *texture;
516 D3D_CreateTexture(SDL_Renderer * renderer, SDL_Texture * texture) in D3D_CreateTexture()
556 D3D_RecreateTexture(SDL_Renderer * renderer, SDL_Texture * texture) in D3D_RecreateTexture()
582 D3D_UpdateTexture(SDL_Renderer * renderer, SDL_Texture * texture, in D3D_UpdateTexture()
615 D3D_UpdateTextureYUV(SDL_Renderer * renderer, SDL_Texture * texture, in D3D_UpdateTextureYUV()
642 D3D_LockTexture(SDL_Renderer * renderer, SDL_Texture * texture, in D3D_LockTexture()
694 D3D_UnlockTexture(SDL_Renderer * renderer, SDL_Texture * texture) in D3D_UnlockTexture()
794 D3D_SetRenderTarget(SDL_Renderer * renderer, SDL_Texture * texture) in D3D_SetRenderTarget()
1123 SDL_Texture *texture = cmd->data.draw.texture; in SetDrawState()
1527 D3D_DestroyTexture(SDL_Renderer * renderer, SDL_Texture * texture) in D3D_DestroyTexture()
[all …]
/AliOS-Things-master/components/SDL2/src/render/opengles2/
A DSDL_render_gles2.c140 SDL_Texture *texture;
141 SDL_Texture *target;
949 SDL_Texture *texture = cmd->data.draw.texture; in SetDrawState()
1089 SDL_Texture *texture = cmd->data.draw.texture; in SetCopyState()
1395 GLES2_CreateTexture(SDL_Renderer *renderer, SDL_Texture *texture) in GLES2_CreateTexture()
1666 GLES2_UpdateTextureYUV(SDL_Renderer * renderer, SDL_Texture * texture, in GLES2_UpdateTextureYUV()
1733 GLES2_UnlockTexture(SDL_Renderer *renderer, SDL_Texture *texture) in GLES2_UnlockTexture()
1777 GLES2_SetRenderTarget(SDL_Renderer * renderer, SDL_Texture * texture) in GLES2_SetRenderTarget()
1802 GLES2_DestroyTexture(SDL_Renderer *renderer, SDL_Texture *texture) in GLES2_DestroyTexture()
1901 static int GLES2_UnbindTexture (SDL_Renderer * renderer, SDL_Texture *texture);
[all …]
/AliOS-Things-master/components/SDL2/src/render/opengl/
A DSDL_render_gl.c66 SDL_Texture *texture;
67 SDL_Texture *target;
441 GL_CreateTexture(SDL_Renderer * renderer, SDL_Texture * texture) in GL_CreateTexture()
635 GL_UpdateTexture(SDL_Renderer * renderer, SDL_Texture * texture, in GL_UpdateTexture()
696 GL_UpdateTextureYUV(SDL_Renderer * renderer, SDL_Texture * texture, in GL_UpdateTextureYUV()
733 GL_LockTexture(SDL_Renderer * renderer, SDL_Texture * texture, in GL_LockTexture()
747 GL_UnlockTexture(SDL_Renderer * renderer, SDL_Texture * texture) in GL_UnlockTexture()
792 GL_SetRenderTarget(SDL_Renderer * renderer, SDL_Texture * texture) in GL_SetRenderTarget()
1048 SDL_Texture *texture = cmd->data.draw.texture; in SetCopyState()
1427 GL_DestroyTexture(SDL_Renderer * renderer, SDL_Texture * texture) in GL_DestroyTexture()
[all …]

Completed in 67 milliseconds

12