Home
last modified time | relevance | path

Searched refs:texs (Results 1 – 25 of 39) 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.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/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/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/mesa3d/src/gallium/drivers/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()
748 memset(rb_pipe->curr.texs[shader], 0, sizeof(rb_pipe->curr.texs[shader])); in rbug_set_sampler_views()
755 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/skia/src/core/
DSkLiteDL.cpp387 DrawPatch(const SkPoint cubics[12], const SkColor colors[4], const SkPoint texs[4], in DrawPatch()
393 if (texs ) { copy_v(this->texs , texs , 4); has_texs = true; } in DrawPatch()
397 SkPoint texs[4]; member
403 c->drawPatch(cubics, has_colors ? colors : nullptr, has_texs ? texs : nullptr, in draw()
449 auto texs = pod<SkRect>(this, count*sizeof(SkRSXform)); in draw() local
453 c->drawAtlas(atlas.get(), xforms, texs, colors, count, xfermode, in draw()
613 void SkLiteDL::drawPatch(const SkPoint points[12], const SkColor colors[4], const SkPoint texs[4], in drawPatch()
615 this->push<DrawPatch>(0, points, colors, texs, bmode, paint); in drawPatch()
631 void SkLiteDL::drawAtlas(const SkImage* atlas, const SkRSXform xforms[], const SkRect texs[], in drawAtlas() argument
641 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.cpp175 const SkRect texs[], in onDrawAtlas() argument
181 fDL->drawAtlas(atlas, xforms, texs, colors, count, bmode, cull, paint); in onDrawAtlas()
DSkOverdrawCanvas.cpp167 const SkRect texs[], const SkColor colors[], int count, in onDrawAtlas() argument
176 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/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/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()

12