/external/skia/samplecode/ |
vertexdump.cpp | 9 void setup_vertexbug(SkPoint verts[], SkPoint texs[], uint16_t index[]); 11 void setup_vertexbug(SkPoint verts[], SkPoint texs[], uint16_t index[]) { 13 texs[0].set(0, 0); 15 texs[1].set(9, 0); 17 texs[2].set(35, 0); 19 texs[3].set(44, 0); 21 texs[4].set(0, 9); 23 texs[5].set(9, 9); 25 texs[6].set(35, 9); 27 texs[7].set(44, 9) [all...] |
/external/skia/gm/ |
vertices.cpp | 56 static void fill_mesh(SkPoint pts[kMeshVertexCnt], SkPoint texs[kMeshVertexCnt], 69 texs[0].set(0, 0); 70 texs[1].set(shaderSize / 2, 0); 71 texs[2].set(shaderSize, 0); 72 texs[3].set(0, shaderSize / 2); 73 texs[4].set(shaderSize / 2, shaderSize / 2); 74 texs[5].set(shaderSize, shaderSize / 2); 75 texs[6].set(0, shaderSize); 76 texs[7].set(shaderSize / 2, shaderSize); 77 texs[8].set(shaderSize, shaderSize) 170 const SkPoint* texs = attrs.fHasTexs ? fTexs : nullptr; variable 203 SkPoint* texs = builder.texCoords(); local [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
Canvas_VertexModeTest.java | 51 float[] texs = new float[10]; local 62 texs, 75 texs, 88 texs,
|
CanvasTest.java | 1672 final float[] texs = new float[10]; local 1687 final float[] texs = new float[10]; local 1702 final float[] texs = new float[10]; local 1717 final float[] texs = new float[10]; local 1732 final float[] texs = new float[10]; local [all...] |
/external/skia/include/core/ |
SkVertices.h | 29 * Create a vertices by copying the specified arrays. texs and colors may be nullptr, 34 const SkPoint texs[], 41 const SkPoint texs[], 43 return MakeCopy(mode, vertexCount, positions, texs, colors, 0, nullptr);
|
/external/skia/tests/ |
SRGBMipMapTest.cpp | 86 const int texS = rtS * 2; 103 uint32_t texData[texS * texS]; 104 for (int y = 0; y < texS; ++y) { 105 for (int x = 0; x < texS; ++x) { 106 texData[y * texS + x] = colors[(x + y) % 2]; 128 desc.fWidth = texS; 129 desc.fHeight = texS;
|
/external/mesa3d/src/gallium/auxiliary/rbug/ |
rbug_context.h | 115 rbug_texture_t *texs; member in struct:rbug_proto_context_info_reply 176 rbug_texture_t *texs,
|
rbug_context.c | 373 rbug_texture_t *texs, 391 LEN_ARRAY(8, texs); /* texs */ 409 WRITE_ARRAY(8, rbug_texture_t, texs); /* texs */ 713 READ_ARRAY(8, rbug_texture_t, texs); /* texs */
|
/external/mesa3d/src/gallium/drivers/rbug/ |
rbug_context.h | 52 struct rbug_resource *texs[PIPE_SHADER_TYPES][PIPE_MAX_SHADER_SAMPLER_VIEWS]; member in struct:rbug_context::__anon27904
|
rbug_core.c | 182 rbug_texture_t *texs; local 186 texs = MALLOC(rb_screen->num_resources * sizeof(rbug_texture_t)); 189 texs[i++] = VOID2U64(tr_tex); 193 rbug_send_texture_list_reply(tr_rbug->con, serial, texs, i, NULL); 194 FREE(texs); 326 rbug_texture_t texs[PIPE_MAX_SHADER_SAMPLER_VIEWS]; local 346 texs[i] = VOID2U64(rb_context->curr.texs[PIPE_SHADER_FRAGMENT][i]); 350 texs, rb_context->curr.num_views[PIPE_SHADER_FRAGMENT],
|
rbug_context.c | 92 if (rb_pipe->draw_rule.texture == rb_pipe->curr.texs[sh][k]) { 748 memset(rb_pipe->curr.texs[shader], 0, sizeof(rb_pipe->curr.texs[shader])); 755 rb_pipe->curr.texs[shader][i] = rbug_resource(_views[i] ? _views[i]->texture : NULL); [all...] |
/external/skia/src/core/ |
SkVertices.cpp | 124 const SkPoint pos[], const SkPoint texs[], 127 Sizes sizes(vertexCount, indexCount, texs != nullptr, colors != nullptr); 136 sk_careful_memcpy(builder.texCoords(), texs, sizes.fTSize); 151 // storage = packed | vertex_count | index_count | pos[] | texs[] | colors[] | indices[]
|
SkLiteDL.cpp | 415 DrawPatch(const SkPoint cubics[12], const SkColor colors[4], const SkPoint texs[4], 421 if (texs ) { copy_v(this->texs , texs , 4); has_texs = true; } 425 SkPoint texs[4]; member in struct:__anon30901::final 431 c->drawPatch(cubics, has_colors ? colors : nullptr, has_texs ? texs : nullptr, 473 auto texs = pod<SkRect>(this, count*sizeof(SkRSXform)); local 477 c->drawAtlas(atlas.get(), xforms, texs, colors, count, xfermode, 652 void SkLiteDL::drawPatch(const SkPoint points[12], const SkColor colors[4], const SkPoint texs[4], 654 this->push<DrawPatch>(0, points, colors, texs, bmode, paint) [all...] |
SkDraw_vertices.cpp | 60 const SkPoint texs[], SkMatrix* matrix) { 63 src[0] = texs[state.f0]; 64 src[1] = texs[state.f1]; 65 src[2] = texs[state.f2];
|
SkLiteRecorder.cpp | 189 const SkRect texs[], 195 fDL->drawAtlas(atlas, xforms, texs, colors, count, bmode, cull, paint);
|
SkColorSpaceXformCanvas.cpp | 78 void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], const SkPoint texs[4], 86 fTarget->drawPatch(cubics, colors, texs, mode, fXformer->apply(paint));
|
SkOverdrawCanvas.cpp | 222 const SkRect texs[], const SkColor colors[], int count, 231 fList[0]->onDrawAtlas(image, xform, texs, colors, count, mode, cull, paintPtr);
|
SkRecords.h | 341 PODArray<SkRect> texs;
|
SkPicturePlayback.cpp | 672 const SkPoint* texs = nullptr; local 677 texs = (const SkPoint*)reader->skip(vCount * sizeof(SkPoint)); 696 canvas->drawVertices(SkVertices::MakeCopy(vmode, vCount, verts, texs, colors,
|
/frameworks/base/core/java/android/view/ |
RecordingCanvas.java | 514 @NonNull float[] verts, int vertOffset, @Nullable float[] texs, int texOffset, 521 if (texs != null) { 522 checkRange(texs.length, texOffset, vertexCount); 531 vertOffset, texs, texOffset, colors, colorOffset, 612 int vertOffset, float[] texs, int texOffset, int[] colors, int colorOffset,
|
/frameworks/base/graphics/java/android/graphics/ |
BaseCanvas.java | 493 int vertOffset, @Nullable float[] texs, int texOffset, @Nullable int[] colors, 500 if (texs != null) { 501 checkRange(texs.length, texOffset, vertexCount); 511 vertOffset, texs, texOffset, colors, colorOffset, 613 int vertOffset, float[] texs, int texOffset, int[] colors, int colorOffset,
|
Canvas.java | [all...] |
/external/skia/src/utils/ |
SkPatchUtils.cpp | 336 SkPoint* texs = builder.texCoords(); local 409 if (texs) { 410 texs[dataIndex] = SkPoint::Make(bilerp(u, v, srcTexCoords[kTopLeft_Corner].x(),
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/ |
NopCanvas.java | 249 float[] texs, int texOffset, int[] colors, int colorOffset, short[] indices,
|
/external/skia/bench/ |
PatchBench.cpp | 94 vertexMode.set("texs");
|