HomeSort by relevance Sort by last modified time
    Searched defs:GrDrawOpAtlas (Results 1 - 2 of 2) sorted by null

  /external/skia/src/gpu/
GrDrawOpAtlas.cpp 8 #include "GrDrawOpAtlas.h"
17 std::unique_ptr<GrDrawOpAtlas> GrDrawOpAtlas::Make(GrContext* ctx, GrPixelConfig config,
20 GrDrawOpAtlas::EvictionFunc func,
47 std::unique_ptr<GrDrawOpAtlas> atlas(
48 new GrDrawOpAtlas(ctx, std::move(proxy), numPlotsX, numPlotsY));
56 GrDrawOpAtlas::Plot::Plot(int index, uint64_t genID, int offX, int offY, int width, int height,
79 GrDrawOpAtlas::Plot::~Plot() {
84 bool GrDrawOpAtlas::Plot::addSubImage(int width, int height, const void* image, SkIPoint16* loc) {
129 void GrDrawOpAtlas::Plot::uploadToTexture(GrDrawOp::WritePixelsFn& writePixels
    [all...]
GrDrawOpAtlas.h 40 class GrDrawOpAtlas {
51 * A function pointer for use as a callback during eviction. Whenever GrDrawOpAtlas evicts a
55 typedef void (*EvictionFunc)(GrDrawOpAtlas::AtlasID, void*);
58 * Returns a GrDrawOpAtlas. This function can be called anywhere, but the returned atlas
71 * @return An initialized GrDrawOpAtlas, or nullptr if creation fails
73 static std::unique_ptr<GrDrawOpAtlas> Make(GrContext*, GrPixelConfig,
76 GrDrawOpAtlas::EvictionFunc func, void* data);
120 * A class which can be handed back to GrDrawOpAtlas for updating last use tokens in bulk. The
121 * current max number of plots the GrDrawOpAtlas can handle is 32. If in the future this is
133 int index = GrDrawOpAtlas::GetIndexFromID(id)
    [all...]

Completed in 126 milliseconds