Home
last modified time | relevance | path

Searched refs:Color (Results 1 – 25 of 76) sorted by relevance

1234

/hardware/interfaces/graphics/composer/aidl/vts/
DReadbackVts.h35 static const Color BLACK = {0.0f, 0.0f, 0.0f, 1.0f};
36 static const Color RED = {1.0f, 0.0f, 0.0f, 1.0f};
40 static const Color DIM_RED = {243.f / 255.f, 0.0f, 0.0f, 1.0f};
41 static const Color TRANSLUCENT_RED = {1.0f, 0.0f, 0.0f, 0.3f};
42 static const Color GREEN = {0.0f, 1.0f, 0.0f, 1.0f};
43 static const Color BLUE = {0.0f, 0.0f, 1.0f, 1.0f};
44 static const Color WHITE = {1.0f, 1.0f, 1.0f, 1.0f};
45 static const Color LIGHT_RED = {0.5f, 0.0f, 0.0f, 1.0f};
46 static const Color LIGHT_GREEN = {0.0f, 0.5f, 0.0f, 1.0f};
47 static const Color LIGHT_BLUE = {0.0f, 0.0f, 0.5f, 1.0f};
[all …]
DReadbackVts.cpp122 std::vector<Color> desiredPixelColors) { in fillBuffer()
130 Color srcColor = desiredPixelColors[static_cast<size_t>(pixel)]; in fillBuffer()
145 void ReadbackHelper::clearColors(std::vector<Color>& expectedColors, int32_t width, int32_t height, in clearColors()
155 void ReadbackHelper::fillColorsArea(std::vector<Color>& expectedColors, int32_t stride, Rect area, in fillColorsArea()
156 Color color) { in fillColorsArea()
177 void ReadbackHelper::compareColorBuffers(const std::vector<Color>& expectedColors, void* bufferData, in compareColorBuffers()
187 const Color expectedColor = expectedColors[static_cast<size_t>(pixel)]; in compareColorBuffers()
248 void ReadbackBuffer::checkReadbackBuffer(const std::vector<Color>& expectedColors) { in checkReadbackBuffer()
347 void TestBufferLayer::fillBuffer(std::vector<Color>& expectedColors) { in fillBuffer()
363 void TestBufferLayer::setBuffer(std::vector<Color> colors) { in setBuffer()
DVtsHalGraphicsComposer3_ReadbackTest.cpp217 std::vector<Color> expectedColors( in TEST_P()
264 std::vector<Color> expectedColors( in TEST_P()
340 std::vector<Color> expectedColors( in TEST_P()
451 std::vector<Color> expectedColors( in TEST_P()
559 std::vector<Color> sRgbDeviceColors(srgbLayer->getWidth() * srgbLayer->getHeight()); in TEST_P()
574 std::vector<Color> displayP3DeviceColors( in TEST_P()
621 std::vector<Color> expectedColors( in TEST_P()
636 std::vector<Color> deviceColors(deviceLayer->getWidth() * deviceLayer->getHeight()); in TEST_P()
683 std::vector<Color> clientColors( in TEST_P()
724 std::vector<Color> expectedColors( in TEST_P()
[all …]
DRenderEngineVts.h47 void checkColorBuffer(const std::vector<Color>& expectedColors);
/hardware/google/gfxstream/host/gl/glestranslator/GLcommon/
DPaletteTexture.cpp21 struct Color struct
23Color(unsigned char r, unsigned char g,unsigned char b, unsigned char a):red(r),green(g),blue(b),a… in Color() argument
78 Color paletteColor(const unsigned char* pallete,unsigned int index,GLenum format) in paletteColor()
85 return Color(pallete[index],pallete[index+1],pallete[index+2],0); in paletteColor()
89 return Color((s >> 11)*255/31,((s >> 5) & 0x3f)*255/63 ,(s & 0x1f)*255/31,0); in paletteColor()
94 return Color(pallete[index],pallete[index+1],pallete[index+2],pallete[index+3]); in paletteColor()
98 …return Color(((s >> 12) & 0xf)*255/15,((s >> 8) & 0xf)*255/15,((s >> 4) & 0xf)*255/15 ,(s & 0xf)*2… in paletteColor()
102 …return Color(((s >> 11) & 0x1f)*255/31,((s >> 6) & 0x1f)*255/31,((s >> 1) & 0x1f)*255/31 ,(s & 0x1… in paletteColor()
104 return Color(255,255,255,255); in paletteColor()
159 Color c = paletteColor(palette,paletteIndex,internalformat); in uncompressTexture()
/hardware/interfaces/graphics/composer/2.2/utils/vts/include/composer-vts/2.2/
DReadbackVts.h45 static const IComposerClient::Color BLACK = {0, 0, 0, 0xff};
46 static const IComposerClient::Color RED = {0xff, 0, 0, 0xff};
47 static const IComposerClient::Color TRANSLUCENT_RED = {0xff, 0, 0, 0x33};
48 static const IComposerClient::Color GREEN = {0, 0xff, 0, 0xff};
49 static const IComposerClient::Color BLUE = {0, 0, 0xff, 0xff};
103 void setColor(IComposerClient::Color color) { mColor = color; } in setColor()
106 IComposerClient::Color mColor = {0xff, 0xff, 0xff, 0xff};
120 void fillBuffer(std::vector<IComposerClient::Color> expectedColors);
122 void setBuffer(std::vector<IComposerClient::Color> colors);
152 std::vector<IComposerClient::Color> desiredPixelColors);
[all …]
DRenderEngineVts.h52 void checkColorBuffer(std::vector<V2_2::IComposerClient::Color>& expectedColors);
/hardware/google/gfxstream/guest/mesa/src/vulkan/overlay-layer/
Doverlay.frag7 vec4 Color;
13 fColor = In.Color * texture(sTexture, In.UV.st);
Doverlay.vert16 vec4 Color;
22 Out.Color = aColor;
/hardware/interfaces/graphics/composer/2.2/utils/vts/
DReadbackVts.cpp112 std::vector<IComposerClient::Color> desiredPixelColors) { in fillBuffer()
119 IComposerClient::Color srcColor = desiredPixelColors[pixel]; in fillBuffer()
134 void ReadbackHelper::clearColors(std::vector<IComposerClient::Color>& expectedColors, int32_t width, in clearColors()
144 void ReadbackHelper::fillColorsArea(std::vector<IComposerClient::Color>& expectedColors, in fillColorsArea()
146 IComposerClient::Color color) { in fillColorsArea()
170 void ReadbackHelper::compareColorBuffers(std::vector<IComposerClient::Color>& expectedColors, in compareColorBuffers()
212 void ReadbackBuffer::checkReadbackBuffer(std::vector<IComposerClient::Color> expectedColors) { in checkReadbackBuffer()
287 void TestBufferLayer::fillBuffer(std::vector<IComposerClient::Color> expectedColors) { in fillBuffer()
296 void TestBufferLayer::setBuffer(std::vector<IComposerClient::Color> colors) { in setBuffer()
DRenderEngineVts.cpp82 void TestRenderEngine::checkColorBuffer(std::vector<V2_2::IComposerClient::Color>& expectedColors) { in checkColorBuffer()
/hardware/interfaces/graphics/composer/2.2/vts/functional/
DVtsHalGraphicsComposerV2_2ReadbackTest.cpp215 std::vector<IComposerClient::Color> expectedColors(mDisplayWidth * mDisplayHeight); in TEST_P()
273 std::vector<IComposerClient::Color> expectedColors(mDisplayWidth * mDisplayHeight); in TEST_P()
356 std::vector<IComposerClient::Color> expectedColors(mDisplayWidth * mDisplayHeight); in TEST_P()
408 std::vector<IComposerClient::Color> expectedColors(mDisplayWidth * mDisplayHeight); in TEST_P()
519 std::vector<IComposerClient::Color> expectedColors(mDisplayWidth * mDisplayHeight); in TEST_P()
532 std::vector<IComposerClient::Color> deviceColors(deviceLayer->mWidth * in TEST_P()
592 std::vector<IComposerClient::Color> clientColors(mDisplayWidth * mDisplayHeight); in TEST_P()
641 std::vector<IComposerClient::Color> expectedColors(mDisplayWidth * mDisplayHeight); in TEST_P()
751 std::vector<IComposerClient::Color> expectedColors(mDisplayWidth * mDisplayHeight); in TEST_P()
785 std::vector<IComposerClient::Color> expectedColors(mDisplayWidth * mDisplayHeight); in TEST_P()
[all …]
/hardware/interfaces/graphics/composer/aidl/android/hardware/graphics/composer3/
DLayerCommand.aidl24 import android.hardware.graphics.composer3.Color;
105 @nullable Color color;
DColor.aidl23 parcelable Color {
/hardware/interfaces/tests/expression/1.0/
DIExpressionExt.hal31 …typedef Color[((Constants:MAX_ARRAY_SIZE << 1) - (AlsoConstants:CONST_FOO + 1)*8) >> 1] SixteenCol…
33 Color[(Constants:MAX_ARRAY_SIZE << 1) - (Constants:CONST_FOO + 1)*8] my32Colors; // 32
/hardware/interfaces/graphics/composer/aidl/aidl_api/android.hardware.graphics.composer3/current/android/hardware/graphics/composer3/
DColor.aidl36 parcelable Color {
DLayerCommand.aidl42 @nullable android.hardware.graphics.composer3.Color color;
/hardware/interfaces/graphics/composer/aidl/aidl_api/android.hardware.graphics.composer3/2/android/hardware/graphics/composer3/
DColor.aidl36 parcelable Color {
DLayerCommand.aidl42 @nullable android.hardware.graphics.composer3.Color color;
/hardware/interfaces/graphics/composer/aidl/aidl_api/android.hardware.graphics.composer3/1/android/hardware/graphics/composer3/
DColor.aidl36 parcelable Color {
DLayerCommand.aidl42 @nullable android.hardware.graphics.composer3.Color color;
/hardware/interfaces/graphics/composer/aidl/aidl_api/android.hardware.graphics.composer3/3/android/hardware/graphics/composer3/
DColor.aidl36 parcelable Color {
DLayerCommand.aidl42 @nullable android.hardware.graphics.composer3.Color color;
/hardware/google/graphics/common/include/displaycolor/
Ddisplaycolor.h166 struct Color { struct
172 bool operator==(const Color &rhs) const {
317 Color solid_color;
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/
Dtextures.adoc752 * Color formats have one, two, three, or four components, according to the
808 .Border Color [eq]#B#, Custom Border Color slink:VkSamplerCustomBorderColorCreateInfoEXT::pname:cus…
811 .Border Color [eq]#B#
815 | Sampler pname:borderColor | Corresponding Border Color
860 | One component color format | [eq]#Color~r~ = B~r~#
861 | Two component color format | [eq]#[Color~r~,Color~g~] = [B~r~,B~g~]#
862 | Three component color format| [eq]#[Color~r~,Color~g~,Color~b~] = [B~r~,B~g~,B~b~]#
863 | Four component color format | [eq]#[Color~r~,Color~g~,Color~b~,Color~a~] = [B~r~,B~g~,B~b~,B~a~]#
865 | Single component alpha format | [eq]#[Color~r~,Color~g~,Color~b~, Color~a~] = [0,0,0,B~a~]#
959 .Texel Color After Conversion To RGBA
[all …]

1234