@antv/g-device-api
Advanced tools
Comparing version 1.6.0 to 1.6.1
import { Bindings, BindingsDescriptor, Buffer, BufferDescriptor, ComputePass, ComputePipeline, ComputePipelineDescriptor, Device, DeviceLimits, IndexBufferDescriptor, InputLayout, InputLayoutDescriptor, PlatformFramebuffer, Program, ProgramDescriptor, QueryPool, QueryPoolType, Readback, RenderBundle, RenderPass, RenderPassDescriptor, RenderPipeline, RenderPipelineDescriptor, RenderTarget, RenderTargetDescriptor, Resource, Sampler, SamplerDescriptor, SwapChain, Texture, TextureDescriptor, VendorInfo, VertexBufferDescriptor } from '../api'; | ||
import { ClipSpaceNearZ, Format, ViewportOrigin } from '../api'; | ||
import type { EXT_texture_compression_rgtc, EXT_texture_norm16, GPlatformWebGL2Config, KHR_parallel_shader_compile, OES_draw_buffers_indexed } from './interfaces'; | ||
import type { EXT_texture_compression_rgtc, EXT_texture_norm16, KHR_parallel_shader_compile, OES_draw_buffers_indexed } from './interfaces'; | ||
import { Program_GL } from './Program'; | ||
@@ -106,3 +106,6 @@ import { RenderBundle_GL } from './RenderBundle'; | ||
gl: WebGLRenderingContext | WebGL2RenderingContext; | ||
constructor(gl: WebGLRenderingContext | WebGL2RenderingContext, configuration: GPlatformWebGL2Config); | ||
constructor(gl: WebGLRenderingContext | WebGL2RenderingContext, configuration?: Partial<{ | ||
shaderDebug: boolean; | ||
trackResources: boolean; | ||
}>); | ||
destroy(): void; | ||
@@ -109,0 +112,0 @@ private createFallbackTexture; |
@@ -30,6 +30,2 @@ import type { SamplerFormatKind } from '../api'; | ||
} | ||
export declare class GPlatformWebGL2Config { | ||
trackResources: boolean; | ||
shaderDebug: boolean; | ||
} | ||
export interface BindingLayoutSamplerDescriptor_GL { | ||
@@ -36,0 +32,0 @@ gl_target: GLenum; |
@@ -9,2 +9,4 @@ import { DeviceContribution } from '../api'; | ||
premultipliedAlpha: boolean; | ||
shaderDebug: boolean; | ||
trackResources: boolean; | ||
onContextCreationError: (e: Event) => void; | ||
@@ -11,0 +13,0 @@ onContextLost: (e: Event) => void; |
import { Bindings, BindingsDescriptor, Buffer, BufferDescriptor, ComputePass, ComputePipeline, ComputePipelineDescriptor, Device, DeviceLimits, IndexBufferDescriptor, InputLayout, InputLayoutDescriptor, PlatformFramebuffer, Program, ProgramDescriptor, QueryPool, QueryPoolType, Readback, RenderBundle, RenderPass, RenderPassDescriptor, RenderPipeline, RenderPipelineDescriptor, RenderTarget, RenderTargetDescriptor, Resource, Sampler, SamplerDescriptor, SwapChain, Texture, TextureDescriptor, VendorInfo, VertexBufferDescriptor } from '../api'; | ||
import { ClipSpaceNearZ, Format, ViewportOrigin } from '../api'; | ||
import type { EXT_texture_compression_rgtc, EXT_texture_norm16, GPlatformWebGL2Config, KHR_parallel_shader_compile, OES_draw_buffers_indexed } from './interfaces'; | ||
import type { EXT_texture_compression_rgtc, EXT_texture_norm16, KHR_parallel_shader_compile, OES_draw_buffers_indexed } from './interfaces'; | ||
import { Program_GL } from './Program'; | ||
@@ -106,3 +106,6 @@ import { RenderBundle_GL } from './RenderBundle'; | ||
gl: WebGLRenderingContext | WebGL2RenderingContext; | ||
constructor(gl: WebGLRenderingContext | WebGL2RenderingContext, configuration: GPlatformWebGL2Config); | ||
constructor(gl: WebGLRenderingContext | WebGL2RenderingContext, configuration?: Partial<{ | ||
shaderDebug: boolean; | ||
trackResources: boolean; | ||
}>); | ||
destroy(): void; | ||
@@ -109,0 +112,0 @@ private createFallbackTexture; |
@@ -30,6 +30,2 @@ import type { SamplerFormatKind } from '../api'; | ||
} | ||
export declare class GPlatformWebGL2Config { | ||
trackResources: boolean; | ||
shaderDebug: boolean; | ||
} | ||
export interface BindingLayoutSamplerDescriptor_GL { | ||
@@ -36,0 +32,0 @@ gl_target: GLenum; |
@@ -9,2 +9,4 @@ import { DeviceContribution } from '../api'; | ||
premultipliedAlpha: boolean; | ||
shaderDebug: boolean; | ||
trackResources: boolean; | ||
onContextCreationError: (e: Event) => void; | ||
@@ -11,0 +13,0 @@ onContextLost: (e: Event) => void; |
import { Bindings, BindingsDescriptor, Buffer, BufferDescriptor, ComputePass, ComputePipeline, ComputePipelineDescriptor, Device, DeviceLimits, IndexBufferDescriptor, InputLayout, InputLayoutDescriptor, PlatformFramebuffer, Program, ProgramDescriptor, QueryPool, QueryPoolType, Readback, RenderBundle, RenderPass, RenderPassDescriptor, RenderPipeline, RenderPipelineDescriptor, RenderTarget, RenderTargetDescriptor, Resource, Sampler, SamplerDescriptor, SwapChain, Texture, TextureDescriptor, VendorInfo, VertexBufferDescriptor } from '../api'; | ||
import { ClipSpaceNearZ, Format, ViewportOrigin } from '../api'; | ||
import type { EXT_texture_compression_rgtc, EXT_texture_norm16, GPlatformWebGL2Config, KHR_parallel_shader_compile, OES_draw_buffers_indexed } from './interfaces'; | ||
import type { EXT_texture_compression_rgtc, EXT_texture_norm16, KHR_parallel_shader_compile, OES_draw_buffers_indexed } from './interfaces'; | ||
import { Program_GL } from './Program'; | ||
@@ -106,3 +106,6 @@ import { RenderBundle_GL } from './RenderBundle'; | ||
gl: WebGLRenderingContext | WebGL2RenderingContext; | ||
constructor(gl: WebGLRenderingContext | WebGL2RenderingContext, configuration: GPlatformWebGL2Config); | ||
constructor(gl: WebGLRenderingContext | WebGL2RenderingContext, configuration?: Partial<{ | ||
shaderDebug: boolean; | ||
trackResources: boolean; | ||
}>); | ||
destroy(): void; | ||
@@ -109,0 +112,0 @@ private createFallbackTexture; |
@@ -30,6 +30,2 @@ import type { SamplerFormatKind } from '../api'; | ||
} | ||
export declare class GPlatformWebGL2Config { | ||
trackResources: boolean; | ||
shaderDebug: boolean; | ||
} | ||
export interface BindingLayoutSamplerDescriptor_GL { | ||
@@ -36,0 +32,0 @@ gl_target: GLenum; |
@@ -9,2 +9,4 @@ import { DeviceContribution } from '../api'; | ||
premultipliedAlpha: boolean; | ||
shaderDebug: boolean; | ||
trackResources: boolean; | ||
onContextCreationError: (e: Event) => void; | ||
@@ -11,0 +13,0 @@ onContextLost: (e: Event) => void; |
{ | ||
"name": "@antv/g-device-api", | ||
"version": "1.6.0", | ||
"version": "1.6.1", | ||
"description": "A Device API references WebGPU implementations", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8399962
25811