/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/renderers/ |
ModelInstanceRenderer.java | 64 int colorOffset = i*renderData.colorChannel.strideSize; 67 colorAttribute.color.r = renderData.colorChannel.data[colorOffset +ParticleChannels.RedOffset]; 68 colorAttribute.color.g = renderData.colorChannel.data[colorOffset +ParticleChannels.GreenOffset]; 69 colorAttribute.color.b = renderData.colorChannel.data[colorOffset +ParticleChannels.BlueOffset]; 71 blendingAttribute.opacity = renderData.colorChannel.data[colorOffset +ParticleChannels.AlphaOffset];
|
/external/skia/src/gpu/batches/ |
GrDrawVerticesBatch.cpp | 15 int* colorOffset, 21 *colorOffset = -1; 26 *colorOffset = sizeof(SkPoint); 96 int colorOffset = -1, texOffset = -1; 98 set_vertex_attributes(hasLocalCoords, &colorOffset, &texOffset, fViewMatrix, 147 *(GrColor*)((intptr_t)verts + colorOffset) = args.fColor; 149 *(GrColor*)((intptr_t)verts + colorOffset) = args.fColors[j];
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/batches/ |
BillboardParticleBatch.java | 384 int colorOffset = p*colorChannel.strideSize; 395 float r = colorChannel.data[colorOffset +ParticleChannels.RedOffset]; 396 float g = colorChannel.data[colorOffset +ParticleChannels.GreenOffset]; 397 float b = colorChannel.data[colorOffset +ParticleChannels.BlueOffset]; 398 float a = colorChannel.data[colorOffset +ParticleChannels.AlphaOffset]; 430 int colorOffset = p*colorChannel.strideSize; 442 float r = colorChannel.data[colorOffset +ParticleChannels.RedOffset]; 443 float g = colorChannel.data[colorOffset +ParticleChannels.GreenOffset]; 444 float b = colorChannel.data[colorOffset +ParticleChannels.BlueOffset]; 445 float a = colorChannel.data[colorOffset +ParticleChannels.AlphaOffset] [all...] |
PointSpriteParticleBatch.java | 114 int colorOffset = p*colorChannel.strideSize; 120 vertices[offset + CPU_COLOR_OFFSET] = colorChannel.data[colorOffset + ParticleChannels.RedOffset]; 121 vertices[offset + CPU_COLOR_OFFSET+1] = colorChannel.data[colorOffset + ParticleChannels.GreenOffset]; 122 vertices[offset + CPU_COLOR_OFFSET+2] = colorChannel.data[colorOffset + ParticleChannels.BlueOffset]; 123 vertices[offset + CPU_COLOR_OFFSET+3] = colorChannel.data[colorOffset + ParticleChannels.AlphaOffset];
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/glutils/ |
ImmediateModeRenderer20.java | 44 private final int colorOffset;
71 colorOffset = mesh.getVertexAttribute(Usage.ColorPacked) != null ? mesh.getVertexAttribute(Usage.ColorPacked).offset / 4
108 vertices[vertexIdx + colorOffset] = color.toFloatBits();
112 vertices[vertexIdx + colorOffset] = Color.toFloatBits(r, g, b, a);
116 vertices[vertexIdx + colorOffset] = colorBits;
|
/external/skia/src/gpu/text/ |
GrAtlasTextBlob_regenInBatch.cpp | 61 intptr_t colorOffset = sizeof(SkPoint); 72 SkColor* vcolor = reinterpret_cast<SkColor*>(vertex + colorOffset); 91 SkColor* vcolor = reinterpret_cast<SkColor*>(vertex + colorOffset); 110 SkColor* vcolor = reinterpret_cast<SkColor*>(vertex + colorOffset); 129 SkColor* vcolor = reinterpret_cast<SkColor*>(vertex + colorOffset);
|
/external/skia/src/effects/ |
SkDisplacementMapEffect.cpp | 219 SkIPoint colorOffset = SkIPoint::Make(0, 0), displOffset = SkIPoint::Make(0, 0); 220 if (!this->filterInputDeprecated(1, proxy, src, ctx, &color, &colorOffset) || 232 srcBounds.offset(colorOffset); 258 colorBounds.offset(-colorOffset); 261 &displ, colorOffset - displOffset, &color, colorBounds); 393 SkIPoint colorOffset = SkIPoint::Make(0, 0); 394 if (!this->filterInputGPUDeprecated(1, proxy, src, ctx, &colorBM, &colorOffset)) { 403 srcBounds.offset(colorOffset); 439 offsetMatrix.preTranslate(SkIntToScalar(colorOffset.fX - displacementOffset.fX), 440 SkIntToScalar(colorOffset.fY - displacementOffset.fY)) [all...] |
/external/mesa3d/src/mesa/drivers/dri/i915/ |
intel_tris.c | 653 #define VERT_SET_RGBA( v, c ) if (coloroffset) INTEL_COLOR( v->ub4[coloroffset], c ) 654 #define VERT_COPY_RGBA( v0, v1 ) if (coloroffset) v0->ui[coloroffset] = v1->ui[coloroffset] 655 #define VERT_SAVE_RGBA( idx ) if (coloroffset) color[idx] = v[idx]->ui[coloroffset] 656 #define VERT_RESTORE_RGBA( idx ) if (coloroffset) v[idx]->ui[coloroffset] = color[idx] 666 GLuint coloroffset = intel->coloroffset; [all...] |
i830_vtbl.c | 98 intel->coloroffset = 4; 102 intel->coloroffset = 3; 115 intel->specoffset = intel->coloroffset + 1;
|
i915_fragprog.c | [all...] |
/external/mesa3d/src/mesa/drivers/dri/r200/ |
r200_swtcl.c | 119 rmesa->swtcl.coloroffset = offset; 436 radeon_color_t *color = (radeon_color_t *)&((v)->ui[coloroffset]); \ 443 #define VERT_COPY_RGBA( v0, v1 ) v0->ui[coloroffset] = v1->ui[coloroffset] 468 #define VERT_SAVE_RGBA( idx ) color[idx] = v[idx]->ui[coloroffset] 469 #define VERT_RESTORE_RGBA( idx ) v[idx]->ui[coloroffset] = color[idx] 480 GLuint coloroffset = rmesa->swtcl.coloroffset; \ 482 (void) color; (void) spec; (void) coloroffset; (void) specoffset;
|
r200_context.h | 554 GLuint coloroffset; member in struct:r200_swtcl_info
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
radeon_swtcl.c | 127 rmesa->swtcl.coloroffset = offset; 558 radeon_color_t *color = (radeon_color_t *)&((v)->ui[coloroffset]); \ 565 #define VERT_COPY_RGBA( v0, v1 ) v0->ui[coloroffset] = v1->ui[coloroffset] 590 #define VERT_SAVE_RGBA( idx ) color[idx] = v[idx]->ui[coloroffset] 591 #define VERT_RESTORE_RGBA( idx ) v[idx]->ui[coloroffset] = color[idx] 602 GLuint coloroffset = rmesa->swtcl.coloroffset; \ 604 (void) color; (void) spec; (void) coloroffset; (void) specoffset;
|
radeon_context.h | 376 GLuint coloroffset; member in struct:r100_swtcl_info
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/ |
NopCanvas.java | 240 int vertOffset, int[] colors, int colorOffset, Paint paint) { 245 float[] texs, int texOffset, int[] colors, int colorOffset, short[] indices,
|
/frameworks/base/graphics/java/android/graphics/ |
Canvas.java | [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
CanvasTest.java | [all...] |
/external/mesa3d/src/mesa/drivers/dri/intel/ |
intel_context.h | 266 GLuint coloroffset; member in struct:intel_context
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
Canvas_Delegate.java | [all...] |
/external/mesa3d/src/gallium/drivers/r300/ |
r300_context.h | 318 uint32_t offset; /* COLOROFFSET or DEPTHOFFSET. */
|