| /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/skqp/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...] |
| /external/skqp/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 | 1225 final float[] texs = new float[10]; local 1240 final float[] texs = new float[10]; local 1255 final float[] texs = new float[10]; local 1270 final float[] texs = new float[10]; local 1285 final float[] texs = new float[10]; local [all...] |
| /external/skia/include/core/ |
| SkVertices.h | 31 * Create a vertices by copying the specified arrays. texs and colors may be nullptr, 36 const SkPoint texs[], 43 const SkPoint texs[], 45 return MakeCopy(mode, vertexCount, positions, texs, colors, 0, nullptr);
|
| /external/skqp/include/core/ |
| SkVertices.h | 31 * Create a vertices by copying the specified arrays. texs and colors may be nullptr, 36 const SkPoint texs[], 43 const SkPoint texs[], 45 return MakeCopy(mode, vertexCount, positions, texs, colors, 0, nullptr);
|
| /external/skia/tests/ |
| SRGBMipMapTest.cpp | 88 const int texS = rtS * 2; 105 uint32_t texData[texS * texS]; 106 for (int y = 0; y < texS; ++y) { 107 for (int x = 0; x < texS; ++x) { 108 texData[y * texS + x] = colors[(x + y) % 2]; 130 desc.fWidth = texS; 131 desc.fHeight = texS;
|
| /external/skqp/tests/ |
| SRGBMipMapTest.cpp | 88 const int texS = rtS * 2; 105 uint32_t texData[texS * texS]; 106 for (int y = 0; y < texS; ++y) { 107 for (int x = 0; x < texS; ++x) { 108 texData[y * texS + x] = colors[(x + y) % 2]; 130 desc.fWidth = texS; 131 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::__anon29760
|
| 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],
|
| /external/skia/src/core/ |
| SkVertices.cpp | 127 const SkPoint pos[], const SkPoint texs[], 130 Sizes sizes(vertexCount, indexCount, texs != nullptr, colors != nullptr); 139 sk_careful_memcpy(builder.texCoords(), texs, sizes.fTSize); 154 // storage = packed | vertex_count | index_count | pos[] | texs[] | colors[] | indices[]
|
| SkLiteDL.cpp | 429 DrawPatch(const SkPoint cubics[12], const SkColor colors[4], const SkPoint texs[4], 435 if (texs ) { copy_v(this->texs , texs , 4); has_texs = true; } 439 SkPoint texs[4]; member in struct:__anon34009::final 445 c->drawPatch(cubics, has_colors ? colors : nullptr, has_texs ? texs : nullptr, 487 auto texs = pod<SkRect>(this, count*sizeof(SkRSXform)); local 491 c->drawAtlas(atlas.get(), xforms, texs, colors, count, xfermode, 670 void SkLiteDL::drawPatch(const SkPoint points[12], const SkColor colors[4], const SkPoint texs[4], 672 this->push<DrawPatch>(0, points, colors, texs, bmode, paint) [all...] |
| SkDraw_vertices.cpp | 59 texture_to_matrix(const VertState& state, const SkPoint verts[], const SkPoint texs[], 63 src[0] = texs[state.f0]; 64 src[1] = texs[state.f1]; 65 src[2] = texs[state.f2];
|
| SkLiteRecorder.cpp | 191 const SkRect texs[], 197 fDL->drawAtlas(atlas, xforms, texs, colors, count, bmode, cull, paint);
|
| /external/skqp/src/core/ |
| SkVertices.cpp | 127 const SkPoint pos[], const SkPoint texs[], 130 Sizes sizes(vertexCount, indexCount, texs != nullptr, colors != nullptr); 139 sk_careful_memcpy(builder.texCoords(), texs, sizes.fTSize); 154 // storage = packed | vertex_count | index_count | pos[] | texs[] | colors[] | indices[]
|
| SkLiteDL.cpp | 429 DrawPatch(const SkPoint cubics[12], const SkColor colors[4], const SkPoint texs[4], 435 if (texs ) { copy_v(this->texs , texs , 4); has_texs = true; } 439 SkPoint texs[4]; member in struct:__anon34677::final 445 c->drawPatch(cubics, has_colors ? colors : nullptr, has_texs ? texs : nullptr, 487 auto texs = pod<SkRect>(this, count*sizeof(SkRSXform)); local 491 c->drawAtlas(atlas.get(), xforms, texs, colors, count, xfermode, 670 void SkLiteDL::drawPatch(const SkPoint points[12], const SkColor colors[4], const SkPoint texs[4], 672 this->push<DrawPatch>(0, points, colors, texs, bmode, paint) [all...] |
| SkDraw_vertices.cpp | 59 const SkPoint texs[], SkMatrix* matrix) { 62 src[0] = texs[state.f0]; 63 src[1] = texs[state.f1]; 64 src[2] = texs[state.f2];
|
| SkLiteRecorder.cpp | 191 const SkRect texs[], 197 fDL->drawAtlas(atlas, xforms, texs, colors, count, bmode, cull, paint);
|
| /frameworks/base/core/java/android/view/ |
| RecordingCanvas.java | 524 @NonNull float[] verts, int vertOffset, @Nullable float[] texs, int texOffset, 531 if (texs != null) { 532 checkRange(texs.length, texOffset, vertexCount); 541 vertOffset, texs, texOffset, colors, colorOffset, 622 int vertOffset, float[] texs, int texOffset, int[] colors, int colorOffset,
|
| /frameworks/base/graphics/java/android/graphics/ |
| BaseCanvas.java | 509 int vertOffset, @Nullable float[] texs, int texOffset, @Nullable int[] colors, 516 if (texs != null) { 517 checkRange(texs.length, texOffset, vertexCount); 527 vertOffset, texs, texOffset, colors, colorOffset, 638 int vertOffset, float[] texs, int texOffset, int[] colors, int colorOffset,
|
| /external/skia/src/utils/ |
| SkPatchUtils.cpp | 334 SkPoint* texs = builder.texCoords(); local 407 if (texs) { 408 texs[dataIndex] = SkPoint::Make(bilerp(u, v, srcTexCoords[kTopLeft_Corner].x(),
|