/frameworks/base/libs/hwui/pipeline/skia/ |
SkiaLayer.h | 19 #include <SkSurface.h> 30 sk_sp<SkSurface> layerSurface;
|
VectorDrawableAtlas.h | 19 #include <SkSurface.h> 37 sk_sp<SkSurface> surface; 47 * except during a renderFrame call. VectorDrawable does not contain a pointer to atlas SkSurface 53 * VectorDrawableAtlas tries to fit VDs in the atlas SkSurface. If there is not enough space in 120 const sk_sp<SkSurface>& newSurface) 136 sk_sp<SkSurface> surface; 147 sk_sp<SkSurface> mSurface; 199 sk_sp<SkSurface> createSurface(int width, int height, GrContext* context);
|
/external/skqp/src/image/ |
SkSurface.cpp | 119 static SkSurface_Base* asSB(SkSurface* surface) { 125 SkSurface::SkSurface(int width, int height, const SkSurfaceProps* props) 133 SkSurface::SkSurface(const SkImageInfo& info, const SkSurfaceProps* props) 141 uint32_t SkSurface::generationID() { 148 void SkSurface::notifyContentWillChange(ContentChangeMode mode) { 152 SkCanvas* SkSurface::getCanvas() { 156 sk_sp<SkImage> SkSurface::makeImageSnapshot() { 160 sk_sp<SkSurface> SkSurface::makeSurface(const SkImageInfo& info) [all...] |
/frameworks/base/libs/hwui/ |
VkLayer.cpp | 22 #include <SkSurface.h> 28 sk_sp<SkSurface> surface; 30 surface = SkSurface::MakeRenderTarget(mRenderState.getGrContext(), SkBudgeted::kNo, info);
|
/external/skia/tests/ |
skbug5221.cpp | 10 #include "SkSurface.h" 22 sk_sp<SkSurface> surface(SkSurface::MakeRaster(SkImageInfo::MakeN32Premul(256, 256))); 28 sk_sp<SkSurface> surface(SkSurface::MakeRenderTarget(
|
SurfaceTest.cpp | 17 #include "SkSurface.h" 43 static sk_sp<SkSurface> create_surface(SkAlphaType at = kPremul_SkAlphaType, 49 return SkSurface::MakeRaster(info); 51 static sk_sp<SkSurface> create_direct_surface(SkAlphaType at = kPremul_SkAlphaType, 59 return SkSurface::MakeRasterDirectReleaseProc(info, storage, rowBytes, 64 static sk_sp<SkSurface> create_gpu_surface(GrContext* context, SkAlphaType at = kPremul_SkAlphaType, 70 return SkSurface::MakeRenderTarget(context, SkBudgeted::kNo, info); 72 static sk_sp<SkSurface> create_gpu_scratch_surface(GrContext* context, 79 return SkSurface::MakeRenderTarget(context, SkBudgeted::kYes, info); 85 REPORTER_ASSERT(reporter, nullptr == SkSurface::MakeRaster(info)) [all...] |
ImageNewShaderTest.cpp | 11 #include "SkSurface.h" 24 static void paint_source(SkSurface* sourceSurface) { 41 static void run_shader_test(skiatest::Reporter* reporter, SkSurface* sourceSurface, 42 SkSurface* destinationSurface, SkImageInfo& info) { 103 auto sourceSurface(SkSurface::MakeRaster(info)); 104 auto destinationSurface(SkSurface::MakeRaster(info)); 114 auto sourceSurface(SkSurface::MakeRenderTarget(context, SkBudgeted::kNo, info)); 115 auto destinationSurface(SkSurface::MakeRenderTarget(context, SkBudgeted::kNo, info)); 123 auto sourceSurface(SkSurface::MakeRenderTarget(context, SkBudgeted::kNo, info)); 124 auto destinationSurface(SkSurface::MakeRaster(info)) [all...] |
/external/skqp/tests/ |
skbug5221.cpp | 10 #include "SkSurface.h" 22 sk_sp<SkSurface> surface(SkSurface::MakeRaster(SkImageInfo::MakeN32Premul(256, 256))); 28 sk_sp<SkSurface> surface(SkSurface::MakeRenderTarget(
|
ImageNewShaderTest.cpp | 11 #include "SkSurface.h" 24 static void paint_source(SkSurface* sourceSurface) { 41 static void run_shader_test(skiatest::Reporter* reporter, SkSurface* sourceSurface, 42 SkSurface* destinationSurface, SkImageInfo& info) { 103 auto sourceSurface(SkSurface::MakeRaster(info)); 104 auto destinationSurface(SkSurface::MakeRaster(info)); 114 auto sourceSurface(SkSurface::MakeRenderTarget(context, SkBudgeted::kNo, info)); 115 auto destinationSurface(SkSurface::MakeRenderTarget(context, SkBudgeted::kNo, info)); 123 auto sourceSurface(SkSurface::MakeRenderTarget(context, SkBudgeted::kNo, info)); 124 auto destinationSurface(SkSurface::MakeRaster(info)) [all...] |
/external/skia/src/image/ |
SkSurface.cpp | 119 static SkSurface_Base* asSB(SkSurface* surface) { 125 SkSurface::SkSurface(int width, int height, const SkSurfaceProps* props) 133 SkSurface::SkSurface(const SkImageInfo& info, const SkSurfaceProps* props) 141 uint32_t SkSurface::generationID() { 148 void SkSurface::notifyContentWillChange(ContentChangeMode mode) { 152 SkCanvas* SkSurface::getCanvas() { 156 sk_sp<SkImage> SkSurface::makeImageSnapshot() { 160 sk_sp<SkSurface> SkSurface::makeSurface(const SkImageInfo& info) [all...] |
/external/skia/tools/fiddle/ |
draw.cpp | 41 sk_sp<SkSurface> tmp2 = SkSurface::MakeFromBackendTexture(context, 48 sk_sp<SkSurface> tmp3 = SkSurface::MakeFromBackendRenderTarget(context,
|
/external/skqp/tools/fiddle/ |
draw.cpp | 41 sk_sp<SkSurface> tmp2 = SkSurface::MakeFromBackendTexture(context, 48 sk_sp<SkSurface> tmp3 = SkSurface::MakeFromBackendRenderTarget(context,
|
/external/skia/include/core/ |
SkDeferredDisplayListRecorder.h | 19 class SkSurface; 23 * Get an SkSurfaceCharacterization representing the intended gpu-backed destination SkSurface 27 * Once your app actually needs the pixels, call SkSurface::draw(SkDeferredDisplayList*) 60 sk_sp<SkSurface> fSurface;
|
SkSurface.h | 26 /** \class SkSurface 27 SkSurface is responsible for managing the pixels that a canvas draws into. The pixels can be 29 SkSurface takes care of allocating a SkCanvas that will draw into the surface. Call 31 SkSurface always has non-zero dimensions. If there is a request for a new surface, and either 34 class SK_API SkSurface : public SkRefCnt { 37 /** Allocates raster SkSurface. SkCanvas returned by SkSurface draws directly into pixels. 39 SkSurface is returned if all parameters are valid. 53 @param rowBytes interval from one SkSurface row to the next 56 @return SkSurface if all parameters are valid; otherwise, nullpt [all...] |
/external/skqp/include/core/ |
SkDeferredDisplayListRecorder.h | 19 class SkSurface; 23 * Get an SkSurfaceCharacterization representing the intended gpu-backed destination SkSurface 27 * Once your app actually needs the pixels, call SkSurface::draw(SkDeferredDisplayList*) 60 sk_sp<SkSurface> fSurface;
|
SkSurface.h | 27 * SkSurface is responsible for managing the pixels that a canvas draws into. The pixels can be 30 * SkSurface takes care of allocating a SkCanvas that will draw into the surface. Call 33 * SkSurface always has non-zero dimensions. If there is a request for a new surface, and either 36 class SK_API SkSurface : public SkRefCnt { 47 static sk_sp<SkSurface> MakeRasterDirect(const SkImageInfo& imageInfo, void* pixels, 55 static sk_sp<SkSurface> MakeRasterDirectReleaseProc(const SkImageInfo& imageInfo, void* pixels, 69 static sk_sp<SkSurface> MakeRaster(const SkImageInfo& imageInfo, size_t rowBytes, 75 static sk_sp<SkSurface> MakeRaster(const SkImageInfo& imageInfo, 85 static sk_sp<SkSurface> MakeRasterN32Premul(int width, int height, 91 * Used to wrap a pre-existing backend 3D API texture as a SkSurface. Skia will not assum [all...] |
/external/skia/include/private/ |
SkDeferredDisplayList.h | 21 class SkSurface; 25 * an SkSurface via draw(SkDeferredDisplayList*). 39 bool draw(SkSurface*) const; 49 // backing the destination SkSurface. Note that, since there is no good place to clear it
|
/external/skia/tools/sk_app/ |
GLWindowContext.h | 15 #include "SkSurface.h" 25 sk_sp<SkSurface> getBackbufferSurface() override; 54 sk_sp<SkSurface> fSurface;
|
/external/skqp/include/private/ |
SkDeferredDisplayList.h | 21 class SkSurface; 25 * an SkSurface via draw(SkDeferredDisplayList*). 39 bool draw(SkSurface*) const; 49 // backing the destination SkSurface. Note that, since there is no good place to clear it
|
/external/skqp/tools/sk_app/ |
GLWindowContext.h | 15 #include "SkSurface.h" 25 sk_sp<SkSurface> getBackbufferSurface() override; 54 sk_sp<SkSurface> fSurface;
|
/external/skia/bench/ |
ClipMaskBench.cpp | 15 #include "SkSurface.h" 50 sk_sp<SkSurface> surface = SkSurface::MakeRaster(SkImageInfo::MakeA8(size, size)); 56 sk_sp<SkSurface> surface = SkSurface::MakeRasterN32Premul(size, size);
|
/external/skia/debugger/QT/ |
SkDrawCommandGeometryWidget.h | 14 #include "SkSurface.h" 32 sk_sp<SkSurface> fSurface;
|
SkRasterWidget.h | 12 #include "SkSurface.h" 35 sk_sp<SkSurface> fSurface;
|
/external/skia/fuzz/oss_fuzz/ |
FuzzTextBlobDeserialize.cpp | 11 #include "SkSurface.h" 20 auto s = SkSurface::MakeRasterN32Premul(128, 128);
|
/external/skia/src/core/ |
SkDeferredDisplayList.cpp | 11 #include "SkSurface.h" 24 bool SkDeferredDisplayList::draw(SkSurface* surface) const {
|