Home
last modified time | relevance | path

Searched refs:color32 (Results 1 – 25 of 58) sorted by relevance

123

/dports/graphics/anttweakbar/AntTweakBar/src/
H A DTwColors.h21 typedef unsigned int color32; typedef
24 const color32 COLOR32_BLACK = 0xff000000; // Black
25 const color32 COLOR32_WHITE = 0xffffffff; // White
26 const color32 COLOR32_ZERO = 0x00000000; // Zero
27 const color32 COLOR32_RED = 0xffff0000; // Red
28 const color32 COLOR32_GREEN = 0xff00ff00; // Green
29 const color32 COLOR32_BLUE = 0xff0000ff; // Blue
40 inline color32 Color32FromARGBi(int _A, int _R, int _G, int _B) in Color32FromARGBi()
42 …return (((color32)TClamp(_A, 0, 255))<<24) | (((color32)TClamp(_R, 0, 255))<<16) | (((color32)TCla… in Color32FromARGBi()
47color32)TClamp(_A*256.0f, 0.0f, 255.0f))<<24) | (((color32)TClamp(_R*256.0f, 0.0f, 255.0f))<<16) |… in Color32FromARGBf()
[all …]
H A DTwBar.h37 const color32 * m_ColorPtr;
38 const color32 * m_BgColorPtr;
172 color32 m_Color;
221 color32 m_ColValBg;
225 color32 m_ColValMin;
226 color32 m_ColValMax;
233 color32 m_ColLine;
236 color32 m_ColBtn;
238 color32 m_ColFold;
240 color32 m_ColGrpBg;
[all …]
H A DTwDirect3D9.h30 …oid DrawLine(int _X0, int _Y0, int _X1, int _Y1, color32 _Color0, color32 _Color1, …
31 …virtual void DrawLine(int _X0, int _Y0, int _X1, int _Y1, color32 _Color, bool _Ant…
32 … DrawRect(int _X0, int _Y0, int _X1, int _Y1, color32 _Color00, color32 _Color10, color32 _Color01…
33 …virtual void DrawRect(int _X0, int _Y0, int _X1, int _Y1, color32 _Color) { DrawRec… in DrawRect()
34 …virtual void DrawTriangles(int _NumTriangles, int *_Vertices, color32 *_Colors, Cul…
38 … BuildText(void *_TextObj, const std::string *_TextLines, color32 *_LineColors, color32 *_Line…
39 …virtual void DrawText(void *_TextObj, int _X, int _Y, color32 _Color, color32 _BgCo…
60 color32 m_Color;
66 color32 m_Color;
H A DTwGraph.h37 …virtual void DrawLine(int _X0, int _Y0, int _X1, int _Y1, color32 _Color0, color32 _Color1,…
38 …virtual void DrawLine(int _X0, int _Y0, int _X1, int _Y1, color32 _Color, bool _AntiAliased…
39 … DrawRect(int _X0, int _Y0, int _X1, int _Y1, color32 _Color00, color32 _Color10, color32 _Color01…
40 virtual void DrawRect(int _X0, int _Y0, int _X1, int _Y1, color32 _Color) = 0;
42 …virtual void DrawTriangles(int _NumTriangles, int *_Vertices, color32 *_Colors, Cull _CullM…
46 … BuildText(void *_TextObj, const std::string *_TextLines, color32 *_LineColors, color32 *_Line…
47 …virtual void DrawText(void *_TextObj, int _X, int _Y, color32 _Color, color32 _BgColor) = 0;
H A DTwDirect3D10.h30 …oid DrawLine(int _X0, int _Y0, int _X1, int _Y1, color32 _Color0, color32 _Color1, …
31 …virtual void DrawLine(int _X0, int _Y0, int _X1, int _Y1, color32 _Color, bool _Ant…
32 … DrawRect(int _X0, int _Y0, int _X1, int _Y1, color32 _Color00, color32 _Color10, color32 _Color01…
33 …virtual void DrawRect(int _X0, int _Y0, int _X1, int _Y1, color32 _Color) { DrawRec… in DrawRect()
34 …virtual void DrawTriangles(int _NumTriangles, int *_Vertices, color32 *_Colors, Cul…
38 … BuildText(void *_TextObj, const std::string *_TextLines, color32 *_LineColors, color32 *_Line…
39 …virtual void DrawText(void *_TextObj, int _X, int _Y, color32 _Color, color32 _BgCo…
61 color32 m_Color;
66 color32 m_Color;
H A DTwDirect3D11.h30 …oid DrawLine(int _X0, int _Y0, int _X1, int _Y1, color32 _Color0, color32 _Color1, …
31 …virtual void DrawLine(int _X0, int _Y0, int _X1, int _Y1, color32 _Color, bool _Ant…
32 … DrawRect(int _X0, int _Y0, int _X1, int _Y1, color32 _Color00, color32 _Color10, color32 _Color01…
33 …virtual void DrawRect(int _X0, int _Y0, int _X1, int _Y1, color32 _Color) { DrawRec… in DrawRect()
34 …virtual void DrawTriangles(int _NumTriangles, int *_Vertices, color32 *_Colors, Cul…
38 … BuildText(void *_TextObj, const std::string *_TextLines, color32 *_LineColors, color32 *_Line…
39 …virtual void DrawText(void *_TextObj, int _X, int _Y, color32 _Color, color32 _BgCo…
63 color32 m_Color;
68 color32 m_Color;
H A DTwOpenGL.h30 …virtual void DrawLine(int _X0, int _Y0, int _X1, int _Y1, color32 _Color0, color32 _Color1,…
31 …virtual void DrawLine(int _X0, int _Y0, int _X1, int _Y1, color32 _Color, bool _AntiAliased…
32 … DrawRect(int _X0, int _Y0, int _X1, int _Y1, color32 _Color00, color32 _Color10, color32 _Color01…
33 …virtual void DrawRect(int _X0, int _Y0, int _X1, int _Y1, color32 _Color) { DrawRect(_X0, _… in DrawRect()
34 …virtual void DrawTriangles(int _NumTriangles, int *_Vertices, color32 *_Colors, Cull _CullM…
38 … BuildText(void *_TextObj, const std::string *_TextLines, color32 *_LineColors, color32 *_Line…
39 virtual void DrawText(void *_TextObj, int _X, int _Y, color32 _Color, color32 _BgColor);
90 std::vector<color32>m_Colors;
91 std::vector<color32>m_BgColors;
H A DTwOpenGLCore.h30 …virtual void DrawLine(int _X0, int _Y0, int _X1, int _Y1, color32 _Color0, color32 _Color1,…
31 …virtual void DrawLine(int _X0, int _Y0, int _X1, int _Y1, color32 _Color, bool _AntiAliased…
32 … DrawRect(int _X0, int _Y0, int _X1, int _Y1, color32 _Color00, color32 _Color10, color32 _Color01…
33 …virtual void DrawRect(int _X0, int _Y0, int _X1, int _Y1, color32 _Color) { DrawRect(_X0, _… in DrawRect()
34 …virtual void DrawTriangles(int _NumTriangles, int *_Vertices, color32 *_Colors, Cull _CullM…
38 … BuildText(void *_TextObj, const std::string *_TextLines, color32 *_LineColors, color32 *_Line…
39 virtual void DrawText(void *_TextObj, int _X, int _Y, color32 _Color, color32 _BgColor);
112 std::vector<color32>m_Colors;
113 std::vector<color32>m_BgColors;
H A DTwDirect3D9.cpp52 color32 *p = static_cast<color32 *>(r.pBits); in BindFont()
54 *p = 0x00ffffff | (((color32)(_Font->m_TexBytes[i]))<<24); in BindFont()
273 void CTwGraphDirect3D9::DrawLine(int _X0, int _Y0, int _X1, int _Y1, color32 _Color0, color32 _Colo… in DrawLine()
308 …:DrawRect(int _X0, int _Y0, int _X1, int _Y1, color32 _Color00, color32 _Color10, color32 _Color01… in DrawRect()
376 …3D9::BuildText(void *_TextObj, const std::string *_TextLines, color32 *_LineColors, color32 *_Line… in BuildText()
398 color32 LineColor = COLOR32_RED; in BuildText()
497 void CTwGraphDirect3D9::DrawText(void *_TextObj, int _X, int _Y, color32 _Color, color32 _BgColor) in DrawText()
604 void CTwGraphDirect3D9::DrawTriangles(int _NumTriangles, int *_Vertices, color32 *_Colors, Cull _Cu… in DrawTriangles()
H A DTwOpenGLCore.cpp152 _glBufferData(GL_ARRAY_BUFFER, m_TriBufferSize*sizeof(color32), 0, GL_DYNAMIC_DRAW); in ResizeTriBuffers()
203 const color32 lineRectInitColors[] = { 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff }; in Init()
561 void CTwGraphOpenGLCore::DrawLine(int _X0, int _Y0, int _X1, int _Y1, color32 _Color0, color32 _Col… in DrawLine()
587 color32 colors[] = { _Color0, _Color1 }; in DrawLine()
604 …:DrawRect(int _X0, int _Y0, int _X1, int _Y1, color32 _Color00, color32 _Color10, color32 _Color01… in DrawRect()
660 …ore::BuildText(void *_TextObj, const std::string *_TextLines, color32 *_LineColors, color32 *_Line… in BuildText()
682 color32 LineColor = COLOR32_RED; in BuildText()
749 void CTwGraphOpenGLCore::DrawText(void *_TextObj, int _X, int _Y, color32 _Color, color32 _BgColor) in DrawText()
778 … _glBufferSubData(GL_ARRAY_BUFFER, 0, numBgVerts*sizeof(color32), &(TextObj->m_BgColors[0])); in DrawText()
822 … _glBufferSubData(GL_ARRAY_BUFFER, 0, numTextVerts*sizeof(color32), &(TextObj->m_Colors[0])); in DrawText()
[all …]
H A DTwDirect3D10.cpp101 color32 *font32 = new color32[w*h]; in BindFont()
102 color32 *p = font32; in BindFont()
104 *p = 0x00ffffff | (((color32)(_Font->m_TexBytes[i]))<<24); in BindFont()
120 data.SysMemPitch = w*sizeof(color32); in BindFont()
679 static inline color32 ToR8G8B8A8(color32 col) in ToR8G8B8A8()
686 void CTwGraphDirect3D10::DrawLine(int _X0, int _Y0, int _X1, int _Y1, color32 _Color0, color32 _Col… in DrawLine()
749 …:DrawRect(int _X0, int _Y0, int _X1, int _Y1, color32 _Color00, color32 _Color10, color32 _Color01… in DrawRect()
847 …D10::BuildText(void *_TextObj, const std::string *_TextLines, color32 *_LineColors, color32 *_Line… in BuildText()
928 color32 lineColor = COLOR32_RED; in BuildText()
1047 void CTwGraphDirect3D10::DrawText(void *_TextObj, int _X, int _Y, color32 _Color, color32 _BgColor) in DrawText()
[all …]
H A DTwOpenGL.cpp569 void CTwGraphOpenGL::DrawLine(int _X0, int _Y0, int _X1, int _Y1, color32 _Color0, color32 _Color1,… in DrawLine()
607 …:DrawRect(int _X0, int _Y0, int _X1, int _Y1, color32 _Color00, color32 _Color10, color32 _Color01… in DrawRect()
672 …nGL::BuildText(void *_TextObj, const std::string *_TextLines, color32 *_LineColors, color32 *_Line… in BuildText()
694 color32 LineColor = COLOR32_RED; in BuildText()
747color32 LineBgColor = (_LineBgColors[Line]&0xff00ff00) | GLubyte(_LineBgColors[Line]>>16) | (GLuby… in BuildText()
761 void CTwGraphOpenGL::DrawText(void *_TextObj, int _X, int _Y, color32 _Color, color32 _BgColor) in DrawText()
866 void CTwGraphOpenGL::DrawTriangles(int _NumTriangles, int *_Vertices, color32 *_Colors, Cull _CullM… in DrawTriangles()
892 color32 col = _Colors[i]; in DrawTriangles()
H A DTwDirect3D11.cpp84 color32 *font32 = new color32[w*h]; in BindFont()
85 color32 *p = font32; in BindFont()
87 *p = 0x00ffffff | (((color32)(_Font->m_TexBytes[i]))<<24); in BindFont()
103 data.SysMemPitch = w*sizeof(color32); in BindFont()
1008 static inline color32 ToR8G8B8A8(color32 col) in ToR8G8B8A8()
1015 void CTwGraphDirect3D11::DrawLine(int _X0, int _Y0, int _X1, int _Y1, color32 _Color0, color32 _Col… in DrawLine()
1085 …:DrawRect(int _X0, int _Y0, int _X1, int _Y1, color32 _Color00, color32 _Color10, color32 _Color01… in DrawRect()
1190 …D11::BuildText(void *_TextObj, const std::string *_TextLines, color32 *_LineColors, color32 *_Line… in BuildText()
1281 color32 lineColor = COLOR32_RED; in BuildText()
1400 void CTwGraphDirect3D11::DrawText(void *_TextObj, int _X, int _Y, color32 _Color, color32 _BgColor) in DrawText()
[all …]
H A DTwColors.cpp144 color32 ColorBlend(color32 _Color1, color32 _Color2, float _S) in ColorBlend()
H A DTwMgr.h439 color32 m_DirColor; // Direction vector color
459 static std::vector<color32> s_SphCol;
461 static std::vector<color32> s_SphColLight;
465 static std::vector<color32> s_ArrowColLight[4];
/dports/net/freerdp/freerdp-2.5.0/channels/rdpgfx/
H A Drdpgfx_common.c213 UINT rdpgfx_read_color32(wStream* s, RDPGFX_COLOR32* color32) in rdpgfx_read_color32() argument
221 Stream_Read_UINT8(s, color32->B); /* B (1 byte) */ in rdpgfx_read_color32()
222 Stream_Read_UINT8(s, color32->G); /* G (1 byte) */ in rdpgfx_read_color32()
223 Stream_Read_UINT8(s, color32->R); /* R (1 byte) */ in rdpgfx_read_color32()
224 Stream_Read_UINT8(s, color32->XA); /* XA (1 byte) */ in rdpgfx_read_color32()
233 UINT rdpgfx_write_color32(wStream* s, const RDPGFX_COLOR32* color32) in rdpgfx_write_color32() argument
235 Stream_Write_UINT8(s, color32->B); /* B (1 byte) */ in rdpgfx_write_color32()
236 Stream_Write_UINT8(s, color32->G); /* G (1 byte) */ in rdpgfx_write_color32()
237 Stream_Write_UINT8(s, color32->R); /* R (1 byte) */ in rdpgfx_write_color32()
238 Stream_Write_UINT8(s, color32->XA); /* XA (1 byte) */ in rdpgfx_write_color32()
H A Drdpgfx_common.h43 FREERDP_LOCAL UINT rdpgfx_read_color32(wStream* s, RDPGFX_COLOR32* color32);
44 FREERDP_LOCAL UINT rdpgfx_write_color32(wStream* s, const RDPGFX_COLOR32* color32);
/dports/cad/PrusaSlicer/PrusaSlicer-version_2.3.3/src/libigl/igl/opengl2/
H A Ddraw_beach_ball.cpp39 typedef unsigned int color32; typedef
40 static SAFE_INLINE color32 Color32FromARGBi(int A, int R, int G, int B) in Color32FromARGBi()
42 …return (((color32)TClamp(A, 0, 255))<<24) | (((color32)TClamp(R, 0, 255))<<16) | (((color32)TClamp… in Color32FromARGBi()
45 static SAFE_INLINE color32 Color32FromARGBf(float A, float R, float G, float B) in Color32FromARGBf()
47color32)TClamp(A*256.0f, 0.0f, 255.0f))<<24) | (((color32)TClamp(R*256.0f, 0.0f, 255.0f))<<16) | (… in Color32FromARGBf()
50 static SAFE_INLINE void Color32ToARGBi(color32 Color, int *A, int *R, int *G, int *B) in Color32ToARGBi()
58 static SAFE_INLINE void Color32ToARGBf(color32 Color, float *A, float *R, float *G, float *B) in Color32ToARGBf()
66 static color32 ColorBlend(color32 Color1, color32 Color2, float S) in ColorBlend()
76 static std::vector<color32> s_SphCol;
89 …const color32 COL_A[8] = { 0xffffffff, 0xffffff40, 0xff40ff40, 0xff40ffff, 0xffff40ff, 0xffff4040… in CreateSphere()
[all …]
/dports/emulators/ppsspp-qt5/ppsspp-1.12.3/GPU/Common/
H A DTextureDecoder.h180 const u32 color32 = (color << 16) | color; variable
184 dest32[i + 0] = color32 | ((index & 0x00f0) << 12) | ((index & 0x000f) >> 0);
185 dest32[i + 1] = color32 | ((index & 0xf000) << 4) | ((index & 0x0f00) >> 8);
191 const u32 color32 = (color << 16) | color; in DeIndexTexture4OptimalRev() local
195 dest32[i + 0] = color32 | ((index & 0x00f0) << 24) | ((index & 0x000f) << 12); in DeIndexTexture4OptimalRev()
196 dest32[i + 1] = color32 | ((index & 0xf000) << 16) | ((index & 0x0f00) << 4); in DeIndexTexture4OptimalRev()
/dports/emulators/ppsspp/ppsspp-1.12.3/GPU/Common/
H A DTextureDecoder.h180 const u32 color32 = (color << 16) | color; variable
184 dest32[i + 0] = color32 | ((index & 0x00f0) << 12) | ((index & 0x000f) >> 0);
185 dest32[i + 1] = color32 | ((index & 0xf000) << 4) | ((index & 0x0f00) >> 8);
191 const u32 color32 = (color << 16) | color; in DeIndexTexture4OptimalRev() local
195 dest32[i + 0] = color32 | ((index & 0x00f0) << 24) | ((index & 0x000f) << 12); in DeIndexTexture4OptimalRev()
196 dest32[i + 1] = color32 | ((index & 0xf000) << 16) | ((index & 0x0f00) << 4); in DeIndexTexture4OptimalRev()
/dports/emulators/libretro-ppsspp/ppsspp-1.12.3/GPU/Common/
H A DTextureDecoder.h180 const u32 color32 = (color << 16) | color; variable
184 dest32[i + 0] = color32 | ((index & 0x00f0) << 12) | ((index & 0x000f) >> 0);
185 dest32[i + 1] = color32 | ((index & 0xf000) << 4) | ((index & 0x0f00) >> 8);
191 const u32 color32 = (color << 16) | color; in DeIndexTexture4OptimalRev() local
195 dest32[i + 0] = color32 | ((index & 0x00f0) << 24) | ((index & 0x000f) << 12); in DeIndexTexture4OptimalRev()
196 dest32[i + 1] = color32 | ((index & 0xf000) << 16) | ((index & 0x0f00) << 4); in DeIndexTexture4OptimalRev()
/dports/games/libretro-gpsp/gpsp-300d0c0/
H A Dvideo.c1716 multiple_tile_map(base, 8bpp, color32); in render_scanline_text_base_color32()
1721 multiple_tile_map(base, 8bpp, color32); in render_scanline_text_base_color32()
1726 partial_tile_left_map(base, 8bpp, color32); in render_scanline_text_base_color32()
1779 multiple_tile_map(base, 4bpp, color32); in render_scanline_text_base_color32()
1784 multiple_tile_map(base, 4bpp, color32); in render_scanline_text_base_color32()
1790 partial_tile_left_map(base, 4bpp, color32); in render_scanline_text_base_color32()
1907 multiple_tile_map(transparent, 8bpp, color32); in render_scanline_text_transparent_color32()
1971 multiple_tile_map(transparent, 4bpp, color32); in render_scanline_text_transparent_color32()
2573 render_scanline_affine_builder(base, color32);
2574 render_scanline_affine_builder(transparent, color32);
[all …]
/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/stdfx/
H A Dtest_boxfx.cpp74 void doTest_Box(RAS ras, double h, double v, TPointD pos, TPixel32 &color32, in doTest_Box() argument
82 const PIX color = PixelConverter<RAS::Pixel>::from(color32); in doTest_Box()
/dports/games/scummvm/scummvm-2.5.1/engines/ultima/ultima4/gfx/
H A Dimage.cpp135 uint32 color32 = color; in getPaletteIndex() local
138 if (*pal == color32) in getPaletteIndex()
214 uint32 color32 = color; in setPaletteIndex() local
215 _surface->setPalette(&color32, index, 1); in setPaletteIndex()
/dports/lang/clover/mesa-21.3.6/src/gallium/drivers/softpipe/
H A Dsp_tile_cache.h68 uint color32[TILE_SIZE][TILE_SIZE]; member

123