Home
last modified time | relevance | path

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

/third_party/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[]) { 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[ in setup_vertexbug()
[all...]
/third_party/skia/gm/
H A Dvertices.cpp77 static void fill_mesh(SkPoint pts[kMeshVertexCnt], SkPoint texs[kMeshVertexCnt], in fill_mesh() argument
90 texs[0].set(0, 0); in fill_mesh()
91 texs[1].set(shaderSize / 2, 0); in fill_mesh()
92 texs[2].set(shaderSize, 0); in fill_mesh()
93 texs[3].set(0, shaderSize / 2); in fill_mesh()
94 texs[4].set(shaderSize / 2, shaderSize / 2); in fill_mesh()
95 texs[5].set(shaderSize, shaderSize / 2); in fill_mesh()
96 texs[6].set(0, shaderSize); in fill_mesh()
97 texs[7].set(shaderSize / 2, shaderSize); in fill_mesh()
98 texs[ in fill_mesh()
191 const SkPoint* texs = attrs.fHasTexs ? fTexs : nullptr; global() variable
224 SkPoint* texs = builder.texCoords(); draw_batching() local
[all...]
/third_party/skia/include/core/
H A DSkVertices.h35 * Create a vertices by copying the specified arrays. texs, colors may be nullptr,
40 const SkPoint texs[],
47 const SkPoint texs[], in MakeCopy()
52 texs, in MakeCopy()
45 MakeCopy(VertexMode mode, int vertexCount, const SkPoint positions[], const SkPoint texs[], const SkColor colors[]) MakeCopy() argument
/third_party/skia/docs/examples/
H A Ddraw_vertices.cpp19 SkPoint texs[3] = {{0, 0}, {0, 128}, {64, 256}}; in REG_FIDDLE() local
21 SkVertices::MakeCopy(SkVertices::kTriangles_VertexMode, 3, pts, texs, nullptr), in REG_FIDDLE()
H A DCanvas_drawVertices_2.cpp9 SkPoint texs[] = { { 0, 0 }, { 0, 250 }, { 250, 250 }, { 250, 0 } }; in REG_FIDDLE() local
13 SK_ARRAY_COUNT(points), points, texs, colors); in REG_FIDDLE()
/third_party/mesa3d/src/gallium/auxiliary/driver_rbug/
H A Drbug_core.c174 rbug_texture_t *texs; in rbug_texture_list() local
178 texs = MALLOC(rb_screen->num_resources * sizeof(rbug_texture_t)); in rbug_texture_list()
180 texs[i++] = VOID2U64(tr_tex); in rbug_texture_list()
184 rbug_send_texture_list_reply(tr_rbug->con, serial, texs, i, NULL); in rbug_texture_list()
185 FREE(texs); in rbug_texture_list()
311 rbug_texture_t texs[PIPE_MAX_SHADER_SAMPLER_VIEWS]; in rbug_context_info() local
331 texs[i] = VOID2U64(rb_context->curr.texs[PIPE_SHADER_FRAGMENT][i]); in rbug_context_info()
335 texs, rb_context->curr.num_views[PIPE_SHADER_FRAGMENT], in rbug_context_info()
H A Drbug_context.h52 struct rbug_resource *texs[PIPE_SHADER_TYPES][PIPE_MAX_SHADER_SAMPLER_VIEWS]; member
H A Drbug_context.c91 if (rb_pipe->draw_rule.texture == rb_pipe->curr.texs[sh][k]) { in rbug_draw_block_locked()
758 memset(rb_pipe->curr.texs[shader], 0, sizeof(rb_pipe->curr.texs[shader])); in rbug_set_sampler_views()
765 rb_pipe->curr.texs[shader][i] = rbug_resource(_views[i] ? _views[i]->texture : NULL); in rbug_set_sampler_views()
/third_party/mesa3d/src/gallium/auxiliary/rbug/
H A Drbug_context.h115 rbug_texture_t *texs; member
176 rbug_texture_t *texs,
H A Drbug_context.c373 rbug_texture_t *texs, in rbug_send_context_info_reply()
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()
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) rbug_send_context_info_reply() argument
/third_party/skia/bench/
H A DVertBench.cpp95 // We want to store texs in a separate array, so the blitters don't "cheat" and in VertBench()
131 const SkPoint* texs = (fFlags & kTexture_VertFlag) ? fTex : nullptr;
134 fPts, texs, cols, IDX, fIdx);
/third_party/skia/src/core/
H A DSkDraw_vertices.cpp60 texture_to_matrix(const VertState& state, const SkPoint verts[], const SkPoint texs[], in texture_to_matrix() argument
64 src[0] = texs[state.f0]; in texture_to_matrix()
65 src[1] = texs[state.f1]; in texture_to_matrix()
66 src[2] = texs[state.f2]; in texture_to_matrix()
H A DSkVertices.cpp200 const SkPoint pos[], const SkPoint texs[], in MakeCopy()
203 auto desc = Desc{mode, vertexCount, indexCount, !!texs, !!colors}; in MakeCopy()
212 sk_careful_memcpy(builder.texCoords(), texs, sizes.fTSize); in MakeCopy()
266 // | pos[] | custom[] | texs[] | colors[] | indices[]
199 MakeCopy(VertexMode mode, int vertexCount, const SkPoint pos[], const SkPoint texs[], const SkColor colors[], int indexCount, const uint16_t indices[]) MakeCopy() argument
H A DSkOverdrawCanvas.cpp149 const SkRect texs[], const SkColor colors[], int count, in onDrawAtlas2()
159 fList[0]->onDrawAtlas2(image, xform, texs, colors, count, mode, sampling, cull, paintPtr); in onDrawAtlas2()
148 onDrawAtlas2(const SkImage* image, const SkRSXform xform[], const SkRect texs[], const SkColor colors[], int count, SkBlendMode mode, const SkSamplingOptions& sampling, const SkRect* cull, const SkPaint* paint) onDrawAtlas2() argument
H A DSkRecords.h309 PODArray<SkRect> texs;
H A DSkRecordDraw.cpp142 DRAW(DrawAtlas, drawAtlas(r.atlas.get(), r.xforms, r.texs, r.colors, r.count, r.mode, r.sampling,
/third_party/skia/src/utils/
H A DSkPatchUtils.cpp286 SkPoint* texs = builder.texCoords(); in MakeVertices() local
341 if (texs) { in MakeVertices()
342 texs[dataIndex] = SkPoint::Make(bilerp(u, v, srcTexCoords[kTopLeft_Corner].x(), in MakeVertices()
/third_party/skia/modules/canvaskit/
H A Dinterface.js660 CanvasKit.Canvas.prototype.drawPatch = function(cubics, colors, texs, mode, paint) {
667 if (texs && texs.length < 8) {
674 const texs_ptr = texs ? copy1dArray(texs, 'HEAPF32') : nullptr;
681 freeArraysThatAreNotMallocedByUsers(texs_ptr, texs);
H A Dcanvaskit_bindings.cpp1061 WASMPointerF32 texs, in EMSCRIPTEN_BINDINGS()
1066 reinterpret_cast<const SkPoint*>(texs), in EMSCRIPTEN_BINDINGS()
/third_party/skia/fuzz/
H A DFuzzCanvas.cpp1390 SkPoint texs[kMaxCount];
1397 fuzz->nextN(texs, vertexCount);
1411 useTexs ? texs : nullptr,
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DTextureTest.cpp4555 const GLuint texs[] = {immutTex, mutTex}; in TEST_P() local
4556 for (const GLuint tex : texs) in TEST_P()

Completed in 39 milliseconds