Home
last modified time | relevance | path

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

/third_party/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 …]
/third_party/skia/gm/
Dvertices.cpp77 static void fill_mesh(SkPoint pts[kMeshVertexCnt], SkPoint texs[kMeshVertexCnt], in fill_mesh()
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[8].set(shaderSize, shaderSize); in fill_mesh()
[all …]
/third_party/skia/include/core/
DSkVertices.h40 const SkPoint texs[],
47 const SkPoint texs[], in MakeCopy() argument
52 texs, in MakeCopy()
/third_party/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()
/third_party/mesa3d/src/gallium/auxiliary/driver_rbug/
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()
Drbug_context.h52 struct rbug_resource *texs[PIPE_SHADER_TYPES][PIPE_MAX_SHADER_SAMPLER_VIEWS]; member
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/
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()
/third_party/skia/src/core/
DSkVertices.cpp200 const SkPoint pos[], const SkPoint texs[], in MakeCopy() argument
203 auto desc = Desc{mode, vertexCount, indexCount, !!texs, !!colors}; in MakeCopy()
212 sk_careful_memcpy(builder.texCoords(), texs, sizes.fTSize); in MakeCopy()
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()
DSkOverdrawCanvas.cpp149 const SkRect texs[], const SkColor colors[], int count, in onDrawAtlas2() argument
159 fList[0]->onDrawAtlas2(image, xform, texs, colors, count, mode, sampling, cull, paintPtr); in onDrawAtlas2()
DSkRecords.h309 PODArray<SkRect> texs;
DSkRecordDraw.cpp142 DRAW(DrawAtlas, drawAtlas(r.atlas.get(), r.xforms, r.texs, r.colors, r.count, r.mode, r.sampling,
/third_party/skia/bench/
DVertBench.cpp131 const SkPoint* texs = (fFlags & kTexture_VertFlag) ? fTex : nullptr; in onDraw() local
134 fPts, texs, cols, IDX, fIdx); in onDraw()
/third_party/skia/src/utils/
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/
Dinterface.js660 CanvasKit.Canvas.prototype.drawPatch = function(cubics, colors, texs, mode, paint) { argument
667 if (texs && texs.length < 8) {
674 const texs_ptr = texs ? copy1dArray(texs, 'HEAPF32') : nullptr;
681 freeArraysThatAreNotMallocedByUsers(texs_ptr, texs);
Dcanvaskit_bindings.cpp1061 WASMPointerF32 texs, in EMSCRIPTEN_BINDINGS()
1066 reinterpret_cast<const SkPoint*>(texs), in EMSCRIPTEN_BINDINGS()
/third_party/skia/modules/canvaskit/tests/
Dcore.spec.js369 const texs = [0,0, 16,0, 16,16, 0,16]; variable
373 [256, 0, null, texs, shader, null],
374 [ 0, 256, colors, texs, shader, null],
375 [256, 256, colors, texs, shader, CanvasKit.BlendMode.Screen],
/third_party/skia/modules/canvaskit/npm_build/types/
Dcanvaskit-wasm-tests.ts133 const texs = [1, 1, 2, 2, 3, 3, 4, 4]; constant
136 canvas.drawPatch(cubics, null, texs, null, paint);
137 canvas.drawPatch(cubics, colors, texs, CK.BlendMode.SrcOver, paint);
Dindex.d.ts1322 texs?: InputFlattenedPointArray | null,
/third_party/skia/fuzz/
DFuzzCanvas.cpp1390 SkPoint texs[kMaxCount]; in fuzz_canvas() local
1397 fuzz->nextN(texs, vertexCount); in fuzz_canvas()
1411 useTexs ? texs : nullptr, in fuzz_canvas()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DTextureTest.cpp4555 const GLuint texs[] = {immutTex, mutTex}; in TEST_P() local
4556 for (const GLuint tex : texs) in TEST_P()