/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/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/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/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 | 114 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/ |
D | SkVertices.h | 114 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/ |
D | rbug_core.c | 183 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()
|
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/skqp/src/core/ |
D | SkLiteDL.cpp | 381 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()
|
D | SkDraw_vertices.cpp | 58 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()
|
D | SkVertices.cpp | 277 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()
|
D | SkLiteRecorder.cpp | 172 const SkRect texs[], in onDrawAtlas() argument 178 fDL->drawAtlas(atlas, xforms, texs, colors, count, bmode, cull, paint); in onDrawAtlas()
|
D | SkOverdrawCanvas.cpp | 163 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()
|
D | SkColorSpaceXformCanvas.cpp | 83 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/ |
D | SkLiteDL.cpp | 387 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()
|
D | SkDraw_vertices.cpp | 58 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()
|
D | SkVertices.cpp | 277 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()
|
D | SkLiteRecorder.cpp | 175 const SkRect texs[], in onDrawAtlas() argument 181 fDL->drawAtlas(atlas, xforms, texs, colors, count, bmode, cull, paint); in onDrawAtlas()
|
D | SkOverdrawCanvas.cpp | 167 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()
|
D | SkColorSpaceXformCanvas.cpp | 83 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/ |
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 | 284 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/ |
D | SkPatchUtils.cpp | 284 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()
|