Searched refs:texs (Results 1 - 25 of 40) sorted by relevance

12

/external/skia/samplecode/
H A Dvertexdump.cpp9 void setup_vertexbug(SkPoint verts[], SkPoint texs[], uint16_t index[]);
11 void setup_vertexbug(SkPoint verts[], SkPoint texs[], uint16_t index[]) { argument
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[
[all...]
/external/skqp/samplecode/
H A Dvertexdump.cpp9 void setup_vertexbug(SkPoint verts[], SkPoint texs[], uint16_t index[]);
11 void setup_vertexbug(SkPoint verts[], SkPoint texs[], uint16_t index[]) { argument
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[
[all...]
/external/skia/gm/
H A Dvertices.cpp56 static void fill_mesh(SkPoint pts[kMeshVertexCnt], SkPoint texs[kMeshVertexCnt], argument
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[
170 const SkPoint* texs = attrs.fHasTexs ? fTexs : nullptr; variable
203 SkPoint* texs = builder.texCoords(); local
[all...]
/external/skqp/gm/
H A Dvertices.cpp56 static void fill_mesh(SkPoint pts[kMeshVertexCnt], SkPoint texs[kMeshVertexCnt], argument
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[
170 const SkPoint* texs = attrs.fHasTexs ? fTexs : nullptr; variable
203 SkPoint* texs = builder.texCoords(); local
[all...]
/external/skia/include/core/
H A DSkVertices.h31 * 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);
41 MakeCopy(VertexMode mode, int vertexCount, const SkPoint positions[], const SkPoint texs[], const SkColor colors[]) argument
/external/skqp/include/core/
H A DSkVertices.h31 * 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);
41 MakeCopy(VertexMode mode, int vertexCount, const SkPoint positions[], const SkPoint texs[], const SkColor colors[]) argument
/external/mesa3d/src/gallium/drivers/rbug/
H A Drbug_context.h52 struct rbug_resource *texs[PIPE_SHADER_TYPES][PIPE_MAX_SHADER_SAMPLER_VIEWS]; member in struct:rbug_context::__anon16415
H A Drbug_core.c182 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],
H A Drbug_context.c92 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);
/external/mesa3d/src/gallium/auxiliary/rbug/
H A Drbug_context.h115 rbug_texture_t *texs; member in struct:rbug_proto_context_info_reply
176 rbug_texture_t *texs,
H A Drbug_context.c373 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 */
369 rbug_send_context_info_reply(struct rbug_connection *__con, uint32_t serial, rbug_shader_t vertex, rbug_shader_t fragment, rbug_texture_t *texs, uint32_t texs_len, rbug_texture_t *cbufs, uint32_t cbufs_len, rbug_texture_t zsbuf, rbug_block_t blocker, rbug_block_t blocked, uint32_t *__serial) argument
/external/skia/src/core/
H A DSkLiteDL.cpp429 DrawPatch(const SkPoint cubics[12], const SkColor colors[4], const SkPoint texs[4], argument
435 if (texs ) { copy_v(this->texs , texs , 4); has_texs = true; }
439 SkPoint texs[4]; member in struct:__anon20677::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, bmod
[all...]
H A DSkVertices.cpp127 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[]
126 MakeCopy(VertexMode mode, int vertexCount, const SkPoint pos[], const SkPoint texs[], const SkColor colors[], int indexCount, const uint16_t indices[]) argument
H A DSkDraw_vertices.cpp59 texture_to_matrix(const VertState& state, const SkPoint verts[], const SkPoint texs[], argument
63 src[0] = texs[state.f0];
64 src[1] = texs[state.f1];
65 src[2] = texs[state.f2];
H A DSkLiteRecorder.cpp191 const SkRect texs[],
197 fDL->drawAtlas(atlas, xforms, texs, colors, count, bmode, cull, paint);
189 onDrawAtlas(const SkImage* atlas, const SkRSXform xforms[], const SkRect texs[], const SkColor colors[], int count, SkBlendMode bmode, const SkRect* cull, const SkPaint* paint) argument
H A DSkOverdrawCanvas.cpp222 const SkRect texs[], const SkColor colors[], int count,
231 fList[0]->onDrawAtlas(image, xform, texs, colors, count, mode, cull, paintPtr);
221 onDrawAtlas(const SkImage* image, const SkRSXform xform[], const SkRect texs[], const SkColor colors[], int count, SkBlendMode mode, const SkRect* cull, const SkPaint* paint) argument
H A DSkColorSpaceXformCanvas.cpp78 void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], const SkPoint texs[4],
86 fTarget->drawPatch(cubics, colors, texs, mode, fXformer->apply(paint));
/external/skqp/src/core/
H A DSkLiteDL.cpp429 DrawPatch(const SkPoint cubics[12], const SkColor colors[4], const SkPoint texs[4], argument
435 if (texs ) { copy_v(this->texs , texs , 4); has_texs = true; }
439 SkPoint texs[4]; member in struct:__anon21345::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, bmod
[all...]
H A DSkVertices.cpp127 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[]
126 MakeCopy(VertexMode mode, int vertexCount, const SkPoint pos[], const SkPoint texs[], const SkColor colors[], int indexCount, const uint16_t indices[]) argument
H A DSkDraw_vertices.cpp59 const SkPoint texs[], SkMatrix* matrix) {
62 src[0] = texs[state.f0];
63 src[1] = texs[state.f1];
64 src[2] = texs[state.f2];
58 texture_to_matrix(const VertState& state, const SkPoint verts[], const SkPoint texs[], SkMatrix* matrix) argument
H A DSkLiteRecorder.cpp191 const SkRect texs[],
197 fDL->drawAtlas(atlas, xforms, texs, colors, count, bmode, cull, paint);
189 onDrawAtlas(const SkImage* atlas, const SkRSXform xforms[], const SkRect texs[], const SkColor colors[], int count, SkBlendMode bmode, const SkRect* cull, const SkPaint* paint) argument
H A DSkOverdrawCanvas.cpp222 const SkRect texs[], const SkColor colors[], int count,
231 fList[0]->onDrawAtlas(image, xform, texs, colors, count, mode, cull, paintPtr);
221 onDrawAtlas(const SkImage* image, const SkRSXform xform[], const SkRect texs[], const SkColor colors[], int count, SkBlendMode mode, const SkRect* cull, const SkPaint* paint) argument
H A DSkColorSpaceXformCanvas.cpp78 void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], const SkPoint texs[4],
86 fTarget->drawPatch(cubics, colors, texs, mode, fXformer->apply(paint));
/external/skia/src/utils/
H A DSkPatchUtils.cpp334 SkPoint* texs = builder.texCoords(); local
407 if (texs) {
408 texs[dataIndex] = SkPoint::Make(bilerp(u, v, srcTexCoords[kTopLeft_Corner].x(),
/external/skqp/src/utils/
H A DSkPatchUtils.cpp334 SkPoint* texs = builder.texCoords(); local
407 if (texs) {
408 texs[dataIndex] = SkPoint::Make(bilerp(u, v, srcTexCoords[kTopLeft_Corner].x(),

Completed in 718 milliseconds

12