Home
last modified time | relevance | path

Searched refs:TextureOrigin (Results 1 - 25 of 37) sorted by relevance

12

/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/
H A Dskia_texture_info.h29 static GrSurfaceOrigin ConvertToGrSurfaceOrigin(const TextureOrigin& origin) in ConvertToGrSurfaceOrigin()
32 case TextureOrigin::TOP_LEFT: in ConvertToGrSurfaceOrigin()
34 case TextureOrigin::BOTTOM_LEFT: in ConvertToGrSurfaceOrigin()
H A Dskia_image.h59 bool BuildFromSurface(GPUContext& gpuContext, Surface& surface, TextureOrigin origin,
66 bool BuildFromTexture(GPUContext& gpuContext, const TextureInfo& info, TextureOrigin origin,
70 BackendTexture GetBackendTexture(bool flushPendingGrContextIO, TextureOrigin* origin) override;
H A Dskia_surface.h46 TextureOrigin origin, ColorType colorType, std::shared_ptr<ColorSpace> colorSpace,
50 TextureOrigin origin, int sampleCnt, ColorType colorType,
H A Dskia_static_factory.h54 TextureOrigin origin, ColorType colorType, std::shared_ptr<ColorSpace> colorSpace,
58 TextureOrigin origin, int sampleCnt, ColorType colorType,
H A Dskia_static_factory.cpp84 TextureOrigin origin, ColorType colorType, std::shared_ptr<ColorSpace> colorSpace, in MakeFromBackendRenderTarget()
95 TextureOrigin origin, int sampleCnt, ColorType colorType, in MakeFromBackendTexture()
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/impl_interface/
H A Dimage_impl.h39 enum class TextureOrigin;
68 virtual bool BuildFromTexture(GPUContext& gpuContext, const TextureInfo& info, TextureOrigin origin,
71 virtual bool BuildFromSurface(GPUContext& gpuContext, Surface& surface, TextureOrigin origin,
73 virtual BackendTexture GetBackendTexture(bool flushPendingGrContextIO, TextureOrigin* origin) = 0;
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/skia_adapter/
H A Dskia_texture_info_test.cpp48 GrSurfaceOrigin orign1 = SkiaTextureInfo::ConvertToGrSurfaceOrigin(TextureOrigin::TOP_LEFT); in HWTEST_F()
50 GrSurfaceOrigin orign2 = SkiaTextureInfo::ConvertToGrSurfaceOrigin(TextureOrigin::BOTTOM_LEFT); in HWTEST_F()
H A Dskia_surface_test.cpp90 auto surface1 = SkiaSurface::MakeFromBackendRenderTarget(gpuContext.get(), info, TextureOrigin::TOP_LEFT, in HWTEST_F()
92 auto surface2 = SkiaSurface::MakeFromBackendRenderTarget(gpuContext.get(), info, TextureOrigin::TOP_LEFT, in HWTEST_F()
112 auto surface = SkiaSurface::MakeFromBackendTexture(nullptr, info, TextureOrigin::TOP_LEFT, 1, in HWTEST_F()
115 auto surface = SkiaSurface::MakeFromBackendTexture(gpuContext.get(), info, TextureOrigin::TOP_LEFT, 1, in HWTEST_F()
H A Dskia_image_test.cpp154 skiaImage->BuildFromTexture(context, textureInfo, TextureOrigin::TOP_LEFT, bitmapFormat, nullptr, nullptr, nullptr); in HWTEST_F()
157 context, textureInfo, TextureOrigin::TOP_LEFT, bitmapFormat, colorSpace, nullptr, nullptr); in HWTEST_F()
174 context, textureInfo, TextureOrigin::TOP_LEFT, bitmapFormat, nullptr, nullptr, nullptr); in HWTEST_F()
192 auto ret = skiaImage->BuildFromSurface(*gpuContext, *surface, TextureOrigin::TOP_LEFT, bitmapFormat, colorSpace); in HWTEST_F()
211 auto ret = skiaImage->BuildFromSurface(*gpuContext, surFace, TextureOrigin::TOP_LEFT, bitmapFormat, colorSpace); in HWTEST_F()
H A Dskia_static_factory_test.cpp108 auto skiaStatic = SkiaStaticFactory::MakeFromBackendRenderTarget(gpuContext, texttureinfo, TextureOrigin::TOP_LEFT, in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/image/
H A Dimage.h46 enum class TextureOrigin { class
296 One of TextureOrigin::Top_Left, TextureOrigion::Bottom_Left.
301 bool BuildFromTexture(GPUContext& gpuContext, const TextureInfo& info, TextureOrigin origin,
310 One of TextureOrigin::Top_Left, TextureOrigion::Bottom_Left.
315 bool BuildFromSurface(GPUContext& gpuContext, Surface& surface, TextureOrigin origin,
334 BackendTexture GetBackendTexture(bool flushPendingGrContextIO, TextureOrigin* origin) const;
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/draw/
H A Dsurface.h87 TextureOrigin origin, ColorType colorType, std::shared_ptr<ColorSpace> colorSpace,
91 TextureOrigin origin, int sampleCnt, ColorType colorType,
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/image/
H A Dimage.cpp91 bool Image::BuildFromSurface(GPUContext& gpuContext, Surface& surface, TextureOrigin origin, in BuildFromSurface()
97 bool Image::BuildFromTexture(GPUContext& gpuContext, const TextureInfo& info, TextureOrigin origin, in BuildFromTexture()
110 BackendTexture Image::GetBackendTexture(bool flushPendingGrContextIO, TextureOrigin* origin) const in GetBackendTexture()
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/drawable/
H A Drs_canvas_drawing_render_node_drawable.cpp350 Drawing::TextureOrigin origin = Drawing::TextureOrigin::BOTTOM_LEFT; in FlushForGL()
492 Drawing::TextureOrigin origin = Drawing::TextureOrigin::BOTTOM_LEFT; in GetBitmap()
627 Drawing::TextureOrigin origin = Drawing::TextureOrigin::BOTTOM_LEFT; in DrawCaptureImage()
684 Drawing::TextureOrigin::BOTTOM_LEFT, 1, Drawing::ColorType::COLORTYPE_RGBA_8888, nullptr, in ResetSurfaceForVK()
828 Drawing::TextureOrigin::BOTTOM_LEFT, 1, Drawing::ColorType::COLORTYPE_RGBA_8888, nullptr, in GpuContextResetVk()
946 Drawing::TextureOrigin origin = Drawing::TextureOrigin in GetCurrentContextAndImage()
[all...]
H A Drs_ui_first_surface_render_node_drawable.cpp163 Drawing::TextureOrigin origin = Drawing::TextureOrigin::BOTTOM_LEFT; in GetCompletedImage()
199 Drawing::TextureOrigin origin = Drawing::TextureOrigin::BOTTOM_LEFT; in GetCompletedImage()
328 gpuContext, cacheBackendTexture_.GetTextureInfo(), Drawing::TextureOrigin::BOTTOM_LEFT, in InitCacheSurface()
H A Drs_render_node_drawable.cpp535 Drawing::TextureOrigin::BOTTOM_LEFT, 1, colorType, nullptr, in InitCachedSurface()
601 Drawing::TextureOrigin origin = Drawing::TextureOrigin::BOTTOM_LEFT; in GetCachedImage()
620 Drawing::TextureOrigin origin = Drawing::TextureOrigin::BOTTOM_LEFT; in GetCachedImage()
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/engine_adapter/
H A Dstatic_factory_test.cpp104 auto surface = StaticFactory::MakeFromBackendRenderTarget(gpuContext, info, TextureOrigin::TOP_LEFT, in HWTEST_F()
108 surface = StaticFactory::MakeFromBackendRenderTarget(gpuContext, info, TextureOrigin::TOP_LEFT, in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/
H A Dstatic_factory.h54 TextureOrigin origin, ColorType colorType, std::shared_ptr<ColorSpace> colorSpace,
58 TextureOrigin origin, int sampleCnt, ColorType colorType,
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/draw/
H A Dsurface.cpp46 TextureOrigin origin, ColorType colorType, std::shared_ptr<ColorSpace> colorSpace, in MakeFromBackendRenderTarget()
58 TextureOrigin origin, int sampleCnt, ColorType colorType, in MakeFromBackendTexture()
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/magic_pointer_render/
H A Drs_magic_pointer_render_manager.cpp198 Drawing::TextureOrigin origin = Drawing::TextureOrigin::BOTTOM_LEFT;
318 Drawing::TextureOrigin::BOTTOM_LEFT, bitmapFormat_, nullptr,
423 Drawing::TextureOrigin::TOP_LEFT, bitmapFormat, nullptr,
468 Drawing::TextureOrigin::TOP_LEFT, bitmapFormat, nullptr)) {
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/draw/drawsurface_fuzzer/
H A Ddrawsurface_fuzzer.cpp70 surface.MakeFromBackendRenderTarget(&gpuContext, info, static_cast<TextureOrigin>(origin % ORIGION_SIZE), in SurfaceFuzzTest001()
74 surface.MakeFromBackendTexture(&gpuContext, info, static_cast<TextureOrigin>(origin % ORIGION_SIZE), sampleCnt, in SurfaceFuzzTest001()
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/
H A Drs_surface_capture_task_parallel.cpp50 Drawing::TextureOrigin& textureOrigin, Drawing::BitmapFormat& bitmapFormat) in DrawCapturedImg()
411 Drawing::TextureOrigin textureOrigin = Drawing::TextureOrigin::BOTTOM_LEFT; in CreateSurfaceSyncCopyTask()
571 Drawing::TextureOrigin::TOP_LEFT, in CreateSurfaceSyncCopyTask()
H A Drs_ui_capture_task_parallel.cpp53 Drawing::TextureOrigin& textureOrigin, Drawing::BitmapFormat& bitmapFormat) in DrawCapturedImg()
322 Drawing::TextureOrigin textureOrigin = Drawing::TextureOrigin::BOTTOM_LEFT; in CreateSurfaceSyncCopyTask()
H A Drs_base_render_engine.cpp202 auto surfaceOrigin = Drawing::TextureOrigin::TOP_LEFT; in CreateEglImageFromBuffer()
204 auto surfaceOrigin = Drawing::TextureOrigin::BOTTOM_LEFT; in CreateEglImageFromBuffer()
664 auto surfaceOrigin = Drawing::TextureOrigin::TOP_LEFT; in DrawImage()
666 auto surfaceOrigin = Drawing::TextureOrigin::BOTTOM_LEFT; in DrawImage()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/
H A Drs_draw_cmd.cpp337 auto surfaceOrigin = Drawing::TextureOrigin::TOP_LEFT; in GetDrawingImageFromSurfaceBuffer()
339 auto surfaceOrigin = Drawing::TextureOrigin::BOTTOM_LEFT; in GetDrawingImageFromSurfaceBuffer()
399 Drawing::TextureOrigin::TOP_LEFT, bitmapFormat, colorSpace, in MakeFromTextureForVK()
878 Drawing::TextureOrigin::TOP_LEFT, bitmapFormat, nullptr, NativeBufferUtils::DeleteVkImage, in DrawWithVulkan()
923 auto surfaceOrigin = Drawing::TextureOrigin::TOP_LEFT; in DrawWithGles()
925 auto surfaceOrigin = Drawing::TextureOrigin::BOTTOM_LEFT; in DrawWithGles()

Completed in 20 milliseconds

12