Changeset View
Changeset View
Standalone View
Standalone View
source/blender/gpu/opengl/gl_backend.hh
| Show First 20 Lines • Show All 123 Lines • ▼ Show 20 Lines | public: | ||||
| GLSharedOrphanLists &shared_orphan_list_get(void) | GLSharedOrphanLists &shared_orphan_list_get(void) | ||||
| { | { | ||||
| return shared_orphan_list_; | return shared_orphan_list_; | ||||
| }; | }; | ||||
| void compute_dispatch(int groups_x_len, int groups_y_len, int groups_z_len) override | void compute_dispatch(int groups_x_len, int groups_y_len, int groups_z_len) override | ||||
| { | { | ||||
| GLContext::get()->state_manager_active_get()->apply_state(); | |||||
| GLCompute::dispatch(groups_x_len, groups_y_len, groups_z_len); | GLCompute::dispatch(groups_x_len, groups_y_len, groups_z_len); | ||||
| } | } | ||||
| private: | private: | ||||
| static void platform_init(void); | static void platform_init(void); | ||||
| static void platform_exit(void); | static void platform_exit(void); | ||||
| static void capabilities_init(void); | static void capabilities_init(void); | ||||
| }; | }; | ||||
| } // namespace gpu | } // namespace gpu | ||||
| } // namespace blender | } // namespace blender | ||||