Searched defs:color (Results 251 - 275 of 540) sorted by relevance

<<11121314151617181920>>

/external/deqp/modules/gles3/functional/
H A Des3fColorClearTest.cpp90 ClearInfo (const tcu::IVec4& rect, deUint8 colorMask, tcu::RGBA color) argument
91 : m_rect(rect), m_colorMask(colorMask), m_color(color)
H A Des3fDitheringTests.cpp98 DitheringCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, bool isEnabled, PatternType patternType, const tcu::Vec4& color);
111 bool drawAndCheckUnicoloredQuad (const tcu::Vec4& color) const;
138 DitheringCase::DitheringCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* const name, const char* const description, const bool ditheringEnabled, const PatternType patternType, const Vec4& color) argument
143 , m_color (color)
186 // If the input color results in a scaled value that is very close to an integer, account for a little bit of possible inaccuracy.
217 << " (corresponding fragment color channel is " << inputClr[chanNdx] << ")"
226 << "Note: one extra color candidate was allowed because fragmentColorChannel * (2^bits-1) is close to an integer"
265 quad.color[0] = quadClr0;
266 quad.color[1] = isVerticallyIncreasing ? quadClr1 : quadClr0;
267 quad.color[
[all...]
H A Des3fFragDepthTests.cpp361 // Visualize by rendering full-screen quads with increasing depth and color.
380 Vec4 color = Vec4(f, f, f, 1.0f); local
391 gl.uniform4fv(colorLoc, 1, color.getPtr());
/external/deqp/modules/gles31/stress/
H A Des31sTessellationGeometryInteractionTests.cpp242 const int numComponentsPerVertex = 8; // vec4 pos, vec4 color
392 const tcu::RGBA color = image.getPixel(x, y); local
395 if (color.getGreen() < 255 - threshold || color.getBlue() > threshold)
/external/deqp/modules/glshared/
H A DglsShaderRenderCase.hpp162 tcu::Vec4 color; member in class:deqp::gls::ShaderEvalContext
177 inline void evalCoordsPassthroughX (ShaderEvalContext& c) { c.color.x() = c.coords.x(); }
178 inline void evalCoordsPassthroughXY (ShaderEvalContext& c) { c.color.xy() = c.coords.swizzle(0,1); }
179 inline void evalCoordsPassthroughXYZ (ShaderEvalContext& c) { c.color.xyz() = c.coords.swizzle(0,1,2); }
180 inline void evalCoordsPassthrough (ShaderEvalContext& c) { c.color = c.coords; }
181 inline void evalCoordsSwizzleWZYX (ShaderEvalContext& c) { c.color = c.coords.swizzle(3,2,1,0); }
/external/jmonkeyengine/engine/src/core/com/jme3/system/
H A DNullRenderer.java68 public void clearBuffers(boolean color, boolean depth, boolean stencil) { argument
71 public void setBackgroundColor(ColorRGBA color) { argument
/external/jmonkeyengine/engine/src/niftygui/com/jme3/niftygui/
H A DRenderDeviceJme.java92 //Color + texture color material for text and images
99 //vertex color only for gradient quads (although i didn't find a way in nifty to make a gradient using vertex color)
177 private int convertColor(Color color) { argument
179 color2 |= ((int) (255.0 * color.getAlpha())) << 24;
180 color2 |= ((int) (255.0 * color.getBlue())) << 16;
181 color2 |= ((int) (255.0 * color.getGreen())) << 8;
182 color2 |= ((int) (255.0 * color.getRed()));
190 // private void setColor(Color color) {
194 // int color2 = convertColor(color);
215 renderFont(RenderFont font, String str, int x, int y, Color color, float size) argument
220 renderFont(RenderFont font, String str, int x, int y, Color color, float sizeX, float sizeY) argument
255 renderImage(RenderImage image, int x, int y, int w, int h, int srcX, int srcY, int srcW, int srcH, Color color, float scale, int centerX, int centerY) argument
303 renderImage(RenderImage image, int x, int y, int width, int height, Color color, float imageScale) argument
329 renderQuad(int x, int y, int width, int height, Color color) argument
[all...]
/external/linux-tools-perf/src/tools/perf/ui/
H A Dbrowser.c15 #include "../color.h"
29 int ui_browser__set_color(struct ui_browser *browser, int color) argument
32 browser->current_color = color;
33 SLsmg_set_color(color);
40 int color = ui_browser__percent_color(browser, percent, current); local
41 ui_browser__set_color(browser, color);
/external/linux-tools-perf/src/tools/perf/util/
H A Dhist.h8 #include "color.h"
147 int (*color)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, member in struct:perf_hpp_fmt
H A Dsvghelper.c476 int color = 220; local
480 color = 192;
484 color = 128;
488 time2pixels(i), SLOT_MULT/2, time2pixels(i), total_height, color, color, color, thickness);
/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_rast.c106 /* reset pointers to color tile(s) */
130 * data is tiled differently than color data.
146 * Clear the rasterizer's current color tile.
175 /* Non-gray color.
294 * Convert the color tile from tiled to linear layout.
297 * tiled color buffer to linear layout in the llvmpipe_texture_unmap()
360 uint8_t *color[PIPE_MAX_COLOR_BUFS]; local
364 /* color buffer */
366 color[i] = lp_rast_get_color_block_pointer(task, i,
380 color,
433 uint8_t *color[PIPE_MAX_COLOR_BUFS]; local
585 uint8_t *color = lp_rast_get_color_block_pointer(task, buf, local
[all...]
/external/mesa3d/src/gallium/drivers/r300/
H A Dr300_blit.c126 /* Only color clear allowed, and only one colorbuffer. */
176 const union pipe_color_union *color,
283 r300_depth_clear_cb_value(surf->base.format, color->f);
301 buffers, cformat, color, depth, stencil);
348 /* Clear a region of a color surface to a constant value. */
351 const union pipe_color_union *color,
358 util_blitter_clear_render_target(r300->blitter, dst, color,
174 r300_clear(struct pipe_context* pipe, unsigned buffers, const union pipe_color_union *color, double depth, unsigned stencil) argument
349 r300_clear_render_target(struct pipe_context *pipe, struct pipe_surface *dst, const union pipe_color_union *color, unsigned dstx, unsigned dsty, unsigned width, unsigned height) argument
H A Dr300_state_derived.c90 if (vs_outputs->color[i] != ATTR_UNUSED) {
92 vs_outputs->color[i]);
341 * Select user color 0 for COLOR0 up to COLOR7.
358 if (vs_outputs->color[i] != ATTR_UNUSED || any_bcolor_used ||
359 vs_outputs->color[1] != ATTR_UNUSED) {
360 /* Set up the color in VAP. */
370 if (fs_inputs->color[i] != ATTR_UNUSED) {
375 "r300: Rasterized color %i written to FS.\n", i);
377 DBG(r300, DBG_RS, "r300: Rasterized color %i unused.\n", i);
383 if (fs_inputs->color[
595 rgba_to_bgra(float color[4]) argument
[all...]
/external/mesa3d/src/gallium/drivers/radeonsi/
H A Dr600_blit.c195 const union pipe_color_union *color,
204 color, depth, stencil);
210 const union pipe_color_union *color,
217 util_blitter_clear_render_target(rctx->blitter, dst, color,
194 r600_clear(struct pipe_context *ctx, unsigned buffers, const union pipe_color_union *color, double depth, unsigned stencil) argument
208 r600_clear_render_target(struct pipe_context *ctx, struct pipe_surface *dst, const union pipe_color_union *color, unsigned dstx, unsigned dsty, unsigned width, unsigned height) argument
/external/mesa3d/src/gallium/state_trackers/vdpau/
H A Dmixer.c578 union pipe_color_union color; local
595 color.f[0] = background_color->red;
596 color.f[1] = background_color->green;
597 color.f[2] = background_color->blue;
598 color.f[3] = background_color->alpha;
599 vl_compositor_set_clear_color(&vmixer->cstate, &color);
759 * Generate a color space conversion matrix.
/external/mesa3d/src/gallium/state_trackers/xvmc/
H A Dsubpicture.c300 unsigned short width, unsigned short height, unsigned int color)
316 /* Convert color to float */
318 uc.f, 1, &color, 4,
299 XvMCClearSubpicture(Display *dpy, XvMCSubpicture *subpicture, short x, short y, unsigned short width, unsigned short height, unsigned int color) argument
/external/mesa3d/src/gallium/tests/graw/
H A Dfs-test.c55 float color[4]; member in struct:vertex
208 ve[1].src_offset = Offset(struct vertex, color);
H A Dgs-test.c57 float color[4]; member in struct:vertex
241 ve[1].src_offset = Offset(struct vertex, color);
H A Dvs-test.c55 float color[3]; member in struct:vertex
153 ve[1].src_offset = Offset(struct vertex, color);
167 vertices[i].color[0] = .5;
168 vertices[i].color[1] = (float)x / (float)MESH_SZ;
169 vertices[i].color[2] = (float)y / (float)MESH_SZ;
/external/mesa3d/src/mesa/drivers/dri/i915/
H A Dintel_blit.c328 GLfloat *color = ctx->Color.ClearColor.f; local
330 _mesa_unclamped_float_rgba_to_ubyte(clear, color);
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dintel_blit.c328 GLfloat *color = ctx->Color.ClearColor.f; local
330 _mesa_unclamped_float_rgba_to_ubyte(clear, color);
/external/mesa3d/src/mesa/drivers/dri/intel/
H A Dintel_blit.c328 GLfloat *color = ctx->Color.ClearColor.f; local
330 _mesa_unclamped_float_rgba_to_ubyte(clear, color);
/external/mesa3d/src/mesa/drivers/dri/r200/
H A Dradeon_screen.c623 /* front color renderbuffer */
628 /* back color renderbuffer */
658 GL_FALSE, /* color */
725 int color; local
751 for (color = 0; color < ARRAY_SIZE(fb_format); color++) {
754 new_configs = driCreateConfigs(fb_format[color], fb_type[color],
/external/mesa3d/src/mesa/drivers/dri/radeon/
H A Dradeon_screen.c623 /* front color renderbuffer */
628 /* back color renderbuffer */
658 GL_FALSE, /* color */
725 int color; local
751 for (color = 0; color < ARRAY_SIZE(fb_format); color++) {
754 new_configs = driCreateConfigs(fb_format[color], fb_type[color],
/external/mesa3d/src/mesa/main/
H A Deval.c1014 static GLfloat color[4] = { 1.0, 1.0, 1.0, 1.0 }; local
1021 init_1d_map( &ctx->EvalMap.Map1Color4, 4, color );
1033 init_2d_map( &ctx->EvalMap.Map2Color4, 4, color );

Completed in 1200 milliseconds

<<11121314151617181920>>