/external/skia/samplecode/ |
D | vertexdump.cpp | 9 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/samplecode/ |
D | vertexdump.cpp | 9 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/gm/ |
D | vertices.cpp | 56 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/skqp/gm/ |
D | vertices.cpp | 56 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/ |
D | SkVertices.h | 36 const SkPoint texs[], 43 const SkPoint texs[], in MakeCopy() argument 45 return MakeCopy(mode, vertexCount, positions, texs, colors, 0, nullptr); in MakeCopy()
|
/external/skqp/include/core/ |
D | SkVertices.h | 36 const SkPoint texs[], 43 const SkPoint texs[], in MakeCopy() argument 45 return MakeCopy(mode, vertexCount, positions, texs, colors, 0, nullptr); in MakeCopy()
|
/external/mesa3d/src/gallium/drivers/rbug/ |
D | rbug_core.c | 182 rbug_texture_t *texs; in rbug_texture_list() local 186 texs = MALLOC(rb_screen->num_resources * sizeof(rbug_texture_t)); in rbug_texture_list() 189 texs[i++] = VOID2U64(tr_tex); in rbug_texture_list() 193 rbug_send_texture_list_reply(tr_rbug->con, serial, texs, i, NULL); in rbug_texture_list() 194 FREE(texs); in rbug_texture_list() 326 rbug_texture_t texs[PIPE_MAX_SHADER_SAMPLER_VIEWS]; in rbug_context_info() local 346 texs[i] = VOID2U64(rb_context->curr.texs[PIPE_SHADER_FRAGMENT][i]); in rbug_context_info() 350 texs, rb_context->curr.num_views[PIPE_SHADER_FRAGMENT], in rbug_context_info()
|
D | rbug_context.h | 52 struct rbug_resource *texs[PIPE_SHADER_TYPES][PIPE_MAX_SHADER_SAMPLER_VIEWS]; member
|
D | rbug_context.c | 92 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/skia/src/core/ |
D | SkLiteDL.cpp | 429 DrawPatch(const SkPoint cubics[12], const SkColor colors[4], const SkPoint texs[4], in DrawPatch() 435 if (texs ) { copy_v(this->texs , texs , 4); has_texs = true; } in DrawPatch() 439 SkPoint texs[4]; member 445 c->drawPatch(cubics, has_colors ? colors : nullptr, has_texs ? texs : nullptr, in draw() 487 auto texs = pod<SkRect>(this, count*sizeof(SkRSXform)); in draw() local 491 c->drawAtlas(atlas.get(), xforms, texs, colors, count, xfermode, in draw() 670 void SkLiteDL::drawPatch(const SkPoint points[12], const SkColor colors[4], const SkPoint texs[4], in drawPatch() 672 this->push<DrawPatch>(0, points, colors, texs, bmode, paint); in drawPatch() 682 void SkLiteDL::drawAtlas(const SkImage* atlas, const SkRSXform xforms[], const SkRect texs[], in drawAtlas() argument 692 texs, count, in drawAtlas()
|
D | SkDraw_vertices.cpp | 59 texture_to_matrix(const VertState& state, const SkPoint verts[], const SkPoint texs[], in texture_to_matrix() argument 63 src[0] = texs[state.f0]; in texture_to_matrix() 64 src[1] = texs[state.f1]; in texture_to_matrix() 65 src[2] = texs[state.f2]; in texture_to_matrix()
|
D | SkVertices.cpp | 127 const SkPoint pos[], const SkPoint texs[], in MakeCopy() argument 130 Sizes sizes(vertexCount, indexCount, texs != nullptr, colors != nullptr); in MakeCopy() 139 sk_careful_memcpy(builder.texCoords(), texs, sizes.fTSize); in MakeCopy()
|
D | SkLiteRecorder.cpp | 191 const SkRect texs[], in onDrawAtlas() argument 197 fDL->drawAtlas(atlas, xforms, texs, colors, count, bmode, cull, paint); in onDrawAtlas()
|
D | SkOverdrawCanvas.cpp | 222 const SkRect texs[], const SkColor colors[], int count, in onDrawAtlas() argument 231 fList[0]->onDrawAtlas(image, xform, texs, colors, count, mode, cull, paintPtr); in onDrawAtlas()
|
D | SkColorSpaceXformCanvas.cpp | 78 void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], const SkPoint texs[4], in onDrawPatch() 86 fTarget->drawPatch(cubics, colors, texs, mode, fXformer->apply(paint)); in onDrawPatch()
|
/external/skqp/src/core/ |
D | SkLiteDL.cpp | 429 DrawPatch(const SkPoint cubics[12], const SkColor colors[4], const SkPoint texs[4], in DrawPatch() 435 if (texs ) { copy_v(this->texs , texs , 4); has_texs = true; } in DrawPatch() 439 SkPoint texs[4]; member 445 c->drawPatch(cubics, has_colors ? colors : nullptr, has_texs ? texs : nullptr, in draw() 487 auto texs = pod<SkRect>(this, count*sizeof(SkRSXform)); in draw() local 491 c->drawAtlas(atlas.get(), xforms, texs, colors, count, xfermode, in draw() 670 void SkLiteDL::drawPatch(const SkPoint points[12], const SkColor colors[4], const SkPoint texs[4], in drawPatch() 672 this->push<DrawPatch>(0, points, colors, texs, bmode, paint); in drawPatch() 682 void SkLiteDL::drawAtlas(const SkImage* atlas, const SkRSXform xforms[], const SkRect texs[], in drawAtlas() argument 692 texs, count, in drawAtlas()
|
D | SkDraw_vertices.cpp | 59 const SkPoint texs[], SkMatrix* matrix) { 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()
|
D | SkVertices.cpp | 127 const SkPoint pos[], const SkPoint texs[], in MakeCopy() argument 130 Sizes sizes(vertexCount, indexCount, texs != nullptr, colors != nullptr); in MakeCopy() 139 sk_careful_memcpy(builder.texCoords(), texs, sizes.fTSize); in MakeCopy()
|
D | SkLiteRecorder.cpp | 191 const SkRect texs[], in onDrawAtlas() argument 197 fDL->drawAtlas(atlas, xforms, texs, colors, count, bmode, cull, paint); in onDrawAtlas()
|
D | SkOverdrawCanvas.cpp | 222 const SkRect texs[], const SkColor colors[], int count, in onDrawAtlas() argument 231 fList[0]->onDrawAtlas(image, xform, texs, colors, count, mode, cull, paintPtr); in onDrawAtlas()
|
D | SkColorSpaceXformCanvas.cpp | 78 void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], const SkPoint texs[4], in onDrawPatch() 86 fTarget->drawPatch(cubics, colors, texs, mode, fXformer->apply(paint)); in onDrawPatch()
|
/external/mesa3d/src/gallium/auxiliary/rbug/ |
D | rbug_context.h | 115 rbug_texture_t *texs; member 176 rbug_texture_t *texs,
|
D | rbug_context.c | 373 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/ |
D | SkPatchUtils.cpp | 334 SkPoint* texs = builder.texCoords(); in MakeVertices() local 407 if (texs) { in MakeVertices() 408 texs[dataIndex] = SkPoint::Make(bilerp(u, v, srcTexCoords[kTopLeft_Corner].x(), in MakeVertices()
|
/external/skqp/src/utils/ |
D | SkPatchUtils.cpp | 334 SkPoint* texs = builder.texCoords(); in MakeVertices() local 407 if (texs) { in MakeVertices() 408 texs[dataIndex] = SkPoint::Make(bilerp(u, v, srcTexCoords[kTopLeft_Corner].x(), in MakeVertices()
|