Home
last modified time | relevance | path

Searched refs:texs (Results 1 – 25 of 36) sorted by relevance

12

/external/skqp/samplecode/
Dvertexdump.cpp9 void setup_vertexbug(SkPoint verts[], SkPoint texs[], uint16_t index[]);
11 void setup_vertexbug(SkPoint verts[], SkPoint texs[], uint16_t index[]) { in setup_vertexbug() argument
13 texs[0].set(0, 0); in setup_vertexbug()
15 texs[1].set(9, 0); in setup_vertexbug()
17 texs[2].set(35, 0); in setup_vertexbug()
19 texs[3].set(44, 0); in setup_vertexbug()
21 texs[4].set(0, 9); in setup_vertexbug()
23 texs[5].set(9, 9); in setup_vertexbug()
25 texs[6].set(35, 9); in setup_vertexbug()
27 texs[7].set(44, 9); in setup_vertexbug()
[all …]
/external/skia/samplecode/
Dvertexdump.cpp9 void setup_vertexbug(SkPoint verts[], SkPoint texs[], uint16_t index[]);
11 void setup_vertexbug(SkPoint verts[], SkPoint texs[], uint16_t index[]) { in setup_vertexbug() argument
13 texs[0].set(0, 0); in setup_vertexbug()
15 texs[1].set(9, 0); in setup_vertexbug()
17 texs[2].set(35, 0); in setup_vertexbug()
19 texs[3].set(44, 0); in setup_vertexbug()
21 texs[4].set(0, 9); in setup_vertexbug()
23 texs[5].set(9, 9); in setup_vertexbug()
25 texs[6].set(35, 9); in setup_vertexbug()
27 texs[7].set(44, 9); in setup_vertexbug()
[all …]
/external/skqp/gm/
Dvertices.cpp56 static void fill_mesh(SkPoint pts[kMeshVertexCnt], SkPoint texs[kMeshVertexCnt], in fill_mesh()
69 texs[0].set(0, 0); in fill_mesh()
70 texs[1].set(shaderSize / 2, 0); in fill_mesh()
71 texs[2].set(shaderSize, 0); in fill_mesh()
72 texs[3].set(0, shaderSize / 2); in fill_mesh()
73 texs[4].set(shaderSize / 2, shaderSize / 2); in fill_mesh()
74 texs[5].set(shaderSize, shaderSize / 2); in fill_mesh()
75 texs[6].set(0, shaderSize); in fill_mesh()
76 texs[7].set(shaderSize / 2, shaderSize); in fill_mesh()
77 texs[8].set(shaderSize, shaderSize); in fill_mesh()
[all …]
/external/skia/gm/
Dvertices.cpp72 static void fill_mesh(SkPoint pts[kMeshVertexCnt], SkPoint texs[kMeshVertexCnt], in fill_mesh()
85 texs[0].set(0, 0); in fill_mesh()
86 texs[1].set(shaderSize / 2, 0); in fill_mesh()
87 texs[2].set(shaderSize, 0); in fill_mesh()
88 texs[3].set(0, shaderSize / 2); in fill_mesh()
89 texs[4].set(shaderSize / 2, shaderSize / 2); in fill_mesh()
90 texs[5].set(shaderSize, shaderSize / 2); in fill_mesh()
91 texs[6].set(0, shaderSize); in fill_mesh()
92 texs[7].set(shaderSize / 2, shaderSize); in fill_mesh()
93 texs[8].set(shaderSize, shaderSize); in fill_mesh()
[all …]
/external/skqp/include/core/
DSkVertices.h114 const SkPoint texs[],
124 const SkPoint texs[],
132 texs,
143 const SkPoint texs[],
151 texs,
162 const SkPoint texs[],
165 return MakeCopy(mode, vertexCount, positions, texs, colors, nullptr, nullptr, isVolatile);
/external/skia/include/core/
DSkVertices.h114 const SkPoint texs[],
124 const SkPoint texs[],
132 texs,
143 const SkPoint texs[],
151 texs,
162 const SkPoint texs[],
165 return MakeCopy(mode, vertexCount, positions, texs, colors, nullptr, nullptr, isVolatile);
/external/skia/docs/examples/
DCanvas_drawVertices_2.cpp9 SkPoint texs[] = { { 0, 0 }, { 0, 250 }, { 250, 250 }, { 250, 0 } }; in draw() local
13 SK_ARRAY_COUNT(points), points, texs, colors); in draw()
Ddraw_vertices.cpp19 SkPoint texs[3] = {{0, 0}, {0, 128}, {64, 256}}; in draw() local
21 SkVertices::MakeCopy(SkVertices::kTriangles_VertexMode, 3, pts, texs, nullptr), in draw()
/external/mesa3d/src/gallium/auxiliary/driver_rbug/
Drbug_core.c183 rbug_texture_t *texs; in rbug_texture_list() local
187 texs = MALLOC(rb_screen->num_resources * sizeof(rbug_texture_t)); in rbug_texture_list()
190 texs[i++] = VOID2U64(tr_tex); in rbug_texture_list()
194 rbug_send_texture_list_reply(tr_rbug->con, serial, texs, i, NULL); in rbug_texture_list()
195 FREE(texs); in rbug_texture_list()
327 rbug_texture_t texs[PIPE_MAX_SHADER_SAMPLER_VIEWS]; in rbug_context_info() local
347 texs[i] = VOID2U64(rb_context->curr.texs[PIPE_SHADER_FRAGMENT][i]); in rbug_context_info()
351 texs, rb_context->curr.num_views[PIPE_SHADER_FRAGMENT], in rbug_context_info()
Drbug_context.h52 struct rbug_resource *texs[PIPE_SHADER_TYPES][PIPE_MAX_SHADER_SAMPLER_VIEWS]; member
Drbug_context.c92 if (rb_pipe->draw_rule.texture == rb_pipe->curr.texs[sh][k]) { in rbug_draw_block_locked()
753 memset(rb_pipe->curr.texs[shader], 0, sizeof(rb_pipe->curr.texs[shader])); in rbug_set_sampler_views()
760 rb_pipe->curr.texs[shader][i] = rbug_resource(_views[i] ? _views[i]->texture : NULL); in rbug_set_sampler_views()
/external/skqp/src/core/
DSkLiteDL.cpp381 DrawPatch(const SkPoint cubics[12], const SkColor colors[4], const SkPoint texs[4], in DrawPatch()
387 if (texs ) { copy_v(this->texs , texs , 4); has_texs = true; } in DrawPatch()
391 SkPoint texs[4]; member
397 c->drawPatch(cubics, has_colors ? colors : nullptr, has_texs ? texs : nullptr, in draw()
443 auto texs = pod<SkRect>(this, count*sizeof(SkRSXform)); in draw() local
447 c->drawAtlas(atlas.get(), xforms, texs, colors, count, xfermode, in draw()
604 void SkLiteDL::drawPatch(const SkPoint points[12], const SkColor colors[4], const SkPoint texs[4], in drawPatch()
606 this->push<DrawPatch>(0, points, colors, texs, bmode, paint); in drawPatch()
622 void SkLiteDL::drawAtlas(const SkImage* atlas, const SkRSXform xforms[], const SkRect texs[], in drawAtlas() argument
632 texs, count, in drawAtlas()
DSkDraw_vertices.cpp58 texture_to_matrix(const VertState& state, const SkPoint verts[], const SkPoint texs[], in texture_to_matrix() argument
62 src[0] = texs[state.f0]; in texture_to_matrix()
63 src[1] = texs[state.f1]; in texture_to_matrix()
64 src[2] = texs[state.f2]; in texture_to_matrix()
DSkVertices.cpp277 const SkPoint pos[], const SkPoint texs[], in MakeCopy() argument
287 texs != nullptr, in MakeCopy()
298 sk_careful_memcpy(builder.texCoords(), texs, sizes.fTSize); in MakeCopy()
DSkLiteRecorder.cpp172 const SkRect texs[], in onDrawAtlas() argument
178 fDL->drawAtlas(atlas, xforms, texs, colors, count, bmode, cull, paint); in onDrawAtlas()
DSkOverdrawCanvas.cpp163 const SkRect texs[], const SkColor colors[], int count, in onDrawAtlas() argument
172 fList[0]->onDrawAtlas(image, xform, texs, colors, count, mode, cull, paintPtr); in onDrawAtlas()
DSkColorSpaceXformCanvas.cpp83 void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], const SkPoint texs[4], in onDrawPatch()
91 fTarget->drawPatch(cubics, colors, texs, mode, fXformer->apply(paint)); in onDrawPatch()
/external/mesa3d/src/gallium/auxiliary/rbug/
Drbug_context.h115 rbug_texture_t *texs; member
176 rbug_texture_t *texs,
Drbug_context.c373 rbug_texture_t *texs, in rbug_send_context_info_reply() argument
391 LEN_ARRAY(8, texs); /* texs */ in rbug_send_context_info_reply()
409 WRITE_ARRAY(8, rbug_texture_t, texs); /* texs */ in rbug_send_context_info_reply()
713 READ_ARRAY(8, rbug_texture_t, texs); /* texs */ in rbug_demarshal_context_info_reply()
/external/skia/src/core/
DSkDraw_vertices.cpp116 texture_to_matrix(const VertState& state, const SkPoint verts[], const SkPoint texs[], in texture_to_matrix() argument
120 src[0] = texs[state.f0]; in texture_to_matrix()
121 src[1] = texs[state.f1]; in texture_to_matrix()
122 src[2] = texs[state.f2]; in texture_to_matrix()
DSkVertices.cpp277 const SkPoint pos[], const SkPoint texs[], in MakeCopy() argument
287 texs != nullptr, in MakeCopy()
298 sk_careful_memcpy(builder.texCoords(), texs, sizes.fTSize); in MakeCopy()
DSkOverdrawCanvas.cpp145 const SkRect texs[], const SkColor colors[], int count, in onDrawAtlas() argument
154 fList[0]->onDrawAtlas(image, xform, texs, colors, count, mode, cull, paintPtr); in onDrawAtlas()
/external/skia/bench/
DVertBench.cpp118 const SkPoint* texs = (fFlags & kTexture_VertFlag) ? fPts : nullptr; in onDraw() local
121 fPts, texs, cols, IDX, fIdx); in onDraw()
/external/skqp/src/utils/
DSkPatchUtils.cpp284 SkPoint* texs = builder.texCoords(); in MakeVertices() local
339 if (texs) { in MakeVertices()
340 texs[dataIndex] = SkPoint::Make(bilerp(u, v, srcTexCoords[kTopLeft_Corner].x(), in MakeVertices()
/external/skia/src/utils/
DSkPatchUtils.cpp284 SkPoint* texs = builder.texCoords(); in MakeVertices() local
339 if (texs) { in MakeVertices()
340 texs[dataIndex] = SkPoint::Make(bilerp(u, v, srcTexCoords[kTopLeft_Corner].x(), in MakeVertices()

12