Home
last modified time | relevance | path

Searched refs:blendMode (Results 1 – 25 of 109) sorted by relevance

12345

/third_party/flutter/skia/third_party/externals/sdl/src/render/software/
DSDL_blendfillrect.c31 SDL_BlendMode blendMode, Uint8 r, Uint8 g, Uint8 b, Uint8 a) in SDL_BlendFillRect_RGB555() argument
35 switch (blendMode) { in SDL_BlendFillRect_RGB555()
54 SDL_BlendMode blendMode, Uint8 r, Uint8 g, Uint8 b, Uint8 a) in SDL_BlendFillRect_RGB565() argument
58 switch (blendMode) { in SDL_BlendFillRect_RGB565()
77 SDL_BlendMode blendMode, Uint8 r, Uint8 g, Uint8 b, Uint8 a) in SDL_BlendFillRect_RGB888() argument
81 switch (blendMode) { in SDL_BlendFillRect_RGB888()
100 SDL_BlendMode blendMode, Uint8 r, Uint8 g, Uint8 b, Uint8 a) in SDL_BlendFillRect_ARGB8888() argument
104 switch (blendMode) { in SDL_BlendFillRect_ARGB8888()
123 SDL_BlendMode blendMode, Uint8 r, Uint8 g, Uint8 b, Uint8 a) in SDL_BlendFillRect_RGB() argument
130 switch (blendMode) { in SDL_BlendFillRect_RGB()
[all …]
DSDL_blendpoint.c30 SDL_BlendPoint_RGB555(SDL_Surface * dst, int x, int y, SDL_BlendMode blendMode, Uint8 r, in SDL_BlendPoint_RGB555() argument
35 switch (blendMode) { in SDL_BlendPoint_RGB555()
53 SDL_BlendPoint_RGB565(SDL_Surface * dst, int x, int y, SDL_BlendMode blendMode, Uint8 r, in SDL_BlendPoint_RGB565() argument
58 switch (blendMode) { in SDL_BlendPoint_RGB565()
76 SDL_BlendPoint_RGB888(SDL_Surface * dst, int x, int y, SDL_BlendMode blendMode, Uint8 r, in SDL_BlendPoint_RGB888() argument
81 switch (blendMode) { in SDL_BlendPoint_RGB888()
99 SDL_BlendPoint_ARGB8888(SDL_Surface * dst, int x, int y, SDL_BlendMode blendMode, in SDL_BlendPoint_ARGB8888() argument
104 switch (blendMode) { in SDL_BlendPoint_ARGB8888()
122 SDL_BlendPoint_RGB(SDL_Surface * dst, int x, int y, SDL_BlendMode blendMode, Uint8 r, in SDL_BlendPoint_RGB() argument
130 switch (blendMode) { in SDL_BlendPoint_RGB()
[all …]
DSDL_blendline.c32 SDL_BlendMode blendMode, Uint8 _r, Uint8 _g, Uint8 _b, Uint8 _a, in SDL_BlendLine_RGB2() argument
38 if (blendMode == SDL_BLENDMODE_BLEND || blendMode == SDL_BLENDMODE_ADD) { in SDL_BlendLine_RGB2()
52 switch (blendMode) { in SDL_BlendLine_RGB2()
67 switch (blendMode) { in SDL_BlendLine_RGB2()
82 switch (blendMode) { in SDL_BlendLine_RGB2()
97 switch (blendMode) { in SDL_BlendLine_RGB2()
124 SDL_BlendMode blendMode, Uint8 _r, Uint8 _g, Uint8 _b, Uint8 _a, in SDL_BlendLine_RGB555() argument
129 if (blendMode == SDL_BLENDMODE_BLEND || blendMode == SDL_BLENDMODE_ADD) { in SDL_BlendLine_RGB555()
143 switch (blendMode) { in SDL_BlendLine_RGB555()
158 switch (blendMode) { in SDL_BlendLine_RGB555()
[all …]
DSDL_render_sw.c240 SDL_SetSurfaceBlendMode(texture->driverdata, texture->blendMode); in SW_CreateTexture()
286 if ((texture->blendMode == SDL_BLENDMODE_ADD || texture->blendMode == SDL_BLENDMODE_MOD)) { in SW_SetTextureBlendMode()
289 return SDL_SetSurfaceBlendMode(surface, texture->blendMode); in SW_SetTextureBlendMode()
433 if (renderer->blendMode == SDL_BLENDMODE_NONE) { in SW_RenderDrawPoints()
441 renderer->blendMode, in SW_RenderDrawPoints()
482 if (renderer->blendMode == SDL_BLENDMODE_NONE) { in SW_RenderDrawLines()
490 renderer->blendMode, in SW_RenderDrawLines()
533 if (renderer->blendMode == SDL_BLENDMODE_NONE) { in SW_RenderFillRects()
540 renderer->blendMode, in SW_RenderFillRects()
630 SDL_BlendMode blendMode; in SW_RenderCopyEx() local
[all …]
DSDL_blendfillrect.h24 extern int SDL_BlendFillRect(SDL_Surface * dst, const SDL_Rect * rect, SDL_BlendMode blendMode, Uin…
25 …cts(SDL_Surface * dst, const SDL_Rect * rects, int count, SDL_BlendMode blendMode, Uint8 r, Uint8 …
DSDL_blendpoint.h24 extern int SDL_BlendPoint(SDL_Surface * dst, int x, int y, SDL_BlendMode blendMode, Uint8 r, Uint8 …
25 …s(SDL_Surface * dst, const SDL_Point * points, int count, SDL_BlendMode blendMode, Uint8 r, Uint8 …
DSDL_blendline.h24 extern int SDL_BlendLine(SDL_Surface * dst, int x1, int y1, int x2, int y2, SDL_BlendMode blendMode
25 …s(SDL_Surface * dst, const SDL_Point * points, int count, SDL_BlendMode blendMode, Uint8 r, Uint8 …
/third_party/flutter/skia/third_party/externals/sdl/src/render/opengles2/
DSDL_shaders_gles2.c811 const GLES2_Shader *GLES2_GetShader(GLES2_ShaderType type, SDL_BlendMode blendMode) in GLES2_GetShader() argument
817 switch (blendMode) { in GLES2_GetShader()
830 switch (blendMode) { in GLES2_GetShader()
843 switch (blendMode) { in GLES2_GetShader()
857 switch (blendMode) { in GLES2_GetShader()
871 switch (blendMode) { in GLES2_GetShader()
DSDL_render_gles2.c180 int blendMode; member
886 SDL_BlendMode blendMode);
891 SDL_BlendMode blendMode);
893 SDL_BlendMode blendMode);
897 GLES2_ShaderCacheEntry *fragment, SDL_BlendMode blendMode) in GLES2_CacheProgram() argument
936 entry->blend_mode = blendMode; in GLES2_CacheProgram()
1014 GLES2_CacheShader(SDL_Renderer *renderer, GLES2_ShaderType type, SDL_BlendMode blendMode) in GLES2_CacheShader() argument
1024 shader = GLES2_GetShader(type, blendMode); in GLES2_CacheShader()
1133 GLES2_SelectProgram(SDL_Renderer *renderer, GLES2_ImageSource source, SDL_BlendMode blendMode) in GLES2_SelectProgram() argument
1173 vertex = GLES2_CacheShader(renderer, vtype, blendMode); in GLES2_SelectProgram()
[all …]
/third_party/skia/src/pdf/
DSkPDFDevice.cpp1135 static bool treat_as_regular_pdf_blend_mode(SkBlendMode blendMode) { in treat_as_regular_pdf_blend_mode() argument
1136 return nullptr != SkPDFUtils::BlendModeName(blendMode); in treat_as_regular_pdf_blend_mode()
1223 SkBlendMode blendMode = paint.getBlendMode_or(SkBlendMode::kSrcOver); in setUpContentEntry() local
1226 if (blendMode == SkBlendMode::kDst) { in setUpContentEntry()
1232 if (!treat_as_regular_pdf_blend_mode(blendMode) && blendMode != SkBlendMode::kDstOver) { in setUpContentEntry()
1236 } else if (blendMode != SkBlendMode::kSrc && in setUpContentEntry()
1237 blendMode != SkBlendMode::kSrcOut) { in setUpContentEntry()
1246 if (treat_as_regular_pdf_blend_mode(blendMode)) { in setUpContentEntry()
1281 SkBlendMode blendMode, in finishContentEntry() argument
1284 SkASSERT(blendMode != SkBlendMode::kDst); in finishContentEntry()
[all …]
/third_party/flutter/skia/src/pdf/
DSkPDFDevice.cpp1155 static bool treat_as_regular_pdf_blend_mode(SkBlendMode blendMode) { in treat_as_regular_pdf_blend_mode() argument
1156 return nullptr != SkPDFUtils::BlendModeName(blendMode); in treat_as_regular_pdf_blend_mode()
1240 SkBlendMode blendMode = paint.getBlendMode(); in setUpContentEntry() local
1243 if (blendMode == SkBlendMode::kDst) { in setUpContentEntry()
1249 if (!treat_as_regular_pdf_blend_mode(blendMode) && blendMode != SkBlendMode::kDstOver) { in setUpContentEntry()
1253 } else if (blendMode != SkBlendMode::kSrc && in setUpContentEntry()
1254 blendMode != SkBlendMode::kSrcOut) { in setUpContentEntry()
1263 if (treat_as_regular_pdf_blend_mode(blendMode)) { in setUpContentEntry()
1298 SkBlendMode blendMode, in finishContentEntry() argument
1301 SkASSERT(blendMode != SkBlendMode::kDst); in finishContentEntry()
[all …]
/third_party/flutter/skia/third_party/externals/sdl/test/
Dtestdraw2.c34 static SDL_BlendMode blendMode = SDL_BLENDMODE_NONE; variable
234 blendMode = SDL_BLENDMODE_NONE; in main()
237 blendMode = SDL_BLENDMODE_BLEND; in main()
240 blendMode = SDL_BLENDMODE_ADD; in main()
243 blendMode = SDL_BLENDMODE_MOD; in main()
272 SDL_SetRenderDrawBlendMode(renderer, blendMode); in main()
Dtestintersections.c35 static SDL_BlendMode blendMode = SDL_BLENDMODE_NONE; variable
293 blendMode = SDL_BLENDMODE_NONE; in main()
296 blendMode = SDL_BLENDMODE_BLEND; in main()
299 blendMode = SDL_BLENDMODE_ADD; in main()
302 blendMode = SDL_BLENDMODE_MOD; in main()
331 SDL_SetRenderDrawBlendMode(renderer, blendMode); in main()
Dtestsprite2.c39 static SDL_BlendMode blendMode = SDL_BLENDMODE_BLEND; variable
102 SDL_SetTextureBlendMode(sprites[i], blendMode); in LoadSprite()
287 blendMode = SDL_BLENDMODE_NONE; in main()
290 blendMode = SDL_BLENDMODE_BLEND; in main()
293 blendMode = SDL_BLENDMODE_ADD; in main()
296 blendMode = SDL_BLENDMODE_MOD; in main()
/third_party/skia/tests/
DBulkRectTest.cpp51 SkBlendMode blendMode, bool addOneByOne, in fillrectop_creation_test() argument
71 paint.setXPFactory(SkBlendMode_AsXPFactory(blendMode)); in fillrectop_creation_test()
99 SkBlendMode blendMode, bool addOneByOne, in textureop_creation_test() argument
158 blendMode, in textureop_creation_test()
174 blendMode, in textureop_creation_test()
186 if (blendMode != SkBlendMode::kSrcOver || in textureop_creation_test()
193 uint32_t expectedOpID = blendMode == SkBlendMode::kSrcOver ? skgpu::v1::TextureOp::ClassID() in textureop_creation_test()
DAdvancedBlendTest.cpp32 const SkBlendMode blendMode = (SkBlendMode)mode; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
35 const GrXPFactory* xpf = GrCustomXfermode::Get(blendMode); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/third_party/skia/platform_tools/android/apps/AndroidKit/src/main/java/org/skia/androidkit/
DImageFilter.java78 public static ImageFilter blend(BlendMode blendMode, @Nullable ImageFilter background, in blend() argument
88 return new ImageFilter(nBlend(blendMode.nativeInt, nativeBackground, nativeForeground)); in blend()
118 … private static native long nBlend(int blendMode, long native_background, long native_foreground); in nBlend() argument
/third_party/flutter/engine/flutter/flow/ohos_layers/
Dshader_mask_layer.h20 ShaderMaskLayer(sk_sp<SkShader> shader, const SkRect& maskRect, SkBlendMode blendMode) in ShaderMaskLayer() argument
21 : shader_(shader), maskRect_(maskRect), blendMode_(blendMode) {} in ShaderMaskLayer()
/third_party/flutter/flutter/packages/flutter/test/rendering/
Dproxy_getters_and_setters_test.dart60 expect(box.blendMode, BlendMode.modulate);
61 box.blendMode = BlendMode.colorBurn;
62 expect(box.blendMode, BlendMode.colorBurn);
/third_party/flutter/skia/third_party/externals/sdl/include/
DSDL_render.h352 SDL_BlendMode blendMode);
365 SDL_BlendMode *blendMode);
667 SDL_BlendMode blendMode);
680 SDL_BlendMode *blendMode);
/third_party/flutter/skia/tests/
DAdvancedBlendTest.cpp32 const SkBlendMode blendMode = (SkBlendMode)mode; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
35 const GrXPFactory* xpf = GrCustomXfermode::Get(blendMode); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/third_party/skia/modules/svg/src/
DSkSVGFeBlend.cpp41 const SkBlendMode blendMode = GetBlendMode(this->getMode()); in onMakeImageFilter() local
45 return SkImageFilters::Blend(blendMode, background, foreground, cropRect); in onMakeImageFilter()
/third_party/skia/src/core/
DSkOverdrawCanvas.cpp95 const SkPoint texCoords[4], SkBlendMode blendMode, in onDrawPatch() argument
97 fList[0]->onDrawPatch(cubics, colors, texCoords, blendMode, fPaint); in onDrawPatch()
144 SkBlendMode blendMode, const SkPaint& paint) { in onDrawVerticesObject() argument
145 fList[0]->onDrawVerticesObject(vertices, blendMode, this->overdrawPaint(paint)); in onDrawVerticesObject()
/third_party/flutter/skia/src/core/
DSkVMBlitter.cpp25 SkBlendMode blendMode; member
41 && x.blendMode == y.blendMode in operator ==()
143 switch (key.blendMode) { in CanBuild()
189 switch (key.blendMode) { in Builder()
DSkOverdrawCanvas.cpp84 const SkPoint texCoords[4], SkBlendMode blendMode, in onDrawPatch() argument
86 fList[0]->onDrawPatch(cubics, colors, texCoords, blendMode, fPaint); in onDrawPatch()
134 SkBlendMode blendMode, const SkPaint& paint) { in onDrawVerticesObject() argument
138 blendMode, in onDrawVerticesObject()

12345